linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] sco link problem
       [not found] <20051122195412.F2DBC88BC7@sc8-sf-spam1.sourceforge.net>
@ 2005-11-23  1:18 ` lcstudio@gmail
  2005-11-24  4:23   ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: lcstudio@gmail @ 2005-11-23  1:18 UTC (permalink / raw)
  To: bluez-devel

I've problem by make SCO link using the dongle with BCM2035 chip.It's seemed
SCO link up,but NO any of data responsed.:(
hci_usb.c file, I found some piece like:
    {USB_DEVICE(0x0a5c, 0x200a), .driver_info = HCI_RESET |
HCI_BROKEN_ISOC }
it's disabled all of BCM2035 dongle SCO driver with id by 0x0a5c &
0x200a,what's idea about this? My dongle matchs this id.
Is Broadcom makes chip abnormally behavior with 0x0a5c,0x200a ?

Thanks

Luchine
2005.11



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] sco link problem
  2005-11-23  1:18 ` [Bluez-devel] sco link problem lcstudio@gmail
@ 2005-11-24  4:23   ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2005-11-24  4:23 UTC (permalink / raw)
  To: bluez-devel

Hi Luchine,

> I've problem by make SCO link using the dongle with BCM2035 chip.It's seemed
> SCO link up,but NO any of data responsed.:(
> hci_usb.c file, I found some piece like:
>     {USB_DEVICE(0x0a5c, 0x200a), .driver_info = HCI_RESET |
> HCI_BROKEN_ISOC }
> it's disabled all of BCM2035 dongle SCO driver with id by 0x0a5c &
> 0x200a,what's idea about this? My dongle matchs this id.
> Is Broadcom makes chip abnormally behavior with 0x0a5c,0x200a ?

last time I check one of these devices, the ISOC transfers were broken
and they were making this device unusable. So I flagged it. Remove the
quirk identify and try if it works.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bluez-devel] SCO link problem
@ 2006-02-02  9:53 Israel Guío
  2006-02-07 11:10 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Israel Guío @ 2006-02-02  9:53 UTC (permalink / raw)
  To: bluez-devel

