[Debian-eeepc-devel] suggestions for eeepc-acpi-scripts

Niccolo Rigacci niccolo at rigacci.org
Sun Jun 8 16:35:16 UTC 2008


On Sun, Jun 08, 2008 at 12:55:55PM +0200, jcsid wrote:
> There is still a problem with fn+f2: the first time I want to enable it, 
> it doesn't (the wifi light stays on a second and goes off) and I must 
> re-do fn+f2 and then it works.

This is because the ath0 interface does not get-up quickly after 
loading the module, so ifconfig fails. I added a sleep in 
/etc/acpi/actions/wireless.sh:

...
modprobe ath_pci
sleep 1
if ! ifconfig ath0 up; then exec $0 off; fi
...

Do we need to file a bug?

-- 
Niccolo Rigacci
Firenze - Italy



More information about the Debian-eeepc-devel mailing list