[Bug 1056807] New: Xorg ignores dev/input/event6 events
http://bugzilla.novell.com/show_bug.cgi?id=1056807 Bug ID: 1056807 Summary: Xorg ignores dev/input/event6 events Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: nettezzaumanaa@gmail.com QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- Created attachment 739123 --> http://bugzilla.novell.com/attachment.cgi?id=739123&action=edit bon apetit Hello there, I have up-to-date Xorg from obs://build.opensuse.org/X11 and Xorg ignores (xev is deaf/blind to pressing the micmute fn button) /dev/input/event6 buttons however it says in log # grep event6 /var/log/Xorg.0.log [ 27.931] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event6) [ 27.931] (**) Option "Device" "/dev/input/event6" [ 27.932] (II) input device 'Dell WMI hotkeys', /dev/input/event6 is tagged by udev as: Keyboard [ 27.932] (II) input device 'Dell WMI hotkeys', /dev/input/event6 is a keyboard [ 27.952] (**) Option "config_info" "udev:/sys/devices/platform/PNP0C14:01/wmi_bus/wmi_bus-PNP0C14:01/9DBB5994-A997-11DA-B012-B622A1EF5492/input/input6/event6" [ 27.954] (II) input device 'Dell WMI hotkeys', /dev/input/event6 is tagged by udev as: Keyboard [ 27.954] (II) input device 'Dell WMI hotkeys', /dev/input/event6 is a keyboard and dell-wmi.ko exports the buttons properly (I've toggled here a micmute button): # evtest /dev/input/event6 Input driver version is 1.0.1 Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0 Input device name: "Dell WMI hotkeys" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 113 (KEY_MUTE) Event code 114 (KEY_VOLUMEDOWN) Event code 115 (KEY_VOLUMEUP) Event code 148 (KEY_PROG1) Event code 149 (KEY_PROG2) Event code 161 (KEY_EJECTCD) Event code 202 (KEY_PROG3) Event code 203 (KEY_PROG4) Event code 224 (KEY_BRIGHTNESSDOWN) Event code 225 (KEY_BRIGHTNESSUP) Event code 227 (KEY_SWITCHVIDEOMODE) Event code 236 (KEY_BATTERY) Event code 238 (KEY_WLAN) Event code 240 (KEY_UNKNOWN) Event code 248 (KEY_MICMUTE) Event code 431 (KEY_DISPLAYTOGGLE) Event type 4 (EV_MSC) Event code 4 (MSC_SCAN) Properties: Testing ... (interrupt to exit) Event: time 1504258143.934627, type 4 (EV_MSC), code 4 (MSC_SCAN), value 100150 Event: time 1504258143.934627, type 1 (EV_KEY), code 248 (KEY_MICMUTE), value 1 Event: time 1504258143.934627, -------------- SYN_REPORT ------------ Event: time 1504258143.934823, type 1 (EV_KEY), code 248 (KEY_MICMUTE), value 0 Event: time 1504258143.934823, -------------- SYN_REPORT ------------ Event: time 1504258144.653478, type 4 (EV_MSC), code 4 (MSC_SCAN), value 100150 Event: time 1504258144.653478, type 1 (EV_KEY), code 248 (KEY_MICMUTE), value 1 Event: time 1504258144.653478, -------------- SYN_REPORT ------------ Event: time 1504258144.653661, type 1 (EV_KEY), code 248 (KEY_MICMUTE), value 0 Event: time 1504258144.653661, -------------- SYN_REPORT ------------ ^C howto-reproduce: presumably on dell (latitudes) and thinkpads with micmute button: 1) run `evtest /dev/input/event6' and press the button .. You'll see evtest reporting the button press action .. Alternatively you can install acpid package and run `acpi_listen', you'll see a button press action there as well 2) verify, that if you run `xev', it's deaf/blind to pressing the button on keyboard so X is not aware if this event workaround: 1) install acpid 2) put to /etc/acpi/events/dell-mute-button (what shows acpi_listen after pressing that): event=button/micmute MICMUTE 00000080 00000000 K action=amixer -c 0 sset Capture cswitch toggle 3) start/enable acpid.service regards, daniel ps. attaching output from 1) for x in event[0-9]*; do echo "# dumping: /dev/input/$x"; evtest $x & ( sleep 1 && kill -INT $! ); done | tee /var/tmp/evtest.dump 2) grep input/event /var/log/Xorg.0.log | tee /var/tmp/xorg-log-input-event.out -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com