PL2303 usb serial

Hi all,

I'd need help with attaching PL2303 Serial Port to my Yun.

I have installed the following modules:

kmod-usb-serial 
kmod-usb-serial-pl2303

And I see the device connected:

Bus 001 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

But the dmesg is not showing its attached to /dev/ttyUSB0

[  159.270000] usb 1-1.1: USB disconnect, device number 3
[  163.090000] usb 1-1.1: new full-speed USB device number 5 using ehci-platform
[  163.200000] usb 1-1.1: New USB device found, idVendor=067b, idProduct=2303
[  163.200000] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  163.200000] usb 1-1.1: Product: USB-Serial Controller
[  163.200000] usb 1-1.1: Manufacturer: Prolific Technology Inc.

lsmod:

root@ArduinoYun:~# lsmod
Module                  Size  Used by    Tainted: G  
fuse                   54653  0 
ftdi_sio               27200  0 
v4l2_common             7007  0 
videodev               80255  1 v4l2_common
usbserial              17633  1 ftdi_sio
ath79_wdt               2656  1 
ledtrig_netdev          3104  0 
nf_nat_irc               848  0 
nf_nat_ftp              1120  0 
nf_conntrack_irc        2704  1 nf_nat_irc
nf_conntrack_ftp        4912  1 nf_nat_ftp
ipt_MASQUERADE          1104  0 
iptable_nat             1920  1 
xt_nat                  1088  0 
nf_nat_ipv4             2686  1 iptable_nat
nf_nat                 10832  6 nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat,xt_nat,nf_nat_ipv4
pppoe                   7568  0 
xt_conntrack            2176  3 
xt_CT                   2416  2 
iptable_raw              640  1 
xt_state                 688  0 
nf_conntrack_ipv4       5108  4 
nf_defrag_ipv4           758  1 nf_conntrack_ipv4
nf_conntrack           43796 12 nf_nat_irc,nf_nat_ftp,nf_conntrack_irc,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat_ipv4,nf_nat,xt_conntrack,xt_CT,xt_state,nf_conntrack_ipv4
pppox                   1322  1 pppoe
ipt_REJECT              1808  2 
xt_TCPMSS               2624  0 
xt_LOG                  9472  0 
xt_comment               480  0 
xt_multiport            1184  0 
xt_mac                   608  0 
xt_limit                1008  1 
iptable_mangle           912  0 
iptable_filter           672  1 
ip_tables               9101  4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
xt_tcpudp               1680  2 
x_tables               10997 17 ipt_MASQUERADE,xt_nat,xt_conntrack,xt_CT,iptable_raw,xt_state,ipt_REJECT,xt_TCPMSS,xt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,iptable_mangle,iptable_filter,ip_tables,xt_tcpudp
ppp_async               6064  0 
ppp_generic            19682  3 pppoe,pppox,ppp_async
slhc                    4299  1 ppp_generic
ntfs                   89651  0 
hfsplus                72144  0 
hfs                    40571  0 
ath9k                  88745  0 
ath9k_common            1529  1 ath9k
ath9k_hw              356782  2 ath9k,ath9k_common
ath                    13049  3 ath9k,ath9k_common,ath9k_hw
nls_utf8                 864  0 
mac80211              304031  1 ath9k
crc_ccitt               1019  1 ppp_async
cfg80211              171238  2 ath9k,mac80211
compat                   921  5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211
arc4                    1312  2 
crypto_blkcipher       10327  1 arc4
aead                    4256  0 
sd_mod                 24432  0 
reiserfs              207035  0 
ext4                  283420  0 
jbd2                   45666  1 ext4
mbcache                 3949  1 ext4
crc16                   1015  1 ext4
crypto_hash             9546  2 ext4,jbd2
ledtrig_timer           1072  0 
ledtrig_default_on       496  0 
leds_gpio               1600  0

Thanks for help!

Yours lsmod:

ftdi_sio               27200  0
usbserial              17633  1 ftdi_sio

Correct lsmod:

pl2303                  6688  0
usbserial              17633  1 pl2303
opkg update 
opkg remove kmod-usb-serial-ftdi
opkg remove kmod-usb-serial-pl2303  
opkg install kmod-usb-serial-pl2303
lsmod

got the point!

[  101.620000] pl2303 1-1.1:1.0: pl2303 converter detected
[  101.620000] usb 1-1.1: pl2303 converter now attached to ttyUSB0

Thanks for help!! :slight_smile:

Hi guys.

woI'm rking with a jpeg camera which I've been unable to make work with an Arduino sketch. Today I found out that I could make it work directly from the computer via usb-ttl pl2303 converter. i had to dl and install the pk2303 driver on my Mac.

So my question is, how do I make the sketch work? I'm a newbie and I don't understand what I would be missing to make the camera work with the Arduino board since it doesn't use the converter or drivers?

Marciokoko: Hi guys.

woI'm rking with a jpeg camera which I've been unable to make work with an Arduino sketch. Today I found out that I could make it work directly from the computer via usb-ttl pl2303 converter. i had to dl and install the pk2303 driver on my Mac.

So my question is, how do I make the sketch work? I'm a newbie and I don't understand what I would be missing to make the camera work with the Arduino board since it doesn't use the converter or drivers?

Two types USB webcam:

Install UVC type Webcam

Install Non UVC type Webcam

Make sure driver installed:

root@Arduino:/mnt/sda1# ls /dev/video0  -al
crw-r--r--    1 root     root       81,   0 Jul  7 07:08 /dev/video0

http://www.ibuyopenwrt.com/index.php/8-yun-compatible/64-list-controls-of-webcam