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

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

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

Postby hotweiss on 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.
hotweiss
Level 4
Level 4
 
Posts: 204
Joined: Mon Jan 21, 2008 3:12 am
Location: Warsaw, Poland

Linux Mint is funded by ads and donations.
 

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

Postby Husse on 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
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

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

Postby hotweiss on 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.
hotweiss
Level 4
Level 4
 
Posts: 204
Joined: Mon Jan 21, 2008 3:12 am
Location: Warsaw, Poland


Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 10 guests