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: <Vodafone Huawei> at usbus0
cdce0: <Vodafone Huawei Vodafone Mobile Broadband Huawei, class 0/0, rev
1.10/1.01, addr 2> on usbus0
cdce0: faking MAC address
umass0: <Vodafone Huawei Vodafone Mobile Broadband Huawei, class 0/0,
rev 1.10/1.01, addr 2> on usbus0
umass0: SCSI over Bulk-Only; quirks = 0x0000
ue0: <USB Ethernet> 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: <Vodafone CD ROM (Huawei) 2.31> 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: <Vodafone Mobile Broadband Huawei Vodafone Huawei> at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (500mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0110
  bDEviceClass = 0x0000
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x00
  bMaxPacketSize0 = 0x0040
  idVendor = 0x12d1
  idProduct = 0x14cf
  bcdDevice = 0x0102
  iManufacturer = 0x0003 <Vodafone (Huawei)>
  iProduct = 0x0002 <Vodafone Mobile broadband (Huawei)>
  iSerialNumber = 0x0000  <no string>
  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: <Vodafone huawei> at usbus0
ugen0.2: <Vodafone huawei> at usbus0 (disconnected)
ugen0.2: <Vodafone huawei> at usbus0
u3g0: <Vodafone Huawei Vodafone Mobile Broadband Huawei, class 0/0, rev 1.10/1.02, addr2> on usbus0
u3g0: Found 3 ports.
umass0: SCSI over Bulk-Only; quirks = 0x0000
umass0:2:0: Attached to scbus0
cd1 at umass-sim0 bus 0 scbus2 target 0 lun 0
cd1: <Vodafone CD ROM (Huawei) 2.31> 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"

Reply via email to