Date: Thu, 01 Jul 2004 13:28:56 -0700 From: "Bruce A. Mah" <bmah@freebsd.org> To: Brian Fundakowski Feldman <green@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: Sony Clie PEG-TJ37 vs. FreeBSD CURRENT (long) Message-ID: <1088713736.3601.85.camel@tomcat.kitchenlab.org> In-Reply-To: <20040701201642.GH1034@green.homeunix.org> References: <20040701154429.GA3543@tomcat.kitchenlab.org> <20040701164523.GA1034@green.homeunix.org> <1088702269.3601.40.camel@tomcat.kitchenlab.org> <20040701172532.GC1034@green.homeunix.org> <1088711391.3601.74.camel@tomcat.kitchenlab.org> <20040701201642.GH1034@green.homeunix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-s+J21iLIhoqUT8PrVFB8 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-07-01 at 13:16, Brian Fundakowski Feldman wrote: > On Thu, Jul 01, 2004 at 12:49:51PM -0700, Bruce A. Mah wrote: > > On Thu, 2004-07-01 at 10:25, Brian Fundakowski Feldman wrote: > >=20 > > > Great, glad it works! Yeah, that's the part where you'd potentially > > > want to attach them all; since you're the one with the hardware > > > in a position to really test it, I'd appreciate if you'd add the > > > appropriate USB_DEBUG printfs for the PALM4 (!VISOR) case to see what > > > ports are really available and hopefully get someone who really knows > > > the USB/device drivers to finish making multiple ucom attachment work= . > >=20 > > OK, now I'm more confused. Please see the attached patch, which I adde= d > > to grab the connection information. > >=20 > > (Yippee...a chance to embarass myself with my lamer un-l33t kernel > > hacking skillz.) > >=20 > > My debug output looks like (after MTA wordwrap): > >=20 > > Jul 1 12:43:14 tomcat kernel: ucom0: Palm, Inc. Palm Handheld, rev > > 1.00/1.00, addr 2 > > Jul 1 12:43:14 tomcat kernel: ucom0: Palm, Inc. Palm Handheld, rev > > 1.00/1.00, addr 2 > > Jul 1 12:43:14 tomcat kernel: ucom0: Connection 0: port 0 > > end_point_info 33 port_function_id 5f 70 70 70 > >=20 > > If this is right, the only reason that I'm getting a successful > > attachment is the "if (i =3D=3D nc) i =3D nc - 1;" fallthrough code. H= uh?!? >=20 > I bet it's setting endpoint_numbers_different :) If you look at the > code it gave, it was the string "_ppp" so you could potentially do > memcmp(end_point_info, "_ppp", 4) now that we know what it looks like. > What does it look like when you do HotSync instead of PPP? Jul 1 13:22:50 tomcat kernel: ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2 Jul 1 13:22:50 tomcat kernel: ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2 Jul 1 13:22:50 tomcat kernel: ucom0: Connection 0: port 0 end_point_info 33 port_function_id 63 6e 79 73 Hmmm..."cnys". I guess I was hoping for some kind of Satanic message, but, it's only "sync" backwards. Bruce. --=-s+J21iLIhoqUT8PrVFB8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD4DBQBA5HQI2MoxcVugUsMRAu4+AJi1jFbZ6kh3rxaRHrI/lVoIWGAYAKCJkaMO WnE9pBX45PvW01IaXUqYOw== =IkCN -----END PGP SIGNATURE----- --=-s+J21iLIhoqUT8PrVFB8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1088713736.3601.85.camel>
