[Bug 3938] Marvel 8385 libertas driver will not wake from suspend 2.6.24

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Fri Jun 6 16:45:30 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=3938





--- Comment #7 from Yan Seiner <yan at seiner.com>  2008-06-06 18:45:29 ---
(In reply to comment #6)
> A workaround of sorts - modify S90-wifi-off to remove the libertas modules:
> #!/bin/sh
> #Author: Rolf Leggewie
> #
> # turn off wifi cards before suspend so they are fully reloaded upon resume
> wifislot=`pccardctl ls|egrep '(hostap|orinoco|libertas)'|cut -f 2 -d " "`
> echo slot $wifislot
> if test $wifislot
> then
>   for slot in $wifislot; do
>     pccardctl eject $wifislot
>   done
>   rmmod libertas_cs
>   rmmod libertas
> fi
> This allows the system to resume with no delay.

Actually there has to be a compation resume script for the card to come up.

/etc/apm/resume.d/01-wifi-resume
#!/bin/sh
pccardctl resume 1

that will reload the modules and the system will come up.  So far I have not
had any problems with doing it this way even with flash cards.

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list