[Bug 1247676] Re: Plantronics .Audio 648 buttons don't work in Ubuntu Saucy 32-bit
Sergey R
rozserg at gmail.com
Sat May 10 19:42:14 UTC 2014
Hi Stanislav,
The issue is how to separate Plantronics headset and mouse, see below the udevadm results for event2 and event4
**************
sudo evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Power Button
/dev/input/event1: Power Button
/dev/input/event2: Plantronics Plantronics .Audio 628 USB
/dev/input/event3: LITE-ON Technology USB NetVista Full Width Keyboard.
/dev/input/event4: Logitech USB Laser Mouse
/dev/input/event5: UVC Camera (046d:0808)
*************
sudo udevadm info /dev/input/event2
sudo udevadm info /dev/input/event2P: /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.3/input/input20/event2
N: input/event2
S: input/by-id/usb-Plantronics_Plantronics_.Audio_628_USB-event-if03
S: input/by-path/pci-0000:00:1a.0-usb-0:1:1.3-event
E: DEVLINKS=/dev/input/by-id/usb-Plantronics_Plantronics_.Audio_628_USB-event-if03 /dev/input/by-path/pci-0000:00:1a.0-usb-0:1:1.3-event
E: DEVNAME=/dev/input/event2
E: DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.3/input/input20/event2
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_MODEL=Plantronics_.Audio_628_USB
E: ID_MODEL_ENC=Plantronics\x20.Audio\x20628\x20USB
E: ID_MODEL_ID=c012
E: ID_PATH=pci-0000:00:1a.0-usb-0:1:1.3
E: ID_PATH_TAG=pci-0000_00_1a_0-usb-0_1_1_3
E: ID_REVISION=0243
E: ID_SERIAL=Plantronics_Plantronics_.Audio_628_USB
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:010100:010200:030000:
E: ID_USB_INTERFACE_NUM=03
E: ID_VENDOR=Plantronics
E: ID_VENDOR_ENC=Plantronics
E: ID_VENDOR_ID=047f
E: MAJOR=13
E: MINOR=66
E: SUBSYSTEM=input
E: USEC_INITIALIZED=17615327
**************
sudo udevadm info /dev/input/event4 | grep ID_INPUT
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
**************
As soon as I add to /etc/udev/rules.d/59-plantronics.rules
ENV{ID_INPUT_KEY}="1" then it works as a mouse.
If I remove ID_INPUT_KEY=1 and check for another ENV then it doesn't recognize it at all.
I tested for example with ENV{ID_MODEL}="Plantronics_.Audio_628_USB"
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1247676
Title:
Plantronics .Audio 648 buttons don't work in Ubuntu Saucy 32-bit
Status in “systemd” package in Ubuntu:
New
Bug description:
In Ubuntu 12.04 64-bit I used the following udev rules to make
Plantrinics buttons work:
**************************************************
ACTION!="add|change", GOTO="xorg_plantronics_end"
KERNEL!="event*", GOTO="xorg_plantronics_end"
ENV{ID_VENDOR_ID}=="047f", ENV{ID_MODEL_ID}=="c013", ENV{ID_INPUT_KEY}="1"
ENV{ID_VENDOR_ID}=="047f", ENV{ID_MODEL_ID}=="c013", RUN+="keymap $name 0xFFA000B1 volumeup 0xFFA000B2 volumedown 0xffa000b5 micmute 0xffa000b7 phone 0xffa000ab unknown"
LABEL="xorg_plantronics_end"
**************************************************
However there is no keymap (systemd ) since Saucy anymore and
setkeycodes can't map such codes as: 0xFFA000B1, 0xFFA000B2,
0xffa000b5, 0xffa000b7, and 0xffa000ab
Debian still has keymap even in sid (unstable). Changelog of systemd
package in Ubuntu has the following note:
**************************************************
systemd (204-0ubuntu10) saucy; urgency=low
...
- debian/rules: Configure with --disable-keymap to not build/install the
old keymap stuff any more.
...
**************************************************
So keymap is dropped and there is no equivalent replacement yet.
Any ideas how to make these buttons work again?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1247676/+subscriptions
More information about the foundations-bugs
mailing list