|
Posted at 9/1/2015 15:49:12
1#
Refer to the following step:
1.make menuconfig
select Device Drivers > USB support > USB Serial Converter support
<M> USB CP210x family of UART Bridge Controllers
<M> USB Prolific 2303 Single Port Serial Driver
change them to "M"
2. run the following command to make module:
make modules
mkdir modules_install
make INSTALL_MOD_PATH=./modules_install modules_install
3.copy [size=13.63636302948px]cp210x.ko and pl2303.ko to firefly-rk3288 board from path(kernel/modules_install/lib/modules/3.10.0/kernel/drivers/usb/serial)
4.install ko file:
root@firefly:/mnt/ko# insmod pl2303.ko
root@firefly:/mnt/ko# insmod cp210x.ko
5.final you list the [size=13.63636302948px]ttyUSB* in [size=13.63636302948px]/dev/:
ls /dev/ttyUSB0
ttyUSB0
6.if wan to remove it ,just:
root@firefly:/mnt/ko# rmmod cp210x.ko
root@firefly:/mnt/ko# rmmod pl2303.ko
|
|