You are not logged in.
hi, i'm trying to get my the volume keys working on on my fujitsu siemens lifebook s7020 running openbox but am running up against alot of conflicting information about how to do it and i can seem to get either to work...
in xev the keypresses are detected as follows..
mute...
KeyPress event, serial 32, synthetic NO, window 0x1400001,
root 0x76, subw 0x0, time 2413680, (-274,419), root:(567,733),
state 0x0, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 35, synthetic NO, window 0x1400001,
root 0x76, subw 0x0, time 2413765, (-274,419), root:(567,733),
state 0x0, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: Falsevolume down...
KeyPress event, serial 35, synthetic NO, window 0x1400001,
root 0x76, subw 0x0, time 2414482, (-274,419), root:(567,733),
state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 35, synthetic NO, window 0x1400001,
root 0x76, subw 0x0, time 2414596, (-274,419), root:(567,733),
state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: Falsevolume up...
KeyPress event, serial 35, synthetic NO, window 0x1400001,
root 0x76, subw 0x0, time 2414882, (-274,419), root:(567,733),
state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 35, synthetic NO, window 0x1400001,
root 0x76, subw 0x0, time 2414967, (-274,419), root:(567,733),
state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: Falsemethod 1...
an fdi(?) file using HAL (which i already have up and running detecting my usb drives). writing one of these seems easy enough (its just xml) however i dont know what codes to use for each key as no errors are generated in dmesg.
http://people.freedesktop.org/~hughsien … index.html
method 2...
using xmodmap/xbindkeys, however i have no idea how to do this as all the guides i've found have been far too specilised for a particular model of notebook or keyboard, and the just assume you allready know how it works. i tried to adapt one of the guides but all i managed to do was disable my keyboard
please help, if theres any info you need me to post just ask
Fujitsu Siemens Lifebook S7020 - 2.0ghz Centrino | 2gig RAM | 80gig SATA HDD
Offline
The easyest way is to use keytouch (pacman -S keytouch, http://keytouch.sourceforge.net/).
For xbindkeys, put this in your ~/.xbindkeysrc for mute:
"amixer sset Master toggle"
c:160
(160 is the keycode xev reported)
Kill and start xbindkeys -v in a terminal and it should work.
Offline
And for the volume:
# vol up
"amixer set Master 2dB+ unmute"
c:176
# vol down
"amixer set Master 2dB- unmute"
c:174![]()
Offline
Have you tried changing your keymap?
Offline
ok so i installed keytouch via
pacman -S keytouchhowever when i run it with
keytouchi get a dialogue saying no keyboard was specified, how do i select one (i have a fujitsu .bin file from the keytouch site, where do i put it)
Have you tried changing your keymap?
do you mean in my xorg.conf, if so yes to gb, that sorted £ signs and what not
Fujitsu Siemens Lifebook S7020 - 2.0ghz Centrino | 2gig RAM | 80gig SATA HDD
Offline
sorted, just had to install gksu (don't know why pacman didn't install it) then followed this article....
http://wiki.archlinux.org/index.php/Ext … ch_Program
any help with my power button (keycode 222) recognised in xev but not in keytouch, guess its because it from a different device than the keyboard????
fixed - http://wiki.archlinux.org/index.php/Ace … wer_button
Last edited by dan653 (2008-10-06 00:06:25)
Fujitsu Siemens Lifebook S7020 - 2.0ghz Centrino | 2gig RAM | 80gig SATA HDD
Offline