Re: function key usage switched
On Fri, 15 Jun 2007 the mental interface of
Bin Zhang told:
> On 6/15/07, Elimar Riesebieter <riesebie@lxtec.de> wrote:
[...]
>> I am booting with append="hid.pb_fnmode=2"
>>
>
> I use key F1 as real F1.
> But I have 1 in my /sys/module/hid/parameters/pb_fnmode, not 2.
> Why ?
Hmm,
$ egrep -r "hid.pb_fnmode" /usr/src/linux/drivers/hid
/usr/src/linux/drivers/hid/hid-input.c:static int hid_pb_fnmode = 1;
/usr/src/linux/drivers/hid/hid-input.c:module_param_named(pb_fnmode, hid_pb_fnmode, int, 0644);
/usr/src/linux/drivers/hid/hid-input.c: if (hid_pb_fnmode) {
/usr/src/linux/drivers/hid/hid-input.c: (hid_pb_fnmode == 2 && (hid->quirks & HID_QUIRK_POWERBOOK_FN_ON)) ||
/usr/src/linux/drivers/hid/hid-input.c: (hid_pb_fnmode == 1 && !(hid->quirks & HID_QUIRK_POWERBOOK_FN_ON));
Elimar
--
Learned men are the cisterns of knowledge,
not the fountainheads ;-)
Reply to: