Samsung 303 Chromebook, cannot suspend from lid close

This forum is for supported devices using an ARMv7 Samsung SoC.

Samsung 303 Chromebook, cannot suspend from lid close

Postby lagagnon » Sun May 25, 2014 4:30 am

I am able to successfully suspend using either "sudo pm-suspend" or "sudo systemctl suspend", however suspend does not work using the /etc/acpi/handler.sh script, using either method. I have the correct line added at the correct handler position. With pm-suspend I get a very brief suspend, then an immediate resume. Using systemctl in there does nothing. Any ideas greatly appreciated.
lagagnon
 
Posts: 7
Joined: Fri May 23, 2014 6:30 pm

Re: Samsung 303 Chromebook, cannot suspend from lid close

Postby ErwinJunge » Mon May 26, 2014 9:26 am

The relevant bit from my /etc/acpi/handler.sh is shown below. Works for me.

$this->bbcode_second_pass_code('', '
button/lid)
case "$3" in
close)
logger 'LID closed'
echo -n mem >/sys/power/state
;;
open)
logger 'LID opened'
;;
*)
logger "ACPI action undefined: $3"
;;
')
ErwinJunge
 
Posts: 2
Joined: Mon May 26, 2014 9:24 am

Re: Samsung 303 Chromebook, cannot suspend from lid close

Postby lagagnon » Mon May 26, 2014 7:11 pm

Thanks for your suggestion. I tried it but it made no difference - still no suspend on lid close. I'm still analyzing logs trying to figure out what the problem is.

Others on this forum have suggested that the trackpad keeps suspend from happening, but I have yet to be convinced. Will keep trying...
lagagnon
 
Posts: 7
Joined: Fri May 23, 2014 6:30 pm

Re: Samsung 303 Chromebook, cannot suspend from lid close

Postby qball » Tue Jun 03, 2014 9:12 pm

I had the same issue, synclient disabling the touchpad was not enough, what worked for me was to unbind the touchpad device form the i2c bus.

So my handler.sh now looks like:

echo "1-0067" > /sys/bus/i2c/drivers/cyapa/unbind
echo -n mem > /sys/power/state
echo "1-0067" > /sys/bus/i2c/drivers/cyapa/bind

(not sure if the 1-0067 is 'stable')
qball
 
Posts: 2
Joined: Sun Jan 19, 2014 10:48 am

Re: Samsung 303 Chromebook, cannot suspend from lid close

Postby 5ilver » Fri Jun 06, 2014 7:13 am

Try adding this to handler.sh:

echo "disabled" > /sys/devices/s3c2440-i2c.1/i2c-1/1-0067/power/wakeup
5ilver
 
Posts: 2
Joined: Fri Jun 06, 2014 7:00 am


Return to Samsung

Who is online

Users browsing this forum: No registered users and 13 guests

cron