ALS300(+)
Hi, sorry for the slow response.
Quoted 8 lines
BTW, could you try the patch below whether the suspend/resume works? If your machine isn't a laptop, try the following:
# echo 3 > /sys/device/pci*/$YOUR-ALS300/power/state (it's a pseudo suspend on the given device)# echo 0 > /sys/device/pci*/$YOUR-ALS300/power/state (it's a pseudo resume on the given device)
Your pm patch, for me at least, seems to result in the same behaviour that Giuliano Pochini has described regarding the echo driver. The pm callbacks never seem to get called. Maybe i'm doing something wrong, i've never touched power management before. Reading the power/state file always gives a value of 0. I don't know if this is correct behaviour.
Anything i should do to make sure power management is all set up properly?
Ash Willis
Signature · 10 lines
___________________________________________________ Play 100s of games for FREE! http://games.mail.com/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
At Tue, 31 Jan 2006 12:08:44 -0500,
Quoted 9 lines · Ash Willis
Hi, sorry for the slow response.
Quoted 6 lines
BTW, could you try the patch below whether the suspend/resume works? If your machine isn't a laptop, try the following:
# echo 3 > /sys/device/pci*/$YOUR-ALS300/power/state (it's a pseudo suspend on the given device)
Quoted 7 lines
Quoted 2 lines
# echo 0 > /sys/device/pci*/$YOUR-ALS300/power/state (it's a pseudo resume on the given device)Your pm patch, for me at least, seems to result in the same behaviour that Giuliano Pochini has described regarding the echo driver. The pm callbacks never seem to get called. Maybe i'm doing something wrong, i've never touched power management before. Reading the power/state file always gives a value of 0. I don't know if this is correct behaviour.
Anything i should do to make sure power management is all set up properly?
It turned out that the right command sequence is
echo -n 3 > /sys/....
The sysfs interface doesn't accept the linefeed. Sigh.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642