u3g and Vodafone k3772 (not k3772z)

gabor at zahemszky.hu gabor at zahemszky.hu
Thu Oct 16 08:47:43 UTC 2014


>> So I can tell the system, that the unknown K3772 modem - 
>> VendorID=12d1 and
>> ProductID=12d1 - needs that message (borrowed from usb_modeswitch 
>> database)
>> "55534243123456780000000000000011062000000100000000000000000000"
>>
>
> Hi,
>
> This quirk already exists.
>
> Can you try:
>
> kldunload usb_quirk
> kldload usb_quirk
> usbconfig -d X.Y add_quirk UQ_MSC_EJECT_HUAWEISCSI2
>
> Then re-plug your device?

Hi,

actually I can only try it in a VirtualBOX VM. This machine
has 10.1-RC2. But I had two problems:

- something wrong is with the usb_quirk module:
# kldunload usb_quirk
kldunload: can't find file usb_quirk
# kldload usb_quirk
kldload: can't load usb_quirk: module already loaded or in kernel
# kldstat -v | fgrep quirk # ( generates nothing )

- By the way, neither man usb_quirks, nor usbconfig dump_quirk_names 
hasn't got
that UQ_MSC_EJECT_HUAWEISCSI2 name. And it's missing from the C-header 
file
/sys/dev/usb/quirk/usb_quirk.h, too. (Only EJECT_HUAWEI and 
EJECT_HUAWEISCSI exists.)

At the evening, I'll try this command on a real machine, with 10.0-p9, 
but I didn't
remember other HUAWEI quirks, that the two above.

(And my last question: are there any more detailed documentation about 
usbconfig,
than the manual? Actually I don't know what the different commands do, 
eg. maybe
with the add_dev_quirk_vplh, or do_request subcommands, I can create 
new quirks.)

Thanks,

Gabor < Gabor at Zahemszky dot HU >


More information about the freebsd-usb mailing list