Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 06:25:54 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        csp@csperkins.org
Cc:        mh-freebsd-mobile@free.bsd.net, freebsd-mobile@FreeBSD.ORG
Subject:   Re: Motorola v.66 on USB with FreeBSD 
Message-ID:  <20030121.062554.53474181.imp@bsdimp.com>
In-Reply-To: <200301202335.h0KNZbOd001113@purple.nge.isi.edu>
References:  <20020709091959.G73986@free.bsd.net> <200301202335.h0KNZbOd001113@purple.nge.isi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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_MULTIPLEXED);
: !               } 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?

I have a Sanyo SCP-4900 that I got to work with FreeBSD this way.

Warner

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?20030121.062554.53474181.imp>