Date: Thu, 16 Oct 2014 10:47:39 +0200 From: gabor@zahemszky.hu To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-usb@freebsd.org Subject: Re: u3g and Vodafone k3772 (not k3772z) Message-ID: <09454923d8518e4f1e2e7aab64e499ba@zahemszky.hu> In-Reply-To: <543F7F5F.5070102@selasky.org> References: <c5c1344ad4a64cd91e769a0e0fd750aa@zahemszky.hu> <543F662E.2010801@bitfrost.no> <b02117a6904277a0a674ef618f8b98b0@zahemszky.hu> <543F757F.3080008@selasky.org> <32bbfea82744ca84ffa31c27917f3013@zahemszky.hu> <543F7F5F.5070102@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09454923d8518e4f1e2e7aab64e499ba>
