2014-10-16 09:36 időpontban Hans Petter Selasky ezt írta:
On 10/16/14 08:48, ga...@zahemszky.hu wrote:
I tried to switch it to USB-modem mode, but none of the usb_quirks
worked. And with EJECT_HUAWEI, I got an error, too.
# usbconfig -d ugen4.3 add_quirk UQ_MSC_EJECT_HUAWEI
Adding quirk 'UQ_MSC_EJECT_HUAWEI' failed, continuing.
Did you load the u3g and usb_quirk modules first?
Yes. My method was:
- first I plugged in the stick.
- Found, that nothing know about it.
- Pulled out
# kldload u3g
- plugged it second time
- pulled out
# kldload usb_quirk
# man usb_quirk
- plugged the stick
- tried all of the u3g quirks, found in the manual and in the
with the command:
usbconfig -d useg4.3 add_quirk UQ_MSC_EJECT_*
one after the other. Actually I've just found, that there is a
remove_quirk subcommand, too.
Maybe I need to remove a quirk if it's not the correct one?
Under Linux, with usb_modeswitch, I could switch it to modem, with
string, and after it, it will be Vendor=12d1 ProdID=14cf. There
interesting information about this modem in this forum thread:
Is it possible, to use this modem under FreeBSD? And if yes, how?
Modeswitch is available under FreeBSD too. Check the ports
Hm, I didn't know about it, At the evening, I'll try it.
collection. Although we prefer putting the quirks into the kernel.
Isn't it a good idea to make it possible to add new quirks from
Not always, because then the dummy CD-ROMs will enumerate first.
Hi, I think you misunderstood my comment. I think that we need some
- to tell the u3g driver to use a new quirk (UQ_MSC_NEW) ; that the
with VendorID X and ProductID Y *will* need to switch with the next
ABC - where X and Y are known IDs, ABC is a known message, but ABC is
defined quirk in the usb_quirk driver.
So I can tell the system, that the unknown K3772 modem - VendorID=12d1
ProductID=12d1 - needs that message (borrowed from usb_modeswitch
- to tell the u3g driver, that a HW *will* arrive vith VID X PID Y, and
needs the quirk UQ_MSC_NEW
Gabor < Gabor at Zahemszky dot HU >
email@example.com mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"