LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   resume power keyboard problem (https://www.linuxquestions.org/questions/slackware-14/resume-power-keyboard-problem-765221/)

yakoub 10-29-2009 01:56 AM

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 ?

gegechris99 10-29-2009 04:59 AM

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.

rworkman 10-29-2009 08:32 AM

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.

yakoub 10-31-2009 01:39 AM

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 .

rworkman 10-31-2009 03:12 AM

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.


All times are GMT -5. The time now is 07:29 AM.