Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

cannot access /dev/ttyUSB0

96

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
96

cannot access /dev/ttyUSB0

Posted at 8/31/2015 15:22:25      View:6521 | Replies:4        Print      Only Author   [Copy Link] 1#
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 directory
Reply

Use props Report

2442

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
2442
Posted at 9/1/2015 15:49:12        Only Author  2#
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

Reply

Use props Report

96

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
96
Posted at 9/1/2015 19:57:20        Only Author  3#
hi, thank for reply.
but i'm still got error :
ls: cannot access /dev/ttyUSB0: No such file or directory
Reply

Use props Report

96

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
96
Posted at 9/1/2015 21:44:10        Only Author  4#
kobuki chipset serial :  FT232R - USB UART IC
so i need FT232R user serial ?
Reply

Use props Report

96

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
96
Posted at 9/1/2015 22:01:25        Only Author  5#
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

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list