Bug 7625 - using evdev as the mouse driver renders multimedia keys on the keyboard unfunctional
Summary: using evdev as the mouse driver renders multimedia keys on the keyboard unfun...
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/evdev (show other bugs)
Version: 7.0 (2005.12)
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-25 17:01 UTC by Perry Lu
Modified: 2008-12-20 21:45 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Perry Lu 2006-07-25 17:01:39 UTC
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
Comment 1 Perry Lu 2006-07-25 17:10:29 UTC
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.
Comment 2 psykotik 2007-01-04 18:04:39 UTC
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
Comment 3 Daniel Stone 2007-02-27 01:32:59 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 4 Guillaume Millet 2007-08-10 18:27:54 UTC
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)
Comment 5 Peter Hutterer 2008-12-20 21:26:48 UTC
mass reassignment. Zephaniah isn't the maintainer anymore.
Comment 6 Peter Hutterer 2008-12-20 21:45:47 UTC
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.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.