Virtual com driver linux

Virtual Serial Port Driver for Linux (VSPDL)

VSPDL is distributed as a gzipped TAR archive and RPM package. System requirements and the installation procedure can be found here.

VSPDL

This release was tested in CentOS 6.3, Mandriva 2011, OpenSuse 12.1, OpenSuse 12.2, Debian 6.0.6, Ubuntu 12.04, and Mageia 4.5.

Note: you don’t need x86_64 for now, it is binary-compatible.

System-specific notes

# first: set up kernel headers for building modules yum install kernel-devel # second: install VSPDL RPM yum install ./vspd-.rpm # Linux kernel development headers are installed into # /usr/src/kernels/ # preapre path for VSPDL cd /usr/src/; ln -s ./kernels/ ./linux-`uname -r`
# STEP 1.0: install default kernel and reboot yast -i kernel-default reboot # STEP 1.1: set up kernel sources for external modules yast -i kernel-source yast -i kernel-syms # STEP 1.2: prepare linux source tree cd /usr/src/ cp -f ./linux-obj/`uname -i`/default/.config ./linux/ cp -f ./linux-obj/`uname -i`/default/Module.symvers ./linux/ ln -s ./linux ./linux-`uname -r` ----------------- comment # for my OpenSuse 12.1: $ uname -a Linux linux-wh6q 3.1.10-1.16-default #1 SMP Wed Jun 27 05:21:40 UTC 2012 (d016078) i686 i686 i386 GNU/Linux $ ls -l total 20 lrwxrwxrwx 1 root root 17 Jan 11 05:27 linux -> linux-3.1.10-1.16 drwxr-xr-x 24 root root 4096 Jan 11 07:40 linux-3.1.10-1.16 lrwxrwxrwx 1 root root 19 Jan 11 05:33 linux-3.1.10-1.16-default -> ./linux drwxr-xr-x 3 root root 4096 Jan 11 05:31 linux-3.1.10-1.16-obj drwxr-xr-x 3 root root 4096 Jan 11 05:31 linux-obj drwxr-xr-x 8 root root 4096 Jan 10 09:30 packages ----------------- comment / # STEP 1.3: finilize cd /usr/src/linux/ make oldconfig && make modules_prepare # STEP 2.0 install VSPDL RPM (or tar if you wish) yast -i ./vspd-.rpm # STEP 3.0 install VSPDL cd /usr/local/vspd--dist ./install.sh /usr/local/vspd # STEP 4.0 (optional) depmod
# STEP 1.0 apt-get install linux-headers-`uname -r` apt-get install gcc apt-get install make # STEP 2.0 unpack and install vspd-.tar.gz # STEP 3.0 (for 64bit only) # for 64bit system you may need to install lib32stdc++6: apt-get install lib32stdc++
# STEP 1.0 (optional, usually it's already installed in Debian) apt-get install linux-headers-`uname -r` apt-get install gcc apt-get install make # STEP 2.0 unpack and install vspd-.tar.gz # STEP 3.0 (for 64bit only) # for 64bit system you may need to install lib32stdc++6: apt-get install lib32stdc++
# Mandriva 2011 placed it's development-ready kernel source into /usr/src/devel/linux-`uname -r` # prepare system urpmi kernel-(yourkernelname)-devel cd /usr/src/devel/`uname -r`/ make oldconfig && make modules_prepare # So you need to set up a symbolic link before running install.sh: ln -s /usr/src/devel/`uname -r` /usr/src/linux-`uname -r`
# prepare system urpmi kernel-(yourkernelname)-devel cd /usr/src/devel/`uname -r`/ make oldconfig && make modules_prepare # you need to set up a symbolic link before running install.sh: ln -s /usr/src/devel/`uname -r` /usr/src/linux-`uname -r`
# need to install CURRENT kernel headers first: pacman -S linux-headers # choose the version that is the same to your current kernel. # for example, Manjaro 20.2 is running on kernel-5.9.xxx, so choose linux59-headers # need gcc and make too. pacman -S gcc pacman -S make # create the standard path to kernel headers ln -s /lib/modules/`uname -r`/build/ /usr/src/linux-headers-`uname -r | tr A-Z a-z`

Источник

Virtual Serial Port Driver for Linux (VSPDL)

VSPDL is distributed as a gzipped TAR archive and RPM package. System requirements and the installation procedure can be found here.

VSPDL

This release was tested in CentOS 6.3, Mandriva 2011, OpenSuse 12.1, OpenSuse 12.2, Debian 6.0.6, Ubuntu 12.04, and Mageia 4.5.

Note: you don’t need x86_64 for now, it is binary-compatible.

System-specific notes

# first: set up kernel headers for building modules yum install kernel-devel # second: install VSPDL RPM yum install ./vspd-.rpm # Linux kernel development headers are installed into # /usr/src/kernels/ # preapre path for VSPDL cd /usr/src/; ln -s ./kernels/ ./linux-`uname -r`
# STEP 1.0: install default kernel and reboot yast -i kernel-default reboot # STEP 1.1: set up kernel sources for external modules yast -i kernel-source yast -i kernel-syms # STEP 1.2: prepare linux source tree cd /usr/src/ cp -f ./linux-obj/`uname -i`/default/.config ./linux/ cp -f ./linux-obj/`uname -i`/default/Module.symvers ./linux/ ln -s ./linux ./linux-`uname -r` ----------------- comment # for my OpenSuse 12.1: $ uname -a Linux linux-wh6q 3.1.10-1.16-default #1 SMP Wed Jun 27 05:21:40 UTC 2012 (d016078) i686 i686 i386 GNU/Linux $ ls -l total 20 lrwxrwxrwx 1 root root 17 Jan 11 05:27 linux -> linux-3.1.10-1.16 drwxr-xr-x 24 root root 4096 Jan 11 07:40 linux-3.1.10-1.16 lrwxrwxrwx 1 root root 19 Jan 11 05:33 linux-3.1.10-1.16-default -> ./linux drwxr-xr-x 3 root root 4096 Jan 11 05:31 linux-3.1.10-1.16-obj drwxr-xr-x 3 root root 4096 Jan 11 05:31 linux-obj drwxr-xr-x 8 root root 4096 Jan 10 09:30 packages ----------------- comment / # STEP 1.3: finilize cd /usr/src/linux/ make oldconfig && make modules_prepare # STEP 2.0 install VSPDL RPM (or tar if you wish) yast -i ./vspd-.rpm # STEP 3.0 install VSPDL cd /usr/local/vspd--dist ./install.sh /usr/local/vspd # STEP 4.0 (optional) depmod
# STEP 1.0 apt-get install linux-headers-`uname -r` apt-get install gcc apt-get install make # STEP 2.0 unpack and install vspd-.tar.gz # STEP 3.0 (for 64bit only) # for 64bit system you may need to install lib32stdc++6: apt-get install lib32stdc++
# STEP 1.0 (optional, usually it's already installed in Debian) apt-get install linux-headers-`uname -r` apt-get install gcc apt-get install make # STEP 2.0 unpack and install vspd-.tar.gz # STEP 3.0 (for 64bit only) # for 64bit system you may need to install lib32stdc++6: apt-get install lib32stdc++
# Mandriva 2011 placed it's development-ready kernel source into /usr/src/devel/linux-`uname -r` # prepare system urpmi kernel-(yourkernelname)-devel cd /usr/src/devel/`uname -r`/ make oldconfig && make modules_prepare # So you need to set up a symbolic link before running install.sh: ln -s /usr/src/devel/`uname -r` /usr/src/linux-`uname -r`
# prepare system urpmi kernel-(yourkernelname)-devel cd /usr/src/devel/`uname -r`/ make oldconfig && make modules_prepare # you need to set up a symbolic link before running install.sh: ln -s /usr/src/devel/`uname -r` /usr/src/linux-`uname -r`
# need to install CURRENT kernel headers first: pacman -S linux-headers # choose the version that is the same to your current kernel. # for example, Manjaro 20.2 is running on kernel-5.9.xxx, so choose linux59-headers # need gcc and make too. pacman -S gcc pacman -S make # create the standard path to kernel headers ln -s /lib/modules/`uname -r`/build/ /usr/src/linux-headers-`uname -r | tr A-Z a-z`

Источник

Virtual Serial Port Driver for Linux (VSPDL)

