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

Re: Bug#280122: debian-installer: wrong keyboard with krnl2.6 + french + USB



Frans Pop wrote:
...

I doubt that will work with kernel 2.6. There won't be a list for AT-type keyboards as IIRC you don't have an AT-type keyboard connector.


However, I have prepared an iso [1] for testing a hack that I hope will solve the problem. We would appreciate it very much if you could test that (I can only test very limited myself as I don't have an usb kbd).

Note that this iso is not suitable for full installations, but is build just for testing this problem.

Please test with both 2.4 and 2.6 and USB PC and USB Mac keyboards. I suggest you boot with 'linux(26) debconf/priority=medium' or 'expert(26)' to give you more control during the tests.

If my hack is correct, you should be shown the AT list for the USB PC keyboard and the USB/Mac list for the USB Mac keyboard.

Nop, works for 2.4 not for 2.6. I just got a choice for USB keyboard with 2.6


Could you send us the output of 'grep "kbd-chooser\[" /var/log/syslog'
(just after you select a keyboard) for all tests for verification?

With your iso :
expert/french/France/disposition du clavier =keyboad layout/
gives the choice between PC-AT or USB.
. PC-AT/francais gives a correct keyboard mapping (this is the one used on a default di+2.4 install).
grep /var/log/syslog gives the followin relevant lines :
...choose_keymap: keymap=fr-latin9
...kbd_chooser: setting fr-latin9

. USB/Macintosh USB francais gives a wrong mapping difficult to use
grep /var/log/syslog gives the following relevant lines :
...choose_keymap: keymap=mac-usb-fr
...kbd_chooser: setting mac-usb-fr

expert2.6/french/France/disposition du clavier/ gives only the choice for USB keyboard with a wrong mapping.
grep /var/log/syslog gives the following relevant lines :
...choose_keymap: keymap=mac-usb-fr
...kbd_chooser: setting mac-usb-fr

expert2.6/english/US/USB loads mac-usb-us keyboard which seems to have the correct mapping.

Could you also let us know the vendor-id for both keyboards (available from /proc/bus/usb/devices).
Nothing in /proc/bus/usb with your iso either with 2.4 or 2.6.
On a fonctionning sarge box :
lsusb with a french mac G3 keyboard attached :
Bus 002 Device 011: ID 05ac:0202 Apple Computer, Inc. Apple Keyboard [ALPS]
Same with the default usb keyboard sold with the GX280 :
Bus 002 Device 013: ID 413c:2003 Dell Computer Corp.
Same with an enhanced version of Dell usb keyboard :
Bus 002 Device 014: ID 413c:1002 Dell Computer Corp.


So if I understand well :
- a default k2.4 install is using fr-latin9 which works correctly for a french USB keyboard - for k2.6,keyboard, the keyboard layout used is mac-usb-fr which is correct for a mac keyboard but not for PC USB keyboards. As stated by C. Perrier in the IRC log I got, the french (maybe other) keyboards layout have always been <> between Mac keyboards and PC ones.
The result on a PC USB keyboard when mac-usb-fr is loaded :
- alt key is mapped on the "MS windows" key
- altgr key doesn't work (on a french keyboard it is needed to access the following chars ~#{[|`\^ @]} )
- *,!,+,=,-,_ are also mapped differently

Pretty messy result.

By the way, is there anyway to manualy load a keymap under d-i ?

@+,
	Fab



Reply to: