Skip to contentSkip to conversation

wait_for_sysfs needs an update to handle the device properly

DISCUSSION Csan 3 participants 11 messages Oct 28, 2004 – Nov 6, 2004

lore
Share & tools
lore

Csan

author
#0 lore raw

Hello,

This one is a USB bluetooth dongle (XüMicro, XBT-DG1 Class 2). It used to work and hotplug with no problems up to some time ago. I don't know since when it doesn't.

Oct 28 02:34:49 csanote kernel: usb 3-1: new full speed USB device using address 2
Oct 28 02:34:55 csanote wait_for_sysfs[30798]: either wait_for_sysfs (udev 040)
needs an update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1'
properly (no bus device link) or the sysfs-support of your device's driver needs
to be fixed, please report to <[email protected]>
Oct 28 02:34:55 csanote wait_for_sysfs[30799]: either wait_for_sysfs (udev 040)

needs an update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <[email protected]>

Oct 28 02:34:55 csanote wait_for_sysfs[30800]: either wait_for_sysfs (udev 040)

needs an update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <[email protected]>

Oct 28 02:34:55 csanote wait_for_sysfs[30801]: either wait_for_sysfs (udev 040)

needs an update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.2' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <[email protected]>

Oct 28 02:34:56 csanote kernel: Bluetooth: HCI USB driver ver 2.7
Oct 28 02:34:56 csanote kernel: usbcore: registered new driver hci_usb
Oct 28 02:34:56 csanote usb.agent[30813]:      hci_usb: loaded successfully
Oct 28 02:34:56 csanote usb.agent[30818]:      hci_usb: loaded successfully
Oct 28 02:34:56 csanote usb.agent[30823]:      hci_usb: loaded successfully
Oct 28 02:35:01 csanote wait_for_sysfs[30919]: either wait_for_sysfs (udev 040)

needs an update to handle the device '/class/bluetooth/hci0' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <[email protected]>

Please let me know if you need further details. Thank you. :)

Best regards,
Csan

----- Továbbított levél Greg KH <[email protected]> címrõl -----
Dátum: Wed, 13 Oct 2004 17:01:42 -0700
Feladó: Greg KH <[email protected]>
Viszontválasz cím: Greg KH <[email protected]>
Tartalom: Re: wait_for_sysfs needs an update to handle the device properly
Címzett: Csan <[email protected]>

Quoted 5 lines · Csan

Hello all,

Call of duty, here I am! You asked for report, here it is:
:)

Quoted 9 lines
Oct 13 22:13:17 csanote kernel: usb 3-1: new full speed USB device using address 2
Oct 13 22:13:22 csanote wait_for_sysfs[30577]: error: wait_for_sysfs needs an
update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0'
properly, please report to <[email protected]>
Oct 13 22:13:22 csanote wait_for_sysfs[30576]: error: wait_for_sysfs needs an
update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1'
properly, please report to <[email protected]>
Oct 13 22:13:24 csanote usb.agent[30583]:      libgphoto2: loaded successfully
Oct 13 22:13:41 csanote kernel: usb 3-1: USB disconnect, address 2

Thanks, this should be fixed in the next version of udev.

greg k-h

----- Vége a továbbított üzenetnek -----

Csan alias János Holányi
Debian Group leader - Association of Hungarian Linux Users
URL: http://www.lme.hu/ Email: csani AT lme.linux.hu gpg --keyserver hkp://pgp.mit.edu --recv-keys 82CBB661

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 3 lines · Csan

This one is a USB bluetooth dongle (XüMicro, XBT-DG1 Class 2). It used to work and hotplug with no problems up to some time ago. I don't know since when it doesn't.

I don't think, that this is related to udev. Did yo try an older kernel?

Quoted 4 lines

