Re: Sony Clie PEG-TJ37 vs. FreeBSD CURRENT (long)

From: Bruce A. Mah <bmah_at_freebsd.org>
Date: Thu, 01 Jul 2004 13:28:56 -0700
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:
> > 
> > > 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.
> > 
> > OK, now I'm more confused.  Please see the attached patch, which I added
> > to grab the connection information.
> > 
> > (Yippee...a chance to embarass myself with my lamer un-l33t kernel
> > hacking skillz.)
> > 
> > My debug output looks like (after MTA wordwrap):
> > 
> > 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
> > 
> > If this is right, the only reason that I'm getting a successful
> > attachment is the "if (i == nc) i = nc - 1;" fallthrough code.  Huh?!?
> 
> 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.


Received on Thu Jul 01 2004 - 18:30:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:59 UTC