* [Bluez-devel] Re: [PATCH] Fix SCO on Broadcom Bluetooth adapters
[not found] <20060314111248.GA75477@dspnet.fr.eu.org>
@ 2006-03-14 13:49 ` Marcel Holtmann
[not found] ` <20060314140828.GA87175@dspnet.fr.eu.org>
0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2006-03-14 13:49 UTC (permalink / raw)
To: Olivier Galibert; +Cc: Hack inc., maxk, bluez-devel
Hi Olivier,
> Broadcom USB Bluetooth adapters report a maximum of zero SCO packets
> in-flight, killing SCO. Use a reasonable count instead in that case.
>
> Signed-off-by: Olivier Galibert <galibert@pobox.com>
>
> ---
>
> I don't think that could be reasonably done as a quirk. Simple
> examination of the .inf coming with the windows driver shows that 100+
> different models may be having this problem. Also, it can't break
> already working adapters, so why bother.
your patch might break devices where this value is chosen on purpose, so
it is not acceptable and must be done with a quirk. Another reason is
that I don't allow any stupid vendor specific workarounds inside the
Bluetooth core unless they are implemented as quirks. The core has no
vendor information at all.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix SCO on Broadcom Bluetooth adapters
[not found] ` <20060314140828.GA87175@dspnet.fr.eu.org>
@ 2006-03-14 22:27 ` Alan Cox
2006-03-14 23:47 ` Olivier Galibert
0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2006-03-14 22:27 UTC (permalink / raw)
To: Olivier Galibert; +Cc: Marcel Holtmann, Hack inc., maxk, bluez-devel
On Maw, 2006-03-14 at 15:08 +0100, Olivier Galibert wrote:
> Meanwhile, I'll implement it with a quirk, and I can guarantee that
> you're not going to like the result. I have a list of 104 (iirc)
> device ids that may need it, and given that hardware is supposed to
> work they will have to be added until proven otherwise.
Just add a wildcard quirk so your fixup is called for every single
device and then does the check. Keeps the fix out of the core and
clearly documented while keeping the list short.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix SCO on Broadcom Bluetooth adapters
2006-03-14 22:27 ` Alan Cox
@ 2006-03-14 23:47 ` Olivier Galibert
0 siblings, 0 replies; 3+ messages in thread
From: Olivier Galibert @ 2006-03-14 23:47 UTC (permalink / raw)
To: Alan Cox; +Cc: Marcel Holtmann, Hack inc., maxk, bluez-devel
On Tue, Mar 14, 2006 at 10:27:56PM +0000, Alan Cox wrote:
> Just add a wildcard quirk so your fixup is called for every single
> device and then does the check. Keeps the fix out of the core and
> clearly documented while keeping the list short.
Errr, ok, I'm all for doing that but I'm not sure what "that" means.
You want the test/fix to be put in a function somewhere to be defined
and hci_event to call it where I put the if initially?
OG.
PS: It's only 51 after all. For now, that is, since we know there
will be new ones with the same problem.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-03-14 23:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20060314111248.GA75477@dspnet.fr.eu.org>
2006-03-14 13:49 ` [Bluez-devel] Re: [PATCH] Fix SCO on Broadcom Bluetooth adapters Marcel Holtmann
[not found] ` <20060314140828.GA87175@dspnet.fr.eu.org>
2006-03-14 22:27 ` Alan Cox
2006-03-14 23:47 ` Olivier Galibert
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).