Date: Thu, 01 Jul 2004 12:49:51 -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: <1088711391.3601.74.camel@tomcat.kitchenlab.org> In-Reply-To: <20040701172532.GC1034@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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-NoQBdBHbTZIjnGRlpMq6 Content-Type: multipart/mixed; boundary="=-x90tIjG2oxTwh4fI74Q6" --=-x90tIjG2oxTwh4fI74Q6 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 =3D=3D nc) i =3D nc - 1;" fallthrough code. Huh?!= ? Thanks, Bruce. --=-x90tIjG2oxTwh4fI74Q6 Content-Description: Content-Disposition: attachment; filename=uvisor.c.diff2 Content-Transfer-Encoding: base64 Content-Type: text/plain LS0tIHV2aXNvci5jLWdyZWVuCVRodSBKdWwgIDEgMTA6NDI6MTcgMjAwNA0KKysrIHV2aXNvci5j CVRodSBKdWwgIDEgMTI6NDE6NDIgMjAwNA0KQEAgLTM2OCw2ICszNjgsMTggQEANCiAJCWlmIChu YyA+IFVWSVNPUl9NQVhfQ09OTikNCiAJCQluYyA9IFVWSVNPUl9NQVhfQ09OTjsNCiANCisjaWZk ZWYgVVNCX0RFQlVHDQorCQlmb3IgKGkgPSAwOyBpIDwgbmM7ICsraSkgew0KKwkJCWludCBqOw0K KwkJCXByaW50ZigiJXM6IENvbm5lY3Rpb24gJWQ6IHBvcnQgJWQgZW5kX3BvaW50X2luZm8gJWQg cG9ydF9mdW5jdGlvbl9pZCAiLCANCisJCQkgICAgICAgZGV2bmFtZSwgaSwNCisJCQkgICAgICAg Y29uaW5mby5jaV9wYWxtLmNvbm5lY3Rpb25zW2ldLnBvcnQsDQorCQkJICAgICAgIGNvbmluZm8u Y2lfcGFsbS5jb25uZWN0aW9uc1tpXS5lbmRfcG9pbnRfaW5mbyk7DQorCQkJZm9yIChqID0gMDsg aiA8IHNpemVvZih1RFdvcmQpOyArK2opDQorCQkJCXByaW50ZigiJTJ4ICIsIGNvbmluZm8uY2lf cGFsbS5jb25uZWN0aW9uc1tpXS5wb3J0X2Z1bmN0aW9uX2lkW2pdKTsNCisJCQlwcmludGYoIlxu Iik7DQorCQl9DQorI2VuZGlmDQogCQkvKiBYWFggU2hvdWxkIGF0dGFjaCBhIHVjb20gZm9yIGVh Y2ggY29ubmVjdGlvbi4gKi8NCiAJCWZvciAoaSA9IDA7IGkgPCBuYzsgKytpKQ0KIAkJCWlmIChj b25pbmZvLmNpX3BhbG0uY29ubmVjdGlvbnNbaV0ucG9ydF9mdW5jdGlvbl9pZFswXQ0K --=-x90tIjG2oxTwh4fI74Q6-- --=-NoQBdBHbTZIjnGRlpMq6 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) iD8DBQBA5Grf2MoxcVugUsMRAkyMAKC43F1gbNHPEa00Phh3A2Jz0LCw5QCgu/Wm GlgtKXvtS0f1M53CwR4fQ3M= =zcUT -----END PGP SIGNATURE----- --=-NoQBdBHbTZIjnGRlpMq6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1088711391.3601.74.camel>