第一 了解蓝牙
蓝牙是爱立信的提出的一个近距离的无线通讯协议,由于没有INTEL的支持,他的发展一直都不是很快,在蓝牙不多的应用中,用得最多就是无线的 HEADSET.其他应用更有MOUSE,CAMERA. 蓝牙耳机主要有两种PROFILE,一般用的都是Headset profile他是单声道的音频,质量只能用于做打电话。新的Advance Audio Distribution Profile 支持立体声,用来听音乐没有问题(发烧友除外)
bluetooth 的LINUX的STACK主要有两个 Affix 和 BlueZ,我使用的是后一种。
参考1 http://www.tuxmobil.org/bluetooth_linux.html
第二 环境
thinkpad X31
debian sarge,
linux kernel 2.6.11
USB Bluetooth 1.1 adaptor (不记得是哪个公司的东东了)
plantronic M3000 BT Headset
第三 kernel setting
我喜欢用比较新的KERNEL,因为低版本的经常需要打很多PATCH,很不方便。但是假如您很经常的自做debian的包,还是用sarge带的kernel.
in Kernel 2.6
Device Driver ->Networking Support ->(M) Bluetooth Sub system Support


我用的是USB的adaptor所以我没有选PC卡,假如您是用的PC卡,应该把他们选上。
第四 下载DEBIAN的BLUETOOTH的包
您能够用apt-cache search bluetooth看一下SARGE下的和蓝牙有关的包。
我安装了
ii bluez-cups 2.15-1 Bluetooth printer driver for CUPS
ii bluez-hcidump 1.17-1 Analyses Bluetooth HCI packets
ii bluez-pcmcia-s 2.15-1 PCMCIA support files for BlueZ 2.0 Bluetooth
ii bluez-pin 0.25-1 Bluetooth PIN helper with D-BUS support
ii bluez-utils 2.15-1 Bluetooth tools and daemons
ii libbluetooth1 2.15-2 Library to use the BlueZ Linux Bluetooth sta
ii libbluetooth1- 2.15-2 Development files for using the BlueZ Linux
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!



