Re: Bug#521865: linux-image-2.6.29-1-powerpc: keyboard not working at all
On Fri, May 08, 2009 at 01:07:21PM +0200, Gerfried Fuchs wrote:
> * Gerfried Fuchs <firstname.lastname@example.org> [2009-04-28 14:30:09 CEST]:
> > * Gerfried Fuchs <email@example.com> [2009-04-20 12:07:24 CEST]:
> > > Version: 2.6.29-2
> > > * Gerfried Fuchs <firstname.lastname@example.org> [2009-03-30 17:42:39 CEST]:
> > > > Upgrading to 2.6.29-1 did cause several problems:
> > > >
> > > > - The keyboard didn't react to any key pressed
> > > > - An external usb keyboard didn't react to any key pressed neither
> > > > - external mouse did receive power (optical red light was there) but
> > > > cursor didn't move
> I seem to have found a culprit somehow but don't know where it comes
> from. 2.6.29 has hid_apple but that module failed to load for me.
> modprobe -v told me that it tries to "insmod /lib/.../hid.ko pb_fnmode=2"
> but that module doesn't like that parameter so it fails.
> Now I'm wondering where that might come from. And strangely it seems to
> have hooked itself into /etc/yaboot.conf:
> Now I wonder
> a.) how it actually ended up in there (though, not really that
> interesting), but rather
> b.) what the correct append option for 2.6.29 would be to switch to. I
> do want to have my function keys work as normal function keys and not
> have to press the fn additionally to get that.a
This is now the fnmode parameter of the hid-apple module. You can either
set it by writing to /sys/module/hid_apple/parameters/fnmode or by
appending hid-apple.fnmode=2 (or probably hid_apple.fnmode=2). I only
tested that writing to the sysfs file works, but appending to the kernel
command line should work too.
A third option is to create a file /etc/modprobe.d/hid-apple.conf which
contains the line "option hid-apple fnmode=2".
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~