#1 Le 21/06/2007, à 15:24
- frafa
[Resolu] - Oreillette Bluetooth Motorola H500, HELP
Materiel utilisé:
Ubuntu feisty
D-Link DBT-122 - Adaptateur USB Bluetooth
Oreillette Bluetooth Motorola H500
commandes passées:
sudo rmmod snd_bt_sco
sudo modprobe snd_bt_sco
sudo hciconfig hci0 voice 0x0060
sudo /etc/init.d/bluetooth restart
btsco -v -i hci0 00:19:1F:1F:11:B7
aplay -D plughw:2,0 "/usr/share/sounds/startup.wav"
mplayer -ao alsa:device=hw=2.0 "/usr/share/sounds/startup.wav"
Problemes:
tout a l'air de marcher, quand j'enclenche un fichier audio mon oreilette se met à souffler
mais ne sort aucuns sons, juste du vent arf snifffffffffff
une idée pour corriger celà ??? ,moi je coince...
quelques test:
cat /proc/asound/cards
2 [Headset ]: Bluetooth SCO - BT Headset
BT Headset 1
hcitool scan
Scanning ...
00:19:1F:1F:11:B7 n/a
hcitool inq
Inquiring ...
00:19:1F:1F:11:B7 clock offset: 0x0c72 class: 0x200404
sudo hciconfig hci0 revision
hci0: Type: USB
BD Address: 00:19:5B:5C:1C:CE ACL MTU: 1017:8 SCO MTU: 64:0
Firmware 61.67 / 14
sudo hciconfig -a
hci0: Type: USB
BD Address: 00:19:5B:5C:1C:CE ACL MTU: 1017:8 SCO MTU: 64:0
UP RUNNING PSCAN
RX bytes:2418949 acl:209 sco:47230 events:329 errors:0
TX bytes:13899 acl:532 sco:0 commands:103 errors:0
Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'BlueZ at ubuntu-desktop (0)'
Class: 0x200404
Service Classes: Audio
Device Class: Audio/Video, Device conforms to the Headset profile
HCI Ver: 2.0 (0x3) HCI Rev: 0x403d LMP Ver: 2.0 (0x3) LMP Subver: 0x430e
Manufacturer: Broadcom Corporation (15)
btsco -v -i hci0 00:19:1F:1F:11:B7
btsco v0.42
Device is 2:0
Voice setting: 0x0060
RFCOMM channel 2 connected
Using interface hci0
recieved AT+CKPD=200
speaker volume: 15 mic volume: 15
i/o needed: connecting sco...
connected SCO channel
Done setting sco fd
speaker volume: 15 mic volume: 15
driver is not in use
disconnected SCO channel
speaker volume: 15 mic volume: 15
i/o needed: connecting sco...
connected SCO channel
Done setting sco fd
dmesg
[31815.969677] snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 2000
[31815.972333] snd-bt-sco: playback_trigger 1
[31815.972338] snd-bt-sco: setting playback to bspcm
Dernière modification par frafa (Le 24/06/2007, à 01:40)
Hors ligne
#2 Le 23/06/2007, à 15:30
- frafa
Re : [Resolu] - Oreillette Bluetooth Motorola H500, HELP
quand je monitore pendant le transfert d'un fichier audio via:
sudo hcidump -V -X -i hci0
tous se passe bien je ne voit pas d'erreurs
mais je n'entend que du souffle, qui s'arrete a la fin du fichier audio
bouhhhhhhh
HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 1 reason 0x16
Reason: Connection Terminated by Local Host
Hors ligne
#3 Le 23/06/2007, à 22:31
- frafa
Re : [Resolu] - Oreillette Bluetooth Motorola H500, HELP
bon voila j'ai trouvu pourquoi marchu pas je pense...
je devrait avoir a la fin de "sudo hciconfig hci0 revision"
SCO mapping: HCI
et j'ai pas, moi j'ai...
ubuntu@ubuntu-desktop:~$ sudo hciconfig hci0 revision
hci0: Type: USB
BD Address: 00:19:5B:5C:1C:CE ACL MTU: 1017:8 SCO MTU: 64:0
Firmware 61.67 / 14
ubuntu@ubuntu-desktop:~$
google info trouvaille:
If you execute: sudo hciconfig hci0 revision
and don't have this line in the output:
SCO mapping: HCI
then, it's almost certain it won't work.
reste à savoir pourquoi j'ai pas...
Dernière modification par frafa (Le 23/06/2007, à 22:59)
Hors ligne
#4 Le 24/06/2007, à 01:25
- frafa
Re : [Resolu] - Oreillette Bluetooth Motorola H500, HELP
Yepiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
ca marchuuuuuuuuuuuuu
j'ai trouvuuuuuuuuuuuuuuuuuuuu
solution:
echo "options hci_usb force_scofix=1" | sudo tee -a "/etc/modprobe.d/bluez"
Test audio ok avec mplayer, xmms, aplay, vlc,skype et surement d'autres...
Dernière modification par frafa (Le 24/06/2007, à 01:37)
Hors ligne