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

Bug#288140: [sparc] Keyboard handling broken on SS20



On Sat, 1 Jan 2005, Karsten Merker wrote:

From there on, further installation is impossible, as all
keypresses deliver the wrong characters, looks like with a broken
keymap -> no selection in the menu possible. This problem has
also been confirmed by another user in #debian-boot.

Hello,

I am pretty convinced by now that the problem is caused by the drivers/sbus/char/sunkbdmap.c file. In this file all the keymap names are prepended with sun_ (plain_map -> sun_plain_map, shift_map -> sun_shift_map, etc), if the CONFIG_PCI variable is set. I fail to see the logic behind this, as it makes the specially crafted keymaps for sun keyboards, defined in sunkeymap.c, inaccessible to the sun keyboard driver which still references plain_map and friends. Instead the default keymaps, wrong for this type of keyboards, are used. As a workaround, I have reconfigured the kernel, unsetting the CONFIG_PCI variable, and the keyboard works fine with the resulting kernel on my SS10. I am not sure whether there are any sparc32 boxes with PCI hardware out there, but for SBUS-based machines this looks like the simplest workaround. The kernel deb, kernel config file and netboot image are available from [0]. Please test and followup to the bug with your successes and failures.

Thanks to Frans Pop for helping to debug this.

[0] http://www.wooyd.org/debian/bug288140/

Best regards,

Jurij Smakov                                        jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC



Reply to: