O/S : Linux
Distro : kubuntu
Title : Kubuntu 6.10 (Dapper) Fn-F5 Patch
root@pauillac:~ # cat /etc/acpi/ibm-wireless.sh
#!/bin/bash
# Find and enable/disable wireless devices
#state=`. /etc/acpi/wireless.sh`
state=`. /etc/acpi/ibm-radio.sh`
if [ "$state" = "0" ]; then
if [ -f /proc/acpi/ibm/bluetooth ]; then
echo disable >/proc/acpi/ibm/bluetooth;
fi
else
if [ -f /proc/acpi/ibm/bluetooth ]; then
echo enable >/proc/acpi/ibm/bluetooth;
fi
fi
root@pauillac:~ # cat /etc/acpi/ibm-radio.sh
#!/bin/bash
rf_kill=`echo /sys/bus/pci/drivers/ipw2200/*/rf_kill`
status=`cat $rf_kill`
if [ "$status" == "0" ]; then
/bin/echo 1 >$rf_kill
else
/bin/echo 0 >$rf_kill
fi
root@pauillac:~ #
Fn-F5 Patch
thanks for your hint, it helps.