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



5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.