Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2007 20:50:57 -0700
From:      David Benfell <benfell@parts-unknown.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-usb@FreeBSD.org, benfell@parts-unknown.org
Subject:   USB no longer goes away, but doesn't respond to Treo
Message-ID:  <20071008035057.GA49030@parts-unknown.org>
In-Reply-To: <20071007174336.GA14347@parts-unknown.org>
References:  <20071002041552.GA43023@parts-unknown.org> <20071001.225544.-1929099703.imp@bsdimp.com> <20071002055139.GA27687@parts-unknown.org> <20071002.030341.-278292810.imp@bsdimp.com> <20071007174336.GA14347@parts-unknown.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--7AUc2qLy4jB3hD7Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, 07 Oct 2007 10:43:36 -0700, David Benfell wrote:
> On Tue, 02 Oct 2007 03:03:41 -0600, M. Warner Losh wrote:
> > In message: <20071002055139.GA27687@parts-unknown.org>
> >             David Benfell <benfell@parts-unknown.org> writes:
> > : On Mon, 01 Oct 2007 22:55:44 -0600, M. Warner Losh wrote:
> > : > In message: <20071002041552.GA43023@parts-unknown.org>
> > : >             David Benfell <benfell@parts-unknown.org> writes:
> > : > : On Mon, 01 Oct 2007 22:02:43 -0600, M. Warner Losh wrote:
> > : > : > In message: <20071002025715.GA10999@parts-unknown.org>
> > : > : >             David Benfell <benfell@parts-unknown.org> writes:
> > : > : > : I gather that USB has, in the past, been troublesome on
> > : > : > : FreeBSD.  From my present experience, it still is.
> > : > : >=20
> > : > : > Which version?
> > : > : >=20
> > : > : earth% uname -a
> > : > : FreeBSD earth.cybernude.org 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7=
 #53: Sat Sep 29 20:25:11 PDT 2007     root@earth.cybernude.org:/usr/obj/us=
r/src/sys/EARTH  i386
> > : >=20
So now I have:

FreeBSD earth.cybernude.org 7.0-CURRENT FreeBSD 7.0-CURRENT #55: Sat Oct  6=
 14:02:17 PDT 2007     root@earth.cybernude.org:/usr/obj/usr/src/sys/EARTH =
 i386

> > : > We're working on getting -current out the door.  Any chance you can
> > : > try that?  Or will I need to backport current's USB stack for you? =
:-)
> > : >=20
> > : I will try upgrading to current.  (Oh what fun it is to live on the
> > : bleeding edge!)
> >=20
> > Well, it isn't so bleeding since we're trying to do a Release.
> >=20
> After some considerable fumbling about, I now have CURRENT installed
> and running.  I *did* install userland; I noticed some kldxref errors
> that probably weren't really errors about static modules and decided I
> was nervous.
>=20
> But the Palm Treo seems to connect up reliably on an initial test, both
> to sync updates from the Palm to a backup directory on the system, and
> to install a bunch of files from the system onto the Palm.  This is a
> test it was failing miserably under the last instance of 6.2 I had tested.
>=20
So I went away for a while, and came back and tried it again.  The
system once again failed to recognize the Treo on connection and, so
of course, an attempt to synchronize also failed.  Rats.

earth% usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x=
0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x=
0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x=
0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x=
0000), rev 1.00
 port 1 powered
 port 2 addr 2: high speed, self powered, config 1, product 0x0606(0x0606),=
 vendor 0x05e3(0x05e3), rev 7.02
  port 1 powered
  port 2 powered
  port 3 powered
  port 4 addr 3: high speed, self powered, config 1, product 0x0606(0x0606)=
, vendor 0x05e3(0x05e3), rev 7.02
   port 1 powered
   port 2 powered
   port 3 addr 5: full speed, self powered, config 1, product 0x0061(0x0061=
), vendor 0x0830(0x0830), rev 1.00
   port 4 addr 4: high speed, self powered, config 1, product 0x0121(0x0121=
), vendor 0x04b8(0x04b8), rev 1.10
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 powered

But usbdevs shows the device.  From my usbd.conf:

device  "Palm Treo 700p"
        devname "ugen[0-9]+"
        vendor  0x0830
        product 0x0061
        attach "rm -f /dev/pilot; chmod 660 /dev/${DEVNAME}; ln -s /dev/${D=
EVNAME} /dev/pilot"
        detach "rm -f /dev/pilot"=20

So this problem is, at least, different.  I think that's progress.  In the =
previous
iteration, the device didn't appear in usbdevs.  Now it just seems unrespon=
sive.

So, now what?

Thanks!

--=20
David Benfell, LCP
benfell@parts-unknown.org
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).

--7AUc2qLy4jB3hD7Z
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHCakgUd+dMw3R0eMRAvNEAJwNe4NoO5bq8ZeQut3bU13N7AOfsACfQp+S
uHiVPVe9uKem+xbbIELXpE4=
=/f8T
-----END PGP SIGNATURE-----

--7AUc2qLy4jB3hD7Z--



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