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

Re: .Xmodmap and new input layer, upgrades and breakage



Quoting Adam C Powell IV <hazelsct@mit.edu>:

> Hello,
> 
> I've been annoyed for the longest time that Caps_Lock and Control_L
> can't be switched on an ADB keyboard.  (When I used to try, I'd get some
> pretty strange behavior, with both toggling the light but not quite
> doing caps lock right- I don't quite remember, but it was pretty odd.
> Heard somewhere that it was an issue in the adb keyboard driver in the
> kernel...)
> 
> Now with the new input layer, I thought "Great, I can finally switch
> them."  But no, trying to do so has no effect now, not even the wierd
> behavior from before.
> 
> Have these keys been hardcoded?

BenH explained this before, I think he said it was a hardware problem (the 
Caps-Lock key not sending a keycode when it goes back up, or something like 
that), that would also explain why you can't switch these 2 keys. Is there a fix 
for that ?

> Another thing: there have been an *awful* lot of messages to this list
> about thenew input layer.  Can we expect that future kernel-image
> upgrades might cause similarly widespread breakage, or will there be

We have that much problems mainly because some of these people don't read (or 
read correctly) the documentation provided. I'd expect similar problems when the 
old ADB keycodes will be disabled, and we'll have to use x86 (aka "Linux") 
keycodes for our keymaps (in fact x86 keymaps wouldn't work 100% on newer Macs 
because Apple thought it'd be funny to switch the keycodes of the key next to 
the left shift, and the one under the Esc key).

> some effort to avoid this in the future, and let people choose to get
> new features by configuring and building their own kernels?  Or perhaps
> should there have been a postinst in a kernel-image to install
> /dev/input and suggest people re-configure gpm and X (maybe via
> debconf)?

I'm not in front of my Debian box. What is used to generate the /dev nodes ? A 
postinstall script ? of which package ? Is it in the base.tgz ?
... Maybe switching to devfs would fix the node creation part

Cheers

/Bastien Nocera
http://hadess.net



Reply to: