no multimedia keys when using evdev with mouse

Bug #44169 reported by daedalusman
24
Affects Status Importance Assigned to Milestone
X.Org X server
Won't Fix
Medium
xserver-xorg-input-evdev (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg-input-evdev

If I use evdev as my mouse driver to get all the buttons working (Logitech MX700) the multimedia keys on my logitech cordless keyboard (itouch) don't even register in xev. If I use the mouse driver (which doesn't handle the thumb and cruise buttons correctly) I get funtional multimedia keys on my keyboard.

Revision history for this message
daedalusman (daedalusman) wrote :

Forgot to post my relevent xorg.conf sections

Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "evdev"
    Option "CorePointer"
# Option "Dev Name" "Logitech USB Receiver"
# Option "Dev Phys" "usb-0000:00:10.0-1/input1"
    Option "evBits" "+1-2"
    Option "keyBits" "~272-287 ~289-290"
    Option "relBits" "~0-2 ~6 ~8"
    Option "Pass" "3"
# Option "Buttons" "10"
# Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier "Logitech"
    Driver "keyboard"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "itouch"
    Option "XkbLayout" "us"
EndSection

This is gets the thumb buttons working on my mouse but no multimedia keys on my keyboard.

Revision history for this message
Simon Law (sfllaw) wrote :

Hello,

What is your /etc/X11/xorg.conf for working multimedia keys on
your keyboard?

As well, what are the /var/log/Xorg.0.log files for a working mouse,
and for a working keyboard?

Please attach the three files to this bug report using the following link:
https://launchpad.net/distros/ubuntu/+bug/44169/+addattachment

Thanks.

Changed in xserver-xorg-input-evdev:
status: Unconfirmed → Needs Info
Revision history for this message
daedalusman (daedalusman) wrote : the asked for files

Here are the log's and conf's for both mouse buttons working and keyboard multimedia keys working.

Revision history for this message
Emmet Hikory (persia) wrote :

Some of the multimedia keys on this keyboard are defined as additional mouse actions for a second mouse device (review dmesg to see both a mouse and keyboard being loaded for the keyboard). If you do not use /dev/input/mice, you may need something else to trap the extra events from the additional interface.

Simon Law (sfllaw)
Changed in xserver-xorg-input-evdev:
status: Needs Info → Confirmed
Revision history for this message
In , Perry-luperry (perry-luperry) wrote :

I have a Logitech diNovo Bluetooth Media Desktop keyboard + mouse combo. The
multimedia keys work perfectly if I use the "mouse" driver for mouse, but then
some of the mouse buttons would behave strangely. But if I use the "evdev"
driver for mouse, the mouse would function 100%, but none of the multimedia keys
on the keyboard would function. The keys are not even generating any event on
xev nor getkeycodes, neither are there any message on dmesg telling me to set
the keycodes.

Here are my InputDevice sections on xorg.conf:
------------------------------------------------------------

Section "InputDevice"
    Identifier "Keyboard0"
    Driver "keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
EndSection

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier "Mouse0"
    Driver "evdev"
    Option "Device" "/dev/input/event2"
    Option "Protocol" "auto"
EndSection

------------------------------------------------------------

here is my /proc/bus/input/devices:
------------------------------------------------------------

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff ffffffff
B: MSC=10
B: LED=7

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

I: Bus=0003 Vendor=046d Product=c704 Version=2420
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.1-1.1/input1
S: Sysfs=/class/input/input4
H: Handlers=kbd mouse0 event2
B: EV=f
B: KEY=c0002 400 0 0 ff0001 f80 78000 6639fa d841d7ad 9e0000 0 0 0
B: REL=143
B: ABS=1 0

------------------------------------------------------------

and here are the messages on Xorg.1.log, that are related to input device:
------------------------------------------------------------

(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Mouse0: Device: "/dev/input/event2"
(II) Mouse0: Found x and y relative axes
(II) Mouse0: Found mouse buttons
(II) Mouse0: Found keys
(II) Mouse0: Configuring as mouse
(II) Mouse0: Configuring as keyboard
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "logidmd"
(**) Keyboard0: XkbModel: "logidmd"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled

------------------------------------------------------------

what concerns me is this line:
(II) Mouse0: Configuring as keyboard

Revision history for this message
In , Perry-luperry (perry-luperry) wrote :

I was testing different settings for XkbModel, that's why Xkbmodel on xorg.conf
and Xorg.1.log are not consistent, but basically the problem persisted in both
cases.

Revision history for this message
Rob Hughes (rob-robhughes) wrote :

I can confirm this. They aren't mouse buttons, but the events do appear on the mouse event interface. I was able to make this work with udev rules in 5.10 and below, but in Dapper and above, this fails. I have a similar bug open for this. See #39509.

Revision history for this message
In , Psykotik (linux-ikiru) wrote :

Using Logitech MX 3000 here (it supplies a mouse MX 600 and a keyboard MX 3000),
with exactly same strange behaviour. Whenever I activate the "evdev" driver, all
multimedia keys are unactivated.

I have already only a bunch of keys functional on my keyboard, but using the
correct drivers get rid of the other half.

Spec : Xorg 7.11, Ubuntu 6.10

Here are my InputDevice sections on xorg.conf:
------------------------------------------------------------
Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "ch"
    Option "XkbVariant" "fr"
EndSection

Section "InputDevice"
    Identifier "Logitech MX600"
    Driver "evdev"
    Option "CorePointer"
    Option "Device" "/dev/input/event9"
EndSection

The complete file /etc/udev/rules.d/19-local.rules (to bind with previous
"device" option)
------------------------------------------------------------
KERNEL=="event[0-9]*", SYSFS{../name}=="Logitech USB Receiver", NAME="input/event9"

here is my /proc/bus/input/devices:
------------------------------------------------------------
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=c 87f44c00 38722bc f57bf41f f2ffffdf ffefffff ffffffff ffffffff
B: MSC=10
B: LED=7

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

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

I: Bus=0003 Vendor=046d Product=c517 Version=3810
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.2-1/input1
S: Sysfs=/class/input/input3
H: Handlers=kbd mouse0 event3 ts0
B: EV=f
B: KEY=c0002 400 0 0 ff0001 f80 78000 6639fa d841d7ad 9e0000 0 0 0
B: REL=1c3
B: ABS=1 0

I: Bus=0003 Vendor=07b5 Product=9903 Version=0100
N: Name="Mega World"
P: Phys=usb-0000:00:1d.7-6.4/input0
S: Sysfs=/class/input/input4
H: Handlers=event4 js0
B: EV=b
B: KEY=fff0000 0 0 0 0 0 0 0 0 0
B: ABS=3

Revision history for this message
Psykotik (linux-ikiru) wrote :

I think it is Xorg related; this bug has been already reported on their bug website.

Check https://bugs.freedesktop.org/show_bug.cgi?id=7625

Revision history for this message
In , Daniel Stone (daniels) wrote :

Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.

Revision history for this message
In , Guillaume Millet (guimillet) wrote :

I have the same problem with the Logitech Cordless Desktop MX 3200 Laser (MX 3200 keyboard & MX 600 mouse).
Moreover the problem occurs too when using "evdev" for keyboard, whatever driver for mouse.

Like psykotik, without evdev, only few extra keys works (8 on 30).

Moreover, the horizontal wheel of the mouse does "Left" and "Right" keys on press event and "Scroll_Lock" on release event ; maybe another bug I should enter ? And lastly, two mouse buttons don't send event (zoom buttons).

xorg 7.2 on ubuntu 7.04 (Feisty)

Changed in xorg-server:
status: Unknown → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Please try on recent intrepid, which has newer components that might fix this.

Changed in xserver-xorg-input-evdev:
status: Confirmed → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

Heya daedalusman,

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xserver-xorg-input-evdev:
status: Incomplete → Invalid
Revision history for this message
In , Peter Hutterer (peter-hutterer) wrote :

mass reassignment. Zephaniah isn't the maintainer anymore.

Revision history for this message
In , Peter Hutterer (peter-hutterer) wrote :

Bug is more than 12 months old, closing as WONTFIX.

Please reopen if this is still an issue with the current release.

Note: if the keycode for the keys is greater than 255 we can't fix it until the server is fixed.

Changed in xorg-server:
status: Confirmed → Won't Fix
Changed in xorg-server:
importance: Unknown → Medium
Changed in xorg-server:
importance: Medium → Unknown
Changed in xorg-server:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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