Subject: Re: Belkin Bluetooth vs aue vs ubt
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: Stephen Borrill <netbsd@precedence.co.uk>
List: tech-kern
Date: 03/12/2007 17:51:04
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--0-195826678-1173721864=:20602
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Mon, 12 Mar 2007, Matthias Drochner wrote:
>> Also, this is what Windows does.
>
> Also Linux/FreeBSD/whatever. Remains the question why noone
> else has this problem appearently. Perhaps just a single
> wrong device... Google found a file where USB IDs are collected:
> http://siv.mysite.orange.co.uk/downloads/usbdevs.txt
> There are 3 Belkin Bluetooth device IDs (0081/0083/0084),
> and there is no sign of an ambiguity about device ID 0121.
Yes, I saw similar when I first looked through the Linux stuff, but
Googling for the IDs for this specific device shows it is 0x050d/0x0121.
http://www.wiili.org/forum/bluesoleil-solution-for-not-supported-adapters-t794.html
Plus:
> Would still be good if you or someone else could provide
> some more descriptor data. The easiest way is to build
> sysutils/usbutil from pkgsrc and call
> usbctl /dev/usb0 -a 2
I can provide this for the ubt device, but not an aue one (attached).
Nathan?
Nathan Williams wrote:
> > Then the rules for our USB are broken somewhat. aue should be
> > filtering out things that are not in the class it expects.
>
> Generally speaking, USB device vendors only bother to fill in the
> class/subclass fields when they expect some standardized driver to
> match it. The Pegasus chip that aue(4) drives is not such a thing, and
> in fact, my Linksys aue(4) has all of the interface class/subclass
> fields set to 0.
>
> I think it's true that aue(4) should be pickier, but it's not clear
> what information it has to work with.
That's 3 datapoints for class being 0 (UDCLASS_IN_INTERFACE) on aue(4)
devices which is fits in with them not expecting a standard driver to
match.
Given this coupled with the evidence above that this isn't a single wrong
device, I think the best we can do (without overhauling the whole
device/class matching intrastructure) to make aue(4) pickier is match
class=UDCLASS_IN_INTERFACE as per my previous patch. If I write a more
verbose comment, can we agree for me to commit it?
--
Stephen
--0-195826678-1173721864=:20602
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=usbctl.out
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.64.0703121751040.20602@ugly.precedence.co.uk>
Content-Description:
Content-Disposition: attachment; filename=usbctl.out
REVWSUNFIGFkZHIgMQ0KREVWSUNFIGRlc2NyaXB0b3I6DQpiTGVuZ3RoPTE4
IGJEZXNjcmlwdG9yVHlwZT1kZXZpY2UoMSkgYmNkVVNCPTEuMDAgYkRldmlj
ZUNsYXNzPTkgYkRldmljZVN1YkNsYXNzPTANCmJEZXZpY2VQcm90b2NvbD0w
IGJNYXhQYWNrZXRTaXplPTY0IGlkVmVuZG9yPTB4ODA4NiBpZFByb2R1Y3Q9
MHgwMDAwIGJjZERldmljZT0xMDANCmlNYW51ZmFjdHVyZXI9MShJbnRlbCkg
aVByb2R1Y3Q9MihVSENJIHJvb3QgaHViKSBpU2VyaWFsTnVtYmVyPTAoKSBi
TnVtQ29uZmlndXJhdGlvbnM9MQ0KDQpDT05GSUdVUkFUSU9OIGRlc2NyaXB0
b3IgMDoNCmJMZW5ndGg9OSBiRGVzY3JpcHRvclR5cGU9Y29uZmlnKDIpIHdU
b3RhbExlbmd0aD0yNSBiTnVtSW50ZXJmYWNlPTENCmJDb25maWd1cmF0aW9u
VmFsdWU9MSBpQ29uZmlndXJhdGlvbj0wKCkgYm1BdHRyaWJ1dGVzPWMwIGJN
YXhQb3dlcj0wIG1BDQoNCklOVEVSRkFDRSBkZXNjcmlwdG9yIDA6DQpiTGVu
Z3RoPTkgYkRlc2NyaXB0b3JUeXBlPWludGVyZmFjZSg0KSBiSW50ZXJmYWNl
TnVtYmVyPTAgYkFsdGVybmF0ZVNldHRpbmc9MA0KYk51bUVuZHBvaW50cz0x
IGJJbnRlcmZhY2VDbGFzcz05IGJJbnRlcmZhY2VTdWJDbGFzcz0wDQpiSW50
ZXJmYWNlUHJvdG9jb2w9MCBpSW50ZXJmYWNlPTAoKQ0KDQpFTkRQT0lOVCBk
ZXNjcmlwdG9yOg0KYkxlbmd0aD03IGJE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