[-- Attachment #1: Type: text/plain, Size: 8615 bytes --]

Hi!

I'm developing an application for voice transmission over a SCO link. My
first step was to compile and probe the utility scotest provided in
bluez-utils packet. However, I see in hcidump that I am sending the correct
frames(0x7f), but in receiver end, I get nothing but 0's or f's. I don't
really know where the problem is, so please help me.

Thanks.

This is my configuration. I have 2 computers with Debian and
2.6.15.1kernel. Each computer has its USB Bluetooth
2.0+EDR Adapter (Cellink BTA-6030). This is the "hciconfig hci0 revision"
output:
hci0:   Type: USB
        BD Address: 00:0A:94:02:45:BB ACL MTU: 384:8 SCO MTU: 64:8
        Build 1500
        Chip version: BlueCore4-External
        Max key size: 56 bit
        SCO mapping:  HCI

This is the "hcidump -X -V" in transmitter end:

HCI sniffer - Bluetooth packet analyzer ver 1.17
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
  0000: ac 44 02 94 0a 00 18 cc  02 00 00 00 01           .D...........
> HCI Event: Command Status (0x0f) plen 4
    Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
    status 0x00 handle 42 bdaddr 00:0A:94:02:44:AC type ACL encrypt 0x00
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
  0000: 2a 00 0f 00                                       *...
> HCI Event: Command Complete (0x0e) plen 6
    Write Link Policy Settings (0x02|0x000d) ncmd 1
    0000: 00 2a 00                                          .*.
< HCI Command: Add SCO Connection (0x01|0x0007) plen 4
  0000: 2a 00 e0 00                                       *...
> HCI Event: Command Status (0x0f) plen 4
    Add SCO Connection (0x01|0x0007) status 0x00 ncmd 0
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
  0000: ac 44 02 94 0a 00 01                              .D.....
> HCI Event: Max Slots Change (0x1b) plen 3
  0000: 2a 00 05                                          *..
> HCI Event: Command Status (0x0f) plen 4
    Unknown (0x00|0x0000) status 0x00 ncmd 1
> HCI Event: Max Slots Change (0x1b) plen 3
  0000: 2a 00 01                                          *..
> HCI Event: Connect Complete (0x03) plen 11
    status 0x00 handle 45 bdaddr 00:0A:94:02:44:AC type SCO encrypt 0x00
> SCO data: handle 45 dlen 48
    0000: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0010: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0020: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
> SCO data: handle 45 dlen 48
    0000: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0010: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0020: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
> HCI Event: Max Slots Change (0x1b) plen 3
  0000: 2a 00 03                                          *..
> SCO data: handle 45 dlen 48
    0000: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0010: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0020: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
< SCO data: handle 45 dlen 64
    0000: 00 00 00 00 a0 02 7f 7f  7f 7f 7f 7f 7f 7f 7f 7f  ................
    0010: 7f 7f 7f 7f 7f 7f 7f 7f  7f 7f 7f 7f 7f 7f 7f 7f  ................
    0020: 7f 7f 7f 7f 7f 7f 7f 7f  7f 7f 7f 7f 7f 7f 7f 7f  ................
    0030: 7f 7f 7f 7f 7f 7f 7f 7f  7f 7f 7f 7f 7f 7f 7f 7f  ................
> SCO data: handle 45 dlen 48
    0000: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0010: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0020: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................

and so on until I press CTRL+C. The "hcidump -X -V" output in receiver end
is:

HCI sniffer - Bluetooth packet analyzer ver 1.17
device: hci0 snap_len: 1028 filter: 0xffffffff
> HCI Event: Connect Request (0x04) plen 10
    bdaddr 00:0A:94:02:45:BB class 0x3e0100 type ACL
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
  0000: bb 45 02 94 0a 00 01                              .E.....
> HCI Event: Command Status (0x0f) plen 4
    Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
    status 0x00 handle 42 bdaddr 00:0A:94:02:45:BB type ACL encrypt 0x00
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
  0000: 2a 00 0f 00                                       *...
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
  0000: bb 45 02 94 0a 00 01                              .E.....
> HCI Event: Max Slots Change (0x1b) plen 3
  0000: 2a 00 05                                          *..
> HCI Event: Command Complete (0x0e) plen 6
    Write Link Policy Settings (0x02|0x000d) ncmd 1
    0000: 00 2a 00                                          .*.
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
  0000: 2a 00 18 cc                                       *...
> HCI Event: Command Status (0x0f) plen 4
    Change Connection Packet Type (0x01|0x000f) status 0x00 ncmd 1
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
  0000: 00 2a 00 18 cc                                    .*...
> HCI Event: Max Slots Change (0x1b) plen 3
  0000: 2a 00 01                                          *..
> HCI Event: Connect Request (0x04) plen 10
    bdaddr 00:0A:94:02:45:BB class 0x3e0100 type SCO
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
  0000: bb 45 02 94 0a 00 01                              .E.....
> HCI Event: Command Status (0x0f) plen 4
    Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
    status 0x00 handle 46 bdaddr 00:0A:94:02:45:BB type SCO encrypt 0x00
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
  0000: 2e 00 e0 00                                       ....
> SCO data: handle 46 dlen 48
    0000: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0010: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0020: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
> SCO data: handle 46 dlen 48
    0000: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0010: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0020: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
> HCI Event: Command Status (0x0f) plen 4
    Change Connection Packet Type (0x01|0x000f) status 0x00 ncmd 1
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
  0000: 00 2e 00 e0 00                                    .....
> SCO data: handle 46 dlen 48
    0000: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0010: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0020: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
> SCO data: handle 46 dlen 48
    0000: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0010: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
    0020: 00 00 00 00 ff ff ff ff  ff ff ff ff ff ff ff ff  ................
> SCO data: handle 46 dlen 48
    0000: ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ................
    0010: ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ................
    0020: ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ................
> SCO data: handle 46 dlen 48
    0000: ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ................
    0010: ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ................
    0020: ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ................
> SCO data: handle 46 dlen 48
    0000: ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ................
    0010: ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ................
    0020: ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ................
> SCO data: handle 46 dlen 48
    0000: ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ................
    0010: ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ................
    0020: ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ................

and so on until the end. I don't know if it is important, but when sending
0x7f, I get the frames above, but when sending 0x44, I get 0's, not f's.

Thank you for your help again.

[-- Attachment #2: Type: text/html, Size: 14332 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] SCO link problem
  2006-02-02  9:53 [Bluez-devel] SCO " Israel Guío
@ 2006-02-07 11:10 ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2006-02-07 11:10 UTC (permalink / raw)
  To: bluez-devel

Hi Israel,

> I'm developing an application for voice transmission over a SCO link.
> My first step was to compile and probe the utility scotest provided in
> bluez-utils packet. However, I see in hcidump that I am sending the
> correct frames(0x7f), but in receiver end, I get nothing but 0's or
> f's. I don't really know where the problem is, so please help me.

the over the air codec is CVSD and not transparent. In the end this is a
voice connection and not a data connection.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-07 11:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20051122195412.F2DBC88BC7@sc8-sf-spam1.sourceforge.net>
2005-11-23  1:18 ` [Bluez-devel] sco link problem lcstudio@gmail
2005-11-24  4:23   ` Marcel Holtmann
2006-02-02  9:53 [Bluez-devel] SCO " Israel Guío
2006-02-07 11:10 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).