[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#860582: Nokia N900 keyboard support in console



Package: console-setup

Dear Sirs,

I am experimenting with Debian on a Nokia N900 (RX-51). I debootstrapped a Jessie file system. When configuring the keyboard, I found an issue. Namely, the symbols file uses a custom type called PC_FN_LEVEL2; however, when setupcon is called, and from there ckbcomp is invoked, this type is not recognised.

There is a fix on the version of console-setup which is available in the Sid repository. The bug report is found at:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789816

However, I believe this bug is not fixed in the proper way. Let me explain.

1. The type is already defined in /usr/share/X11/xkb/types/nokia
2. This type file is correctly referenced in /usr/share/X11/xkb/rules/xorg (line 1018/1225) (although I found no trace of Nokia models in xorg.lst and xorg.xml)
3. Based on my investigations, I believe the rules file is read by cbkcomp, but the types file is not
4. The fix found at https://anonscm.debian.org/cgit/d-i/console-setup.git/commit/?id=f41adb653e666cefe15af02fdbf5bb56b11677df "hardcodes" the PC_FN_LEVEL2 type into ckbcomp

My conclusion is that the problem is ckbcomp not reading the type file indicated in the rule file, and that should be fixed, instead of hardcoding the custom type into ckbcomp.

Best regards,

Enrico Menotti


Reply to: