From owner-freebsd-usb@FreeBSD.ORG Wed Sep 26 14:30:28 2007 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A47416A418 for ; Wed, 26 Sep 2007 14:30:28 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 84D8E13C458 for ; Wed, 26 Sep 2007 14:30:28 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8QEUSlI068729 for ; Wed, 26 Sep 2007 14:30:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8QEUStl068728; Wed, 26 Sep 2007 14:30:28 GMT (envelope-from gnats) Date: Wed, 26 Sep 2007 14:30:28 GMT Message-Id: <200709261430.l8QEUStl068728@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Eugene Grosbein Cc: Subject: Re: usb/91546: [umodem] [patch] Nokia 6630 mobile phone does not work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugene Grosbein List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 14:30:28 -0000 The following reply was made to PR usb/91546; it has been noted by GNATS. From: Eugene Grosbein To: bug-followup@freebsd.org Cc: "M. Warner Losh" , usb@freebsd.org Subject: Re: usb/91546: [umodem] [patch] Nokia 6630 mobile phone does not work Date: Wed, 26 Sep 2007 22:28:02 +0800 On Wed, Sep 26, 2007 at 07:32:01PM +0800, Eugene Grosbein wrote: > On Tue, 25 Sep 2007, Warner Losh wrote: > > > My modem doesn't have a CM descriptor and I quirked it before. I > > moved the quirk code and it works now without it. The Union code > > from NetBSD didn't look relevant at all when you chased down all the > > things that it actually did, but maybe I missed something. > > > Given that umodem from current should just work on -stable w/o any > > changes (you may need ucom too, which does need one or two changes), > > it would be worth a shot at trying it. > > I've taken umodem.c,v 1.71 (no changes) and ucom.c,v 1.64 (one-line > change for ttycreate() call) from CURRENT, rebuild kernel modules > and tried - no luck, it's attached as ugen: > > umodem_get_desc: no CM desc > ugen2: Nokia Nokia E50, rev 2.00/1.00, addr 2 Please take a look at this also: http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=33192 It seems that NetBSD's code is not complete for my case too, but Linux's cdc-acm.c is able to deal with such devices. Eugene Grosbein