Hello.  I'm having a problem with 2.5.18, OHCI-HCD and the ACM driver on PPC.
Right now my Elsa Microlink 56k modem isn't recognized again after it's
unplugged and replugged.  Here's the log from dmesg (with
CONFIG_USB_DEBUG=y), with comments:

hub.c: port 1, portstatus 100, change 0, 12 Mb/s
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [2] = 0x00010301 CSC LSDA PPSS
hub.c: port 2, portstatus 301, change 1, 1.5 Mb/s
hub.c: hub / port 2 connection change
hub.c: hub / port 2, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [2] = 0x00100303 PRSC LSDA PPS
hub.c: port 2, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device 00:0f.0-2, assigned address 2
usb.c: kmalloc IF c3eb3160, numif 1
usb.c: skipped 1 class/vendor specific interface descriptors
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
usb.c: USB device number 2 default language ID 0x409
Manufacturer: Fujitsu Takamisawa Component
Product: Apple Optical USB Mouse
input,hiddev0: USB HID v10.01 Mouse [Fujitsu Takamisawa Component Apple Optical2
usb.c: hid driver claimed interface c3eb3160
# Plug in a mouse to try and make sure things are semi-OK
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
hub.c: port 2, portstatus 303, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [2] = 0x00030100 PESC CSC PPS
hub.c: port 2, portstatus 100, change 3, 12 Mb/s
hub.c: hub / port 2 connection change
hub.c: hub / port 2, portstatus 100, change 3, 12 Mb/s
usb.c: USB disconnect on device 2
# Disconnect mouse
hcd.c: (no bus?): hcd_unlink_urb fail -22
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [2] = 0x00020100 PESC PPS
hub.c: port 2, portstatus 100, change 2, 12 Mb/s
hub.c: hub / port 2 enable change, status 100
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [2] = 0x00010301 CSC LSDA PPSS
hub.c: port 2, portstatus 301, change 1, 1.5 Mb/s
hub.c: hub / port 2 connection change
hub.c: hub / port 2, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [2] = 0x00100303 PRSC LSDA PPS
hub.c: port 2, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device 00:0f.0-2, assigned address 3
usb.c: kmalloc IF c3eb3160, numif 1
usb.c: skipped 1 class/vendor specific interface descriptors
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
usb.c: USB device number 3 default language ID 0x409
Manufacturer: Fujitsu Takamisawa Component
Product: Apple Optical USB Mouse
input,hiddev0: USB HID v10.01 Mouse [Fujitsu Takamisawa Component Apple Optical2# Plug 
in mouse again, still works.
usb.c: hid driver claimed interface c3eb3160
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
hub.c: port 2, portstatus 303, change 0, 1.5 Mb/s
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [1] = 0x00010101 CSC PPS CCS
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: hub / port 1 connection change
hub.c: hub / port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PESS
hub.c: port 1, portstatus 103, change 10, 12 Mb/s
hub.c: new USB device 00:0f.0-1, assigned address 4
usb.c: kmalloc IF c37b0400, numif 2
usb.c: kmalloc IF c37b0600, numif 2
usb.c: skipped 4 class/vendor specific interface descriptors
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
usb.c: USB device number 4 default language ID 0x9
Manufacturer: Lucent Technologies, Inc.
Product: ELSA Modem Board
ttyACM0: USB ACM device
# Plug in ACM
# Doing: echo ATA > /dev/ttyACM0 ; sleep 5 ; echo ATH > /dev/ttyACM0
# has the modem pick up, make noise and then hang up.
usb.c: acm driver claimed interface c37b0600
usb.c: acm driver claimed interface c37b06c4
usb.c: acm driver booted acm off interface c37b0600
hub.c: port 2, portstatus 303, change 0, 1.5 Mb/s
ohci-dbg.c: UNLINK:[9368] dev:4,ep=4-I,INTR,flags:   0,len:0/32,stat:-2
hcd.c: 00:0f.0: wait for giveback urb c393ad20
hcd.c: giveback urb c393ad20 status -2 len 0
ohci-dbg.c: UNLINK:[aaf0] dev:4,ep=4-I,INTR,flags:   0,len:0/32,stat:-2
hcd.c: 00:0f.0: wait for giveback urb c393ad20
hcd.c: giveback urb c393ad20 status -2 len 0
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [1] = 0x00030100 PESC CSC PPS
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
hub.c: hub / port 1 connection change
hub.c: hub / port 1, portstatus 100, change 3, 12 Mb/s
usb.c: USB disconnect on device 4
# Disconnect ACM
hub.c: port 2, portstatus 303, change 0, 1.5 Mb/s
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [1] = 0x00020100 PESC PPS
hub.c: port 1, portstatus 100, change 2, 12 Mb/s
hub.c: hub / port 1 enable change, status 100
hub.c: port 2, portstatus 303, change 0, 1.5 Mb/s
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [1] = 0x00010101 CSC PPS CCS
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: hub / port 1 connection change
hub.c: hub / port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PESS
# Plug in ACM device again.
hub.c: port 1, portstatus 103, change 10, 12 Mb/s
hub.c: new USB device 00:0f.0-1, assigned address 5
usb.c: kmalloc IF c37b0600, numif 2
usb.c: kmalloc IF c37b0400, numif 2
usb.c: skipped 4 class/vendor specific interface descriptors
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
usb.c: USB device number 5 default language ID 0x9
Manufacturer: Lucent Technologies, Inc.
Product: ELSA Modem Board
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PESS
hub.c: port 1, portstatus 103, change 10, 12 Mb/s
hub.c: new USB device 00:0f.0-1, assigned address 6
usb.c: kmalloc IF c37b0400, numif 2
usb.c: kmalloc IF c37b0600, numif 2
usb.c: skipped 4 class/vendor specific interface descriptors
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
usb.c: USB device number 6 default language ID 0x9
Manufacturer: Lucent Technologies, Inc.
Product: ELSA Modem Board
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PESS
hub.c: port 1, portstatus 103, change 10, 12 Mb/s
hub.c: new USB device 00:0f.0-1, assigned address 7
usb.c: kmalloc IF c37b0600, numif 2
usb.c: kmalloc IF c37b0400, numif 2
usb.c: skipped 4 class/vendor specific interface descriptors
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
ohci-q.c: urb c393acc0 TD 2 of 3, patch ED
ohci-q.c:   urb c393acc0 TD 1 CC 5, len=0
hcd.c: giveback urb c393acc0 status -110 len 0
usb.c: error getting string descriptor 0 (error=-110)
ohci-q.c: urb c393acc0 TD 1 of 3, patch ED
ohci-q.c:   urb c393acc0 TD 0 CC 5, len=0
hcd.c: giveback urb c393acc0 status -110 len 0
usb.c: error getting string descriptor 0 (error=-110)
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [1] = 0x00030100 PESC CSC PPS
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
hub.c: port 2, portstatus 303, change 0, 1.5 Mb/s
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [1] = 0x00030100 PESC CSC PPS
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
hub.c: hub / port 1 connection change
hub.c: hub / port 1, portstatus 100, change 3, 12 Mb/s
hub.c: port 2, portstatus 303, change 0, 1.5 Mb/s
ohci-hub.c: 00:0f.0: GetStatus roothub.portstatus [1] = 0x00020100 PESC PPS
hub.c: port 1, portstatus 100, change 2, 12 Mb/s
hub.c: hub / port 1 enable change, status 100
hub.c: port 2, portstatus 303, change 0, 1.5 Mb/s
# Finally unplug ACM again.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to