2007-01-09 17:56:34

by Quinton Yuan

[permalink] [raw]
Subject: Re: [Bluez-devel] RE :2 plugz issues

Here is the dongle information, forgive me :-)
# hciconfig -a hci0
hci0: Type: USB
BD Address: 00:08:1B:E0:2E:E2 ACL MTU: 384:8 SCO MTU: 64:8
UP RUNNING PSCAN =

RX bytes:24221 acl:157 sco:0 events:2661 errors:0
TX bytes:686213 acl:2572 sco:0 commands:67 errors:0
Features: 0xff 0xff 0x8f 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: 'localhost.localdomain-0'
Class: 0x120104
Service Classes: Networking, Object Transfer
Device Class: Computer, Desktop workstation
HCI Ver: 2.0 (0x3) HCI Rev: 0x7a6 LMP Ver: 2.0 (0x3) LMP Subver: 0x=
7a6
Manufacturer: Cambridge Silicon Radio (10)

It's a CSR BC04 ROM based dongle

Regards/Quinton

-----Original Message-----
From: Quinton Yuan =

Sent: Tuesday, January 09, 2007 9:42 AM
To: Quinton Yuan; BlueZ development ([email protected])
Subject: RE: [Bluez-devel] RE :2 plugz issues

Hit wrong button on damn outlook, here is the attachment

-----Original Message-----
From: Quinton Yuan =

Sent: Tuesday, January 09, 2007 9:41 AM
To: BlueZ development ([email protected])
Subject: [Bluez-devel] RE :2 plugz issues

Frederic
Thanks for your reply, sounds still not right on headset side, below are .a=
2dprc file, attached is a2dpd log

Regards/Quinton

From: "Frederic Dalleau" <[email protected]>
Subject: [Bluez-devel] RE : 1. Re: 2 plugz issues (Brad Midgley)
To: "BlueZ development" <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=3D"iso-8859-1"

Try to add the following in .a2dprc
sbcbitpool=3D32
rate=3D44100
plugin-rate=3D0

If it doesn't fix the problem, then provide us your .a2dprc and what adapte=
r you are using.

Fr?d?ric



[Shuangqing (Quinton) Yuan] =

[a2dpd]
#
# Rate
# use 32000 if your headset seems to not support 44100 (HP works well at 44=
100, Sonorix at 32000)
# However, 44100 is mandatory
#
rate=3D44100
sbcbitpool=3D32
#rate=3D32000

#
# plugin-rate default is the rate used between the plugin and the daemon
# if this value is 0 then =

# if this value is not 0 then alsa will convert all stream to the specified=
rate and then send it to the daemon
# if this value is 0, then alsa will do no conversion at all, the daemon wi=
ll do it's own resampling.
# This "features" is disabled because of the crappy quality of the daemon r=
esampler
# To test a2dpd resampling from 32000 to 44100 use plugin-rate=3D32000 and =
rate=3D44100
#plugin-rate=3D32000
plugin-rate=3D0

# Recommended
enablereversestereo=3D1

#
# AVRCP Commands to run
# If these entries are emptied, then some keyboard entry will be sent to /d=
ev/uinput
#
cmdplay=3Dxmms --play
cmdpause=3Dxmms --pause
cmdprev=3Dxmms --rew
cmdnext=3Dxmms --fwd
cmdnew=3Dxmms --play
# Put to 0 to ignore AVRCP (if your computer freezes when commands are rece=
ived)
enableavrcp=3D1

#
# Audio routing
#
# If set to 1 (at a2dp startup only) a2dp will reread configuration file
#=C2=A0for audio routing changes each second
enablerereadconfig=3D1

# 0 =3D> Bluetooth A2DP Sink
# 1 =3D> Alsa
enableredirectalsa=3D0

# Your bluetooth headset address
#Belkin TuneStage
#address=3D00:08:1b:8a:40:95 =

#motorola S805
address=3D00:0C:55:D1:D0:D6
#BlueJay with A2DP demo program
#address=3D00:50:43:20:6c:62
# Address of your alsa output (default : plughw:0,0) you have to know what =
to do
alsaoutput=3D

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel