public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: pramod gurav <pramod_gurav_etc@yahoo.co.in>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Headset not playing audio HELP PLEASE
Date: Fri, 15 Feb 2008 19:51:16 +0530 (IST)	[thread overview]
Message-ID: <961486.61640.qm@web8409.mail.in.yahoo.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 7276 bytes --]

hi 
Your replies boost me to work hard on it...Thanks for that.
I just tried changing some lines in /usr/src/linux/net/bluetooth/hci_event.c
and compiled the kernel..
Now when I do hciconfig
[root@localhost Pramod]# /usr/local/sbin/hciconfig -a
hci0:   Type: USB
        BD Address: 00:02:72:CE:5B:80 ACL MTU: 1017:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:668 acl:0 sco:0 events:21 errors:0
        TX bytes:340 acl:0 sco:0 commands:21 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 (0)'
        Class: 0x080100
        Service Classes: Capturing
        Device Class: Computer, Uncategorized
        HCI Ver: 2.0 (0x3) HCI Rev: 0x204d LMP Ver: 2.0 (0x3) LMP Subver: 0x4127
        Manufacturer: Broadcom Corporation (15)

SCO MTU: 64:8 this has changed 
but new problem is hwen I press button on HS link req comes but the connection is different this time
[root@localhost Pramod]# hcitool conn
Connections:
        > ACL 00:0F:DE:B1:02:42 handle 0 state 2 lm SLAVE
previously it used to be as
->  
  
  
  
 
> 
ACL 
00:0F:DE:B1:02:42 
handle 
11 
state 
1 
lm 
SLAVE 
AUTH 
ENCRYPT 
SECURE

and when I play
[Pramod@localhost ~]$ aplay -D bluetooth -f S16_LE test.raw
there is a long wait and connections are
[root@localhost Pramod]# hcitool conn
Connections:
        > ACL 00:0F:DE:B1:02:43 handle 0 state 2 lm SLAVE  
        < ACL 00:0F:DE:B1:02:42 handle 0 state 5 lm MASTER

 00:0F:DE:B1:02:43 this is not my HS address(there is no other device near here)
00:0F:DE:B1:02:42 this one is mine.

and no SCO connection at all..
planning to recompile the kernel with original hci_event.c
As you asked for "lsusb -v " let me inform you I done have lsusb command.
I can give this info
[root@localhost Pramod]# cat /proc/bus/usb/devices
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  7 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0a5c ProdID=2101 Rev= 0.00
S:  Manufacturer=Broadcom Corp
S:  Product=BCM92045DG-Flash
C:* #Ifs= 4 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=84(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=  32 Ivl=0ms
I:  If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)

As you said there might be a incompatibility issues in one of them(HS/dongle)
Can it happen that I might require to play the audio with certain frequency, rate or parameters which are supported by my HS(Its a Sony Ericsson HBH-602)?
Thanks once again for your share of time.
have a nice time ahead.

Thanks and Best regards 
Pramod

----- Original Message ----
From: jayjwa <jayjwa@atr2.ath.cx>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Sent: Friday, 15 February, 2008 6:59:34 PM
Subject: Re: [Bluez-users] Headset not playing audio HELP PLEASE


On 
Fri, 
15 
Feb 
2008, 
pramod 
gurav 
wrote:

-> 
will 
you 
please 
send 
me 
the 
conf 
files 
So 
that 
I 
can 
rectify 
mines.

Your 
configs 
look 
OK, 
but 
if 
you 
want 
them:

wget 
--no-check-certificate 
https://atr2.ath.cx/~jayjwa/download/bt-configs.zip
or
curl 
-O 
-v 
-k 
https://atr2.ath.cx/~jayjwa/download/bt-configs.zip


