1.Download the
Linux Source Code
Open a terminal and execute the following
commands. Note that your version of Linux may differ slightly --
adjust accordingly.
$ cd ~
$ sudo apt-get install
build-essential linux-source
$ cp
/usr/src/linux-source-3.2.0.tar.bz2 .
$ bunzip2
linux-source-3.2.0.tar.bz2
$ tar xf
linux-source-3.2.0.tar
$ cd
~/linux-source-3.2.0
2.Recompile and
Reinstall the cp210x Driver
From within a terminal,
execute:
$ cd
~/linux-source-3.2.0
$ make oldconfig
$ make prepare
$ make scripts
$ cp
/usr/src/linux-headers-3.2.0-34-generic-pae/Module.symvers
.
Here, I have the
"3.2.0-29" version also,
I launched the command above, but not the below:
"cp
/usr/src/linux-headers-3.2.0-29-generic-pae/Module.symvers
."
Recompile and Reinstall the cp210x
Driver
Here, We can actually install many kinds
of USB-UART converter drivers. We take cp210x as the
example.
From within a terminal,
execute:
$ make
M=drivers/usb/serial
$ sudo mv /lib/modules/$(uname
-r)/kernel/drivers/usb/serial/cp210x.ko /lib/modules/$(uname
-r)/kernel/drivers/usb/serial/cp210x.ko.old
$ sudo cp
drivers/usb/serial/cp210x.ko /lib/modules/$(uname
-r)/kernel/drivers/usb/serial/
$ sudo modprobe -r
cp210x
$ sudo modprobe
cp210x
Reboot Linux system.
Run
Terminal:
$ ls /dev/tty*