From owner-freebsd-mobile Fri Dec 27 14:18:17 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E84C37B401 for ; Fri, 27 Dec 2002 14:18:15 -0800 (PST) Received: from smtp02.fuse.net (mx4.fuse.net [216.68.1.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CDCD43EB2 for ; Fri, 27 Dec 2002 14:18:14 -0800 (PST) (envelope-from mistry.7@osu.edu) Received: from bigguy.am-productions.biz ([216.196.157.236]) by smtp02.fuse.net (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20021227221808.ITRF560.smtp02.fuse.net@bigguy.am-productions.biz>; Fri, 27 Dec 2002 17:18:08 -0500 Content-Type: text/plain; charset="iso-8859-1" From: Anish Mistry To: rafege@mail.com (G.E. Rafe) Subject: Re: Palm m130 & ucom/uvisor on 4.7-R Date: Fri, 27 Dec 2002 17:16:03 -0500 User-Agent: KMail/1.4.3 References: <200212271707.MAA28953@strange.eng.utoledo.edu> In-Reply-To: <200212271707.MAA28953@strange.eng.utoledo.edu> Cc: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212271716.03539.mistry.7@osu.edu> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Friday 27 December 2002 12:07 pm, G.E. Rafe wrote: > After upgrading to 4.7-R on our Toshiba Satellite Pro 4600 recently, > we gave a closer look at the ucom(4) & uvisor(4) USB devices > to connect with our Palm m130 USB cradle. >=20 > A quick inspection of the kernel sources suggested the following additi= ons: >=20 > /usr/src/sys/dev/usb/usbdevs: > product PALM M125=09=090x0040 Palm m125 > +product PALM M130=09=090x0050 Palm m130 >=20 > /usr/src/sys/dev/usb/uvisor.c: > =09{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M125 }, PALM4 }, > +=09{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M130 }, PALM4 }, > =09{{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_40 }, PALM4 }, >=20 > And the relevant USB entries included in the kernel configuration: > device usb > device uhci > device ucom > device uvisor >=20 > A new kernel was compiled, installed, & the system restarted. > Following that, an entry in /dev/ was made: >=20 > =09# cd /dev; ./MAKEDEV ucom0; ls -l /dev/ucom0 > crw------- 1 xyz xyz 138, 128 Dec 27 00:44 /dev/ucom0 >=20 > and... > =09 > ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 5 > ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 5 >=20 > The kernel appears to find the Palm & its USB cradle, as noted above. > =09$ usbdevs -v >=20 > Controller /dev/usb0: > addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), r= ev=20 1.00 > port 2 addr 3: power 64 mA, config 1, Standard USB Hub(0x3301),=20 Atmel(0x03eb), rev 3.00 > port 4 addr 5: self powered, config 1, Palm Handheld(0x0050), Palm,=20 Inc.(0x0830), rev 1.00 >=20 > Then, with a freshly-compiled pilot-link (0.11.6), > running pilot-xfer(1) to list the device contents, however, fails: > =09$ pilot-xfer -p /dev/ucom0 -l > ucom0: ucomreadcb: IOERROR > ucom0: at uhub1 port 4 (addr 5) disconnected > ucom0: still open, focing close > ucom0: detached >=20 > Running pilot-xfer(1) with the serial cradle works fine at 115,200bps, > so we assume pilot-link is not the problem here. >=20 > I don't mind using the serial cradle at home > (we still need it on the Sun Blade in the office), > but it would be nice to get the USB cradle to work. >=20 > Any suggestions on what we might look at next ? > The pilot-link folk hang out in #pilot-link on irc.pilot-link.org =46rom what we have gathered there is a problem with the FreeBSD usb devi= ce=20 handling, and if someone could submit a fix for this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/45579 we should be set. --=20 Anish Mistry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message