Subject: Re: Belkin Bluetooth vs aue vs ubt
To: Daniel Carosone <dan@geek.com.au>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 03/07/2007 13:17:52
On Mar 7, 2007, at 1:15 PM, Daniel Carosone wrote:

> On Wed, Mar 07, 2007 at 09:10:45PM +0000, Stephen Borrill wrote:
>> aue uses:
>> #define UMATCH_VENDOR_PRODUCT                13
>>
>> ubt uses:
>> #define UMATCH_IFACECLASS_IFACESUBCLASS_IFACEPROTO    5
>>
>> So aue will always win.
>
> right. I think what jason was trying to say was that instead of adding
> "quirks" to aue, add a quirk to ubt for this specific vendor/product
> to match at >13, but only if it's also in the bluetooth class.  ie, be
> more affirmative in claiming the device where it belongs, rather than
> ignoring it somewhere it doesn't.

No, I think a better thing to do is change the rules for match  
priority and make matching in drivers generally more strict.

We should try very hard to avoid having knowledge of an unrelated  
device in any given device driver.

-- thorpej