Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2008 08:50:13 +0200
From:      "Eimar Koort" <eimar.koort@gmail.com>
To:        freebsd-hardware@freebsd.org
Cc:        Alexandr Rybalko <ray@dlink.ua>
Subject:   Re: ZTE MG478 usbmodem
Message-ID:  <109c90a0801082250r70fc1c43l4bcf27840ab45faf@mail.gmail.com>
In-Reply-To: <20080108110918.6fdd9f3b.ray@dlink.ua>
References:  <109c90a0801061055s3c028b06j488d9bdb3419d2f6@mail.gmail.com> <200801062342.59891.hselasky@c2i.net> <109c90a0801062205s6d12e608y59095d703d6eec1c@mail.gmail.com> <20080108110918.6fdd9f3b.ray@dlink.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gmail.com )



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?109c90a0801082250r70fc1c43l4bcf27840ab45faf>