New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Help with USB to Serial adapter please.

Got problems with Bubba? Then this forum is for you.
Locked
GaryL
Posts: 87
Joined: 04 Sep 2007, 17:40
Location: Northern Ireland

Help with USB to Serial adapter please.

Post by GaryL »

Hi all

Just been messing about with a USB to Serial adapter that I had knocking about.
But my Bubba doesn’t seem to recognize it on boot. Do I need to enable something?

Bubba’s dmesg output:

Code: Select all

garyl@bubba:~$ dmesg | grep -i usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
usb 1-1: new full speed USB device using at91_ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver asix
usbcore: registered new driver cdc_ether
usbcore: registered new driver net1080
usbcore: registered new driver cdc_subset
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
garyl@bubba:~$

garyl@bubba:~$ dmesg | grep -i tty
Kernel command line: mem=128M root=/dev/hda1 console=ttyS0,115200
at91_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a AT91_SERIAL
Bluetooth: RFCOMM TTY layer initialized
garyl@bubba:~$
And heres a healthier output from my laptop with a live ubuntu cd:

Code: Select all

ubuntu@ubuntu:~$ dmesg | grep -i usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
USB Universal Host Controller Interface driver v3.0
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
usb 1-2: new full speed USB device using uhci_hcd and address 2
sda:<6>usb 1-2: new full speed USB device using uhci_hcd and address 3
usb 1-2: configuration #1 chosen from 1 choice
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hiddev
input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse� Explorer] on usb-0000:00:1d.1-1
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
usb 1-2: pl2303 converter now attached to ttyUSB0
usbcore: registered new interface driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver

ubuntu@ubuntu:~$ dmesg | grep -i tty
usb 1-2: pl2303 converter now attached to ttyUSB0
Buetooth: RFCOMM TTY layer initialized
Any ideas on if and how I can get my usb-serial adapter to work with my Bubba?

.Gary
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post by tor »

Looks like you have a plajn PL2303 based adapter. And that should work.

You must however install the extra kernel modules, instructions here http://excito.org/forum/viewtopic.php?t=452

After that remove and insert the cable again. The device should show up as /dev/ttyUSB0

/Tor
Co-founder OpenProducts and Ex Excito Developer
GaryL
Posts: 87
Joined: 04 Sep 2007, 17:40
Location: Northern Ireland

Post by GaryL »

thanks, shall give that a go tomorrow.
GaryL
Posts: 87
Joined: 04 Sep 2007, 17:40
Location: Northern Ireland

Post by GaryL »

woohoo

Code: Select all

garyl@bubba:~$ dmesg | grep -i usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
usb 1-1: new full speed USB device using at91_ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver asix
usbcore: registered new driver cdc_ether
usbcore: registered new driver net1080
usbcore: registered new driver cdc_subset
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
usb 1-1: pl2303 converter now attached to ttyUSB0
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver


garyl@bubba:~$ dmesg | grep -i tty
Kernel command line: mem=128M root=/dev/hda1 console=ttyS0,115200
at91_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a AT91_SERIAL
Bluetooth: RFCOMM TTY layer initialized
usb 1-1: pl2303 converter now attached to ttyUSB0
That is all.
Locked