Skip to contentSkip to conversation

SCO for non-CSR based devices?

Bluez-devel Gerhard Killesreiter 5 participants 13 messages May 10, 2006 – May 29, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi there!

I've recently purchased a bluetooth headset and discovered that my bluetooth adapter (a pcmcia card, http://www.sphinx-elektronik.de/deutsch/bluetooth/picocard.htm) isn't supported by bluetooth-alsa as there is no SCO support for this type of device.

During my searches on the web I noticed a kernel patch that was recently posted to this list (http://article.gmane.org/gmane.linux.bluez.devel/7579). I had a look and indeed my card has the problem which is mentioned there, namely it displays SCO MTU: 64:0 (Complete output of hciconf -a is at the end of this mail).

Now my question is: Would this kernel patch potentially allow me to use my card with bluetooth-alsa? Or is the actual problem unrelated? I am willing to recompile my kernel and apply this patch or test others, but I am really no kernel hacker and so I'd appreciate some input.

Of course, I could simply go and buy a CSR based bluetooth adapter, but that's boring. ;)

Cheers,
Gerhard

hci0: Type: PCCARD

       BD Address: 00:80:37:15:74:E6 ACL MTU: 672:10 SCO MTU: 64:0
       UP RUNNING PSCAN ISCAN
       RX bytes:125 acl:0 sco:0 events:15 errors:0
       TX bytes:322 acl:0 sco:0 commands:14 errors:0
       Features: 0x07 0xea 0x31 0x00 0x00 0x00 0x00 0x00
       Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV3
       Link policy: RSWITCH HOLD SNIFF PARK
       Link mode: SLAVE ACCEPT
       Name: 'theo-dhcp-42-0'
       Class: 0x100100
       Service Classes:
       Device Class: Computer, Uncategorized
       HCI Ver: 1.1 (0x1) HCI Rev: 0xb LMP Ver: 1.1 (0x1) LMP Subver: 0x300
       Manufacturer: Ericsson Technology Licensing (0)

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#1 lore raw

Gerhard

Quoted 9 lines

I've recently purchased a bluetooth headset and discovered that my bluetooth adapter (a pcmcia card,
http://www.sphinx-elektronik.de/deutsch/bluetooth/picocard.htm) isn't supported by bluetooth-alsa as there is no SCO support for this type of device.

During my searches on the web I noticed a kernel patch that was recently posted to this list
(http://article.gmane.org/gmane.linux.bluez.devel/7579).

I think the patch you linked to is a quirk that is only employed if a specific adapter is found and currently that list only has one adapter in the list to watch.

The mtu fix will be applied regarless of the adapter if you use
http://bluetooth-alsa.sourceforge.net/sco-mtu.patch

If Marcel accepts the first approach upstream and the mtu fix really works for you, we'll need to find out how to get the quirk to apply for your adapter.

Brad

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

Hi Gerhard,

I'm sorry to tell you that with the Sphinx card SCO is not supported at all. It uses one of the first available Ericson BT Moduls and this modul does not support SCO over H4.

Ciao,

Petr

Quoted 26 lines · Brad Midgley

Gerhard

Quoted 9 lines

I've recently purchased a bluetooth headset and discovered that my bluetooth adapter (a pcmcia card,
http://www.sphinx-elektronik.de/deutsch/bluetooth/picocard.htm) isn't supported by bluetooth-alsa as there is no SCO support for this type of device.

During my searches on the web I noticed a kernel patch that was recently posted to this list
(http://article.gmane.org/gmane.linux.bluez.devel/7579).

I think the patch you linked to is a quirk that is only employed if a specific adapter is found and currently that list only has one adapter in the list to watch.

The mtu fix will be applied regarless of the adapter if you use
http://bluetooth-alsa.sourceforge.net/sco-mtu.patch

If Marcel accepts the first approach upstream and the mtu fix really works for you, we'll need to find out how to get the quirk to apply for your adapter.

Brad

Quoted 10 lines

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#3 lore raw

Peter Wippich wrote:

Hi Peter!

Quoted 2 lines

I'm sorry to tell you that with the Sphinx card SCO is not supported at all. It uses one of the first available Ericson BT Moduls and this modul does not support SCO over H4.

Too bad, but thanks for the info! Guess I'll just buy a CSR USB-stick, then.

Cheers,
Gerhard

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#4 lore raw

[Bluez-devel] documentation for a newbie

Hi all,

i'm a Ubuntu user and i use blueZ stack for Bluetooth, i hava successfuly downloaded libbluetooth1-dev and bluez-utils, i started to find some codes in C and try to examine them. But is there any doc which is about the functions provided by libbluetooth1-dev and bluez-utils ? A list of functions or something more detailed...

thanks,

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#5 lore raw

Re: [Bluez-devel] documentation for a newbie

Hi,
there's no documentation available AFAIK except for
http://people.csail.mit.edu/albert/bluez-intro/index.html which is a site that deals with some of the stuff (look at the PDF for a bit more detailed explanation). Otherwise than that, you'd have to stick with figuring out yourself from the the code.

PS: some documentation for the obex profiles is available at openobex.org -> for developers -> documentation (at the bottom of the page)

Quoted 4 lines · On 5/11/06, =D6zkan G=FCm=FCs <[email protected]> wrote:

Hi all,

i'm a Ubuntu user and i use blueZ stack for Bluetooth, i hava successfuly downloaded libbluetooth1-dev and bluez-utils, i started to find some cod=

es

Quoted 10 lines

in C and try to examine them. But is there any doc which is about the functions provided by libbluetooth1-dev and bluez-utils ? A list of functions or something more detailed...

thanks,

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job ea=

sier

Quoted 1 line

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim=

o

Quoted 1 line

http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=

=3D121642

Quoted 5 lines

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#6 lore raw

broadcom in disguise... (was: [Bluez-devel] SCO for non-CSR based devices?)

In reply to Gerhard Killesreiter
Quoted 7 lines · Gerhard Killesreiter
Quoted 2 lines · Peter Wippich

I'm sorry to tell you that with the Sphinx card SCO is not supported at all. It uses one of the first available Ericson BT Moduls and this modul does not support SCO over H4.

Too bad, but thanks for the info! Guess I'll just buy a CSR USB-stick, then.

I went to town and did just that. I ended up buying a Typhoon bluetooth usb adapter (http://www.typhoon.de/de/art.php?p=838&pv=3). I had the clerk check out the webpage for me and there we found "Functions: Main chip - CSR BlueCore ". That's why I bought it and didn't check out th other available devices (only one).

Today I tried to get it to work...

theo-dhcp-42:/usr/src/linux# hciconfig -a       hci0:   Type: USB
       BD Address: 00:10:60:AD:C2:C1 ACL MTU: 377:10 SCO MTU: 64:8

I already applied the MTU patch.

       UP RUNNING PSCAN ISCAN
       RX bytes:2697 acl:88 sco:0 events:144 errors:0
       TX bytes:2211 acl:86 sco:0 commands:46 errors:0
       Features: 0xff 0xfe 0x0d 0x38 0x08 0x08 0x00 0x00
       Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
       Link policy: RSWITCH HOLD SNIFF PARK
       Link mode: SLAVE ACCEPT
       Name: 'theo-dhcp-42-0'
       Class: 0x100100
       Service Classes:
       Device Class: Computer, Uncategorized
       HCI Ver: 1.2 (0x2) HCI Rev: 0x0 LMP Ver: 1.2 (0x2) LMP Subver: 0x309
       Manufacturer: Broadcom Corporation (15)
                                 ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^

Maybe they changed the internals of the device in the revision I bought...

Setting volume and connection does work just fine, but no sound only some white noise. Now I can try to bring it back (might be difficult since the package is opened) or try to get it to work. I've looked through the archives and it doesn't look too good. Are there any news on this?

There is a pecularity I'd like to understand: When I use alsamixer to set the sound level, there are four settings: Master, Mic, AGC, Loopback. I can modify the first two, btu the other ones are disabled. What are they? Are they related to the problem?

When I use aplay to try to play a sound, it hangs after writing out the version info. Strace gives:

write(2, " stop_threshold : 8001\n", 26 stop_threshold : 8001
) = 26
write(2, " silence_threshold: 0\n", 23 silence_threshold: 0
) = 23
write(2, " silence_size : 0\n", 19 silence_size : 0
) = 19
write(2, " boundary : 2097414144\n", 28 boundary : 2097414144
) = 28
read(3, "\0\0\377\377\2\0\375\377\10\0\361\377\n\0\310\377\17\0"..., 22048) = 22048 read(3, "=\374E\375u\374\253\374\325\374\177\374\17\375\371\374"..., 22048) = 22048 read(3, "\213\376\316\375\236\376\234\376\211\376\315\377,\376I"..., 22048) = 22048 read(3, "\320\374!\375\34\3762\375\303\376\231\374L\375\333\372"..., 22048) = 22048
ioctl(4, 0x4142, 0xb7f02b90) = 0
read(3, "\v\376l\367\227\374\327\366\372\373\356\365\333\373\26"..., 22048) = 22048
ioctl(4, 0x4122, 0xb7f02b90) = 0
poll(

And there it sits doing nothing.

Cheers,
Gerhard

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#7 lore raw

[Bluez-devel] Re: broadcom in disguise...

Gerhard

Quoted 5 lines

I went to town and did just that. I ended up buying a Typhoon bluetooth usb adapter (http://www.typhoon.de/de/art.php?p=838&pv=3). I had the clerk check out the webpage for me and there we found "Functions: Main chip - CSR BlueCore ". That's why I bought it and didn't check out th other available devices (only one).

A couple of manufacturers switched from csr to broadcom around the time bluecore4 and the other edr chips came out. Not sure why.

The mtu workaround is the only way we've had any success using broadcom but it only works with some chips. If you've used the adapter in windows for sco audio then it might change some nvram settings. I'm not familiar enough with the lower layers to suggest anything else.

Brad

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#8 lore raw

Re: [Bluez-devel] Re: broadcom in disguise...

Quoted 10 lines · Brad Midgley
Quoted 6 lines

I went to town and did just that. I ended up buying a Typhoon bluetooth usb adapter (http://www.typhoon.de/de/art.php?p=838&pv=3). I had the clerk check out the webpage for me and there we found "Functions: Main chip - CSR BlueCore ". That's why I bought it and didn't check out th other available devices (only one).

A couple of manufacturers switched from csr to broadcom around the time bluecore4 and the other edr chips came out. Not sure why.

I find this highly annoying. I have written to typhoon and asked for an explanation.

Quoted 2 lines

The mtu workaround is the only way we've had any success using broadcom but it only works with some chips.

Is there a way to determine exactly which chip I have?

Quoted 2 lines

If you've used the adapter in windows
for sco audio

This should be possible according to the manual.

Quoted 1 line

then it might change some nvram settings.

I am going to try a lot of things to get it running, but not installing windows. I might be able to persuade a friend with a windows pc to run some tests for me, though, if you can give me some pointer to where to look for these settings. Can't these be changed from Linux?

Quoted 3 lines

I'm not familiar
enough with the lower layers to suggest anything else.

Your support is apprecriated.

Cheers,
Gerhard

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#9 lore raw

Re: [Bluez-devel] Re: broadcom in disguise...

Gerhard

Quoted 5 lines
Quoted 3 lines

A couple of manufacturers switched from csr to broadcom around the time bluecore4 and the other edr chips came out. Not sure why.

I find this highly annoying. I have written to typhoon and asked for an explanation.

this is unfortunately a fairly standard practice across the computer hardware industry.

bluetake has done the switcheroo as well but currently their BT007EX is our only source for a class 1 bluecore4 dongle so we like them again.

Quoted 3 lines
Quoted 3 lines

If you've used the adapter in windows
for sco audio
then it might change some nvram settings.

I really don't know much about the broadcom models or even if they do have nvram settings for this. It's possible they ship something that can't do sco out of the box but will do it after the windows driver initializes it. That's my "all out of ideas" suggestion.

Brad

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#10 lore raw

Re: [Bluez-devel] Re: broadcom in disguise...

Brad Midgley wrote:

Hi Brad!

Quoted 11 lines
Quoted 7 lines
Quoted 4 lines

A couple of manufacturers switched from csr to broadcom around the time bluecore4 and the other edr chips came out. Not sure why.

I find this highly annoying. I have written to typhoon and asked for an explanation.

this is unfortunately a fairly standard practice across the computer hardware industry.

If they'd at least update their docs...

Anyway, I got an anwer from them (didn't really expect one)!

They claim that the chip can be addressed by the broadcom driver but would definitly be a CSR chip.

Does that make any sense to anybody?

Quoted 9 lines

bluetake has done the switcheroo as well but currently their BT007EX is our only source for a class 1 bluecore4 dongle so we like them again.

Quoted 4 lines
Quoted 4 lines

If you've used the adapter in windows
for sco audio
then it might change some nvram settings.

Quoted 5 lines

I really don't know much about the broadcom models or even if they do have nvram settings for this. It's possible they ship something that can't do sco out of the box but will do it after the windows driver initializes it. That's my "all out of ideas" suggestion.

Guess I will need to take it to a windows box then.

Cheers,
Gerhard

-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#12 lore raw

Re: [Bluez-devel] broadcom in disguise...

Brad Midgley wrote:

Hi Brad!

Quoted 9 lines
Quoted 5 lines

They claim that the chip can be addressed by the broadcom driver but would definitly be a CSR chip.

Does that make any sense to anybody?

no sense whatsoever.

Yeah, this is what I thought too. I've replied to them, copying the lsusb info and they confirmed that they don't use the CSR-Chip anymore and will change the info on their internet page, typhoon.de.

So I can only hope the vendor takes the thing back.

Cheers,
Gerhard

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel