"ID 046d:c50e Logitech, Inc. Cordless Mouse Receiver" wheel-click is wrong

Posted by sputnick on Super User See other posts from Super User or by sputnick
Published on 2012-04-02T17:03:52Z Indexed on 2012/04/02 17:32 UTC
Read the original article Hit count: 239

Filed under:

I use this mouse under archlinux x86_64 with 3.2.8-1-ARCH kernel.

I have some problems to select and then paste with the wheel-click in some applications like konversation, not in a terminal nor an editor.

I don't know if it's a hardware problem or a software one.

$ lsusb -v 
Bus 002 Device 110: ID 046d:c50e Logitech, Inc. Cordless Mouse Receiver
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x046d Logitech, Inc.
  idProduct          0xc50e Cordless Mouse Receiver
  bcdDevice           25.10
  iManufacturer           1 Logitech
  iProduct                2 USB RECEIVER
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               70mA
    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      95
         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              10
Device Status:     0x0000
  (Bus Powered)

When I see what's happens in xev, the output is different compared to another mouse

My buggy Logitech mouse :

ButtonPress event, serial 40, synthetic NO, window 0x4400001,
    root 0x15a, subw 0x4400002, time 170350700, (48,52), root:(1491,75),
    state 0x10, button 11, same_screen YES

EnterNotify event, serial 40, synthetic NO, window 0x4400001,
    root 0x15a, subw 0x0, time 170350700, (48,52), root:(1491,75),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus YES, state 16

KeymapNotify event, serial 40, synthetic NO, window 0x0,
    keys:  90  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

ButtonPress event, serial 40, synthetic NO, window 0x4400001,
    root 0x15a, subw 0x4400002, time 170350716, (48,52), root:(1491,75),
    state 0x10, button 6, same_screen YES

ButtonRelease event, serial 40, synthetic NO, window 0x4400001,
    root 0x15a, subw 0x4400002, time 170350716, (48,52), root:(1491,75),
    state 0x10, button 6, same_screen YES

ButtonRelease event, serial 40, synthetic NO, window 0x4400001,
    root 0x15a, subw 0x4400002, time 170350988, (48,52), root:(1491,75),
    state 0x10, button 11, same_screen YES

LeaveNotify event, serial 40, synthetic NO, window 0x4400001,
    root 0x15a, subw 0x0, time 170350988, (48,52), root:(1491,75),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus YES, state 16

a working mouse (dell) :

ButtonPress event, serial 40, synthetic NO, window 0x4400001,
    root 0x15a, subw 0x4400002, time 170245131, (46,32), root:(1489,55),
    state 0x10, button 2, same_screen YES

EnterNotify event, serial 40, synthetic NO, window 0x4400001,
    root 0x15a, subw 0x0, time 170245131, (46,32), root:(1489,55),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus YES, state 528

KeymapNotify event, serial 40, synthetic NO, window 0x0,
    keys:  90  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

ButtonRelease event, serial 40, synthetic NO, window 0x4400001,
    root 0x15a, subw 0x4400002, time 170245411, (46,32), root:(1489,55),
    state 0x210, button 2, same_screen YES

LeaveNotify event, serial 40, synthetic NO, window 0x4400001,
    root 0x15a, subw 0x0, time 170245411, (46,32), root:(1489,55),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus YES, state 16

A demo of the problem when I use konversation (IRC) : http://www.youtube.com/watch?v=lhmr92M7NCc

I tried to modify the button map with xmodmap like this with no success (one at a time) :

xmodmap -e "pointer = 1 0 3"
xmodmap -e "pointer = 1 1 3"
xmodmap -e "pointer = 1 2 3"
xmodmap -e "pointer = 1 3 3"
xmodmap -e "pointer = 1 4 3"
xmodmap -e "pointer = 1 5 3"
xmodmap -e "pointer = 1 6 3"
xmodmap -e "pointer = 1 7 3"
xmodmap -e "pointer = 1 8 3"
xmodmap -e "pointer = 1 9 3"
xmodmap -e "pointer = 1 10 3"
xmodmap -e "pointer = 1 11 3"
xmodmap -e "pointer = 1 12 3"
xmodmap -e "pointer = 1 13 3"
xmodmap -e "pointer = 1 14 3"
xmodmap -e "pointer = 1 15 3"
xmodmap -e "pointer = 1 16 3"
xmodmap -e "pointer = 1 17 3"
xmodmap -e "pointer = 1 18 3"
xmodmap -e "pointer = 1 19 3"
xmodmap -e "pointer = 1 20 3"
xmodmap -e "pointer = 1 21 3"
xmodmap -e "pointer = 1 22 3"
xmodmap -e "pointer = 1 23 3"
xmodmap -e "pointer = 1 24 3"
xmodmap -e "pointer = 1 25 3"

Any clue ? I would like to avoid buying a new mouse just for a paste problem.

© Super User or respective owner

Related posts about mouse