Project

General

Profile

Bug #1600

Logitech USB G500 mouse not working

Added by Tundra Slosek almost 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XNV (X Window System)
Target version:
-
Start date:
2011-10-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
mouse

Description

Logitech USB G500 mouse not working under X11.

dmesg shows it seen during boot, and status LED on the mouse itself is lit until the end of the pre-X11, at which point status LED on the mouse turns off.

Shows up under 'ddu' as both a mouse and keyboard (I presume for the extra buttons).

Cheap Logitech USB mouse works correctly (for a while, then dies).

History

#1

Updated by Chris Jordan almost 9 years ago

  • Status changed from New to Feedback
  • Tags changed from needs-triage to mouse

So neither your Logitech G500 nor your cheap Logitech mouse are working reliably? It doesn't quite sound like it, but I suppose you might be running into a USB power management bug that appears to still be open, see bugs #272 and #336. The workaround for that was to disable autopm in /etc/power.conf. If you try that, does it help?

#2

Updated by Tundra Slosek almost 9 years ago

The G500 doesn't work at all in X11 under OpenIndiana 151 (oi_151a as per uname -a). Works fine on same machine under Ubuntu 11.04 (and previous).

The cheap Logitech works 'mostly with some issues'.

The cheap Logitech is reported by ddu as

Logitech, Inc.M-BJ58/M-BJ69 Optical Wheel Mouse

The G500 is reported by ddu as

(      (Dev)G500)input
(      (Dev)G500)mouse

Changed /etc/power.conf entry 'autopm' from 'default' to 'disable' and reboot - neither G500 nor BJ58 worked. BJ58 sensor illumination LED lit, G500 status LED off (sensor illumination is invisible on the G500).

Changed /etc/power.conf entry 'autopm' from 'disable' to 'enable' and ran 'pmconfig' - no change in behavior. Reboot, and BJ58 works (as well as ever).

To clarify BJ58 behavior a bit more, in case it is relevant: a few times mouse pointer has stopped responding (keyboard continues to respond) between 5 and 10 minutes after plugging the mouse in. When this occurred, in some cases hot-unplug/plug cycle of the mouse brought it back. Other times it has required reboot. In all cases, BJ58 appears to 'double-click' too freely - f.e. most of the time a click on a title bar maximizes the window. 'xev' doesn't show this (just a single 'press/release' cycle, but does show that leftclick has a 'button repeat' type of behavior after a few seconds.

Both mice appear as far as USB is concerned (if I am reading this correctly)

ls -l /dev/usb/hid*
lrwxrwxrwx 1 root root 60 2011-10-11 21:55 /dev/usb/hid0 -> ../../devices/pci@0,0/pci8086,2934@1d/device@1/mouse@0:mouse
lrwxrwxrwx 1 root root 63 2011-10-11 21:55 /dev/usb/hid1 -> ../../devices/pci@0,0/pci8086,2934@1d/device@1/input@1:keyboard
lrwxrwxrwx 1 root root 58 2011-10-04 19:56 /dev/usb/hid2 -> ../../devices/pci@0,0/pci8086,2939@1a,2/input@2:hid_-124_4
lrwxrwxrwx 1 root root 53 2011-10-11 21:48 /dev/usb/hid3 -> ../../devices/pci@0,0/pci8086,2938@1a,1/mouse@1:mouse

lshal shows for the G500:

udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2934_1d_3'
  info.solaris.driver = 'uhci'  (string)
  solaris.devfs_path = '/pci@0,0/pci8086,2934@1d'  (string)
  info.product = 'Universal Serial Bus UHCI compliant'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2934_1d_3'  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_0_0_0'  (string)

udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2934_1d/device_1_2'
  usb_device.level_number = 0  (0x0)  (int)
  usb_device.is_self_powered = false  (bool)
  usb_device.can_wake_up = true  (bool)
  usb_device.num_interfaces = 2  (0x2)  (int)
  usb_device.max_power = 49  (0x31)  (int)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.device_protocol = 0  (0x0)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.port_number = 1  (0x1)  (int)
  usb_device.speed = 12  (double)
  usb_device.version = 2  (double)
  usb_device.bus_number = 2  (0x2)  (int)
  usb_device.num_configurations = 1  (0x1)  (int)
  usb_device.serial = '9EA483B39B0018'  (string)
  usb_device.device_revision_bcd = 22530  (0x5802)  (int)
  usb_device.product_id = 49256  (0xc068)  (int)
  usb_device.vendor_id = 1133  (0x46d)  (int)
  usb_device.vendor = 'Logitech'  (string)
  usb_device.product = 'G500'  (string)
  info.subsystem = 'usb_device'  (string)
  info.solaris.driver = 'usb_mid'  (string)
  solaris.devfs_path = '/pci@0,0/pci8086,2934@1d/device@1'  (string)
  info.product = 'G500'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2934_1d/device_1_2'  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2934_1d_3'  (string)

udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2934_1d/device_1/input_1_if1_4'
  usb.product = 'G500'  (string)
  usb.vendor = 'Logitech'  (string)
  usb.vendor_id = 1133  (0x46d)  (int)
  usb.product_id = 49256  (0xc068)  (int)
  usb.device_revision_bcd = 22530  (0x5802)  (int)
  usb.serial = '9EA483B39B0018'  (string)
  usb.num_configurations = 1  (0x1)  (int)
  usb.bus_number = 2  (0x2)  (int)
  usb.version = 2  (double)
  usb.speed = 12  (double)
  usb.port_number = 1  (0x1)  (int)
  usb.device_class = 0  (0x0)  (int)
  usb.device_subclass = 0  (0x0)  (int)
  usb.device_protocol = 0  (0x0)  (int)
  usb.configuration_value = 1  (0x1)  (int)
  usb.max_power = 49  (0x31)  (int)
  usb.num_interfaces = 2  (0x2)  (int)
  usb.can_wake_up = true  (bool)
  usb.is_self_powered = false  (bool)
  usb.level_number = 0  (0x0)  (int)
  usb.interface.number = 1  (0x1)  (int)
  usb.interface.protocol = 0  (0x0)  (int)
  usb.interface.subclass = 0  (0x0)  (int)
  usb.interface.class = 3  (0x3)  (int)
  info.subsystem = 'usb'  (string)
  info.solaris.driver = 'hid'  (string)
  solaris.devfs_path = '/pci@0,0/pci8086,2934@1d/device@1/input@1'  (string)
  info.product = 'USB Device Interface'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2934_1d/device_1/input_1_if1_4'  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2934_1d/device_1_2'  (string)

udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2934_1d/device_1/mouse_0_if0_3_logicaldev_input'
  input.x11_options.Protocol = 'VUID'  (string)
  input.x11_options.StreamsModule = 'usbms'  (string)
  input.x11_driver = 'mouse'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2934_1d/device_1/mouse_0_if0_3'  (string)
  input.device = '/dev/usb/hid0'  (string)
  info.capabilities = {'input', 'input.mouse'} (string list)
  info.category = 'input'  (string)
  info.subsystem = 'input'  (string)
  info.solaris.driver = 'hid'  (string)
  solaris.devfs_path = '/pci@0,0/pci8086,2934@1d/device@1/mouse@0:mouse'  (string)
  info.product = 'mouse'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2934_1d/device_1/mouse_0_if0_3_logicaldev_input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2934_1d/device_1/mouse_0_if0_3'  (string)

And then lshal for the Bj-58 is

udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2938_1a_1_1'
  info.solaris.driver = 'uhci'  (string)
  solaris.devfs_path = '/pci@0,0/pci8086,2938@1a,1'  (string)
  info.product = 'Universal Serial Bus UHCI compliant'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2938_1a_1_1'  (string
)
  info.parent = '/org/freedesktop/Hal/devices/pci_0_0_0'  (string)

udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2938_1a_1/mouse_1_10'
  usb_device.level_number = 0  (0x0)  (int)
  usb_device.is_self_powered = false  (bool)
  usb_device.can_wake_up = true  (bool)
  usb_device.num_interfaces = 1  (0x1)  (int)
  usb_device.max_power = 49  (0x31)  (int)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.device_protocol = 0  (0x0)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.port_number = 1  (0x1)  (int)
  usb_device.speed = 1.5  (double)
  usb_device.version = 2  (double)
  usb_device.bus_number = 2  (0x2)  (int)
  usb_device.num_configurations = 1  (0x1)  (int)
  usb_device.device_revision_bcd = 4352  (0x1100)  (int)
  usb_device.product_id = 49166  (0xc00e)  (int)
  usb_device.vendor_id = 1133  (0x46d)  (int)
  usb_device.vendor = 'Logitech'  (string)
  usb_device.product = 'USB-PS/2 Optical Mouse'  (string)
  info.subsystem = 'usb_device'  (string)
  info.solaris.driver = 'hid'  (string)
  solaris.devfs_path = '/pci@0,0/pci8086,2938@1a,1/mouse@1'  (string)
  info.product = 'USB-PS/2 Optical Mouse'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2938_1a_1/mouse_1_10'  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2938_1a_1_1'  (string)

udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2938_1a_1/mouse_1_if0_10'
  usb.product = 'USB-PS/2 Optical Mouse'  (string)
  usb.vendor = 'Logitech'  (string)
  usb.vendor_id = 1133  (0x46d)  (int)
  usb.product_id = 49166  (0xc00e)  (int)
  usb.device_revision_bcd = 4352  (0x1100)  (int)
  usb.num_configurations = 1  (0x1)  (int)
  usb.bus_number = 2  (0x2)  (int)
  usb.version = 2  (double)
  usb.speed = 1.5  (double)
  usb.port_number = 1  (0x1)  (int)
  usb.device_class = 0  (0x0)  (int)
  usb.device_subclass = 0  (0x0)  (int)
  usb.device_protocol = 0  (0x0)  (int)
  usb.configuration_value = 1  (0x1)  (int)
  usb.max_power = 49  (0x31)  (int)
  usb.num_interfaces = 1  (0x1)  (int)
  usb.can_wake_up = true  (bool)
  usb.is_self_powered = false  (bool)
  usb.level_number = 0  (0x0)  (int)
  usb.interface.number = 0  (0x0)  (int)
  usb.interface.protocol = 2  (0x2)  (int)
  usb.interface.subclass = 1  (0x1)  (int)
  usb.interface.class = 3  (0x3)  (int)
  info.subsystem = 'usb'  (string)
  info.solaris.driver = 'hid'  (string)
  solaris.devfs_path = '/pci@0,0/pci8086,2938@1a,1/mouse@1:if0'  (string)
  info.product = 'USB Device Interface'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2938_1a_1/mouse_1_if0_10'  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2938_1a_1/mouse_1_10'  (string)

udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2938_1a_1/mouse_1_if0_10_logicaldev_input'
  input.x11_options.Protocol = 'VUID'  (string)
  input.x11_options.StreamsModule = 'usbms'  (string)
  input.x11_driver = 'mouse'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2938_1a_1/mouse_1_if0_10'  (string)
  input.device = '/dev/usb/hid3'  (string)
  info.capabilities = {'input', 'input.mouse'} (string list)
  info.category = 'input'  (string)
  info.subsystem = 'input'  (string)
  info.solaris.driver = 'hid'  (string)
  solaris.devfs_path = '/pci@0,0/pci8086,2938@1a,1/mouse@1:mouse'  (string)
  info.product = 'mouse'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2938_1a_1/mouse_1_if0_10_logicaldev_input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_0_0/pci8086_2938_1a_1/mouse_1_if0_10'  (string)

#3

Updated by Chris Jordan almost 9 years ago

  • Category set to XNV (X Window System)
  • Status changed from Feedback to New
  • Assignee set to OI XNV

Okay, so it's not the power management bug, must be something else. I'm assigning this to "OI XNV".

#4

Updated by Ken Mays over 7 years ago

  • Status changed from New to Closed
  • Assignee changed from OI XNV to Ken Mays
  • % Done changed from 0 to 100

See: http://warped.org/blog/2011/02/04/ch0wned-logitech-g500-mouse-all-buttons-in-redhat-el5/
Logitech Gaming Mouse G500 (PN 910-001259):
1. Just build and implement the evdev driver (xf86-input-evdev) and install in /usr/lib/xorg/modules/input/evdev_drv.so
2. properly setup a custom xorg.config files:
3. Test your setup!

Also available in: Atom PDF