Title: cannot access /dev/ttyUSB0 [Print This Page] Author: gkmbinh Time: 8/31/2015 15:22 Title: cannot access /dev/ttyUSB0 Hi, I have a kobuki, and want connect it to rk3288(ubuntu) but , list usb serial can show ttyUSB0,
when i use cm: lsusb, I see kubuki device. but cant connect to serial port ttyUSB0.
please help.
error message:
ls: cannot access /dev/ttyUSB0: No such file or directoryAuthor: zhansb Time: 9/1/2015 15:49
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
Author: gkmbinh Time: 9/1/2015 19:57
hi, thank for reply.
but i'm still got error :
ls: cannot access /dev/ttyUSB0: No such file or directoryAuthor: gkmbinh Time: 9/1/2015 21:44
kobuki chipset serial : FT232R - USB UART IC
so i need FT232R user serial ?Author: gkmbinh Time: 9/1/2015 22:01
Ltd FT232 USB-Serial (UART)
when lsusb:
lsusb
Bus 002 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)