În data de 20-04-2002, la 15h 40'06", [EMAIL PROTECTED] scria despre "fn keys in FX270": > > Hi All, > > Is there way to make the function keys work in sony-vaio FX270 (running woody)? > > rajesh. > > sorry for mailing again - i left out 'subject' in the last mail! > >
I have a Vaio FX401. I just made the Fn work. Before it just hang my notebook. If this is your case too, then you should recompile the kernel with the ACPI patches from sourceforge.net/projects/acpi. I run the kernel 2.4.18 with that ACPI patches. Then, you have to add few lines in the .xmodmap file, like that: keycode 0xB0 = XF86AudioRaiseVolume keycode 0xAE = XF86AudioLowerVolume keycode 0xA0 = XF86AudioMute keycode 0xDF = XF86ScreenSaver I use fvwm2 as windows manager, then I add this in my ~/.fvwm2rc: Key XF86AudioMute A N Exec exec '/usr/sbin/sound' Key XF86AudioLowerVolume A N Exec exec '/usr/sbin/lowervolume' Key XF86AudioRaiseVolume A N Exec exec '/usr/sbin/raisevolume' Key XF86ScreenSaver A N Exec exec '/usr/bin/xscreensaver' Where /usr/sbin/lowervolume is: #!/bin/sh /usr/bin/aumix -v 100 -w -1 and /usr/sbin/raisevolume is: #!/bin/sh /usr/bin/aumix -v 100 -w +1 The /usr/sbin/sound is a script to mute and unmute the sound: #!/bin/sh if [ -f ~/.aumixtmp ] ; then echo -n "Restoring volume to 40" aumix -v 100 -w 40 rm ~/.aumixtmp echo "." exit 1 else echo -n Muting touch ~/.aumixtmp aumix -v 0 echo "." exit 1 fi exit 0 it can be better, I know, but I am not good in scripts... If you don't use fvwm2, well check in your window manager how you could do some similar things... If you use icewm check at http://www.gaugusch.at/vaio/ (there is a link there for kde too). I hope it helps. Good luck, Ionel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]