Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 18:35:37 -0500
From:      Colin Perkins <csp@csperkins.org>
To:        Martin Hasenbein <mh-freebsd-mobile@free.bsd.net>
Cc:        FreeBSD Mobile <freebsd-mobile@FreeBSD.ORG>
Subject:   Re: Motorola v.66 on USB with FreeBSD 
Message-ID:  <200301202335.h0KNZbOd001113@purple.nge.isi.edu>
In-Reply-To: Your message of "Tue, 09 Jul 2002 09:19:59 %2B0200." <20020709091959.G73986@free.bsd.net> 

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

Cheers,
Colin



--> Martin Hasenbein writes:
>Hi,
>
>I finally got my data cable today. I plugged it into
>the cellular and into my Laptop, abd FreeBSD boots,
>I get the following error messages:
>
>Jul  9 09:04:02 <kern.crit> mobile /kernel: uhci0: <VIA 83C572 USB controller> port 0x1c00-0x1c1f irq 11 at device 7.2 on pci0
>Jul  9 09:04:02 <kern.crit> mobile /kernel: usb0: <VIA 83C572 USB controller> on uhci0
>Jul  9 09:04:02 <kern.crit> mobile /kernel: usb0: USB revision 1.0
>Jul  9 09:04:02 <kern.crit> mobile /kernel: uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>Jul  9 09:04:02 <kern.crit> mobile /kernel: uhub0: 2 ports with 2 removable, self powered
>Jul  9 09:04:02 <kern.crit> mobile /kernel: umodem0: Motorola Inc. Motorola Phone (V.series 66), rev 1.10/0.01, addr 2, iclass 2/2
>Jul  9 09:04:02 <kern.crit> mobile /kernel: umodem0: data interface 1, has CM over data, has no break
>Jul  9 09:04:02 <kern.crit> mobile /kernel: device_probe_and_attach: umodem0 attach returned 6
>Jul  9 09:04:02 <kern.crit> mobile /kernel: ugen0: vendor 0x22b8 product 0x1005, rev 1.10/0.01, addr 2
>Jul  9 09:04:02 <kern.crit> mobile /kernel: ugen0: setting configuration index 0 failed
>Jul  9 09:04:02 <kern.crit> mobile /kernel: device_probe_and_attach: ugen0 attach returned 6
>
>What do these error messages mean? How can I fix them?
>
>Thank you,
>
>	/mh
>
>-- 
>Martin Hasenbein  --  mh@bsd.net  --  http://bsd.net
> UNIX, a way of life. FreeBSD, my choice of living.
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-mobile" in the body of the message

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?200301202335.h0KNZbOd001113>