From owner-freebsd-hardware@FreeBSD.ORG Wed Jan 9 06:50:14 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D78216A417 for ; Wed, 9 Jan 2008 06:50:14 +0000 (UTC) (envelope-from eimar.koort@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id E005013C45D for ; Wed, 9 Jan 2008 06:50:13 +0000 (UTC) (envelope-from eimar.koort@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so254490waf.3 for ; Tue, 08 Jan 2008 22:50:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=vuZcsbxmrHmlTpk0pVYNyKE2CgQEIJ0npW0B/6R/9Jg=; b=kvAHMybxbPqhpIFfxLh759bboqIkF8CA/x6yLl7Jb1Iz+LDD8gOBnqXV2AETHaMd8pDR0Vr9k4Wbw6OCI2f1YM4MrIEiAlirj6Ddg18g9TRlpkLayTNl1FpTJR5iz5PAZuATnH/AMwQUKLAlFmfyfHJ1ytVL1MVJEi60MUChK2I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ANtOdtC1fznowjQxzGG6AT/Us8Eu2Y5kSKPWdo5GEAFbLcWoS0d/x3jAzx+1TMmfJ+FnwU2oai6vPjmlP9qqlcvWS6FKd8c9lhotF3szXXWS4d7jgkugHucBJeQ4aIwDXTGOyYCys2RNpjIThQqvDSvf9RH4L37Zag/41O7OwEk= Received: by 10.114.110.1 with SMTP id i1mr419144wac.112.1199861413671; Tue, 08 Jan 2008 22:50:13 -0800 (PST) Received: by 10.114.109.9 with HTTP; Tue, 8 Jan 2008 22:50:13 -0800 (PST) Message-ID: <109c90a0801082250r70fc1c43l4bcf27840ab45faf@mail.gmail.com> Date: Wed, 9 Jan 2008 08:50:13 +0200 From: "Eimar Koort" To: freebsd-hardware@freebsd.org In-Reply-To: <20080108110918.6fdd9f3b.ray@dlink.ua> MIME-Version: 1.0 References: <109c90a0801061055s3c028b06j488d9bdb3419d2f6@mail.gmail.com> <200801062342.59891.hselasky@c2i.net> <109c90a0801062205s6d12e608y59095d703d6eec1c@mail.gmail.com> <20080108110918.6fdd9f3b.ray@dlink.ua> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Alexandr Rybalko Subject: Re: ZTE MG478 usbmodem X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2008 06:50:14 -0000 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 )