[keymap] high scan codes don't work on 32 bit platforms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In Ubuntu 12.04 64-bit I used the following udev rules to make Plantrinics buttons work:
*******
ACTION!
KERNEL!="event*", GOTO="xorg_
ENV{ID_
ENV{ID_
LABEL="
*******
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?
summary: |
- Plantronics .Audio 648 buttons doesn't in Ubuntu Saucy + Plantronics .Audio 648 buttons doesn't in Ubuntu Saucy 32-bit |
description: | updated |
summary: |
- Plantronics .Audio 648 buttons doesn't in Ubuntu Saucy 32-bit + Plantronics .Audio 648 buttons don't work in Ubuntu Saucy 32-bit |
Changed in systemd (Ubuntu): | |
status: | Expired → New |
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: extras/ keymap/ keymap. c 204/src/ udev/udev- builtin- keyboard. c
Ubuntu 12.04: udev-175/
Ubuntu 13.10: systemd-