LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 11-13-2012, 09:52 AM   #1
XMBC
LQ Newbie
 
Registered: Apr 2012
Distribution: Debian
Posts: 1

Rep: Reputation: Disabled
Spurious events from Cap Sensor Buttons on Lenovo Z580


Hi everyone,

I am running Debian Wheezy, Kernel 3.2.0-4-amd64 with Xfce on a recently bought Lenovo Z580. I am having problems with spurious events from the Cap Sensor Buttons (extra buttons that control, e.g., the volume).
They are extremely annoying since they stop the monitor from switching off when the laptop is idle (and when I switch it off manually via 'xset dpms force off' it will switch back next time such an event occurs).

The events occur every 20 seconds or so if and only if the laptop is running on battery power. When the AC adapter is plugged in everything is fine.
xev reports the events as follows (keycode 248 is what makes me think that it is indeed the cap sensor buttons that are to blame):

Code:
KeyPress event, serial 40, synthetic NO, window 0x4000001,
    root 0xaf, subw 0x0, time 658898, (320,112), root:(1081,385),
    state 0x10, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x4000001,
    root 0xaf, subw 0x0, time 658898, (320,112), root:(1081,385),
    state 0x10, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Is there anything I can do about this such as
- stop the events from occuring or
- somehow tell the OS that events with keycode 248 should be disregarded when determining whether the laptop is idle
- if nothing else helps, switch the buttons off (I thought this might be possible in the BIOS, but I could not find anything there)?

Thanks in advance.
 
Old 11-18-2012, 03:53 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,375

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
Every 20 seconds is bad. Report bugs, and save some other poor dweeb the same issue.

Cap sensor - capacitive? clean them - might help. You can use an .Xmodmap file in X to map it to null or the like. There probably is one.
 
Old 11-19-2012, 06:15 AM   #3
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,375

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
Afterthought here.

I had something like this from a m/b with Via chipset back around kernel 2.6.18. It logged incessant overcurrent changes, and was a known issue, but never traced. It was solved by modifying the ehci_hcd code to output register values to log as well.

Then it could be seen that the hardware was ignoring the registers supposed to control it. So an option was added
option ehci_hcd ignore_oc=1 (inserted into 2.6.19)

and that stopped it. Nothing was logged. If this is a hardware issue, you may need something similar.
 
  


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
[SOLVED] TOSHIBA Hard Drive Impact Sensor (3D sensor) and Linux josephj Linux - Laptop and Netbook 4 11-06-2010 06:39 PM
events, inheritance, buttons icecubeflower Programming 1 11-27-2009 08:01 AM
Special buttons and brightness on Lenovo 3000 N100 OMGitsUGOD Linux - Laptop and Netbook 5 09-10-2009 03:27 AM
Spurious keyboard events(?) and associated quirkyness prasadbrg Linux - Hardware 3 01-09-2009 03:56 AM
Configureing volume buttons on a Lenovo 3000 N100 Aleksandersen Linux - Laptop and Netbook 2 02-25-2007 02:57 PM


All times are GMT -5. The time now is 05:10 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration