Logitech Cordless Desktop don't work with evdev

Bug #47765 reported by Michael Heimann
8
Affects Status Importance Assigned to Milestone
xserver-xorg-input-evdev (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg-input-evdev

What I did:

added evdev to /etc/modules

configured /etc/X11/xorg.conf mouse entry to

Section "InputDevice"
        Identifier "Michis Logitech MX700-USB"
        Driver "evdev"
        Option "relBits" "+103"
        Option "CorePointer"
        Option "Phys" "usb-0000:00:11.2-2/input1"
EndSection

Section "InputDevice"
        Identifier "Generic Keyboard"
        Driver "evdev"
        Option "Phys" "usb-0000:00:11.2-2/input0"
        Option "ledBits" "+1f"
        Option "keyBits" "~1-255 ~352-511"
        Option "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "de"
        Option "XkbVariant" "nodeadkeys"
EndSection

I got the inputX numbers from cat /proc/bus/input/devices

I: Bus=0003 Vendor=046d Product=c50b Version=2100
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:11.2-2/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: LED=1f

I: Bus=0003 Vendor=046d Product=c50b Version=2100
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:11.2-2/input1
S: Sysfs=/class/input/input1
H: Handlers=kbd mouse0 event1 ts0
B: EV=7
B: KEY=ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0 0 1878 d800d100 1e0000 0 0 0
B: REL=103

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input2
H: Handlers=kbd event2
B: EV=40001
B: SND=6

What I noticed:
the output from cat /proc/bus/input/devices differs from time to time and the "PC Speaker" sometimes comes first, sometimes in the middle and sometimes at last. That changes the eventX number :\ But with that in mind it should work about every third start ( didn't ever )
There are 2 devices called "Logitech USB Receiver" which are the keyboard and the mouse - so one can't say what is what only by the name ( I've looked at the handler and choose the one with a mouseX handler )

Revision history for this message
Michael Heimann (michael-heimann) wrote : my Xorg.93.log (notice: 95/97 Mouse Buttons !?!?!? )

(II) evdev brain: Rescanning devices (1).
(**) Option "CoreKeyboard"
(**) Generic Keyboard-usb-0000:00:11.2-2/input0: Core Keyboard
(**) Option "XkbRules" "xorg"
(**) Option "XkbModel" "pc105"
(**) Option "XkbLayout" "de"
(**) Option "XkbVariant" "nodeadkeys"
(II) evdev brain: Rescanning devices (2).
(**) Option "CorePointer"
(**) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input1: Core Pointer
(II) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input1: Found 3 relative axes.
(II) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input1: Configuring as pointer.
(**) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input1: WHEELRelativeAxisButtons: 4 5.
(II) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input1: Found 95 mouse buttons
(II) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input1: Configured 97 mouse buttons
(II) XINPUT: Adding extended input device "Michis Logitech MX700-USB-usb-0000:00:11.2-2/input1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Generic Keyboard-usb-0000:00:11.2-2/input0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "evdev brain" (type: evdev brain)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Generic Keyboard-usb-0000:00:11.2-2/input0: Init
(**) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input1: 3 valuators.
(**) ../../src/evdev_btn.c (90): Registering 97 buttons.
(II) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input1: Init
(II) evdev brain: Rescanning devices (3).
(II) Generic Keyboard-usb-0000:00:11.2-2/input0: On
(II) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input1: On
(II) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input1: Off
(II) Generic Keyboard-usb-0000:00:11.2-2/input0: Off

description: updated
Revision history for this message
Michael Heimann (michael-heimann) wrote : Xorg.93.log when changing input0 und input1 ( 95 Buttons - thought that might be the keyboard )

(II) evdev brain: Rescanning devices (1).
(EE) PreInit returned NULL for "Generic Keyboard"
(II) evdev brain: Rescanning devices (2).
(**) Option "CorePointer"
(**) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input0: Core Pointer
(WW) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input0: does not have core pointer capabilities
(II) XINPUT: Adding extended input device "Michis Logitech MX700-USB-usb-0000:00:11.2-2/input0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "evdev brain" (type: evdev brain)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input0: Init
(II) evdev brain: Rescanning devices (3).
(II) Michis Logitech MX700-USB-usb-0000:00:11.2-2/input0: On
No core keyboard

Fatal server error:
failed to initialize core devices

Revision history for this message
Michael Heimann (michael-heimann) wrote :

I've tried this on another machine running latest Dapper with the Mouse/Keyboard Combo attached - evdev showes the same error

Changed in xserver-xorg-input-evdev:
status: Unconfirmed → Confirmed
Revision history for this message
luis (luis-montes) wrote :

Having the same problem, two years later, this is now Gutsy Gibbon. But I wouldn't say this is a duplicate of https://bugs.launchpad.net/bugs/44169. They are reporting that the multimedia keys don't work. This is different, the mouse that is part of the combo sometimes (for me) is confused with the pc speaker. The problem is that there is no unique way to identify the combo devices, since both report the same name and the physical device seems to change randomly from boot to boot. It would seem to me that evdev does not have a way to tell uniquely what device to use from the kernel udev information.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.