LinuxQuestions.org
Visit Jeremy's Blog.
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 01-29-2013, 08:50 AM   #1
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 588

Rep: Reputation: 45
keyboard sends Power Down signal


Hi gurus,

I have a HP elite 8200 desktop in dual seat setup (i5 processor, 8G ram, 2x Radeon HD6450 graphics using 'radeon' driver). It runs ubuntu 12.04 64bit and uses udev for selecting input devices for each seat. It mostly works fine, although occasionally X crashes and refuses to start during boot (another restart usually helps).

However, occasionally (about once a month) when keyboard of the seat 1 is under active use, the computer shuts down. The only somewhat relevant stuff from the logs was in X log for seat 1 (Xorg.1.log.old):

Code:
...
[1727096.965] (II) XKB: reuse xkmfile /var/lib/xkb/server-9D162EA1B376467B416CA78A93335F1F745AD174.xkm
[1728305.102] (II) XKB: reuse xkmfile /var/lib/xkb/server-3E90985BC446F3A94AC39BAC9D64837FE8F3A877.xkm
[1732168.896] (II) evdev: Power Button: Close
[1732168.896] (II) UnloadModule: "evdev"
[1732168.896] (II) Unloading evdev
[1732168.936] (II) evdev: Power Button: Close
[1732168.936] (II) UnloadModule: "evdev"
[1732168.936] (II) Unloading evdev
[1732168.980] (II) evdev: UVC Camera (046d:09a1): Close
[1732168.980] (II) UnloadModule: "evdev"
[1732168.980] (II) Unloading evdev
[1732169.012] (II) evdev: CHICONY HP Basic USB Keyboard: Close
[1732169.012] (II) UnloadModule: "evdev"
[1732169.012] (II) Unloading evdev
[1732169.064] (II) evdev: Logitech USB-PS/2 Optical Mouse: Close
[1732169.064] (II) UnloadModule: "evdev"
[1732169.064] (II) Unloading evdev
[1732169.128] (II) evdev: HP WMI hotkeys: Close
[1732169.128] (II) UnloadModule: "evdev"
[1732169.128] (II) Unloading evdev
[1732169.128]  ddxSigGiveUp: Closing log
[1732169.128] Server terminated successfully (0). Closing log file.
(the two first lines are probably not related).

Any ideas? Myself, I suspect it is some kind of misunderstanding between BIOS and the graphics cards, which occasionally overspills in this way. However, perhaps it can also be a faulty keyboard?

Is it possible to disable shutdown through "evdev" driver?
 
Old 01-29-2013, 04:05 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,368

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
Did somebody type 'Ctrl - Alt - Backspace', maybe? That's the hotkey to shut down X.
 
Old 01-29-2013, 07:29 PM   #3
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 588

Original Poster
Rep: Reputation: 45
Extremely unlikely. First, the users have mentioned only DEL, not any more complex combinations (but sometimes they do not conot confirm even that). Second, CTR-ALT-BS does not do anything under normal operation (neither does CTL-ALT-DEL). Third, computer will be shut down, not just X restarted.

The keyboard does not have any power down button. I guess it is possible to tweak the driver a bit?
 
Old 01-30-2013, 05:29 PM   #4
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 588

Original Poster
Rep: Reputation: 45
I have figured out that in all cases, the users can tell me, the crash has happened when pressing DEL key. By far the most cases, DEL works as expected.

Could it be SysRq spillover?
 
Old 05-15-2013, 06:35 AM   #5
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 588

Original Poster
Rep: Reputation: 45
So,
after a long testing period it seems the issue was as follows:
a) the keyboard was broken, occasionally sending ctrl-alt-del instead of del.
b) ctrl-alt-del was not disabled.
I replaced the keyboard, and disabled ctr-alt-del, and haven't experienced any problems ever since :-)

(I also updated the kernel).
 
  


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
More keyboard options for sending signal like SIGINT rjvencken Programming 1 10-21-2012 06:21 PM
[SOLVED] Handle keyboard button pressed signal MarcosPauloBR Programming 3 07-05-2011 10:04 AM
Porting application for windows mouse-click and keyboard sends to linux stevthomsen Linux - General 0 03-11-2008 03:07 PM
ACPI power off works with PS/2 keyboard but not with USB keyboard mrwaters Linux - Hardware 5 10-05-2006 05:06 PM
Is it possible to use Power key on the keyboard? foxy123 Linux - Newbie 1 12-21-2004 08:28 AM


All times are GMT -5. The time now is 05:28 AM.

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