VSPDL is distributed as a gzipped TAR archive and RPM package. System requirements and the installation procedure can be found here.

VSPDL

This release was tested in CentOS 6.3, Mandriva 2011, OpenSuse 12.1, OpenSuse 12.2, Debian 6.0.6, Ubuntu 12.04, and Mageia 4.5.

Note: you don’t need x86_64 for now, it is binary-compatible.

System-specific notes

# first: set up kernel headers for building modules yum install kernel-devel # second: install VSPDL RPM yum install ./vspd-.rpm # Linux kernel development headers are installed into # /usr/src/kernels/ # preapre path for VSPDL cd /usr/src/; ln -s ./kernels/ ./linux-`uname -r`
# STEP 1.0: install default kernel and reboot yast -i kernel-default reboot # STEP 1.1: set up kernel sources for external modules yast -i kernel-source yast -i kernel-syms # STEP 1.2: prepare linux source tree cd /usr/src/ cp -f ./linux-obj/`uname -i`/default/.config ./linux/ cp -f ./linux-obj/`uname -i`/default/Module.symvers ./linux/ ln -s ./linux ./linux-`uname -r` ----------------- comment # for my OpenSuse 12.1: $ uname -a Linux linux-wh6q 3.1.10-1.16-default #1 SMP Wed Jun 27 05:21:40 UTC 2012 (d016078) i686 i686 i386 GNU/Linux $ ls -l total 20 lrwxrwxrwx 1 root root 17 Jan 11 05:27 linux -> linux-3.1.10-1.16 drwxr-xr-x 24 root root 4096 Jan 11 07:40 linux-3.1.10-1.16 lrwxrwxrwx 1 root root 19 Jan 11 05:33 linux-3.1.10-1.16-default -> ./linux drwxr-xr-x 3 root root 4096 Jan 11 05:31 linux-3.1.10-1.16-obj drwxr-xr-x 3 root root 4096 Jan 11 05:31 linux-obj drwxr-xr-x 8 root root 4096 Jan 10 09:30 packages ----------------- comment / # STEP 1.3: finilize cd /usr/src/linux/ make oldconfig && make modules_prepare # STEP 2.0 install VSPDL RPM (or tar if you wish) yast -i ./vspd-.rpm # STEP 3.0 install VSPDL cd /usr/local/vspd--dist ./install.sh /usr/local/vspd # STEP 4.0 (optional) depmod
# STEP 1.0 apt-get install linux-headers-`uname -r` apt-get install gcc apt-get install make # STEP 2.0 unpack and install vspd-.tar.gz # STEP 3.0 (for 64bit only) # for 64bit system you may need to install lib32stdc++6: apt-get install lib32stdc++
# STEP 1.0 (optional, usually it's already installed in Debian) apt-get install linux-headers-`uname -r` apt-get install gcc apt-get install make # STEP 2.0 unpack and install vspd-.tar.gz # STEP 3.0 (for 64bit only) # for 64bit system you may need to install lib32stdc++6: apt-get install lib32stdc++
# Mandriva 2011 placed it's development-ready kernel source into /usr/src/devel/linux-`uname -r` # prepare system urpmi kernel-(yourkernelname)-devel cd /usr/src/devel/`uname -r`/ make oldconfig && make modules_prepare # So you need to set up a symbolic link before running install.sh: ln -s /usr/src/devel/`uname -r` /usr/src/linux-`uname -r`
# prepare system urpmi kernel-(yourkernelname)-devel cd /usr/src/devel/`uname -r`/ make oldconfig && make modules_prepare # you need to set up a symbolic link before running install.sh: ln -s /usr/src/devel/`uname -r` /usr/src/linux-`uname -r`
# need to install CURRENT kernel headers first: pacman -S linux-headers # choose the version that is the same to your current kernel. # for example, Manjaro 20.2 is running on kernel-5.9.xxx, so choose linux59-headers # need gcc and make too. pacman -S gcc pacman -S make # create the standard path to kernel headers ln -s /lib/modules/`uname -r`/build/ /usr/src/linux-headers-`uname -r | tr A-Z a-z`

Источник

Читайте также:  Скрипт командной строки линукс
Оцените статью
Adblock
detector