Re: Motorola v.66 on USB with FreeBSD

Colin Perkins <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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  --  [email protected]  --  http://bsd.net
> UNIX, a way of life. FreeBSD, my choice of living.
>
>To Unsubscribe: send mail to [email protected]
>with "unsubscribe freebsd-mobile" in the body of the message

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.