Page 1 of 1

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

Posted: Mon Jun 16, 2008 3:53 am
by hotweiss
Thanks to Tim Anderson's blog I was able to get my Bluetooth and brightness controls working:

http://www.itwriting.com/blog/?p=333#comment-35858

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
start)
/usr/bin/toshset -bluetooth on
;;
stop)
/usr/bin/toshset -bluetooth off
;;
*)
echo "Usage: /etc/init.d/tosh-bluetooth {start|stop}" >&2
exit 1
;;

esac

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.

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

Posted: Wed Jun 18, 2008 6:14 am
by Husse
Interesting - is this for any Toshiba?

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

Posted: Sat Jul 26, 2008 12:02 am
by hotweiss
Husse wrote:Interesting - is this for any Toshiba?
Only for Toshiba's that actually have a Toshiba Bluetooth module (most Toshiba's); not all Toshiba's have Toshiba Bluetooth modules oddly enough.

Enabling the Bluetooth enables the toshset ACPI module which also gives you access to the brightness keys.