Subject: Re: Belkin Bluetooth vs aue vs ubt
To: Stephen Borrill <netbsd@precedence.co.uk>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 03/07/2007 12:58:28
On Mar 7, 2007, at 12:59 PM, Stephen Borrill wrote:

> On Wed, 7 Mar 2007, Jason Thorpe wrote:
>
>>
>> On Mar 7, 2007, at 11:28 AM, Stephen Borrill wrote:
>>
>>
>>> On Wed, 7 Mar 2007, Greg Troxel wrote:
>>
>>> [aue attaches to a ubt device]
>>
>>>
>>>>
>>>>> Shall I look at adding a quirk for this device in if_aue.c that  
>>>>> will
>>
>>>
>>>>
>>>>> check the product class before attaching?
>>
>>>
>>>> That sounds sensible.   It seems highly buggy of belkin to reuse  
>>>> the
>>
>>>
>>>> product id.
>>
>>> How about this patch?
>>
>> Should be the other way around!  ubt should avoid matching non- 
>> UDPROTO_BLUETOOTH devices!
>
> But a vendor/product match takes precedence over a class-based  
> match, so aue will win over ubt whatever ubt matches.

Then the rules for our USB are broken somewhat.  aue should be  
filtering out things that are not in the class it expects.

>
>
> -- 
> Stephen

-- thorpej