Intel 3945ABG - problems on 2.6.30.X
From: dienet
Date: Fri Jul 31 2009 - 11:17:29 EST
Hello
I got 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
[Golan] Network Connection (rev 02) in my T61.
I use this acpi script to switch it on and off:
#!/bin/bash
state=`cat /sys/bus/pci/drivers/iwl3945/0000:03:00.0/enable`
if [ "$state" == "1" ]; then
logger "Wifi off"
if [ -x /etc/rc.d/rc.inet1 ]; then
. /etc/rc.d/rc.inet1 stop
fi
echo disable > /proc/acpi/ibm/bluetooth
/usr/bin/osd.sh "Wifi: [Off]"
else
logger "Wifi on"
if [ -x /etc/rc.d/rc.inet1 ]; then
. /etc/rc.d/rc.inet1 start
fi
if [ -x /etc/rc.d/rc.inet1 ]; then
. /etc/rc.d/rc.inet1 eth0_stop
fi
echo disable > /proc/acpi/ibm/bluetooth
/usr/bin/osd.sh "Wifi: [On]"
fi
and it works quite nice on 2.6.29. Value in
/sys/bus/pci/drivers/iwl3945/0000:03:00.0/enable is changing.
I just want to try this out on some 2.6.30.X. But on 2.6.30.X it don't
works :/ How should I do it on 2.6.30.X?
I tried to do some echo 0 > enable but with no sucess.
There's one more thing. On 2.6.30.X LED from wifi indicator is not
blinking when there is wifi traffic.
On 2.6.29 this LED blinks until you do not do supsend-to-ram. After STR it
do not blinks.
If I need to post some parts of .config (from 2.6.30.X) or any other data,
just tell me, but I thinkg I configured it out good.
--
pozdr0
dienet
"Old C programmers never die. They're just cast into void."
----------------------------------------------------------------------
Wygraj zestaw kosmetykow!
Sprawdz >> http://link.interia.pl/f22ac
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/