[Bug 1247676] Re: Plantronics .Audio 648 buttons doesn't in Ubuntu Saucy 32-bit

Stanislav German-Evtushenko 1247676 at bugs.launchpad.net
Mon Nov 4 10:47:39 UTC 2013


Martin,
> Stanislav, there is an equivalent in saucy, the rules are now in /lib/udev/hwdb.d/60-keyboard.hwdb.
I've just found out, thank you. I though problem was in replacement but actually it was about bug in source code. Thank you for the quick reply.

udev.txt is attached.

I've managed to get this device work in Ubuntu 12.04.3 64-bit and 13.10
64-bit.

*** Udev rules for 12.04  ***

/etc/udev/rules.d/70-plantronics.rules:
*********************************************************************
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", RUN+="keymap $name 0xFFA000B1 volumeup 0xFFA000B2 volumedown 0xffa000b5 micmute 0xffa000b7 phone 0xffa000ab unknown"
 
LABEL="xorg_plantronics_end"
*********************************************************************

*** Udev and hwdb rules for Ubuntu 13.10 ***

/etc/udev/rules.d/59-plantronics.rules:
*********************************************************************
ACTION!="add|change", GOTO="xorg_plantronics_end"
KERNEL!="event*", GOTO="xorg_plantronics_end"
 
SUBSYSTEMS=="usb", ENV{ID_BUS}=="", IMPORT{builtin}="usb_id"
 
ENV{ID_VENDOR_ID}=="047f", ENV{ID_MODEL_ID}=="c013", ENV{ID_INPUT_KEY}="1"
 
LABEL="xorg_plantronics_end"
*********************************************************************

/etc/udev/hwdb.d/60-keyboard.hwdb:
*********************************************************************
# Plantronics .Audio 648 USB
keyboard:usb:v047FpC013*
 KEYBOARD_KEY_ffa000b1=volumeup
 KEYBOARD_KEY_ffa000b2=volumedown
 KEYBOARD_KEY_ffa000b5=micmute
 KEYBOARD_KEY_ffa000b7=phone
 KEYBOARD_KEY_ffa000ab=unknown
*********************************************************************

** Attachment added: "udev.txt"
   https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1247676/+attachment/3899708/+files/udev.txt

-- 
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 doesn't in Ubuntu Saucy 32-bit

Status in “systemd” package in Ubuntu:
  Incomplete

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