specifically - i was trying to make external monitor function key (LCD/VGA) work (son vaio FX 270). Does anyone know a workaround for this???
Thanks Ionel for the tips for audio control function keys. rajesh. Ionel Mugurel Ciobica <[EMAIL PROTECTED]> wrote: > >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] > > __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with [EMAIL PROTECTED] http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

