Oliver Neukum wrote:
Am Freitag, 14. Dezember 2007 15:25:26 schrieb Sergio Callegari:
Hence in some sense the PCMCIA card can be used. However this
requires manually killing ehci_hcd that is very inconvenient, because
if at the same time one needs to use a high-speed storage device, then
this gets really bad.
I would like to know if this issue had already been reported and
maybe solved and alternatively if there is some way to _selectively_
ban ehci_hcd from attaching to a single hub, rather than disabling it
completely.
Please provide "lspci -v" with and without the card and "dmesg" before
and after you plug in the card.
Regards
Oliver
lspci with no card
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML
and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,
943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME,
943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 2 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI
Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface
Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA
IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller
(rev 01)
03:01.0 CardBus bridge: O2 Micro, Inc. Cardbus bridge (rev 21)
03:01.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752
Gigabit Ethernet PCI Express (rev 02)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
Network Connection (rev 02)
and with it
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML
and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,
943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME,
943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 2 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI
Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface
Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA
IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller
(rev 01)
03:01.0 CardBus bridge: O2 Micro, Inc. Cardbus bridge (rev 21)
03:01.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
04:00.0 USB Controller: Philips Semiconductors USB 1.1 Host Controller
(rev 11)
04:00.1 USB Controller: Philips Semiconductors USB 1.1 Host Controller
(rev 11)
04:00.2 USB Controller: Philips Semiconductors USB 2.0 Host Controller
(rev 11)
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752
Gigabit Ethernet PCI Express (rev 02)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
Network Connection (rev 02)
dmesg from card insertion
[ 8803.508000] pccard: CardBus card inserted into slot 0
[ 8803.508000] PCI: Enabling device 0000:04:00.0 (0000 -> 0002)
[ 8803.508000] ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 19 (level,
low) -> IRQ 19
[ 8803.508000] PCI: Setting latency timer of device 0000:04:00.0 to 64
[ 8803.508000] ohci_hcd 0000:04:00.0: OHCI Host Controller
[ 8803.508000] ohci_hcd 0000:04:00.0: new USB bus registered, assigned
bus number 1
[ 8803.508000] ohci_hcd 0000:04:00.0: irq 19, io mem 0x54000000
[ 8803.648000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8803.692000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8803.736000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8803.780000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8803.824000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8803.868000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8803.912000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8803.956000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8804.000000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8804.044000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8804.068000] usb usb1: configuration #1 chosen from 1 choice
[ 8804.068000] hub 1-0:1.0: USB hub found
[ 8804.068000] hub 1-0:1.0: 1 port detected
[ 8804.584000] PCI: Enabling device 0000:04:00.1 (0000 -> 0002)
[ 8804.584000] ACPI: PCI Interrupt 0000:04:00.1[A] -> GSI 19 (level,
low) -> IRQ 19
[ 8804.584000] PCI: Setting latency timer of device 0000:04:00.1 to 64
[ 8804.584000] ohci_hcd 0000:04:00.1: OHCI Host Controller
[ 8804.584000] ohci_hcd 0000:04:00.1: new USB bus registered, assigned
bus number 2
[ 8804.584000] ohci_hcd 0000:04:00.1: irq 19, io mem 0x54001000
[ 8804.700000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8804.744000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8804.788000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8804.832000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8804.876000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8804.920000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8804.964000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8805.008000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8805.052000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8805.096000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8805.140000] cnxthsf_OsEventWaitTime(c195dd40/HDA
CodecUnsolicitedmessage, 40): returning OSEVENT_WAIT_TIMEOUT
[ 8805.144000] usb usb2: configuration #1 chosen from 1 choice
[ 8805.144000] hub 2-0:1.0: USB hub found
[ 8805.144000] hub 2-0:1.0: 1 port detected
[ 8805.660000] PCI: Enabling device 0000:04:00.2 (0000 -> 0002)
[ 8805.660000] ACPI: PCI Interrupt 0000:04:00.2[A] -> GSI 19 (level,
low) -> IRQ 19
[ 8805.660000] PCI: Setting latency timer of device 0000:04:00.2 to 64
[ 8805.660000] ehci_hcd 0000:04:00.2: EHCI Host Controller
[ 8805.660000] ehci_hcd 0000:04:00.2: new USB bus registered, assigned
bus number 4
[ 8805.684000] ehci_hcd 0000:04:00.2: irq 19, io mem 0x54002000
[ 8805.684000] ehci_hcd 0000:04:00.2: USB 2.0 started, EHCI 1.00, driver
10 Dec 2004[ 8805.684000] usb usb4: configuration #1 chosen from 1 choice
[ 8805.684000] hub 4-0:1.0: USB hub found
[ 8805.684000] hub 4-0:1.0: 2 ports detected
[ 8809.312000] hub 4-0:1.0: Cannot enable port 2. Maybe the USB cable
is bad?
[ 8810.244000] hub 4-0:1.0: Cannot enable port 2. Maybe the USB cable
is bad?
[ 8811.172000] hub 4-0:1.0: Cannot enable port 2. Maybe the USB cable
is bad?
[ 8812.100000] hub 4-0:1.0: Cannot enable port 2. Maybe the USB cable
is bad?
When I rrmod the ehci_hcd
[ 9176.448000] ehci_hcd 0000:04:00.2: remove, state 1
[ 9176.448000] usb usb4: USB disconnect, address 1
[ 9176.472000] ehci_hcd 0000:04:00.2: USB bus 4 deregistered
[ 9176.472000] ACPI: PCI interrupt for device 0000:04:00.2 disabled
[ 9176.472000] ehci_hcd 0000:00:1d.7: remove, state 1
[ 9176.472000] usb usb3: USB disconnect, address 1
[ 9176.476000] ehci_hcd 0000:00:1d.7: USB bus 3 deregistered
[ 9176.476000] ACPI: PCI interrupt for device 0000:00:1d.7 disabled
[ 9176.764000] usb 2-1: new full speed USB device using ohci_hcd and
address 2
[ 9176.980000] usb 2-1: configuration #1 chosen from 1 choice
[ 9176.980000] sierra 2-1:1.0: Sierra USB modem (1 port) converter detected
[ 9176.980000] usb 2-1: Sierra USB modem (1 port) converter now attached
to ttyUSB0
[ 9176.984000] sierra 2-1:1.1: Sierra USB modem (1 port) converter detected
[ 9176.984000] usb 2-1: Sierra USB modem (1 port) converter now attached
to ttyUSB1
[ 9176.988000] sierra 2-1:1.2: Sierra USB modem (1 port) converter detected
[ 9176.988000] usb 2-1: Sierra USB modem (1 port) converter now attached
to ttyUSB2
And the device starts working.
BTW: note that there is in fact no cable at all. Everything is self
contained in the PCMCIA card
Hope this helps
Sergio
PS:
Two notices:
1) I found an extra long thread about ehci_hcd related problems at
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/88746,
but I do not know if it is related.
For sure I tried disabling autosuspend features in usb in my 2.6.22
kernel via the dev/sys/bus/usb interface and that did not help.
2) Also there are notes about ehci_hcd preventing some devices from
working at http://article.gmane.org/gmane.linux.usb.devel/60461
--
----------------------------------------------------------------
Dr. Sergio Callegari Via Venezia 52
Researcher and Assistant Professor 47023 - Cesena
School of Engineering II Tel. +39.320.4365437
University of Bologna Fax. +39.02.700506986
Affiliated with:
DEIS - Dept. of Electronics, Computer Sciences and Systems,
University of Bologna (www.deis.unibo.it)
ARCES - Advanced Research Center on Electronic Systems for
Information and Communication Technologies
University of Bologna (www.arces.unibo.it)
================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html