Difference between revisions of "Bluetooth Daughter Card (14 pins)"

From ThinkWiki
Jump to: navigation, search
(wireless killswitch info, Fn + F5 scripts)
(Redirected page to Bluetooth Daughter Card slot)
 
(66 intermediate revisions by 14 users not shown)
Line 1: Line 1:
__NOTOC__
+
#REDIRECT [[Bluetooth Daughter Card slot]]
{| width="100%"
 
|style="vertical-align:top" |[[Image:Logo_bluetooth.jpg|Bluetooth Logo]]
 
|style="vertical-align:top" |
 
<div style="margin:0px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;">
 
=== ThinkPad Bluetooth with Enhanced Data Rate (BDC-2) ===
 
This is a USB Bluetooth Adapter that is installed in a [[CDC slot]] in the screen assembly.
 
=== Features ===
 
* Chipset: Broadcom
 
* Model: BCM2045B
 
* USB VID/PID: 0A5C:2110
 
</div>
 
|}
 
 
 
=== IBM Partnumbers ===
 
IBM FRU PN: 39T0497
 
 
 
=== Linux Driver ===
 
 
 
The Bluetooth adapter uses the '''hci_usb''' driver {{kernelconf|CONFIG_BT_HCIUSB||||||}}.
 
 
 
One can enable Bluetooth by pressing {{key|Fn}}{{key|F5}}.  If this doesn't work, you can load the [[ibm-acpi|ibm_acpi]] or [[ibm-acpi|thinkpad_acpi]] kernel module and run the following command with root privileges:
 
 
 
{{cmdroot|echo "enable" > /proc/acpi/ibm/bluetooth}}
 
 
 
When Bluetooth is enabled, the Bluetooth-logo LED will light up and executing {{cmdroot|lsusb}} will show an entry mentioning "Broadcom".
 
 
 
On recent ThinkPads the Wireless killswitch disables both WiFi and Bluetooth (verified on a ThinkPad Z60m, Z61t, T60, T61 and X61).
 
 
 
=== Set Fn + F5 as hotkey to enable/disable Bluetooth ===
 
If the {{key|Fn}}{{key|F5}} combo doesn't work for you out-of-box, you can easily use Linux ACPI subsystem to enable and disable Bluetooh. You only need to create two small files (shown below). Note that you need to have <code>acpid</code> and <code>thinkpad_acpi</code> installed and properly working. The following scripts were tested on openSUSE 10.3.
 
==== ACPI action script ====
 
<pre># cat /etc/acpi/actions/bluetooth
 
#!/bin/bash
 
# Bluetooth enable/disable script
 
 
 
/etc/init.d/bluetooth status | grep -q running
 
 
 
if [ "$?" -ne 0 ]; then
 
        /etc/init.d/bluetooth start > /dev/null
 
        echo enabled > /proc/acpi/ibm/bluetooth
 
        echo "Bluetooth enabled"
 
else
 
        /etc/init.d/bluetooth stop > /dev/null
 
        echo disabled > /proc/acpi/ibm/bluetooth
 
        echo "Bluetooth disabled"
 
fi</pre>
 
This script, when executed, detects the current state of Bluetooth subsystem and changes it to the opposite state.
 
==== ACPI event handler ====
 
<pre># cat /etc/acpi/events/bluetooth
 
event=ibm/hotkey HKEY 00000080 00001005
 
action=/etc/acpi/actions/bluetooth</pre>
 
<code>acpid</code>, once detects Fn + F5 keypress, runs the given script which disables or enables Bluetooth (and changes state of indication LED).
 
 
 
=== See Also ===
 
* [[How_to_setup_Bluetooth|How to Setup Bluetooth]]
 
 
 
=== ThinkPads Using This Device ===
 
* {{Z60m}}, {{Z60t}}, {{Z61t}}
 
* {{R60}}, {{R61}}
 
* {{T60}}, {{T60p}}, {{T61}}, {{T61p}}
 
 
 
=== External Sources ===
 
*[http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-51427 IBM's page about configuring Bluetooth under Linux]
 
*[http://www.broadcom.com/products/Bluetooth/Bluetooth-RF-Silicon-and-Software-Solutions/BCM2045 Broadcom BCM2045 Product]
 
*[http://blogs.ebay.com.hk/lingqi-tech/archive/2007/12 Compare CDC slot types and CDC Bluetooth Cards for various ThinkPad Models]
 
 
 
 
 
[[Category:Components]]
 

Latest revision as of 17:09, 14 February 2020