scsi_da quirk for a device with "no name"

Andriy Gapon avg at icyb.net.ua
Thu Aug 16 10:13:35 PDT 2007


on 16/08/2007 15:22 Andriy Gapon said the following:
> I have ASUS P535 PPC+phone with Windows Mobile 5 on it.
> It has an option to act as a USB mass storage (instead of attempting
> acivesync).
[snip]
> So I attempted the latter quirk and it helped me! But there is one not
> good thing about the way I did that - I used wild cards ("*") for all
> three of vendor, product and revision. This is because they all appear
> to be empty/unset. This is shown in both kernel messages and by
> camcontrol devlist and by camcontrol inquiry.
> I am not sure if there are any risks of applying the quirk to all
> possible da devices, there will be only umass ones in my case, but I
> still would like to do something more specific to the device in question.
> 
> Will empty patterns work ? I mean if I put "", "", "" entry into the
> quirk array. Actually, I can test this myself soon, but not today.

No, empty strings/patterns (all 3 of them) do not work.
Are there any better ways ?
I know, "use the source, Luke" :-)

-- 
Andriy Gapon


More information about the freebsd-usb mailing list