-> 
Also 
I 
want 
to 
tell 
you 
that 
I 
have 
installed 
bt-sco 
but 
later 
on 
I 
read 
somewhere 
that 
this 
is 
older 
method 
to 
do. 
Is 
it 
write?
-> 
So 
I 
stoped 
there. 
Can 
I 
try 
btsco 
way?
-> 
But 
i 
dont 
have 
module 
snd_bt_sco.
-> 
please 
enlighten 
me 
on 
btsco 
.

It's 
old 
and 
probably 
obsolete. 
It 
might 
not 
even 
be 
possible 
to 
use 
it 
without 
installing 
old 
bluez 
libs/utilz 
and 
an 
old 
(possibly 
insecure) 
kernel. 
Even 
doing 
all 
that 
work, 
there's 
no 
garentee 
that 
it 
will 
work 
any 
better. 
You 
might 
still 
hit 
the 
same 
issue. 
I'd 
stay 
current, 
and 
make 
sure 
to 
see 
the 
link 
in 
my 
last-to-this 
post 
about 
sco 
mtu.

There's 
only 
so 
many 
configuration 
options 
you 
can 
try, 
and 
by 
now 
you've 
tried 
just 
about 
all 
of 
them. 
At 
this 
point, 
you 
may 
be 
looking 
at 
an 
incompatibility 
in 
one 
or 
both 
of 
your 
hardware 
components, 
or 
a 
bug 
in 
either/both. 
That's 
why 
it 
would 
be 
helpful 
if 
you 
could 
try 
other 
hardware, 
or 
try 
to 
find 
accounts 
of 
someone 
getting 
a 
working 
example 
using 
your 
hardware 
on 
a 
similar 
setup. 
Then 
you 
could 
say 
either 
way 
if 
it's 
really 
a 
hardware 
issue 
or 
not. 
Could 
be 
that 
it's 
not, 
but 
in 
searching 
for 
the 
cause 
of 
an 
error/reason 
something's 
not 
working, 
it's 
one 
of 
the 
things 
you 
have 
to 
consider. 
Because 
if 
it 
is 
the 
case, 
then 
no 
amount 
of 
config 
changes 
or 
updates 
will 
help.

By 
what 
you've 
posted, 
it 
looks 
correct 
and 
should 
be 
working, 
only 
it 
isn't. 
The 
fact 
sound 
does 
work 
one 
way 
and 
not 
the 
other 
is 
very 
odd 
too. 
If 
it 
was 
a 
config 
error, 
seems 
like 
neither 
would 
work.




-------------------------------------------------------------------------
This 
SF.net 
email 
is 
sponsored 
by: 
Microsoft
Defy 
all 
challenges. 
Microsoft(R) 
Visual 
Studio 
2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users 
mailing 
list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users







      Download prohibited? No problem. CHAT from any browser, without download. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/

[-- Attachment #1.2: Type: text/html, Size: 9725 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2008-02-15 14:21 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-15 14:21 pramod gurav [this message]
2008-02-17 10:20 ` [Bluez-users] Headset not playing audio HELP PLEASE jayjwa
  -- strict thread matches above, loose matches on Subject: below --
2008-02-19  4:21 pramod gurav
2008-02-19  6:03 ` jayjwa
2008-02-18 14:41 Guillaume Bedot
2008-02-18 13:16 pramod gurav
2008-02-18 13:38 ` Guillaume Bedot
2008-02-15  5:21 pramod gurav
2008-02-15 13:29 ` jayjwa
2008-02-15  4:49 pramod gurav
2008-02-15  8:52 ` jayjwa
2008-02-13  5:27 pramod gurav
2008-02-14 14:22 ` jayjwa
2008-02-11 10:07 pramod gurav
2008-02-12 12:47 ` jayjwa
2008-02-08  4:40 pramod gurav
2008-02-08 16:19 ` Guillaume Bedot
2008-02-08 23:08 ` jayjwa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=961486.61640.qm@web8409.mail.in.yahoo.com \
    --to=pramod_gurav_etc@yahoo.co.in \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox