View Single Post
Posts: 145 | Thanked: 32 times | Joined on Dec 2007
#87
I installed the updated diablo v4.2008.36-5 and can
confirm it does not fix the problem that wifi disconnection
can leave the wifi chip on and thus drain the battery.

Also, using iwconfig to set power saving back on DOES NOT
fix the drain (I think because the tablet is actively seeking
to reconnect or something ...).

I've tried to build a monitor for this:
Code:
#!/bin/bash
x=`/usr/bin/iwconfig wlan0 | /usr/bin/awk 'NR==5{print $2}'`
if [[ $x = "Management:off" ]]; then
sudo /sbin/rmmod cx3110x
sleep 30
sudo /sbin/insmod /mnt/initfs/lib/modules/2.6.21-omap1/cx3110x.ko
sleep 20
sudo /etc/init.d/wlancond restart
fi
I use cron to run this script every 10 minutes. Just restarting
wlancond doesn't (always) fix the problem, but removing
the module and waiting and then restarting wlancond does
seem to work reliably (though I have not tested it
extensively).

Anyone know a better way to reset networking from the
command line?
 

The Following User Says Thank You to albright For This Useful Post: