Bonjour,

J'ai quelques soucis, pour utilsier mon oreillette bluetooth comme
seconde carte son d'alsa.

Voila en gros, ce que j'ai deja fait;

J'ai installé ces paquets là:

debian:/home/thierry# dpkg -l|grep "bluez"
ii  bluez-pin                       0.30-2.1
  Bluetooth PIN helper with D-BUS support
ii  bluez-utils                     2.25-1
  Bluetooth tools and daemons

J'a mis ceci dans ce fichier

debian:/home/thierry# cat /etc/bluetooth/pin
0000

J'ai ete téléchargé bluetooth-alsa de
http://bluetooth-alsa.sourceforge.net/ en suivant le tuto cad

J'ai compilé ce qu'il y avait dnas le rep courant + dans le sous
repertoire kernel.

J'ai loadé le module: modprobe snd_bt_sco

J'ai tapé aussi ce qu'il disait ici: hciconfig hci0 voice 0x0060

J'ai tapé hcitool scan, pour avoir l'adresse de mon oreilette ce qui a
marché:

debian:/home/thierry/Install/btsco-0.42/btsco-0.42# hcitool scan
Scanning ...
        xx:xx:xx:xx:xx:xx       Nokia BH-200


Voila le resultat d'un hciconfig -a:

debian:/home/thierry/Install/btsco-0.42/btsco-0.42# hciconfig -a
hci0:   Type: USB
        BD Address: yy:yy:yy:yy:yy:yy ACL MTU: 1017:8 SCO MTU: 64:0
        UP RUNNING PSCAN ISCAN
        RX bytes:375 acl:0 sco:0 events:17 errors:0
        TX bytes:319 acl:0 sco:0 commands:17 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: 'debian-0'
        Class: 0x3e0100
        Service Classes: Networking, Rendering, Capturing
        Device Class: Computer, Uncategorized
        HCI Ver: 2.0 (0x3) HCI Rev: 0x2073 LMP Ver: 2.0 (0x3) LMP
Subver: 0x4127
        Manufacturer: Broadcom Corporation (15)


J'ai testé avec xxms, en selectionnant mon headset en pérrph de sortie
et voila ce que j'ai du coté de btsco :-(

debian:/home/thierry/Install/btsco-0.42/btsco-0.42# btsco -v
00:15:A0:9F:16:6C
btsco v0.42
Device is 2:0
Voice setting: 0x0060
RFCOMM channel 2 connected
Using interface hci0
speaker volume: 12 mic volume: 11
i/o needed: connecting sco...
connected SCO channel
Done setting sco fd
recieved AT+VGS=12
Sending up speaker change 12
recieved AT+VGM=8
Sending up microphone change 8
recieved AT+VGS=11
Sending up speaker change 11
recieved AT+VGM=8
Sending up microphone change 8
recieved AT+VGS=12
Sending up speaker change 12
recieved AT+VGM=8
Sending up microphone change 8
recieved AT+VGS=11
Sending up speaker change 11
recieved AT+VGM=8
Sending up microphone change 8

J'ai ensuite essayé cette etape là:

"send and receive audio from the headset (usually using /dev/dsp1) or
via the alsa device with something like"

J'entends rien...

Du coté, de btsco:

/o needed: connecting sco...
connected SCO channel
Done setting sco fd
recieved AT+VGS=12
Sending up speaker change 12
recieved AT+VGM=8
Sending up microphone change 8
recieved AT+VGS=11
Sending up speaker change 11
recieved AT+VGM=8
Sending up microphone change 8
recieved AT+VGS=12
Sending up speaker change 12
recieved AT+VGM=8
Sending up microphone change 8
recieved AT+VGS=11
Sending up speaker change 11
recieved AT+VGM=8
Sending up microphone change 8
recieved AT+VGS=12
Sending up speaker change 12
recieved AT+VGM=8
Sending up microphone change 8
recieved AT+VGS=11


Apparement, il reagit quand même quand j'augmente ou diminue le
volume...mais rien qui sort de l'oreillette :-(

J'ai rajoutéé ceci dans le fichier /etc/modprobe.d/sound:

alias snd-card-0 snd-ens1371
alias snd-card-1 snd_usb_audio
alias snd-card-2 snd_bt_sco

options snd-ens1371 index=0
options snd_usb_audio index=1
options snd_bt_sco index=2

donc j'arrive bien à voir le périphérique dans kmix...

Voila encore qques infos:

ebian:/home/thierry/Install/btsco-0.42/btsco-0.42# hciconfig hci0 revision
hci0:   Type: USB
        BD Address: yy:yy:yy:yy:yy:yy ACL MTU: 1017:8 SCO MTU: 64:0
        Firmware 8307.65 / 39


debian:/home/thierry/Install/btsco-0.42/btsco-0.42# hcitool info
xx:xx:xx:xx:xx:xx
Requesting information ...
        BD Address:  xx:xx:xx:xx:xx:xx
        Device Name: Nokia BH-200
        LMP Version: 2.0 (0x3) LMP Subversion: 0x977
        Manufacturer: Cambridge Silicon Radio (10)
        Features: 0xff 0xfe 0x8f 0x78 0x18 0x18 0x00 0x00
                <3-slot packets> <5-slot packets> <encryption> <slot offset>
                <timing accuracy> <role switch> <hold mode> <sniff mode>
                <RSSI> <channel quality> <SCO link> <HV2 packets>
                <HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme>
                <power control> <transparent SCO> <broadcast encrypt>
                <enhanced iscan> <interlaced iscan> <interlaced pscan>
                <inquiry with RSSI> <AFH cap. slave> <AFH class. slave>
                <AFH cap. master> <AFH class. master>

J'ai bien aussi auth disable et encrypt disable dans
/etc/bluetooth/hci.conf.

Voila aussi autre chose:

debian:/home/thierry/Install/btsco-0.42/btsco-0.42# hcitool inq
Inquiring ...
        xx:xx:xx:xx:xx:xx       clock offset: 0x1d2f    class: 0x200404

Voila parès tout ca, je c vraiment pas quoi faire...lol.

Merci :-)
A+


-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Répondre à