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

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
hotweiss
Level 4
Level 4
Posts: 204
Joined: Mon Jan 21, 2008 3:12 am
Location: Warsaw, Poland
Contact:

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

Postby hotweiss » Mon Jun 16, 2008 3:53 am

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.

Husse
Level 23
Level 23
Posts: 19590
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

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

Postby Husse » Wed Jun 18, 2008 6:14 am

Interesting - is this for any Toshiba?
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

hotweiss
Level 4
Level 4
Posts: 204
Joined: Mon Jan 21, 2008 3:12 am
Location: Warsaw, Poland
Contact:

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

Postby hotweiss » Sat Jul 26, 2008 12:02 am

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.


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 4 guests