So I can tell the system, that the unknown K3772 modem - VendorID=12d1 and ProductID=12d1 - needs that message (borrowed from usb_modeswitch database)


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?


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.)


Gabor < Gabor at Zahemszky dot HU >
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to