2006-05-10 08:24:31

by Gerhard Killesreiter

[permalink] [raw]
Subject: [Bluez-devel] SCO for non-CSR based devices?

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


2006-05-29 11:40:02

by Gerhard Killesreiter

[permalink] [raw]
Subject: Re: [Bluez-devel] broadcom in disguise...

Brad Midgley wrote:

Hi Brad!

>> 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

2006-05-29 06:49:04

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-devel] broadcom in disguise...

Gerhard

> 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.

brad


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

2006-05-25 15:53:00

by Gerhard Killesreiter

[permalink] [raw]
Subject: Re: [Bluez-devel] Re: broadcom in disguise...

Brad Midgley wrote:

Hi Brad!

>>> 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?




> 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.
>
>
>>> 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.
>

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

2006-05-22 15:51:37

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-devel] Re: broadcom in disguise...

Gerhard

>> 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.

>> 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

2006-05-22 09:49:54

by Gerhard Killesreiter

[permalink] [raw]
Subject: Re: [Bluez-devel] Re: broadcom in disguise...

Brad Midgley wrote:
>> 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.

> 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?

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

This should be possible according to the manual.

> 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?


> 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

2006-05-22 04:40:23

by Brad Midgley

[permalink] [raw]
Subject: [Bluez-devel] Re: broadcom in disguise...

Gerhard

> 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

2006-05-22 00:28:33

by Gerhard Killesreiter

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

Gerhard Killesreiter wrote:
> Peter Wippich wrote:
>
>
>> 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

2006-05-10 14:53:49

by Gerhard Killesreiter

[permalink] [raw]
Subject: Re: [Bluez-devel] SCO for non-CSR based devices?

Peter Wippich wrote:

Hi Peter!

> 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

2006-05-11 15:31:05

by Peter Wippich

[permalink] [raw]
Subject: Re: [Bluez-devel] SCO for non-CSR based devices?


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

On Thu, 11 May 2006, Brad Midgley wrote:

> Gerhard
>
> > 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
>


-------------------------------------------------------
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

2006-05-11 14:20:54

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-devel] SCO for non-CSR based devices?

Gerhard

> 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