problems with keymap entries in FDI-files

Carlos Corbacho cathectic at gmail.com
Thu Aug 16 09:36:55 PDT 2007


Danny Kukawka wrote:
> * There are several cases where two scancodes get mapped to the same key
> or inversely one scancode mapped to two keys. 

Because this is what the Richard's website tells us to do[1], so I did it
for the Aspire 5020 (and everyone, including myself, copied that original
entry for Acer and modified it, since pretty much all Acer's need keycodes
for the same scancodes).

> IMO we should at least remove the cases where the same scancode get mapped
> to two different keys.

Unfortunately, the key codes we need don't exist in linux/input.h

Ideally we would have a WLAN on and WLAN off keycodes (and the same for
bluetooth). Instead, we only have WLAN (same for bluetooth)

I would say, personally, that this is a Linux input problem that needs to be
fixed there first.

> * If I understand the How-To at correct HAL should only contain
> mappings for 'unknown scancodes' [..]
> But if I take a look at several mappings e.g. for the 'HP nc6320', some
> IBM/Lenovo or Acer laptops I wonder if all the mappings are really needed,

Yes, they really _are_ all needed for Acer laptops (and pretty much always
for the same keys). I've had this confirmed through quite a few of the
acer_acpi users (and I can therefore pretty much guarantee this even for
the ones that didn't come through me).

-Carlos

[1] http://people.freedesktop.org/~hughsient/quirk/qauirk-keymap-try.html
-- 
E-Mail: cathectic at gmail.com
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D



More information about the hal mailing list