Comment 9 for bug 781556

Revision history for this message
Geert (geert-x) wrote :

Did some further testing and finished my bash script to enable the bluetooth radio when required. (I removed the modifications I made to '/etc/init.d/bluetooth'). The script looks like this:

sudo bccmd psset -s 0x0000 0x028c 0x0001
sudo hciconfig hci0 up
sudo /etc/init.d/bluetooth restart
sleep 2

Remarks: on my PC (an HP Pavilion DM1 with Mint 11) the bccmd command doesn't work when combined with a warm reset (the -r argument)! The bluetooth restart is also required to get things working.

The script works flawlessly, after execution the gray bluetooth icon in the system tray immediately changes to black and you paired devices show up. (Also tested with Blueman Bluetooth Manager).