USB_DEV_BCD_LTEQ() doesn't work

Adrian Chadd adrian at freebsd.org
Thu Jan 9 15:02:40 UTC 2014


Hi,

I'm trying to fix the atheros bluetooth USB matching to match the
ath3k rules and unfortunately I'm hitting a snag.

eg, in the blacklist:

-       { USB_VPI(0x0cf3, 0x3004, 0) },
+       { USB_VPI(0x0cf3, 0x3004, 0), USB_DEV_BCD_LTEQ(1) },

Now, the rule is "if it's in the list, it's blacklisted", and in this
instance, these devices with a bcdDevice of <=1 are blacklisted.

However, this doesn't at all work. The USB matching code that looks
like it's doing it isn't.

Ideas?


-adrian


More information about the freebsd-usb mailing list