'/devices/pci0000:00/0000:00:1d.1/usb3/3-1' properly (no bus device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0' properly (no bus device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1' properly (no bus device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.2' properly (no bus device

I don't have that errors here, but we've had several reports of that. I don't know why libsysfs is unable the determine the "bus" value. Could you please post the output of:

ls -l /sys/bus/usb/devices

Quoted 1 line

'/class/bluetooth/hci0' properly (no bus

Hmm, I know nothing about bluetooth, but the one built-in into my notebook does not create these errors on activation. It is also the missing bus-link and therefore seems to be related to the other errors.

Thanks,
Kay

-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

author
#2 lore raw
In reply to Csan

Idézés Kay Sievers <[email protected]>:

Quoted 8 lines · Csan
Quoted 1 line

This one is a USB bluetooth dongle (XüMicro, XBT-DG1 Class 2). It used to

work

Quoted 1 line

and hotplug with no problems up to some time ago. I don't know since when

it

Quoted 1 line

doesn't.

I don't think, that this is related to udev. Did yo try an older kernel?

Yes. Older kernels and the bluetooth dongle worked fine as much as I can recall. Actually, I have to correct myself in that the problem seems to be gone after a reboot now...
Since then the bluetooth dongle has been operational and fully functional. However, I still get these messages in the syslog on insertion. Here's the full relevant syslog exceprt:

Oct 28 03:51:49 csanote kernel: usb 3-1: new full speed USB device using address 2
Oct 28 03:51:54 csanote wait_for_sysfs[3967]: either wait_for_sysfs (udev 040)
needs an update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1'
properly (no bus device link) or the sysfs-support of your device's driver needs
to be fixed, please report to <[email protected]>
Oct 28 03:51:54 csanote wait_for_sysfs[3969]: either wait_for_sysfs (udev 040)

needs an update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <[email protected]>

Oct 28 03:51:54 csanote wait_for_sysfs[3971]: either wait_for_sysfs (udev 040)

needs an update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <[email protected]>

Oct 28 03:51:54 csanote wait_for_sysfs[3973]: either wait_for_sysfs (udev 040)

needs an update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.2' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <[email protected]>

Oct 28 03:51:56 csanote usb.agent[3982]:      hci_usb: loaded successfully
Oct 28 03:51:56 csanote usb.agent[3986]:      hci_usb: already loaded
Oct 28 03:51:56 csanote usb.agent[4008]:      hci_usb: already loaded
Oct 28 03:51:56 csanote kernel: Bluetooth: HCI USB driver ver 2.7
Oct 28 03:51:56 csanote kernel: usbcore: registered new driver hci_usb
Oct 28 03:51:56 csanote hcid[3547]: HCI dev 0 registered
Oct 28 03:51:56 csanote hcid[3547]: HCI dev 0 up
Oct 28 03:51:56 csanote hcid[3547]: Starting security manager 0
Oct 28 03:52:01 csanote wait_for_sysfs[4078]: either wait_for_sysfs (udev 040)

needs an update to handle the device '/class/bluetooth/hci0' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <[email protected]>

I tried digging back in the rotated syslogs to see if anything is saved that could help and I found the following:

Oct 22 00:17:48 csanote hcid[3623]: Bluetooth HCI daemon
Oct 22 00:17:48 csanote ntpd[3620]: frequency initialized 27.767 PPM from
/var/lib/ntp/ntp.drift
Oct 22 00:17:48 csanote kernel: Bluetooth: Core ver 2.6
Oct 22 00:17:48 csanote kernel: NET: Registered protocol family 31
Oct 22 00:17:48 csanote kernel: Bluetooth: HCI device and connection manager
initialized
Oct 22 00:17:48 csanote kernel: Bluetooth: HCI socket layer initialized
Oct 22 00:17:48 csanote kernel: Bluetooth: L2CAP ver 2.3
Oct 22 00:17:48 csanote kernel: Bluetooth: L2CAP socket layer initialized
Oct 22 00:17:48 csanote sdpd[3632]: Bluetooth SDP daemon 
Oct 22 00:17:48 csanote kernel: Bluetooth: RFCOMM ver 1.3
Oct 22 00:17:48 csanote kernel: Bluetooth: RFCOMM socket layer initialized
Oct 22 00:17:48 csanote kernel: Bluetooth: RFCOMM TTY layer initialized
Oct 22 00:17:48 csanote udev: creating device node '/dev/rfcomm0'
Oct 22 00:17:48 csanote udev: creating device node '/dev/rfcomm1'

by the way, I checked what packages have been upgraded since the 22nd and among others the udev itself was upgraded. Could that be related? I could give you a list of the upgraded packages if you need it.

Quoted 6 lines
Quoted 2 lines

'/devices/pci0000:00/0000:00:1d.1/usb3/3-1' properly (no bus device '/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0' properly (no bus

device

Quoted 1 line

'/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1' properly (no bus

device

Quoted 1 line

'/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.2' properly (no bus

Quoted 8 lines

device

I don't have that errors here, but we've had several reports of that. I don't
know why libsysfs is unable the determine the "bus" value. Could you please post the output of:

ls -l /sys/bus/usb/devices

# ls -l /sys/bus/usb/devices
-r--r--r--  1 root root 0 2004-10-29 01:10 /sys/bus/usb/devices

And the relevant section from /sys/bus/usb/devices:
---- cut here ----

T:  Bus Lev Prnt Port Cnt Dev#=  3 Spd  MxCh= 0
D:  Ver= 1.10 Clsà(unk. ) Sub Prot MxPSd #Cfgs=  1
P:  Vendor
12 ProdID01 Rev= 5.25
C:* #Ifs= 3 Cfg#= 1 AtrÀ MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 3 Clsà(unk. ) Sub Prot Driver=hci_usb
E:  Ad�(I) Atr(Int.) MxPS=  16 Ivl=1ms
E:  Ad(O) Atr(Bulk) MxPS=  64 Ivl=0ms
E:  Ad‚(I) Atr(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 1 Alt= 0 #EPs= 2 Clsà(unk. ) Sub Prot Driver=hci_usb
E:  Ad(O) Atr(Isoc) MxPS=   0 Ivl=1ms
E:  Adƒ(I) Atr(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 1 Alt= 1 #EPs= 2 Clsà(unk. ) Sub Prot Driver=hci_usb
E:  Ad(O) Atr(Isoc) MxPS=   9 Ivl=1ms
E:  Adƒ(I) Atr(Isoc) MxPS=   9 Ivl=1ms
I:  If#= 1 Alt= 2 #EPs= 2 Clsà(unk. ) Sub Prot Driver=hci_usb
E:  Ad(O) Atr(Isoc) MxPS=  17 Ivl=1ms
E:  Adƒ(I) Atr(Isoc) MxPS=  17 Ivl=1ms
I:  If#= 1 Alt= 3 #EPs= 2 Clsà(unk. ) Sub Prot Driver=hci_usb
E:  Ad(O) Atr(Isoc) MxPS=  25 Ivl=1ms
E:  Adƒ(I) Atr(Isoc) MxPS=  25 Ivl=1ms
I:  If#= 1 Alt= 4 #EPs= 2 Clsà(unk. ) Sub Prot Driver=hci_usb
E:  Ad(O) Atr(Isoc) MxPS=  33 Ivl=1ms
E:  Adƒ(I) Atr(Isoc) MxPS=  33 Ivl=1ms
I:  If#= 1 Alt= 5 #EPs= 2 Clsà(unk. ) Sub Prot Driver=hci_usb
E:  Ad(O) Atr(Isoc) MxPS=  49 Ivl=1ms
E:  Adƒ(I) Atr(Isoc) MxPS=  49 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 0 Clsþ(app. ) Sub Prot Driver=(none)

---- cut here ----

Quoted 5 lines
Quoted 1 line

'/class/bluetooth/hci0' properly (no bus

Hmm, I know nothing about bluetooth, but the one built-in into my notebook does not create these errors on activation. It is also the missing bus-link and therefore seems to be related to the other errors.

Which "other errors" are you refering to? :)

Thanks.

Regs,
Csan alias János Holányi
Debian Group leader - Association of Hungarian Linux Users
URL: http://www.lme.hu/ Email: csani AT lme.linux.hu gpg --keyserver hkp://pgp.mit.edu --recv-keys 82CBB661

-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Csan
Quoted 6 lines · Csan

Idézés Kay Sievers <[email protected]>:

Quoted 4 lines · Csan
Quoted 1 line

This one is a USB bluetooth dongle (XĂźMicro, XBT-DG1 Class 2). It used to

work

Quoted 1 line

and hotplug with no problems up to some time ago. I don't know since when

Quoted 8 lines
Quoted 4 lines

it

Quoted 1 line

doesn't.

I don't think, that this is related to udev. Did yo try an older kernel?

Yes. Older kernels and the bluetooth dongle worked fine as much as I can recall. Actually, I have to correct myself in that the problem seems to be gone after a reboot now...

Fine!

Quoted 2 lines

by the way, I checked what packages have been upgraded since the 22nd and among others the udev itself was upgraded. Could that be related?

I don't think so. Looks more like kernel config problem.

Quoted 9 lines
Quoted 6 lines

I don't have that errors here, but we've had several reports of that. I don't
know why libsysfs is unable the determine the "bus" value. Could you please post the output of:

ls -l /sys/bus/usb/devices

# ls -l /sys/bus/usb/devices
-r--r--r--  1 root root 0 2004-10-29 01:10 /sys/bus/usb/devices

That's odd. It should look like that:

1-0:1.0 -> ../../../devices/pci0000:00/0000:00:1d.7/usb1/1-0:1.0 1-3 -> ../../../devices/pci0000:00/0000:00:1d.7/usb1/1-3 1-3:1.0 -> ../../../devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0 2-0:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-0:1.0 2-1 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1 2-1:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0 3-0:1.0 -> ../../../devices/pci0000:00/0000:00:1d.1/usb3/3-0:1.0 3-2 -> ../../../devices/pci0000:00/0000:00:1d.1/usb3/3-2 3-2:1.0 -> ../../../devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0 4-0:1.0 -> ../../../devices/pci0000:00/0000:00:1d.2/usb4/4-0:1.0 4-1 -> ../../../devices/pci0000:00/0000:00:1d.2/usb4/4-1 4-1:1.0 -> ../../../devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0 4-1:1.1 -> ../../../devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.1 4-1:1.2 -> ../../../devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.2 usb1 -> ../../../devices/pci0000:00/0000:00:1d.7/usb1 usb2 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2 usb3 -> ../../../devices/pci0000:00/0000:00:1d.1/usb3 usb4 -> ../../../devices/pci0000:00/0000:00:1d.2/usb4

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

'/class/bluetooth/hci0' properly (no bus

Hmm, I know nothing about bluetooth, but the one built-in into my notebook does not create these errors on activation. It is also the missing bus-link and therefore seems to be related to the other errors.

Which "other errors" are you refering to? :)

First the errors of "/sys/devices/*" and second the errors of "/sys/class/*" devices. Both classes of errors here are caused by the missing /sys/bus/usb/* entries. What usb chipset is that (lspci)? Which *_hcd driver (lsmod) is used?

Kay

-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

author
#4 lore raw
In reply to Csan

Idézés Kay Sievers <[email protected]>:

Quoted 14 lines · Csan

Could you please

Quoted 6 lines
Quoted 3 lines

post the output of:

ls -l /sys/bus/usb/devices

# ls -l /sys/bus/usb/devices
-r--r--r--  1 root root 0 2004-10-29 01:10 /sys/bus/usb/devices

That's odd. It should look like that:

1-0:1.0 -> ../../../devices/pci0000:00/0000:00:1d.7/usb1/1-0:1.0

...

Quoted 12 lines

usb4 -> ../../../devices/pci0000:00/0000:00:1d.2/usb4

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

'/class/bluetooth/hci0' properly (no bus

Hmm, I know nothing about bluetooth, but the one built-in into my

notebook

Quoted 1 line
Quoted 1 line

does not create these errors on activation. It is also the missing

bus-link

Quoted 2 lines
Quoted 1 line

and therefore seems to be related to the other errors.

Quoted 7 lines
Quoted 1 line

Which "other errors" are you refering to? :)

First the errors of "/sys/devices/*" and second the errors of "/sys/class/*"
devices. Both classes of errors here are caused by the missing /sys/bus/usb/*
entries. What usb chipset is that (lspci)?

# lspci
0000:00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM
Controller/Host-Hub Interface (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE Host-to-AGP
Bridge (rev 03)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #3 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI
Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 82)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) UltraATA-100
IDE Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus
Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem
Controller (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf
[Radeon Mobility 9000 M9] (rev 01)
0000:02:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 80)
0000:02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
0000:02:04.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
Quoted 1 line

Which *_hcd driver (lsmod) is used?

# lsmod | grep hci | grep -v 1394
hci_usb                13888  3 
bluetooth              49604  7 hci_usb,rfcomm,l2cap
uhci_hcd               33136  0 
ehci_hcd               32004  0 
usbcore               119012  9
cdc_acm,hci_usb,usbhid,uhci_hcd,ehci_hcd,usbmouse,usbkbd
# dmesg | grep hcd
ehci_hcd 0000:00:1d.7: Intel Corp. 82801DB (ICH4) USB2 EHCI Controller
ehci_hcd 0000:00:1d.7: irq 201, pci mem e0a5b000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
uhci_hcd 0000:00:1d.0: Intel Corp. 82801DB (ICH4) USB UHCI #1
uhci_hcd 0000:00:1d.0: irq 177, io base 00001800
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.1: Intel Corp. 82801DB (ICH4) USB UHCI #2
uhci_hcd 0000:00:1d.1: irq 185, io base 00001820
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.2: Intel Corp. 82801DB (ICH4) USB UHCI #3
uhci_hcd 0000:00:1d.2: irq 193, io base 00001840
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4

BR,
Csan alias János Holányi
Debian Group leader - Association of Hungarian Linux Users
URL: http://www.lme.hu/ Email: csani AT lme.linux.hu gpg --keyserver hkp://pgp.mit.edu --recv-keys 82CBB661

-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#5 lore raw
In reply to Csan
Quoted 11 lines · Csan

Idézés Kay Sievers <[email protected]>:

Quoted 10 lines · Csan

Could you please

Quoted 6 lines
Quoted 3 lines

post the output of:

ls -l /sys/bus/usb/devices

# ls -l /sys/bus/usb/devices
-r--r--r--  1 root root 0 2004-10-29 01:10 /sys/bus/usb/devices

Greg, any idea how it can happen, that the usb subsys does not create any /sys/bus/usb/* entry at all?

Thanks,
Kay

Quoted 44 lines
Quoted 1 line

What usb chipset is that (lspci)?

# lspci
0000:00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM
Controller/Host-Hub Interface (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE Host-to-AGP
Bridge (rev 03)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #3 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI
Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 82)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) UltraATA-100
IDE Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus
Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem
Controller (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf
[Radeon Mobility 9000 M9] (rev 01)
0000:02:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 80)
0000:02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
0000:02:04.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
Quoted 1 line

Which *_hcd driver (lsmod) is used?

# lsmod | grep hci | grep -v 1394
hci_usb                13888  3 
bluetooth              49604  7 hci_usb,rfcomm,l2cap
uhci_hcd               33136  0 
ehci_hcd               32004  0 
usbcore               119012  9
cdc_acm,hci_usb,usbhid,uhci_hcd,ehci_hcd,usbmouse,usbkbd
Quoted 14 lines
# dmesg | grep hcd
ehci_hcd 0000:00:1d.7: Intel Corp. 82801DB (ICH4) USB2 EHCI Controller
ehci_hcd 0000:00:1d.7: irq 201, pci mem e0a5b000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
uhci_hcd 0000:00:1d.0: Intel Corp. 82801DB (ICH4) USB UHCI #1
uhci_hcd 0000:00:1d.0: irq 177, io base 00001800
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.1: Intel Corp. 82801DB (ICH4) USB UHCI #2
uhci_hcd 0000:00:1d.1: irq 185, io base 00001820
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.2: Intel Corp. 82801DB (ICH4) USB UHCI #3
uhci_hcd 0000:00:1d.2: irq 193, io base 00001840
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op�k
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#6 lore raw
In reply to Csan
Quoted 8 lines · Kay Sievers
Quoted 7 lines · Csan

Id??z??s Kay Sievers <[email protected]>:

Quoted 6 lines · Csan

Could you please

Quoted 2 lines
Quoted 2 lines

post the output of:

Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line

ls -l /sys/bus/usb/devices

# ls -l /sys/bus/usb/devices
-r--r--r--  1 root root 0 2004-10-29 01:10 /sys/bus/usb/devices

Greg, any idea how it can happen, that the usb subsys does not create any /sys/bus/usb/* entry at all?

Ick, no, I don't know how that could happen :(

greg k-h

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#7 lore raw
In reply to Csan
Quoted 11 lines · Greg KH
Quoted 10 lines · Kay Sievers
Quoted 9 lines · Csan

Id??z??s Kay Sievers <[email protected]>:

Quoted 8 lines · Csan

Could you please

Quoted 4 lines
Quoted 3 lines

post the output of:

ls -l /sys/bus/usb/devices

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
# ls -l /sys/bus/usb/devices
-r--r--r--  1 root root 0 2004-10-29 01:10 /sys/bus/usb/devices

Greg, any idea how it can happen, that the usb subsys does not create any /sys/bus/usb/* entry at all?

Ick, no, I don't know how that could happen :(

So let's see if we come closer. :)

Hi Csan,
what kernel is that? Did you apply any patches to it? Any chance to try a different version? Which distribution?

Does reloading the driver:
rmmod ehci_hcd uhci_hcd
modprobe uhci_hcd

create anything in /sys/bus/usb/devices/*?

Thanks,
Kay

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

author
#8 lore raw
In reply to Csan

Idézés Kay Sievers <[email protected]>:

Quoted 16 lines · Greg KH
Quoted 7 lines · Kay Sievers
Quoted 6 lines · Csan
Quoted 5 lines

Id??z??s Kay Sievers <[email protected]>:

Quoted 4 lines · Csan

Could you please

Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

post the output of:

ls -l /sys/bus/usb/devices

# ls -l /sys/bus/usb/devices
-r--r--r--  1 root root 0 2004-10-29 01:10 /sys/bus/usb/devices

Greg, any idea how it can happen, that the usb subsys does not create

Quoted 8 lines

any

Quoted 3 lines
Quoted 1 line

/sys/bus/usb/* entry at all?

Ick, no, I don't know how that could happen :(

So let's see if we come closer. :)

Hi Csan,

Hi,

Quoted 1 line

what kernel is that?

That was the stock Debian kernel 2.6.8-1-686

Quoted 1 line

Did you apply any patches to it?

No patches.

Quoted 2 lines

Any chance to try
a different version?

Yes. The reason I've waited a few days before I reply to this has been that 2.6.9 hit the unstable repository and now I am running 2.6.9... and no improvement around here:

# ls -l /sys/bus/usb/devices
-r--r--r--  1 root root 0 2004-11-06 07:05 /sys/bus/usb/devices
Quoted 1 line

Which distribution?

Debian, Debian, Debian... what else? - Check my sig ;)

Quoted 5 lines

Does reloading the driver:
rmmod ehci_hcd uhci_hcd
modprobe uhci_hcd

create anything in /sys/bus/usb/devices/*?

Still nothing:

# ls -l /sys/bus/usb/devices
-r--r--r--  1 root root 0 2004-11-06 08:17 /sys/bus/usb/devices

Strangely enough, on a few other machines that I run 2.6, the subdir is properly present:

# ls -l /sys/bus/usb/devices/
lrwxrwxrwx    1 root     root           53 2004-09-27 20:26 1-0:1.0 ->
../../../devices/pci0000:00/0000:00:01.2/usb1/1-0:1.0
lrwxrwxrwx    1 root     root           45 2004-09-27 20:26 usb1 ->
../../../devices/pci0000:00/0000:00:01.2/usb1
# uname -r
2.6.2-1-586tsc
# ls -l /sys/bus/usb/devices/
lrwxrwxrwx  1 root root 0 Nov  2 06:07 1-0:1.0 ->
../../../devices/pci0000:00/0000:00:07.2/usb1/1-0:1.0
lrwxrwxrwx  1 root root 0 Nov  2 06:07 2-0:1.0 ->
../../../devices/pci0000:00/0000:00:07.3/usb2/2-0:1.0
lrwxrwxrwx  1 root root 0 Nov  2 06:07 usb1 ->
../../../devices/pci0000:00/0000:00:07.2/usb1
lrwxrwxrwx  1 root root 0 Nov  2 06:07 usb2 ->
../../../devices/pci0000:00/0000:00:07.3/usb2
# uname -r
2.6.8-1-686-smp

So the problem might seem to be of local origin, but then what would that be? I'm gonna try some older kernels (2.6.7) on this laptop... brb.

...and no, no change:

# ls -l /sys/bus/usb/devices 
-r--r--r--  1 root root 0 2004-11-06 08:48 /sys/bus/usb/devices
# uname -r
2.6.7-1-686

Regards,
Csan alias János Holányi
Debian Group leader - Association of Hungarian Linux Users
URL: http://www.lme.hu/ Email: csani AT lme.linux.hu gpg --keyserver hkp://pgp.mit.edu --recv-keys 82CBB661

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#9 lore raw
In reply to Csan
Quoted 6 lines · Csan

Yes. The reason I've waited a few days before I reply to this has been that 2.6.9 hit the unstable repository and now I am running 2.6.9... and no improvement around here:

# ls -l /sys/bus/usb/devices
-r--r--r--  1 root root 0 2004-11-06 07:05 /sys/bus/usb/devices

Are you sure you actually _have_ a usb controller on this machine? It sure doesn't look like it.

thanks,

greg k-h

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#10 lore raw

Re: Fwd: Re: wait_for_sysfs needs an update to handle the device

In reply to Csan
Quoted 10 lines · Greg KH
Quoted 6 lines · Csan

Yes. The reason I've waited a few days before I reply to this has been that 2.6.9 hit the unstable repository and now I am running 2.6.9... and no improvement around here:

# ls -l /sys/bus/usb/devices
-r--r--r--  1 root root 0 2004-11-06 07:05 /sys/bus/usb/devices

Are you sure you actually _have_ a usb controller on this machine? It sure doesn't look like it.

Looks like a "normal" Intel controller. In earlier mails Csan posted this:

# lspci
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 02)
# dmesg | grep hcd
ehci_hcd 0000:00:1d.7: Intel Corp. 82801DB (ICH4) USB2 EHCI Controller
ehci_hcd 0000:00:1d.7: irq 201, pci mem e0a5b000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
uhci_hcd 0000:00:1d.0: Intel Corp. 82801DB (ICH4) USB UHCI #1
uhci_hcd 0000:00:1d.0: irq 177, io base 00001800
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.1: Intel Corp. 82801DB (ICH4) USB UHCI #2
uhci_hcd 0000:00:1d.1: irq 185, io base 00001820
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.2: Intel Corp. 82801DB (ICH4) USB UHCI #3
uhci_hcd 0000:00:1d.2: irq 193, io base 00001840
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4

# /sys/bus/usb/devices:

T:  Bus Lev Prnt Port Cnt Dev#=  3 Spd  MxCh= 0
D:  Ver= 1.10 Cls�(unk. ) Sub Prot MxPSd #Cfgs=  1
P:  Vendor
12 ProdID01 Rev= 5.25
C:* #Ifs= 3 Cfg#= 1 Atr� MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls�(unk. ) Sub Prot Driver=hci_usb
E:  Ad�(I) Atr(Int.) MxPS=  16 Ivl=1ms
E:  Ad(O) Atr(Bulk) MxPS=  64 Ivl=0ms
E:  Ad�(I) Atr(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls�(unk. ) Sub Prot Driver=hci_usb
E:  Ad(O) Atr(Isoc) MxPS=   0 Ivl=1ms
E:  Ad�(I) Atr(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 1 Alt= 1 #EPs= 2 Cls�(unk. ) Sub Prot Driver=hci_usb
E:  Ad(O) Atr(Isoc) MxPS=   9 Ivl=1ms
E:  Ad�(I) Atr(Isoc) MxPS=   9 Ivl=1ms
I:  If#= 1 Alt= 2 #EPs= 2 Cls�(unk. ) Sub Prot Driver=hci_usb
E:  Ad(O) Atr(Isoc) MxPS=  17 Ivl=1ms
E:  Ad�(I) Atr(Isoc) MxPS=  17 Ivl=1ms
I:  If#= 1 Alt= 3 #EPs= 2 Cls�(unk. ) Sub Prot Driver=hci_usb
E:  Ad(O) Atr(Isoc) MxPS=  25 Ivl=1ms
E:  Ad�(I) Atr(Isoc) MxPS=  25 Ivl=1ms
I:  If#= 1 Alt= 4 #EPs= 2 Cls�(unk. ) Sub Prot Driver=hci_usb
E:  Ad(O) Atr(Isoc) MxPS=  33 Ivl=1ms
E:  Ad�(I) Atr(Isoc) MxPS=  33 Ivl=1ms
I:  If#= 1 Alt= 5 #EPs= 2 Cls�(unk. ) Sub Prot Driver=hci_usb
E:  Ad(O) Atr(Isoc) MxPS=  49 Ivl=1ms
E:  Ad�(I) Atr(Isoc) MxPS=  49 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 0 Cls�(app. ) Sub Prot Driver=(none)

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel