LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-29-2009, 01:56 AM   #1
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Rep: Reputation: 15
resume power keyboard problem


after i suspend to ram and then resume power , the keyboard is not responding .
every time i need to plug-out and plug-in the usb cord so that keyboard becomes available
i know that there is a script that runs every time suspend /. resume happens but what do i write in that script to make my keyboard reloaded ?
 
Old 10-29-2009, 04:59 AM   #2
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,159
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Does your user belong to group "power"? It's needed as stated in CHANGES_AND_HINTS.TXT:

Quote:
HAL is not new anymore, but here are a few notes related to it:
1. User accounts with permission to mount removable devices must be in at
least the "plugdev" group.
2. User accounts with permission to do power-management tasks, such as
suspend, hibernate, reboot, and shutdown, via HAL methods should be in
the "power" group.
To add a user to group "power", do:

Code:
gpasswd -a username power
with username being your user.
 
Old 10-29-2009, 08:32 AM   #3
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Is the keyboard "missing" when you do the suspend and resume operation from a console (runlevel 3)? Log in as root at a console and run "pm-suspend" and then see if the keyboard works in the console after resume.
 
Old 10-31-2009, 01:39 AM   #4
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Original Poster
Rep: Reputation: 15
check one

user belongs to the required groups still keyboard not working when resuming , it become available only after replugging it
mouse does work , so maybe it is Xorg configuration issue , since Xorg recognized my logitech G5 mouse but doesn't know much about my Teac Keyboard

init 3 also didn't work since not only the keyboard seems missing but also the frame buffer went off and screen stayed dark .

Last edited by yakoub; 10-31-2009 at 01:42 AM.
 
Old 10-31-2009, 03:12 AM   #5
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
I'm leaning toward this being a kernel issue. Part of it (the display issues) *might* be something that can be worked around with some suspend quirks in pm-utils, but I suspect that most (or all) of it will be a bug in the power management section of the kernel. Consider trying a newer kernel and see if that helps; if not, file a bug at kernel.org and post a link to it here so that I can subscribe to it and follow along.
 
  


Reply



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
resume: could not stat the resume device file Zaskar Debian 17 03-29-2012 10:10 PM
how to detect system power event(user trigger),suspend,hibernate,resume...? minge.zu Linux - Desktop 1 02-11-2009 08:19 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:41 AM.

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