Friday, August 22, 2008

How To: Enable Your Toshiba's Bluetooth & Brightness Control

Thanks to Tim Anderson's blog I was able to get my Bluetooth and brightness controls working:

You see, the driver that enables your Bluetooth also enables your brightness control. This is done by creating a script file that turns it on at start-up.

Step 1: Change to the directory where we are going to have the script file.

cd /etc/init.d

Step 2: Creat the script file.

sudo nano tosh-bluetooth

Step 3: Paste this script.

#! /bin/bash

# script to start/stop Toshiba Bluetooth adapter
# requires toshset

case "$1" in
/usr/bin/toshset -bluetooth on
/usr/bin/toshset -bluetooth off
echo "Usage: /etc/init.d/tosh-bluetooth {start|stop}" >&2
exit 1


exit 0

Step 4: Save and exit Nano.

Type Ctrl-O to exit and Ctrl-X to exit.

Step 5: Make the script executable.

sudo chmod 755 tosh-bluetooth

Step 6: Add it to the startup scripts.

sudo update-rc.d tosh-bluetooth defaults

Step 7: Reboot.

Your Bluetooth should now be working as expected.

No comments: