Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333295 - Logitech G500 mouse detected as keyboard
Summary: Logitech G500 mouse detected as keyboard
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 10:39 UTC by Leonard Khoo
Modified: 2013-10-20 18:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonard Khoo 2010-08-18 10:39:56 UTC
This is a new mouse, so I'm not sure if its new udev/hal/xorg fault. udev just keeps switching the G500 as mouse and then keyboard and overload my Xorg.log. The mouse only works if there is no keyboard present. So either the G500 works or the keyboard, not together.

dmesg|grep Logitech

input: Logitech G500 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input3
generic-usb 0003:046D:C068.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech G500] on usb-0000:00:1d.0-1.1/input0
input: Logitech G500 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/input/input4
generic-usb 0003:046D:C068.0002: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [Logitech G500] on usb-0000:00:1d.0-1.1/input1
input: Logitech HID compliant keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input5
generic-usb 0003:046D:C30E.0003: input,hidraw2: USB HID v1.10 Keyboard [Logitech HID compliant keyboard] on usb-0000:00:1d.0-1.2/input0
input: Logitech HID compliant keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/input/input6
generic-usb 0003:046D:C30E.0004: input,hidraw3: USB HID v1.10 Device [Logitech HID compliant keyboard] on usb-0000:00:1d.0-1.2/input1
input: Logitech G500 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input8
generic-usb 0003:046D:C068.0005: input,hidraw0: USB HID v1.11 Mouse [Logitech G500] on usb-0000:00:1d.0-1.1/input0
input: Logitech G500 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/input/input9
generic-usb 0003:046D:C068.0006: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [Logitech G500] on usb-0000:00:1d.0-1.1/input1


lsusb -v

Bus 002 Device 038: ID 046d:c068 Logitech, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x046d Logitech, Inc.
  idProduct          0xc068 
  bcdDevice           58.02
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               98mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9                                                                                                                                                                                                                                               
          bDescriptorType        33                                                                                                                                                                                                                                               
          bcdHID               1.11                                                                                                                                                                                                                                               
          bCountryCode            0 Not supported                                                                                                                                                                                                                                 
          bNumDescriptors         1                                                                                                                                                                                                                                               
          bDescriptorType        34 Report                                                                                                                                                                                                                                        
          wDescriptorLength      67                                                                                                                                                                                                                                               
         Report Descriptors:                                                                                                                                                                                                                                                      
           ** UNAVAILABLE **                                                                                                                                                                                                                                                      
      Endpoint Descriptor:                                                                                                                                                                                                                                                        
        bLength                 7                                                                                                                                                                                                                                                 
        bDescriptorType         5                                                                                                                                                                                                                                                 
        bEndpointAddress     0x81  EP 1 IN                                                                                                                                                                                                                                        
        bmAttributes            3                                                                                                                                                                                                                                                 
          Transfer Type            Interrupt                                                                                                                                                                                                                                      
          Synch Type               None                                                                                                                                                                                                                                           
          Usage Type               Data                                                                                                                                                                                                                                           
        wMaxPacketSize     0x0008  1x 8 bytes                                                                                                                                                                                                                                     
        bInterval               1                                                                                                                                                                                                                                                 
    Interface Descriptor:                                                                                                                                                                                                                                                         
      bLength                 9                                                                                                                                                                                                                                                   
      bDescriptorType         4                                                                                                                                                                                                                                                   
      bInterfaceNumber        1                                                                                                                                                                                                                                                   
      bAlternateSetting       0                                                                                                                                                                                                                                                   
      bNumEndpoints           1                                                                                                                                                                                                                                                   
      bInterfaceClass         3 Human Interface Device                                                                                                                                                                                                                            
      bInterfaceSubClass      0 No Subclass                                                                                                                                                                                                                                       
      bInterfaceProtocol      0 None                                                                                                                                                                                                                                              
      iInterface              0                                                                                                                                                                                                                                                   
        HID Device Descriptor:                                                                                                                                                                                                                                                    
          bLength                 9                                                                                                                                                                                                                                               
          bDescriptorType        33                                                                                                                                                                                                                                               
          bcdHID               1.11                                                                                                                                                                                                                                               
          bCountryCode            0 Not supported                                                                                                                                                                                                                                 
          bNumDescriptors         1                                                                                                                                                                                                                                               
          bDescriptorType        34 Report                                                                                                                                                                                                                                        
          wDescriptorLength     122                                                                                                                                                                                                                                               
         Report Descriptors:                                                                                                                                                                                                                                                      
           ** UNAVAILABLE **                                                                                                                                                                                                                                                      
      Endpoint Descriptor:                                                                                                                                                                                                                                                        
        bLength                 7                                                                                                                                                                                                                                                 
        bDescriptorType         5                                                                                                                                                                                                                                                 
        bEndpointAddress     0x82  EP 2 IN                                                                                                                                                                                                                                        
        bmAttributes            3                                                                                                                                                                                                                                                 
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0014  1x 20 bytes
        bInterval               1
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)





Reproducible: Always
Comment 1 Eray Aslan gentoo-dev 2010-08-20 18:51:06 UTC
Well, assigning to udev.  Hopefully, they can figure it out.
Comment 2 boospy 2010-12-13 21:12:44 UTC
The CONFIG_USB_EHCI_TT_NEWSCHED needs to be enabled in the kernel.

Device Drivers
---> USB Support
------>[*] ECHI HCD (USB 2.0 Support)
-------->[ ] Root Hub Transaction Translators
-------->[*] Improved Transaction Translator Scheduling (EXPERIMENTAL)

but it is still recognized as a keyboard, and the special keys can't be configured
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-01-18 00:36:07 UTC
How is this with modern Kernel like 3.7, with >=sys-fs/udev-197-r2, without HAL and with latest xf86-input-evdev?

Reopen if you still have issues. Thanks.
Comment 4 lumbrius 2013-10-20 18:28:32 UTC
Similar problem arised there with genkernel 3.10.7-r1 and Logitech Gaming Mouse G600.
It works only if keyboard id detached.

Please reopen ^^

X log errors:
[    35.460] (EE) evdev: Logitech Gaming Mouse G600: Unable to open evdev device "/dev/input/event2".
[    35.460] (EE) PreInit returned 2 for "Logitech Gaming Mouse G600"


dmesg:
Oct 20 22:22:00 gentoo-usb kernel: usb 1-1.5: new full-speed USB device number 6 using ehci-pci
Oct 20 22:22:00 gentoo-usb kernel: usb 1-1.5: New USB device found, idVendor=046d, idProduct=c24a
Oct 20 22:22:00 gentoo-usb kernel: usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 20 22:22:00 gentoo-usb kernel: usb 1-1.5: Product: Gaming Mouse G600
Oct 20 22:22:00 gentoo-usb kernel: usb 1-1.5: Manufacturer: Logitech
Oct 20 22:22:00 gentoo-usb kernel: usb 1-1.5: SerialNumber: 3AC4252412AC0016
Oct 20 22:22:00 gentoo-usb kernel: input: Logitech Gaming Mouse G600 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input7
Oct 20 22:22:00 gentoo-usb kernel: hid-generic 0003:046D:C24A.0005: input,hidraw2: USB HID v1.11 Mouse [Logitech Gaming Mouse G600] on usb-0000:00:1a.0-1.5/input0
Oct 20 22:22:00 gentoo-usb kernel: input: Logitech Gaming Mouse G600 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.1/input/input8
Oct 20 22:22:01 gentoo-usb kernel: input: failed to attach handler kbd to device input8, error: -16
Oct 20 22:22:01 gentoo-usb kernel: sysrq: Failed to open input device, error -16
Oct 20 22:22:01 gentoo-usb kernel: input: failed to attach handler sysrq to device input8, error: -16
Oct 20 22:22:01 gentoo-usb kernel: hid-generic 0003:046D:C24A.0006: input,hiddev0,hidraw3: USB HID v1.11 Keyboard [Logitech Gaming Mouse G600] on usb-0000:00:1a.0-1.5/input1
Comment 5 lumbrius 2013-10-20 18:56:44 UTC
Fixed in 3.10.7-r1 by CONFIG_USB_EHCI_TT_NEWSCHED=y as well (was disabled in default genkernel)