Re: function key usage switched

2007-06-16 Thread Gerfried Fuchs
On Fri, Jun 15, 2007 at 11:50:29PM +0200, Bin Zhang wrote: On 6/15/07, Elimar Riesebieter [EMAIL PROTECTED] wrote: I am booting with append=hid.pb_fnmode=2 I did put that into /etc/yaboot.conf - am I expected to call anything after it? Never changed anything in there so am not familar with

Re: function key usage switched

2007-06-16 Thread Marko Kaiser
Hello Rhonda, if you change the yaboot.conf you have to invoke ybin -v afterwards. Kind regards, Marko Kaiser -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: function key usage switched

2007-06-16 Thread Bin Zhang
On 6/16/07, Gerfried Fuchs [EMAIL PROTECTED] wrote: On Fri, Jun 15, 2007 at 11:50:29PM +0200, Bin Zhang wrote: On 6/15/07, Elimar Riesebieter [EMAIL PROTECTED] wrote: I am booting with append=hid.pb_fnmode=2 I did put that into /etc/yaboot.conf - am I expected to call anything after it?

Re: function key usage switched

2007-06-16 Thread Johannes Berg
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.

Re: keyboard on ibook G4 with kernel 2.6.18

2007-06-16 Thread Emil Nowak
On 2007-06-15, at 21:03:45 Jack Malmostoso wrote: Can you ssh to the iBook from another machine and see if it works? Maybe you could pull some useful information (lsmod and dmesg) that way. Sorry for not being more helpful... Yes I already done that. And there is nothing interesting in

Re: function key usage switched

2007-06-16 Thread Bin Zhang
On 6/16/07, Johannes Berg [EMAIL PROTECTED] 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

Re: function key usage switched

2007-06-16 Thread Elimar Riesebieter
On Sat, 16 Jun 2007 the mental interface of Bin Zhang told: On 6/16/07, Johannes Berg [EMAIL PROTECTED] wrote: [...] 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

Re: function key usage switched

2007-06-16 Thread Michael Hanselmann
On Sat, Jun 16, 2007 at 06:28:21PM +0200, Elimar Riesebieter wrote: File a bug against pbbuttonsd then. #if LINUX_VERSION_CODE = KERNEL_VERSION(2,6,20) #define PATH_FNMODE /sys/module/hid/parameters/pb_fnmode #else #define PATH_FNMODE /sys/module/usbhid/parameters/pb_fnmode … which would

Re: function key usage switched

2007-06-16 Thread Michael Hanselmann
On Sat, Jun 16, 2007 at 07:18:17PM +0200, Michael Hanselmann wrote: if (stat(/sys/module/usbhid/parameters/pb_fnmode, st) == 0) { […] fd = open(path, O_RDONLY); I just noticed the race condition there. A better way: fd = open(/sys/module/usbhid/parameters/pb_fnmode, O_RDWR); if (fd 0)

Re: function key usage switched

2007-06-16 Thread Bin Zhang
On 6/16/07, Elimar Riesebieter [EMAIL PROTECTED] wrote: On Sat, 16 Jun 2007 the mental interface of Bin Zhang told: On 6/16/07, Johannes Berg [EMAIL PROTECTED] wrote: [...] I see it has already been solved in the thread, but just wanted to chime in that the problem is that the module