LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-09-2010, 02:41 PM   #1
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Alleged Bluetooth failure on ThinkPad T60 with Windows XP


Some time ago I was able to connect my mobile phone to my laptop using Bluetooth interface. Now it stopped to work.

Formerly lsusb command displayed Bluetooth device:

Code:
Bus 005 Device 002: ID 50ca:1201 Broadcom Corp. Bluetooth Controller
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
At present it displays nothing:

Code:
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Does it mean the Bluetooth device in my laptop is damaged? Can I perform some other tests to make sure it doesn't work?

I use Slackware 13.0 on ThinkPad T60.

Last edited by w1k0; 03-10-2010 at 07:55 AM.
 
Old 03-09-2010, 04:25 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
It is kind of strange that the internal Bluetooth device would just stop appearing like that. Are you sure there isn't a physical switch on the laptop that turns it off? Or perhaps a BIOS setting?
 
Old 03-09-2010, 06:07 PM   #3
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Original Poster
Rep: Reputation: 234Reputation: 234Reputation: 234
In fact ThinkPad T60 has both these switches. In BIOS there is Internal Bluetooth Device switch in Network section and on the keyboard there is function key Fn+F5 to toggle WiFi and Bluetooth devices.

On my machine BIOS option for Bluetooth was enabled and Fn+F5 key didn't work in Linux. I didn't configure it because Bluetooth worked out of the box.

A few weeks ago I installed on my machine Windows XP. I needed it for testing purposes. Now I inspected it and I stated Windows switches Bluetooth off on exit. I tried to find that switch but I failed.

So I returned to Linux and I prepared two files.

In /etc/acpi/actions/ directory I put bluetooth.sh script:

Code:
#!/bin/sh

if [ "`head -n 1 /proc/acpi/ibm/bluetooth | cut -f 3`" == "disabled" ]
then
    echo enable > /proc/acpi/ibm/bluetooth
else
    echo disable > /proc/acpi/ibm/bluetooth
fi

/etc/rc.d/rc.bluetooth restart
In /etc/acpi/events/ directory I put bluetooth file:

Code:
event=ibm/hotkey HKEY 00000080 00001005
action=/etc/acpi/actions/bluetooth.sh
After /etc/rc.d/rc.acpid restart command I can now switch on and off Bluetooth device.

Thank you MS3FGX for your tips. It moved me in the correct direction.
 
Old 03-09-2010, 08:53 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Good to see it worked out. Thanks for posting the scripts too, I am sure someone will find them useful.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bluetooth not working on FC6 with Targus USB bluetooth adapter mikevicious Linux - Software 1 12-11-2009 09:03 AM
Power Supply failure or Motherboard failure? neilthereildeil Linux - Hardware 3 06-09-2008 04:47 PM
is this a disk failure msg - hdc: request senense failure walterj Linux - Hardware 3 03-25-2008 11:01 PM
Telnet : Temporary failure in name resolution : Host name lookup failure koodoo Linux - Newbie 10 02-11-2008 07:59 PM
PostScript failure result in printing failure cawwt Linux - General 2 10-01-2004 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration