热门关键字:  ubuntu  分区  Fedora  linux系统进程  函数

Linux操作系统上蓝牙耳机的配置方法介绍

来源: 作者: 时间:2007-08-16 Tag: 点击:

  第六 安装蓝牙耳机的音频程序

  前提:你的linux应该使用的是ALSA的音频系统。

  http://cgi.sfu.ca/~jdbates/debian/pool/bluetooth-alsa/

  deb包  deb http://cgi.sfu.ca/~jdbates/debian/ . .

  bluetooth-alsa_200503090-1_i386.deb   2005年5月19日

  这个包会装安装btsco的应用程序。

  现在我们还需要一个驱动程序。snd-bt-sco

  1.到bluetooth-alsa项目的主页去下载源程序 或从CVS中下最新的代码。

  http://bluetooth-alsa.sourceforge.net/

  从CVS中可以得到最新的程序

  cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/bluetooth-alsa login

  cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/bluetooth-alsa co btsco

  编译前需要的包

  

automake-1.7
  libbluetooth-dev (aka libbluetooth-devel or bluetooth-devel)
  libasound2-dev (aka alsa-devel)

  2.Compile:

       

 ./bootstrap
        ./configure
        make
        make install
        make maintainer-clean

  3. snd-bt-bco需要一个snd_hwdep_new的内核模块。 你可以通过在编辑内核时选上 emu10k1强行编译上面的内核模块。

  

device drivers ——> sound ——>Advance Linux sound Architecture——>PCI devices
  ——>(M)Em10k1
  make
  make modules_install

  4.编译snd-bt-sco

  到btsco/kernel目录下面

  cd kernel

  make

  make install

  depmod -e

  make clean

  默认的状态下会安装在/lib/modules/2.6.X/extra/目录下面。

  第七 使用蓝牙耳机

  1.modprobe snd_bt_sco

  2.hciconfig hci0 voice 0x0060

  3.btsco bdaddress

  这里需要填的是蓝牙的MAC地址

  这可以通过让你的蓝牙耳机处在查询状态。然后用hcitool scans就可以找到你的耳机,同时看到它的MAC地址。

  #hcitool scan

  Scanning ……

上一篇:没有了
下一篇:Linux操作系统下特效照片也精彩


相关文章:
totem-xine 缺少解码器问题(感谢阿朱少年侠客)
audacious支持ape和cue了
在Linux下面玩neogeo游戏
Linux下面玩街机
在Linux下面玩PS1游戏
H.264与MPEG4区别
mplayer两个问题
Amarok中文乱码问题的解决
让Amarok支持RealyPlayer的所有媒体格式
在Linux上面装上了MPlayer
linux 视频聊天
二个Linux系统常青树游戏
想在Linux下玩游戏可以玩Extreme Tux Racer
Songbird集播放器与浏览器于一身发布0.4版
Linux 2D 游戏收集
用XMAME模拟器在Linux上玩游戏
如何把spca5xx驱动安装到Redhat9上
Linux下使用摄像头
mplayer解码
Linux中安装Alsa声卡驱动的一些经验心得
关于MPlayer安装过程中的问题及解决方法
Linux声音系统和PulseAudio简介
在Linux操作系统下将CD转录为WAV的方法
Linux系统下简洁而朴实的Mesk音乐播放器
Linux操作系统下的几个小游戏模拟器
Linux操作系统中的Flash录制工具Vnc2swf
Ubuntu上的三个赛车游戏(组图)
全方位接触 Linux的声音系统
Mplayer完美安装手册
解决ubuntu 7.04(10)识别了声卡 喇叭显示正常 没