|
|
第4行: |
第4行: |
| = 蓝牙音频概况 = | | = 蓝牙音频概况 = |
| 使用蓝牙时有两种不同的音频配置方案,使用哪一个取决于你将如何使用你的耳机以及你如何计划使用它。 "sco" 音频配置是一个低品质、低延时的连接方案。音质近似于无线电话。糟糕的音质在听音乐的时候显得尤为明显。"a2d" 音频配置是一个高品质的压缩连接,并且提供出色的音频品质。截止到2007年7月13日a2d音频驱动无法通过apt获取,而是需要手动编译安装。这是首选的蓝牙音频配置方案。 | | 使用蓝牙时有两种不同的音频配置方案,使用哪一个取决于你将如何使用你的耳机以及你如何计划使用它。 "sco" 音频配置是一个低品质、低延时的连接方案。音质近似于无线电话。糟糕的音质在听音乐的时候显得尤为明显。"a2d" 音频配置是一个高品质的压缩连接,并且提供出色的音频品质。截止到2007年7月13日a2d音频驱动无法通过apt获取,而是需要手动编译安装。这是首选的蓝牙音频配置方案。 |
− | === 安装低品质"sco" 音频驱动程序 ===
| |
− | 注意:原作者已经停止维护此软件
| |
− | ===== 载入前提: =====
| |
− | <pre><nowiki>
| |
− | sudo apt-get install bluez-btsco
| |
− | sudo modprobe snd-bt-sco
| |
− | </nowiki></pre>
| |
− | 注意:如果你喜欢让这个模块在启动时被自动加载,运行'gksu gedit /etc/modules' 并加入一行:'snd-bt-sco'。
| |
− | ===== Determine the BT Address of the headset. =====
| |
− |
| |
− | # Put the device into "Pairing" mode. This procedure varies by headset, but usually involves holding down the power button for 10-15 seconds.
| |
− | # Open a terminal and run 'hcitool scan'
| |
− |
| |
− | ""Note: I am using my address '00:07:a4:b8:f9:77' for this example."" ""Please substitute your address from the hcitool scan output for the remaining steps.""
| |
− |
| |
− | # Look for output like this.
| |
− |
| |
− | ellie@ellie-laptop:~$ hcitool scan Scanning ... 00:07:A4:B8:F0:77 Motorola HT820 ellie@ellie-laptop:~$
| |
− |
| |
− | # Edit /etc/bluetooth/hcid.conf (gksu gedit /etc/bluetooth/hcid.conf ) and add a section like this
| |
− |
| |
− | device 00:07:A4:B8:F9:77 { name "Motorola HT820" auth enable; encrypt enable; }
| |
− |
| |
− | # Restart Bluetooth services (sudo /etc/init.d/bluetooth restart)
| |
− |
| |
− | ===== Starting the "sco" driver for the first time. =====
| |
− |
| |
− | # Place the Headset into "pairing" mode as above.
| |
− | # Open a terminal and run 'btsco -v 00:07:a4:b8:f9:77'
| |
− | # This should cause the gnome bluetooth manager to ask you for a pin number to pair. This is usually 0000 or 1234
| |
− |
| |
− | ===== Testing the "sco" driver. =====
| |
− |
| |
− | aplay -B 1000000 -D plughw:Headset /usr/share/sounds/login.wav You should hear the Ubuntu Login sound.
| |
− |
| |
− | ===== Configuring btsco to run automatically at each boot. =====
| |
− |
| |
− | # Open System -> Preferences -> Sessions and select "startup Programs"
| |
− | # Click New.
| |
− | # Enter "BT Sco Headset audio" for the Name.
| |
− | # Enter '/usr/bin/btsco -r -f 00:07:a4:b8:f9:77'
| |
− | # Click Ok and Apply
| |
− |
| |
− | ===== Setting the headset as your default alsa audio device. =====
| |
− |
| |
− | asoundconf set-default-card Headset This will create the appropriate entries in your .asoundrc file. This setting is per-user.
| |
− |
| |
− | === Installing High quality "a2d" audio drivers ===
| |
− |
| |
− | See [[http://bluetooth-alsa.sf.net/build.html new build docs]] for information on these drivers. There is a bluetooth-alsa package in the testing Debian apt repository, perhaps we can port it for gutsy?
| |
− |
| |
− | === Troubleshooting ===
| |
− |
| |
− | The [[UbuntuHelp:BluetoothSkype|BluetoothSkype]]; page has additional information for configuring the new driver. See [[http://bluetooth-alsa.sf.net/contact.html Contact/troubleshooting]] for troubleshooting information.
| |
− |
| |
− | ----
| |
− |
| |
− | [[Category:CategoryBluetooth]] [[Category:CategoryAudio]] [[Category:UbuntuHelp]]
| |
使用蓝牙时有两种不同的音频配置方案,使用哪一个取决于你将如何使用你的耳机以及你如何计划使用它。 "sco" 音频配置是一个低品质、低延时的连接方案。音质近似于无线电话。糟糕的音质在听音乐的时候显得尤为明显。"a2d" 音频配置是一个高品质的压缩连接,并且提供出色的音频品质。截止到2007年7月13日a2d音频驱动无法通过apt获取,而是需要手动编译安装。这是首选的蓝牙音频配置方案。