[Bug 1247676] Re: Plantronics .Audio 648 buttons doesn't in Ubuntu Saucy
Stanislav German-Evtushenko
1247676 at bugs.launchpad.net
Mon Nov 4 03:36:33 UTC 2013
It seems to work in 64-bit Ubuntu however doesn't work in 32-bit Ubuntu,
neither 12.04 nor 13.10. I made some investigation and found problem in
strtol function behaves differently on 32-bit and 64-bit systems.
For example:
64-bit strtol("fffffff0", &endptr, 16), result is 4294967280
32-bit strtol("fffffff0", &endptr, 16), result is 2147483647
Sources to check:
Ubuntu 12.04: udev-175/extras/keymap/keymap.c
Ubuntu 13.10: systemd-204/src/udev/udev-builtin-keyboard.c
--
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
Status in “systemd” package in Ubuntu:
New
Bug description:
In Ubuntu 12.04 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