You are not logged in.

#1 2009-12-23 07:51:45

tj
Member
Registered: 2008-01-11
Posts: 48

Slow initialization of Logitech S510 Keyboard & Mouse

I searched the forums and couldn't find anyone with a similar problem. What happens is I'll switch on my PC, it gets to GRUB and all is fine, I can edit for example, but after choosing Arch or Arch Fallback, at the login prompt (console, I don't like to go straight to GDM) the keyboard is unusable and the wireless receiver does not show the connection light.

After 2 minutes or so, the light comes on and I can use the keyboard. I can't put my finger on exactly when this behaviour started but it would be after Dec 13 when I got back home from a 2 week trip.

The install is the original install from 2006. I don't use testing repos.

 uname -a
Linux mybox 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:01:40 CET 2009 x86_64 Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz GenuineIntel GNU/Linux

I update about twice a week (except when away) so the box is up-to-date. On another partition I have gentoo (AMD64) at 2.6.28, and on another Win7RC-64 which are both fine.

Hardware is unchanged for over 6 months: the Logitech S510 Cordless KB/Mouse is a kit which has a receiver that plugs into USB on the mobo (not front headers).

I see this in dmesg:

usb 1-4: device descriptor read/64, error -110
usb 1-4: device descriptor read/64, error -110
usb 1-4: new high speed USB device using ehci_hcd and address 4
usb 1-4: device descriptor read/64, error -110
usb 1-4: device descriptor read/64, error -110
usb 1-4: new high speed USB device using ehci_hcd and address 5
usb 1-4: device descriptor read/8, error -110
usb 1-4: device descriptor read/8, error -110
usb 1-4: new high speed USB device using ehci_hcd and address 6
usb 1-4: device descriptor read/8, error -110
usb 1-4: device descriptor read/8, error -110
hub 1-0:1.0: unable to enumerate USB device on port 4
usb 1-5: new high speed USB device using ehci_hcd and address 7
usb 1-5: configuration #1 chosen from 1 choice
hub 1-5:1.0: USB hub found
hub 1-5:1.0: 4 ports detected
usb 4-2: new full speed USB device using uhci_hcd and address 2
usb 4-2: device descriptor read/64, error -110
usb 4-2: device descriptor read/64, error -110
usb 4-2: new full speed USB device using uhci_hcd and address 3
usb 4-2: device descriptor read/64, error -110
usb 4-2: device descriptor read/64, error -110
usb 4-2: new full speed USB device using uhci_hcd and address 4
usb 4-2: device descriptor read/8, error -110
usb 4-2: device descriptor read/8, error -110
usb 4-2: new full speed USB device using uhci_hcd and address 5
usb 4-2: device descriptor read/8, error -110
usb 4-2: device descriptor read/8, error -110
hub 4-0:1.0: unable to enumerate USB device on port 2
usb 5-2: new low speed USB device using uhci_hcd and address 2
usb 5-2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2:1.0/input/input5
logitech 0003:046D:C517.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:1a.2-2/input0
logitech 0003:046D:C517.0002: fixing up Logitech keyboard report descriptor
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2:1.1/input/input6
logitech 0003:046D:C517.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1a.2-2/input1
usb 4-2: new full speed USB device using uhci_hcd and address 6
usb 4-2: device descriptor read/64, error -110
usb 4-2: device descriptor read/64, error -110
usb 4-2: new full speed USB device using uhci_hcd and address 7
usb 4-2: device descriptor read/64, error -110
usb 4-2: device descriptor read/64, error -110
usb 4-2: new full speed USB device using uhci_hcd and address 8
usb 4-2: device descriptor read/8, error -110
usb 4-2: device descriptor read/8, error -110
usb 4-2: new full speed USB device using uhci_hcd and address 9
usb 4-2: device descriptor read/8, error -110
usb 4-2: device descriptor read/8, error -110
hub 4-0:1.0: unable to enumerate USB device on port 2

and those errors were not there previously (99% sure)

So in addition to the KB/Mouse receiver, I have an external USB drive, a webcam, and a 4-port USB-hub that sits on my desk for 'easier access'. These have all been plugged in for months, so again no changes there.

Though now I think about it, mounting the USB drive through Thunar leads to a semi-freeze of Thunar, a long pause, and then a mounted drive, which again never used to be the case.

Therefore I'm leaning toward something in the recent updates (hal / udev / policykit).

It's not a critical issue as I can still use the PC, but it is an annoyance - any help much appreciated.

Offline

#2 2009-12-29 01:53:43

ArsenShnurkov
Member
Registered: 2009-12-29
Posts: 2

Re: Slow initialization of Logitech S510 Keyboard & Mouse

I have similar sympthoms - when I turn on the computer, I can use keyboard in the grub prompt. But when It goes to console, I need to wait 1-2 minutes before keyboard became available.
This behaviuor is observed with CONFIG_USB_UHCI_HCD=y

But with CONFIG_USB_UHCI_HCD=m everything works perfectly well.

May be some race conditions?

Offline

#3 2009-12-29 04:32:06

tj
Member
Registered: 2008-01-11
Posts: 48

Re: Slow initialization of Logitech S510 Keyboard & Mouse

@ArsenShnurkov: thanks for the reply - are you using a Logitech keyboard?

Since posting I updated my gentoo to 2.6.32-gentoo sources (from 2.6.28) and now I get the same problem under gentoo; however, from fgo I found this possible solution:

ageb on fgo wrote:

[url=http://forums.gentoo.org/viewtopic-t-801340-postdays-0-postorder-asc-start-25.html]I noted a HID_logitech module had been compiled by default in the 2.6.28 kernel but not in the 2.6.30 kernel.

Recompiling and selecting LOGITECH_HID (Device Drivers ---> HID Devices ---> Special HID drivers ---> Logitech) fixed the problem for me.[/url]

Though a quick look at currently loaded modules on this arch box:

lsmod

hid_logitech           11744  0 
ff_memless              6632  1 hid_logitech
usbhid                 48000  1 hid_logitech
hid                    52608  2 hid_logitech,usbhid

uhci_hcd               27232  0 
ehci_hcd               41776  0 
usbcore               183764  5 usbhid,usb_storage,uhci_hcd,ehci_hcd

suggests that this may not help me on Arch... I looked over the wiki to see if there were new requirements for the MODULES section of /etc/rc.conf but I'm not seeing anything, nor in the bugreports

So I will go and recompile the gentoo kernel to see if that works. On this Arch install though, I'm trying to keep things as 'vanilla' as possible and will leave kernel compiling as a last resort, but thanks for the tip.

Last edited by tj (2009-12-29 04:35:35)

Offline

#4 2009-12-31 05:12:58

ArsenShnurkov
Member
Registered: 2009-12-29
Posts: 2

Re: Slow initialization of Logitech S510 Keyboard & Mouse

I already have HID_LOGITECH turned on (I actually have logitech keyboard), but still need to wait a minute if I compile UHCI into kernel (and don't need to wait if compile as module).

# zgrep "LOGITECH" /proc/config.gz
CONFIG_HID_LOGITECH=y
# CONFIG_LOGITECH_FF is not set

# uname -r
2.6.32-gentoo-ttnl2

Offline

#5 2010-01-01 07:40:57

tj
Member
Registered: 2008-01-11
Posts: 48

Re: Slow initialization of Logitech S510 Keyboard & Mouse

@ArsenShnurkov: do you gentoo as well as arch installed or are you using some form of gentoo-sources on arch? (I don't recognize the 'ttnl2')

By process of elimination I discovered that the webcam was the culprit - disconnecting it moved me back to normal behaviour with the KB/Mouse under both Arch64 and Gentoo64. But that doesn't leave the issue solved for me, since the issue seems to have started after updating to 2.6.30 on both distributions (and a non-issue for Win7RC64).

Out of interest, what other USB devices do you have plugged in?

Offline

Board footer

Powered by FluxBB