ZTE MG478 usbmodem

Eimar Koort eimar.koort at gmail.com
Tue Jan 8 22:50:14 PST 2008


Hi,


>> >
> >> > Maybe you need to add the VID/PID to "/sys/dev/usb/umodem.c".
> >> >
> >> > vendor=0x19d2 product=0xfffe
> >> >
> >> > --HPS
> >> >
>
> You also need append string like this:
>
> { USB_VENDOR_MOTOROLA2, USB_PRODUCT_MOTOROLA2_A41XV32X, ANY,
> { UQ_ASSUME_CM_OVER_DATA }},
>
> but with your VID/PID to usb_quirks struct in file usb_quirks.c
> and then recompile kernel, because usb_quirks.c compiling with usb
> device and usb device by default in kernel.
>

No luck at all.
What i did:
added two lines to /usr/src/sys/usb/usbdevs

vendor ZTE 0x19d2 ZTE
product ZTE MG478 0xfffe ZTE CDMA2000

Added to /usr/src/sys/usb/usb_quircs.c
{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MG478, ANY { UQ_ASSUME_CM_OVER_DATA }},

In kernel config added following:

device umodem
device ucom

New kernel and after connecting device:

uhub0: device problem (SET_ADDR_FAILED), disabling port 1
ugen0: ZTE, Incorporated ZTE CDMA Tech, rev 1.10/0.00, addr 2

laptop# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x0000), rev 1.00
 port 1 addr 2: full speed, self powered, config 1, ZTE CDMA Tech(0xfffe),
ZTE, Incorporated(0x19d2), rev 0.00
 port 2 powered

Any ideas?
-- 
Eimar Koort
( eimar.koort at gmail.com )


More information about the freebsd-hardware mailing list