--- laptop-mode-tools_1.45.orig/usr/share/laptop-mode-tools/modules/bluetooth 2008-12-31 01:20:27.000000000 +0200 +++ laptop-mode-tools_1.45/usr/share/laptop-mode-tools/modules/bluetooth 2008-12-31 01:20:16.000000000 +0100 @@ -12,6 +12,8 @@ if [ x$ENABLE_BLUETOOTH = x1 ] ; then $LM_VERBOSE && echo "Enabling bluetooth." >> $OUTPUT modprobe -q hci_usb + # rfkill path for Acer TravelMate 5320 + echo -n 1 > /sys/class/rfkill/rfkill1/state for INTF in $BLUETOOTH_INTERFACES ; do [ -d /sys/class/bluetooth/$INTF ] || continue hciconfig $INTF up 2>&1 >> $OUTPUT @@ -26,5 +28,7 @@ # temporarily in use; we try three times. We don't use rmmod # --wait, because that might hang! modprobe -rq hci_usb || (sleep 1 ; modprobe -rq hci_usb) || (sleep 1 ; modprobe -rq hci_usb) + # rfkill path for Acer TravelMate 5320 + echo -n 0 > /sys/class/rfkill/rfkill1/state fi fi