Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 12:34:38 -0500
From:      Colin Perkins <csp@isi.edu>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        mh-freebsd-mobile@free.bsd.net, freebsd-mobile@FreeBSD.ORG
Subject:   Re: Motorola v.66 on USB with FreeBSD 
Message-ID:  <200301211734.h0LHYcm18445@chiron.nge.isi.edu>
In-Reply-To: Your message of "Tue, 21 Jan 2003 06:25:54 MST." <20030121.062554.53474181.imp@bsdimp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
--> "M. Warner Losh" writes:
>In message: <200301202335.h0KNZbOd001113@purple.nge.isi.edu>
>            Colin Perkins <csp@csperkins.org> writes:
>: I've also been having trouble connecting a Motorola V.66 phone with FreeBSD, 
>: getting exactly the error messages described below. I put together a quick 
>: patch against -STABLE, based on updates NetBSD has made to their umodem driver, 
>: which seems to fix this problem: 
>: 
>: *** umodem.c.orig       Mon Jan 20 17:14:33 2003
>: --- umodem.c    Mon Jan 20 17:18:37 2003
>: ***************
>: *** 319,326 ****
>:                 sc->sc_cm_over_data = 1;
>:         } else {
>:         if (sc->sc_cm_cap & USB_CDC_CM_OVER_DATA) {
>: !               err = umodem_set_comm_feature(sc, UCDC_ABSTRACT_STATE,
>: !                                           UCDC_DATA_MULTIPLEXED);
>:                 if (err)
>:                         goto bad;
>:                 sc->sc_cm_over_data = 1;
>: --- 319,329 ----
>:                 sc->sc_cm_over_data = 1;
>:         } else {
>:         if (sc->sc_cm_cap & USB_CDC_CM_OVER_DATA) {
>: !               if (sc->sc_acm_cap & USB_CDC_ACM_HAS_FEATURE) {
>: !                       err = umodem_set_comm_feature(sc, UCDC_ABSTRACT_STATE, UCDC_DATA_MULTIPL
>EXED);
>: !               } else {
>: !                       err = 0;
>: !               }
>:                 if (err)
>:                         goto bad;
>:                 sc->sc_cm_over_data = 1;
>: 
>: 
>: I also submitted this to the PR database as kern/47274.
>
>This has already been fixed in -current, but since I have no easy way
>to test -stable + usb, I've not MFC'd the changes from current to
>stable.  They are rather extensive since I just re-ported the umodem
>driver.  The guts of the patch are the above changes, plus an addition
>to usb_quirks.c.  Do you have a change to usb_quirks.c that you've not
>included in the PR?

No, the changes to umodem.c were sufficient to get the v66 phone working. 

Colin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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