logo       

Re: hx4700 wifi suspend problem: msg#00676

Subject: Re: hx4700 wifi suspend problem
Michael,
 
Thank you for the help. I tried it but it didn't work after turn it back on. I guess I will just do rmmod acx and modprobe acx for now.


Michael Heyse <mhk-xmAEBB45+NWwRo9QJ0r42bNAH6kLmebB@xxxxxxxxxxxxxxxx> wrote:
Sid Liu schrieb:
>
> Once I turn off hx4700 (Familiar 0.8.4), wifi stops working when I turn
> it back on. Is this still a problem? If yes, did you figure out a way to
> work around this? I use ifup and ifdown, but it didn't seem to work.

Reloading the acx module after resume helps. Not nice, but it works fine for me. I attached my
modified /etc/apm/suspend.d/05ifupdown.

Cheers,
Michael



#!/bin/sh
# Unloads/loads all interface that are up at time of suspend

if [ "$1" = suspend ]; then
rm -f /var/run/ifstate-suspend
rm -f /var/run/ifstate-old
cp /var/run/ifstate /var/run/ifstate-old
cat /var/run/ifstate-old | (
IFS="="
while read IFACE LOGICAL; do
ifdown $IFACE
echo "$IFACE=$LOGICAL" >>/var/run/ifstate-suspend
done
rm -f /var/run/ifstate-old
)
elif [ "$1" = resume ] && [ "$2" != standby ] && [ -f /var/run/ifstate-suspend ]; then
rmmod acx
modprobe acx
cat /var/run/ifstate-suspend | (
while read LINE; do
ifup $LINE
done
)
rm -f /var/run/ifstate-suspend
fi

: exit 0


_______________________________________________
Hx4700-port mailing list
Hx4700-port-CN5wO63fgwogsBAKwltoeQ@xxxxxxxxxxxxxxxx
https://www.handhelds.org/mailman/listinfo/hx4700-port
<Prev in Thread] Current Thread [Next in Thread>