Find the answer to your Linux question:
Results 1 to 2 of 2
Hi Everyone- I had this same problem with a wireless mouse (logitech as well), but I think it is a broader problem since it is now happening with my mouse/keyboard ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie sdimhoff's Avatar
    Join Date
    Jan 2007
    Posts
    191

    Logitech EX 100 Mouse/Keyboard stops working


    Hi Everyone-

    I had this same problem with a wireless mouse (logitech as well), but I think it is a broader problem since it is now happening with my mouse/keyboard combo as well.

    Distribution: Gentoo
    Kernel: linux-2.6.27-gentoo-r8

    Problem Description:

    When I boot up, my keyboard and mouse are recognized with no problems. I can use them flawlessly, until all of the sudden I won't be able to move the mouse. (It has occured with both mouse and keyboard, but most of the time it is the mouse.) I have found that this tends to occur during high processor usage. I have stress tested it and this seems to be the root cause, but don't understand why. Even when I quit programs and get the processor usage back down, the mouse does not come back.

    Debug attempts:

    Start up the computer, and it works fine. If I physically unplug the reciever I get the normal dmesg:

    Code:
    [ 2410.923598] hub 2-0:1.0: state 7 ports 8 chg 0000 evt ff80
    [ 2410.923841] ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [6] = 0x00030300 PESC CSC LSDA PPS
    [ 2410.923939] hub 2-0:1.0: port 7, status 0300, change 0003, 1.5 Mb/s
    [ 2410.923943] usb 2-7: USB disconnect, address 3
    [ 2410.923946] usb 2-7: unregistering device
    [ 2410.923949] usb 2-7: usb_disable_device nuking all URBs
    [ 2410.924177] ohci_hcd 0000:00:0b.0: shutdown urb ffff88007e03cc00 ep1in-intr
    [ 2410.925046] ohci_hcd 0000:00:0b.0: shutdown urb ffff88007e0c80c0 ep2in-intr
    [ 2410.926028] usb 2-7: unregistering interface 2-7:1.0
    [ 2410.936459] usb 2-7:1.0: uevent
    [ 2410.936645] usb 2-7: unregistering interface 2-7:1.1
    [ 2410.956407] drivers/usb/core/file.c: removing 96 minor
    [ 2410.956688] usb 2-7:1.1: uevent
    [ 2410.956943] usb 2-7: uevent
    [ 2411.060049] hub 2-0:1.0: debounce: port 7: total 100ms stable 100ms status 0x300
    Now I can re-plug in the reciever and I can use the mouse again... as the dmesg tells me
    Code:
    [ 2480.467485] hub 1-0:1.0: state 7 ports 8 chg 0000 evt ff80
    [ 2480.467690] ehci_hcd 0000:00:0b.1: GetStatus port 7 status 001403 POWER sig=k CSC CONNECT
    [ 2480.467787] hub 1-0:1.0: port 7, status 0501, change 0001, 480 Mb/s
    [ 2480.571282] hub 1-0:1.0: debounce: port 7: total 100ms stable 100ms status 0x501
    [ 2480.571484] ehci_hcd 0000:00:0b.1: port 7 low speed --> companion
    [ 2480.622039] ehci_hcd 0000:00:0b.1: GetStatus port 7 status 003402 POWER OWNER sig=k CSC
    [ 2480.622265] hub 1-0:1.0: state 7 ports 8 chg 0000 evt fe80
    [ 2480.622353] hub 2-0:1.0: state 7 ports 8 chg 0000 evt ff80
    [ 2480.622438] ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [6] = 0x00010301 CSC LSDA PPS CCS
    [ 2480.622526] hub 2-0:1.0: port 7, status 0301, change 0001, 1.5 Mb/s
    [ 2480.726039] hub 2-0:1.0: debounce: port 7: total 100ms stable 100ms status 0x301
    [ 2480.832281] ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [6] = 0x00100303 PRSC LSDA PPS PES CCS
    [ 2480.883281] usb 2-7: new low speed USB device using ohci_hcd and address 4
    [ 2480.991036] ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [6] = 0x00100303 PRSC LSDA PPS PES CCS
    [ 2481.064062] usb 2-7: skipped 1 descriptor after interface
    [ 2481.064069] usb 2-7: skipped 1 descriptor after interface
    [ 2481.067057] usb 2-7: default language 0x0409
    [ 2481.073126] usb 2-7: uevent
    [ 2481.073637] usb 2-7: usb_probe_device
    [ 2481.073647] usb 2-7: configuration #1 chosen from 1 choice
    [ 2481.076052] usb 2-7: adding 2-7:1.0 (config #1, interface 0)
    [ 2481.076081] usb 2-7:1.0: uevent
    [ 2481.076294] usbhid 2-7:1.0: usb_probe_interface
    [ 2481.076299] usbhid 2-7:1.0: usb_probe_interface - got id
    [ 2481.083710] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:0b.0/usb2/2-7/2-7:1.0/input/input7
    [ 2481.090892] input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:0b.0-7
    [ 2481.091163] usb 2-7: adding 2-7:1.1 (config #1, interface 1)
    [ 2481.091194] usb 2-7:1.1: uevent
    [ 2481.091394] usbhid 2-7:1.1: usb_probe_interface
    [ 2481.091401] usbhid 2-7:1.1: usb_probe_interface - got id
    [ 2481.100063] Fixing up Logitech keyboard report descriptor
    [ 2481.101427] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:0b.0/usb2/2-7/2-7:1.1/input/input8
    [ 2481.126392] drivers/usb/core/file.c: looking for a minor, starting at 96
    [ 2481.126506] input,hiddev96,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:0b.0-7
    [ 2481.126563] drivers/usb/core/inode.c: creating file '004'
    [ 2481.126626] usb 2-7: New USB device found, idVendor=046d, idProduct=c517
    [ 2481.126629] usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 2481.126631] usb 2-7: Product: USB Receiver
    [ 2481.126633] usb 2-7: Manufacturer: Logitech
    [ 2481.126646] hub 2-0:1.0: state 7 ports 8 chg 0000 evt fe80
    Now I did a stress test and my mouse stopped working. I get NO messages in dmesg. But ah ha, it is still recognized by lsusb. The keyboard is still working at this point.
    Code:
    Bus 002 Device 004: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
    Ok, now I try to unplug then replug. On unplug I get a new dmesg response.

    Unplug
    Code:
    [ 4229.273059] hub 2-0:1.0: state 7 ports 8 chg 0000 evt ff80
    [ 4229.273287] ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [6] = 0x00030300 PESC CSC LSDA PPS
    [ 4229.273383] hub 2-0:1.0: port 7, status 0300, change 0003, 1.5 Mb/s
    [ 4229.273388] usb 2-7: USB disconnect, address 4
    [ 4229.273390] usb 2-7: unregistering device
    [ 4229.273393] usb 2-7: usb_disable_device nuking all URBs
    [ 4229.273608] ohci_hcd 0000:00:0b.0: shutdown urb ffff88007e0c8000 ep1in-intr
    [ 4229.273761] ohci_hcd 0000:00:0b.0: shutdown urb ffff88007b027d80 ep2in-intr
    Then replug:

    Code:
     4259.978278] ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [5] = 0x00100103 PRSC PPS PES CCS
    [ 4260.029050] usb 2-6: reset full speed USB device using ohci_hcd and address 2
    [ 4265.030788] usb 2-6: usb-storage timed out on ep0in len=0/64
    [ 4270.030781] usb 2-6: usb-storage timed out on ep0in len=0/64
    [ 4275.030783] usb 2-6: usb-storage timed out on ep0in len=0/64
    [ 4275.137038] ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [5] = 0x00100103 PRSC PPS PES CCS
    [ 4275.188040] usb 2-6: device descriptor read/64, error -110
    Hmmmmmm, neither the keyboard or mouse is working now. Also, if I try lsusb it hangs for a very long time

    I am currently using the evdev driver for my keyboard/mouse combo. The only way to get them both working again is a restart.

    Has anyone seen a problem like this, or have any ideas. Another question is: does anyone know some sort of a workaround that I can use to maybe restart the USB scan however it does it during boot?

    I can provide any additional debug information upon request.
    Linux since: 2001
    Gentoo since: 2004
    - - - - - - - -
    Translation:
    I fix things until they break.

  2. #2
    Linux Newbie sdimhoff's Avatar
    Join Date
    Jan 2007
    Posts
    191
    I thought I had it beat, but no dice.

    Here is my latest attempt. After looking through my xorg.conf file I found that I had been using some deprocated options. In one of my x server layout sections I had

    InputDevice "Mouse0" "AlwaysCore"

    This should be changed to

    InputDevice "Mouse0" "SendCoreEvents"

    I tried a stress test and didn't ever get the mouse to hang. I decided to wait it out before posting the solution, and much to my chagrin the mouse stopped again today (again, when the processor load was high).

    I'll continue to post any changes to the situation (If I ever solve this), but I would appreciate it if anyone could at least tell me if they have heard of this type of thing happening before.
    Linux since: 2001
    Gentoo since: 2004
    - - - - - - - -
    Translation:
    I fix things until they break.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •