Bug#628750: udev: takes too long to detect and configure mouse (steelseries XAI)
May 31st, 2011 - 08:50 pm ET by Ismael | Report spam
Package: udev
Version: 169-1
Severity: normal
Udev is taking around 15 secs to detect and configure my mouse. If you take a
look at my bootchart, you see a big hole: http://i.imgur.com/whbA8.png . That
hole is caused by udev trying to figure out my Steelseries XAI mouse. This (
http://imgur.com/7tSVP.png ) is the same bootchart with the mouse unplugged.
You can see that when I plug it, a modprobe runs and takes about 15 seconds. I
don't see any weird module loaded for the mouse afterwards (hid, usbhid and
that's it), so the modprobe is pointless (?).
Here's the dmesg output (at loglevel 9) after booting my PC without the mouse
and pluggin it in:
[ 30.892447] SysRq : Changing Loglevel
[ 30.896441] Loglevel set to 9
[ 42.700013] usb 5-1: new full speed USB device number 2 using uhci_hcd
[ 42.877032] usb 5-1: New USB device found, idVendor38, idProduct60
[ 42.886016] usb 5-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=2
[ 42.894967] usb 5-1: Product: SteelSeries Gaming Device
[ 42.903794] usb 5-1: Manufacturer: Ruling Technologies Sdn. Bhd.
[ 42.912457] usb 5-1: SerialNumber: SteelSeries Gaming Device
[ 48.032209] input: Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device
as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input4
[ 48.051405] generic-usb 0003:1038:1360.0001: input,hidraw0: USB HID v1.00
Mouse [Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device] on
usb-0000:00:1d.3-1/input0
[ 53.080105] input: Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device
as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.1/input/input5
[ 53.100631] generic-usb 0003:1038:1360.0002: input,hidraw1: USB HID v1.00
Keyboard [Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device] on
usb-0000:00:1d.3-1/input1
[ 58.131964] generic-usb 0003:1038:1360.0003: hiddev0,hidraw2: USB HID v1.00
Device [Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device] on
usb-0000:00:1d.3-1/input2
[ 58.154898] usbcore: registered new interface driver usbhid
[ 58.166373] usbhid: USB HID core driver
Why would there be a 5 sec delay between detecting the device and loading it as
a mouse? And then another delay on detecting the hidden devices?
For comparison, this is a fresh boot, pluggin in a logitech mouse:
[ 24.677331] Loglevel set to 9
[ 31.476010] usb 5-1: new low speed USB device number 2 using uhci_hcd
[ 31.661033] usb 5-1: New USB device found, idVendor6d, idProduct=c03e
[ 31.669925] usb 5-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 31.678864] usb 5-1: Product: USB-PS/2 Optical Mouse
[ 31.687670] usb 5-1: Manufacturer: Logitech
[ 31.802224] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input4
[ 31.811264] generic-usb 0003:046D:C03E.0001: input,hidraw0: USB HID v1.10
Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.3-1/input0
[ 31.829507] usbcore: registered new interface driver usbhid
[ 31.837730] usbhid: USB HID core driver
It's almost instantaneous...
On that same boot, I unplugged that mouse, and plugged the XAI. Again, 5 secs
delay between the plugin and input doing something.
[ 56.696033] usb 5-1: USB disconnect, device number 2
[ 84.952014] usb 5-1: new full speed USB device number 3 using uhci_hcd
[ 85.129031] usb 5-1: New USB device found, idVendor38, idProduct60
[ 85.139476] usb 5-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=2
[ 85.149869] usb 5-1: Product: SteelSeries Gaming Device
[ 85.160199] usb 5-1: Manufacturer: Ruling Technologies Sdn. Bhd.
[ 85.170529] usb 5-1: SerialNumber: SteelSeries Gaming Device
[ 90.192203] input: Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device
as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input5
[ 90.213819] generic-usb 0003:1038:1360.0002: input,hidraw0: USB HID v1.00
Mouse [Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device] on
usb-0000:00:1d.3-1/input0
[ 95.240128] input: Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device
as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.1/input/input6
[ 95.262370] generic-usb 0003:1038:1360.0003: input,hidraw1: USB HID v1.00
Keyboard [Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device] on
usb-0000:00:1d.3-1/input1
[ 100.295974] generic-usb 0003:1038:1360.0004: hiddev0,hidraw2: USB HID v1.00
Dev
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_UY.utf8, LC_CTYPE=es_UY.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages udev depends on:
ii debconf [debconf-2.0] 1.5.39 Debian configuration management sy
ii libc6 2.13-4 Embedded GNU C Library: Shared lib
ii libselinux1 2.0.98-1+b1 SELinux runtime shared libraries
ii libudev0 169-1 libudev shared library
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii util-linux 2.17.2-9.1 Miscellaneous system utilities
Versions of packages udev recommends:
ii pciutils 1:3.1.7-9 Linux PCI Utilities
ii usbutils 1:001-1 Linux USB utilities
udev suggests no packages.
udev/new_kernel_needed: false
udev/sysfs_deprecated_incompatibility:
udev/title/upgrade:
udev/reboot_needed:
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Version: 169-1
Severity: normal
Udev is taking around 15 secs to detect and configure my mouse. If you take a
look at my bootchart, you see a big hole: http://i.imgur.com/whbA8.png . That
hole is caused by udev trying to figure out my Steelseries XAI mouse. This (
http://imgur.com/7tSVP.png ) is the same bootchart with the mouse unplugged.
You can see that when I plug it, a modprobe runs and takes about 15 seconds. I
don't see any weird module loaded for the mouse afterwards (hid, usbhid and
that's it), so the modprobe is pointless (?).
Here's the dmesg output (at loglevel 9) after booting my PC without the mouse
and pluggin it in:
[ 30.892447] SysRq : Changing Loglevel
[ 30.896441] Loglevel set to 9
[ 42.700013] usb 5-1: new full speed USB device number 2 using uhci_hcd
[ 42.877032] usb 5-1: New USB device found, idVendor38, idProduct60
[ 42.886016] usb 5-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=2
[ 42.894967] usb 5-1: Product: SteelSeries Gaming Device
[ 42.903794] usb 5-1: Manufacturer: Ruling Technologies Sdn. Bhd.
[ 42.912457] usb 5-1: SerialNumber: SteelSeries Gaming Device
[ 48.032209] input: Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device
as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input4
[ 48.051405] generic-usb 0003:1038:1360.0001: input,hidraw0: USB HID v1.00
Mouse [Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device] on
usb-0000:00:1d.3-1/input0
[ 53.080105] input: Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device
as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.1/input/input5
[ 53.100631] generic-usb 0003:1038:1360.0002: input,hidraw1: USB HID v1.00
Keyboard [Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device] on
usb-0000:00:1d.3-1/input1
[ 58.131964] generic-usb 0003:1038:1360.0003: hiddev0,hidraw2: USB HID v1.00
Device [Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device] on
usb-0000:00:1d.3-1/input2
[ 58.154898] usbcore: registered new interface driver usbhid
[ 58.166373] usbhid: USB HID core driver
Why would there be a 5 sec delay between detecting the device and loading it as
a mouse? And then another delay on detecting the hidden devices?
For comparison, this is a fresh boot, pluggin in a logitech mouse:
[ 24.677331] Loglevel set to 9
[ 31.476010] usb 5-1: new low speed USB device number 2 using uhci_hcd
[ 31.661033] usb 5-1: New USB device found, idVendor6d, idProduct=c03e
[ 31.669925] usb 5-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 31.678864] usb 5-1: Product: USB-PS/2 Optical Mouse
[ 31.687670] usb 5-1: Manufacturer: Logitech
[ 31.802224] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input4
[ 31.811264] generic-usb 0003:046D:C03E.0001: input,hidraw0: USB HID v1.10
Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.3-1/input0
[ 31.829507] usbcore: registered new interface driver usbhid
[ 31.837730] usbhid: USB HID core driver
It's almost instantaneous...
On that same boot, I unplugged that mouse, and plugged the XAI. Again, 5 secs
delay between the plugin and input doing something.
[ 56.696033] usb 5-1: USB disconnect, device number 2
[ 84.952014] usb 5-1: new full speed USB device number 3 using uhci_hcd
[ 85.129031] usb 5-1: New USB device found, idVendor38, idProduct60
[ 85.139476] usb 5-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=2
[ 85.149869] usb 5-1: Product: SteelSeries Gaming Device
[ 85.160199] usb 5-1: Manufacturer: Ruling Technologies Sdn. Bhd.
[ 85.170529] usb 5-1: SerialNumber: SteelSeries Gaming Device
[ 90.192203] input: Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device
as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input5
[ 90.213819] generic-usb 0003:1038:1360.0002: input,hidraw0: USB HID v1.00
Mouse [Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device] on
usb-0000:00:1d.3-1/input0
[ 95.240128] input: Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device
as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.1/input/input6
[ 95.262370] generic-usb 0003:1038:1360.0003: input,hidraw1: USB HID v1.00
Keyboard [Ruling Technologies Sdn. Bhd. SteelSeries Gaming Device] on
usb-0000:00:1d.3-1/input1
[ 100.295974] generic-usb 0003:1038:1360.0004: hiddev0,hidraw2: USB HID v1.00
Dev
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_UY.utf8, LC_CTYPE=es_UY.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages udev depends on:
ii debconf [debconf-2.0] 1.5.39 Debian configuration management sy
ii libc6 2.13-4 Embedded GNU C Library: Shared lib
ii libselinux1 2.0.98-1+b1 SELinux runtime shared libraries
ii libudev0 169-1 libudev shared library
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii util-linux 2.17.2-9.1 Miscellaneous system utilities
Versions of packages udev recommends:
ii pciutils 1:3.1.7-9 Linux PCI Utilities
ii usbutils 1:001-1 Linux USB utilities
udev suggests no packages.
udev/new_kernel_needed: false
udev/sysfs_deprecated_incompatibility:
udev/title/upgrade:
udev/reboot_needed:
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Similar topics
Make your own search :
Tags
Create a new topic
Follow the discussion
1 reply
Make a reply
June 20th, 2013 - 5:57 AM ET
Join now


Replies