[ltp] Re: Bluetooth in Linx

Bjørn Mork linux-thinkpad@linux-thinkpad.org
Tue, 05 Apr 2011 10:45:15 +0200


Sandro <redsandro@gmail.com> writes:

> According to the specs, the ThinkPad Edge 15 NVLGPMH has bluetooth suppor=
t.
> But my Ubuntu bluetooth application sais there are no bluetooth devices
> detected.

Do you see the device using lsusb in a shell? Mine looks like this, and
as you can see, spotting the Bluetooth device is pretty simple:

bjorn@nemi:~$ lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 0a5c:2145 Broadcom Corp. Bluetooth with Enhanced Data Rate II
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 009: ID 0fce:3138 Sony Ericsson Mobile Communications AB 
Bus 003 Device 008: ID 0bdb:1900 Ericsson Business Mobile Networks BV F3507g Mobile Broadband Module
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 17ef:4807 Lenovo UVC Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



If the device shows up then the next problem is driver.  Can't help you
with that.  I thought these things just worked :-)

But if it doesn't show up on the USB bus then there's hope.  That means
that the device is powered off by the system.  Make sure any hardware
radio switch is on (or off, depending on how you view it - better toggle
it and see if it makes any difference if you can't figure out which is
which).  Then look for any BIOS option disabling it.  

Then look for any platform driver disabling it:

bjorn@nemi:~$ grep '' /sys/class/rfkill/rfkill*/{name,state}
/sys/class/rfkill/rfkill0/name:tpacpi_bluetooth_sw
/sys/class/rfkill/rfkill1/name:tpacpi_wwan_sw
/sys/class/rfkill/rfkill2/name:phy0
/sys/class/rfkill/rfkill4/name:hci0
/sys/class/rfkill/rfkill0/state:1
/sys/class/rfkill/rfkill1/state:1
/sys/class/rfkill/rfkill2/state:1
/sys/class/rfkill/rfkill4/state:1


You can toggle the state of any of these using 
 echo 0 > /sys/class/rfkill/rfkill4/state
or
 echo 1 > /sys/class/rfkill/rfkill4/state

> I've read similar issues from Windows-based users and they get the advice=
 to
> try the WLAN antenna icon (F9 or Fn+F9), but in Ubuntu that does nothing.

The Fn+x button will have to be set up to use the rfkill interface.
This is the part which IMHO is least likely to work of of the box.


Bjørn