You are not logged in.

#1 2008-11-26 19:06:28

aport
Member
From: San Diego
Registered: 2008-02-20
Posts: 99

usbserial question

I'm messing around with turning my computer into a 3g router... I've got an expresscard evdo card with a pcmcia-->expresscard caddy.

Everything is supported.

I am having some inconsistencies with module loading... on a cold boot the pcmcia card and the expresscard are registered properly, the card is attached to ttyUSBX, and all is well.
However, on a reboot, things aren't detected properly... and if I unplug the card and plug it back in, it works just fine.

Successful dmesg (cold boot):

ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:0a.0: OHCI Host Controller
ohci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:0a.0: irq 15, io mem 0xd5900000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:01:00.0 to 64
ohci_hcd 0000:01:00.0: OHCI Host Controller
ohci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:01:00.0: irq 7, io mem 0x14000000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
usb 2-1: new full speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbserial_generic 2-1:1.0: generic converter detected
usb 2-1: generic converter now attached to ttyUSB0
usbserial_generic 2-1:1.1: generic converter detected
usb 2-1: generic converter now attached to ttyUSB1
usbserial_generic 2-1:1.2: generic converter detected
ehci_hcd 0000:00:0a.1: EHCI Host Controller
ehci_hcd 0000:00:0a.1: new USB bus registered, assigned bus number 3
ehci_hcd 0000:00:0a.1: irq 14, io mem 0xd4900000
ehci_hcd 0000:00:0a.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usb 2-1: generic converter now attached to ttyUSB2
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
PCI: Enabling device 0000:01:00.1 (0000 -> 0002)
ehci_hcd 0000:01:00.1: EHCI Host Controller
ehci_hcd 0000:01:00.1: new USB bus registered, assigned bus number 4
ehci_hcd 0000:01:00.1: irq 7, io mem 0x14001000
ehci_hcd 0000:01:00.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb 2-1: USB disconnect, address 2
generic ttyUSB0: generic converter now disconnected from ttyUSB0
usbserial_generic 2-1:1.0: device disconnected
generic ttyUSB1: generic converter now disconnected from ttyUSB1
usbserial_generic 2-1:1.1: device disconnected
generic ttyUSB2: generic converter now disconnected from ttyUSB2
usbserial_generic 2-1:1.2: device disconnected
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 3 ports detected
usb 2-1: new full speed USB device using ohci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
usbserial_generic 2-1:1.0: generic converter detected
usb 2-1: generic converter now attached to ttyUSB0
usbserial_generic 2-1:1.1: generic converter detected
usb 2-1: generic converter now attached to ttyUSB1
usbserial_generic 2-1:1.2: generic converter detected
usb 2-1: generic converter now attached to ttyUSB2

failed dmesg (reboot):

ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:0a.0: OHCI Host Controller
ohci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:0a.0: irq 15, io mem 0xd5900000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:01:00.0 to 64
ohci_hcd 0000:01:00.0: OHCI Host Controller
ohci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:01:00.0: irq 7, io mem 0x14000000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
usb 2-1: new full speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
ehci_hcd 0000:00:0a.1: EHCI Host Controller
ehci_hcd 0000:00:0a.1: new USB bus registered, assigned bus number 3
ehci_hcd 0000:00:0a.1: irq 14, io mem 0xd4900000
ehci_hcd 0000:00:0a.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbserial_generic 2-1:1.0: generic converter detected
usb 2-1: generic converter now attached to ttyUSB0
usbserial_generic 2-1:1.1: generic converter detected
usb 2-1: generic converter now attached to ttyUSB1
PCI: Enabling device 0000:01:00.1 (0000 -> 0002)
ehci_hcd 0000:01:00.1: EHCI Host Controller
ehci_hcd 0000:01:00.1: new USB bus registered, assigned bus number 4
usbserial_generic 2-1:1.2: generic converter detected
usb 2-1: generic converter now attached to ttyUSB2
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
ehci_hcd 0000:01:00.1: irq 7, io mem 0x14001000
ehci_hcd 0000:01:00.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb 2-1: USB disconnect, address 2
generic ttyUSB0: generic converter now disconnected from ttyUSB0
usbserial_generic 2-1:1.0: device disconnected
generic ttyUSB1: generic converter now disconnected from ttyUSB1
usbserial_generic 2-1:1.1: device disconnected
generic ttyUSB2: generic converter now disconnected from ttyUSB2
usbserial_generic 2-1:1.2: device disconnected
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 3 ports detected
usb 2-1: new full speed USB device using ohci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
usbserial_generic 2-1:1.0: generic converter detected
usb 2-1: generic converter now attached to ttyUSB0
usbserial_generic 2-1:1.1: generic converter detected
usb 2-1: generic converter now attached to ttyUSB1
usbserial_generic 2-1:1.2: generic converter detected
usb 2-1: generic converter now attached to ttyUSB2
usbcore: deregistering interface driver usbserial_generic
generic ttyUSB2: generic converter now disconnected from ttyUSB2
usbserial_generic 2-1:1.2: device disconnected
generic ttyUSB1: generic converter now disconnected from ttyUSB1
usbserial_generic 2-1:1.1: device disconnected
generic ttyUSB0: generic converter now disconnected from ttyUSB0
usbserial_generic 2-1:1.0: device disconnected
drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
usbcore: deregistering interface driver usbserial

any ideas as to why it's getting unloaded? I'm stumped.

Offline

Board footer

Powered by FluxBB