LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-10-2007, 12:04 PM   #1
NobleSilkFairy
LQ Newbie
 
Registered: Apr 2005
Posts: 16

Rep: Reputation: 0
No key release detected with volume buttons.


I am running Mandriva 2008.0 on a Compaq Presario R4025 Laptop. When I try to use my Volume buttons, the volume either goes all the way up or all the way down and then they stop responding. Upon investigation, I found using showkeys that there was a key press but no key release event for these buttons. Linux must think that I'm holding these buttons down.

Is there a way to get these volume buttons working properly? Is there some way to stop it from looking for a key release or to trick it into seeing a key release?

Please help me out, I'm a complete newb. I like Linux and want to leave no excuses to go back to Windows so help me to eliminate this one.
 
Old 11-10-2007, 05:55 PM   #2
Trasa
Member
 
Registered: Nov 2007
Posts: 50

Rep: Reputation: 23
I am using xbindkeys for that, a good place to start would be with the xbindkeys manpage.
You also might have to map the keys to specific xwindow events.

Here is the output of xbindkeys -s on my desktop using a saitek eclipse keyboard.

"amixer sset PCM toggle"
m:0x0 + c:160
XF86AudioMute
"amixer sset PCM 2+"
m:0x0 + c:176
XF86AudioRaiseVolume
"amixer sset PCM 2-"
m:0x0 + c:174
XF86AudioLowerVolume

This is my xbindkeysrc file

"amixer sset PCM toggle"
m:0x0 + c:160

"amixer sset PCM 2+"
m:0x0 + c:176

"amixer sset PCM 2-"
m:0x0 + c:174


I think that at some point I must have edited one of the keysym files to attach the xwindow event to the keys.
I can't remember exactly how i did mine, but start with xbindkeys.
 
Old 11-11-2007, 06:07 AM   #3
beanerjo
Member
 
Registered: Aug 2004
Location: New Zealand
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
Not sure but perhaps xmodmap can solve it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
volume and access buttons on ze4315 dracolich Linux - Laptop and Netbook 15 07-26-2008 12:19 AM
DELL , Fn and volume buttons tpariel Linux - Laptop and Netbook 9 08-31-2006 12:55 AM
volume buttons on my laptop emg SUSE / openSUSE 1 06-24-2005 10:34 PM
Volume Buttons on an HP-ze4805US efanning Linux - Laptop and Netbook 3 09-08-2004 01:51 PM
external volume buttons nef Linux - Laptop and Netbook 14 10-14-2003 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration