[Angstrom-devel] Suspend / Resume on Tosa work around
Junqian Gordon Xu
xjqian at gmail.com
Tue Nov 20 03:00:37 CET 2007
This work-around does not work for the 2.6.23 kernel. I did not test it
with 2.6.17 kernel.
Gordon
On 05/31/2007 08:25 AM, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> [yes, top posting is evil]
>
> Could the Tosa mentors take a look and commit this if it works?
>
> AsLan^ schreef:
>> Hello Tosa Users,
>>
>> Revisting the old workaround for Tosa suspend/resume, I came up with
>> the following...
>>
>> ------------------------------------------------------------------------
>> --------------------------------------------
>> /etc/apmd_proxy
>>
>> Line 61:
>>
>> Comment out "set -e"
>> ------------------------------------------------------------------------
>> --------------------------------------------
>>
>> Remove /etc/apm/suspend.d/wlan-ng
>>
>> ------------------------------------------------------------------------
>> --------------------------------------------
>>
>> Create two new scripts... wlan-suspend and wlan-resume, which should
>> contain...
>>
>> ------------------------------------------------------------------------
>> --------------------------------------------
>>
>> /etc/apm/suspend.d/wlan-suspend
>>
>> #!/bin/sh
>>
>> # Simple script to suspend wireless lan after suspend on Sharp Zaurus
>> SL-6000
>>
>> ifdown wlan0
>>
>> rmmod ohci_hcd
>>
>> ------------------------------------------------------------------------
>> --------------------------------------------
>>
>> /etc/apm/resume.d/wlan-resume
>>
>> #!/bin/sh
>>
>> # Simple script to resume wireless lan after suspend on Sharp Zaurus
>> SL-6000
>>
>> modprobe ohci_hcd
>>
>> ifup wlan0
>>
>> ------------------------------------------------------------------------
>> --------------------------------------------
>>
>> This has been working for me using the angstrom-x11-image.
>>
>> Sincerely,
>>
>> Fredrick Pennachi
More information about the Angstrom-distro-devel
mailing list