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

Re: function key usage switched



On 6/16/07, Johannes Berg <johannes@sipsolutions.net> wrote:
On Fri, 2007-06-15 at 20:27 +0200, Gerfried Fuchs wrote:

>  I recently update from 2.6.18-4-powerpc to 2.6.21-1-powerpc and
> everything worked pretty well -- except for the function keys.  When I
> press f1 and f2 it switches the brightness of my screen, f3 to f5
> address sound value, and so on.  If I want to use a real f1 I now have
> to press fn-f1.

I see it has already been solved in the thread, but just wanted to chime
in that the problem is that the module parameter moved to a new module,
hence some tools are now unable to change it because they expect it in
the "usb_hid" and not in the "hid" module.

As for KBDMode = fkeysfirst that means that F1 is a real F1 and fn-F1 is
brightness down, however, as I said above maybe pbbuttonsd is no longer
able to control it now that the parameter changed to a new module.


You are right.
In pbbuttonsd-0.7.9's src/module_pmac,
#define PATH_FNMODE             "/sys/module/usbhid/parameters/pb_fnmode"

It should be /sys/module/hid/parameters/pb_fnmode for 2.6.21.


Bin

As for Bin's ADB keyboard I don't know if there's a parameter at all,
but I can't imagine it changing, pbbuttonsd sets that afaik.

johannes





Reply to: