Re: u3g and Vodafone k3772 (not k3772z)
=== So, I've lost the cdc0 and ue0 devices, but got the u3g0 device. And we have three /dev/ttyU* and /dev/cucU* devices (and the .init and .lock devices to all of them). And of course, I can connect to the device: # cu -s 115200 -l /dev/cuaU0.0 Connected atz OK ati Manufacturer: Vodafone (Huawei) Model: K3772 Revision: 21.157.40.00.11 IMEI: xxx +GCAP: +CGSM,+DS,+ES OK Hi, Here is the final patch: https://svnweb.freebsd.org/changeset/base/273216 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: u3g and Vodafone k3772 (not k3772z)
OK. I've upgraded to 11-CURRENT, patched in the ID-s. Kldloaded the u3g module (and cannot load the usb_quirk module) Here is the demsg output after plugging in the stick: ugen0.2: at usbus0 cdce0: 0/0, rev 1.10/1.01, addr 2> on usbus0 cdce0: faking MAC address umass0: 0/0, rev 1.10/1.01, addr 2> on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x ue0: on cdce0 ue0: Ethernet address: 2a:35:81:05:00:00 umass0:2:0: Attached to scbus2 cd1 at umass-sim0 bus 0 scbus2 target 0 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 1.000MB/s transfers cd1: cd present [65536 x 2048 byte records] cd1: quirks=0x10<10YTE_ONLY> Thanks, Gabor < Gabor at Zahemszky dot HU > Hi, Can you show the output from "usbconfig -d X.Y dump_device_desc"? We need to add the non-autoinstall disk ID to u3g aswell. Thank you! Hi! The original ID is: 12d1:1526 The switched ID is: 12d1:14cf The dump: # usbconfig -d 0.2 dump_device_desc ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDEviceClass = 0x bDeviceSubClass = 0x bDeviceProtocol = 0x00 bMaxPacketSize0 = 0x0040 idVendor = 0x12d1 idProduct = 0x14cf bcdDevice = 0x0102 iManufacturer = 0x0003 iProduct = 0x0002 iSerialNumber = 0x bNumConfigurations = 0x0001 I have another question. Both ucom and u3g modules loaded, but I cannot find /dev/ttyU* or /dev/cuaU* devices. What's missing? Bye, Gabor < Gabor at Zahemszky dot HU > Can you test the attached patch. Revert the previous ones. cd sys/dev/usb/ cat u3g.diff | patch compile new kernel and reboot. --HPS Hi! OK, updated. Now: dmesg: === ugen0.2: at usbus0 ugen0.2: at usbus0 (disconnected) ugen0.2: at usbus0 u3g0: 1.10/1.02, addr2> on usbus0 u3g0: Found 3 ports. umass0: SCSI over Bulk-Only; quirks = 0x umass0:2:0: Attached to scbus0 cd1 at umass-sim0 bus 0 scbus2 target 0 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 1.000MB/s transfers cd1: cd present [65536 x 2048 byte records] cd1: quirks=0x10<10YTE_ONLY> === So, I've lost the cdc0 and ue0 devices, but got the u3g0 device. And we have three /dev/ttyU* and /dev/cucU* devices (and the .init and .lock devices to all of them). And of course, I can connect to the device: # cu -s 115200 -l /dev/cuaU0.0 Connected atz OK ati Manufacturer: Vodafone (Huawei) Model: K3772 Revision: 21.157.40.00.11 IMEI: xxx +GCAP: +CGSM,+DS,+ES OK Thanks, Gabor < Gabor at Zahemszky dot HU > ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: u3g and Vodafone k3772 (not k3772z)
On 10/17/14 11:26, ga...@zahemszky.hu wrote: 2014-10-16 10:58 időpontban Hans Petter Selasky ezt írta: Hi, You need to run 11-curent, the quirk is not in 10-branch yet. The following patch for 11-current should fix your device. Hint: You can boot a 11-current kernel with 10-xxx userland! Can you test the attached patch on 11-current, and report back? OK. I've upgraded to 11-CURRENT, patched in the ID-s. Kldloaded the u3g module (and cannot load the usb_quirk module) Here is the demsg output after plugging in the stick: ugen0.2: at usbus0 cdce0: on usbus0 cdce0: faking MAC address umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x ue0: on cdce0 ue0: Ethernet address: 2a:35:81:05:00:00 umass0:2:0: Attached to scbus2 cd1 at umass-sim0 bus 0 scbus2 target 0 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 1.000MB/s transfers cd1: cd present [65536 x 2048 byte records] cd1: quirks=0x10<10YTE_ONLY> Thanks, Gabor < Gabor at Zahemszky dot HU > Hi, Can you show the output from "usbconfig -d X.Y dump_device_desc"? We need to add the non-autoinstall disk ID to u3g aswell. Thank you! --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: u3g and Vodafone k3772 (not k3772z)
2014-10-16 10:58 időpontban Hans Petter Selasky ezt írta: Hi, You need to run 11-curent, the quirk is not in 10-branch yet. The following patch for 11-current should fix your device. Hint: You can boot a 11-current kernel with 10-xxx userland! Can you test the attached patch on 11-current, and report back? OK. I've upgraded to 11-CURRENT, patched in the ID-s. Kldloaded the u3g module (and cannot load the usb_quirk module) Here is the demsg output after plugging in the stick: ugen0.2: at usbus0 cdce0: rev 1.10/1.01, addr 2> on usbus0 cdce0: faking MAC address umass0: rev 1.10/1.01, addr 2> on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x ue0: on cdce0 ue0: Ethernet address: 2a:35:81:05:00:00 umass0:2:0: Attached to scbus2 cd1 at umass-sim0 bus 0 scbus2 target 0 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 1.000MB/s transfers cd1: cd present [65536 x 2048 byte records] cd1: quirks=0x10<10YTE_ONLY> Thanks, Gabor < Gabor at Zahemszky dot HU > ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: u3g and Vodafone k3772 (not k3772z)
Hi, You need to run 11-curent, the quirk is not in 10-branch yet. The following patch for 11-current should fix your device. Hint: You can boot a 11-current kernel with 10-xxx userland! Can you test the attached patch on 11-current, and report back? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: u3g and Vodafone k3772 (not k3772z)
So I can tell the system, that the unknown K3772 modem - VendorID=12d1 and ProductID=12d1 - needs that message (borrowed from usb_modeswitch database) "55534243123456780011062001" 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 > ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: u3g and Vodafone k3772 (not k3772z)
On 10/16/14 09:50, ga...@zahemszky.hu wrote: 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 - nothing - pulled out # kldload usb_quirk # man usb_quirk - plugged the stick - tried all of the u3g quirks, found in the manual and in the usbconfig dump_quirk_names list 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 the MessageContent="55534243123456780011062001" string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some interesting information about this modem in this forum thread: http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 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 userspace? Not always, because then the dummy CD-ROMs will enumerate first. --HPS Hi, I think you misunderstood my comment. I think that we need some trick: - to tell the u3g driver to use a new quirk (UQ_MSC_NEW) ; that the hardware with VendorID X and ProductID Y *will* need to switch with the next message: ABC - where X and Y are known IDs, ABC is a known message, but ABC is not a defined quirk in the usb_quirk driver. So I can tell the system, that the unknown K3772 modem - VendorID=12d1 and ProductID=12d1 - needs that message (borrowed from usb_modeswitch database) "55534243123456780011062001" 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? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: u3g and Vodafone k3772 (not k3772z)
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 - nothing - pulled out # kldload usb_quirk # man usb_quirk - plugged the stick - tried all of the u3g quirks, found in the manual and in the usbconfig dump_quirk_names list 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 the MessageContent="55534243123456780011062001" string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some interesting information about this modem in this forum thread: http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 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 userspace? Not always, because then the dummy CD-ROMs will enumerate first. --HPS Hi, I think you misunderstood my comment. I think that we need some trick: - to tell the u3g driver to use a new quirk (UQ_MSC_NEW) ; that the hardware with VendorID X and ProductID Y *will* need to switch with the next message: ABC - where X and Y are known IDs, ABC is a known message, but ABC is not a defined quirk in the usb_quirk driver. So I can tell the system, that the unknown K3772 modem - VendorID=12d1 and ProductID=12d1 - needs that message (borrowed from usb_modeswitch database) "55534243123456780011062001" - to tell the u3g driver, that a HW *will* arrive vith VID X PID Y, and needs the quirk UQ_MSC_NEW Thanks, Gabor < Gabor at Zahemszky dot HU > ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: u3g and Vodafone k3772 (not k3772z)
On Thu, 16 Oct 2014 09:36:31 +0200 Hans Petter Selasky wrote: > 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 > > - nothing > > - pulled out > > # kldload usb_quirk > > # man usb_quirk > > - plugged the stick > > - tried all of the u3g quirks, found in the manual and in the usbconfig > > dump_quirk_names list > > 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 the > >>> > >>> MessageContent="55534243123456780011062001" > >>> > >>> > >>> string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some > >>> interesting information about this modem in this forum thread: > >>> > >>> > >>> http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 > >>> > >>> 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 userspace? > > Not always, because then the dummy CD-ROMs will enumerate first. > Yeah, but according to usb_quirk(4) that's exactly what that module is supposed to make possible. -- Gary Jennejohn ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: u3g and Vodafone k3772 (not k3772z)
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 - nothing - pulled out # kldload usb_quirk # man usb_quirk - plugged the stick - tried all of the u3g quirks, found in the manual and in the usbconfig dump_quirk_names list 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 the MessageContent="55534243123456780011062001" string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some interesting information about this modem in this forum thread: http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 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 userspace? Not always, because then the dummy CD-ROMs will enumerate first. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: u3g and Vodafone k3772 (not k3772z)
Hi, On 10/15/14 22:33, ga...@zahemszky.hu wrote: Hi! I borrowed a Vodafone - Huawei K3772 Mobile stick for some days. It's a bit disappointing, that I could not use it under FreeBSD. This 3g modem is made by Huawei (the K3772z is made by ZTE) with vendorID: 0x12d1 and productID: 0x1526. # usbconfig -d 4.3 dump_device_desc ugen4.3: at usbus4, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x bDeviceSubClass = 0x bDeviceProtocol = 0x bMaxPacketSize0 = 0x0040 idVendor = 0x12d1 idProduct = 0x1526 bcdDevice = 0x0102 iManufacturer = 0x0002 iProduct = 0x0001 iSerialNumber = 0x bNumConfigurations = 0x0001 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? Under Linux, with usb_modeswitch, I could switch it to modem, with the MessageContent="55534243123456780011062001" string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some interesting information about this modem in this forum thread: http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 Is it possible, to use this modem under FreeBSD? And if yes, how? Modeswitch is available under FreeBSD too. Check the ports collection. Although we prefer putting the quirks into the kernel. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: u3g and Vodafone k3772 (not k3772z)
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 - nothing - pulled out # kldload usb_quirk # man usb_quirk - plugged the stick - tried all of the u3g quirks, found in the manual and in the usbconfig dump_quirk_names list 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 the MessageContent="55534243123456780011062001" string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some interesting information about this modem in this forum thread: http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 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 userspace? Thanks, Gabor < Gabor at Zahemszky dot HU > ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: u3g and Vodafone k3772 (not k3772z)
Hi, On 10/15/14 22:33, ga...@zahemszky.hu wrote: Hi! I borrowed a Vodafone - Huawei K3772 Mobile stick for some days. It's a bit disappointing, that I could not use it under FreeBSD. This 3g modem is made by Huawei (the K3772z is made by ZTE) with vendorID: 0x12d1 and productID: 0x1526. # usbconfig -d 4.3 dump_device_desc ugen4.3: at usbus4, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x bDeviceSubClass = 0x bDeviceProtocol = 0x bMaxPacketSize0 = 0x0040 idVendor = 0x12d1 idProduct = 0x1526 bcdDevice = 0x0102 iManufacturer = 0x0002 iProduct = 0x0001 iSerialNumber = 0x bNumConfigurations = 0x0001 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? Under Linux, with usb_modeswitch, I could switch it to modem, with the MessageContent="55534243123456780011062001" string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some interesting information about this modem in this forum thread: http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 Is it possible, to use this modem under FreeBSD? And if yes, how? Modeswitch is available under FreeBSD too. Check the ports collection. Although we prefer putting the quirks into the kernel. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
u3g and Vodafone k3772 (not k3772z)
Hi! I borrowed a Vodafone - Huawei K3772 Mobile stick for some days. It's a bit disappointing, that I could not use it under FreeBSD. This 3g modem is made by Huawei (the K3772z is made by ZTE) with vendorID: 0x12d1 and productID: 0x1526. # usbconfig -d 4.3 dump_device_desc ugen4.3: at usbus4, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x bDeviceSubClass = 0x bDeviceProtocol = 0x bMaxPacketSize0 = 0x0040 idVendor = 0x12d1 idProduct = 0x1526 bcdDevice = 0x0102 iManufacturer = 0x0002 iProduct = 0x0001 iSerialNumber = 0x bNumConfigurations = 0x0001 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. # Under Linux, with usb_modeswitch, I could switch it to modem, with the MessageContent="55534243123456780011062001" string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some interesting information about this modem in this forum thread: http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 Is it possible, to use this modem under FreeBSD? And if yes, how? Thanks, Zahemszky, Gabor < Gabor at Zahemszky dot HU > ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"