Hi all,
I was playing around with some USB gadgets that I'm working on today when my
host exploded with this BUG:
[ 863.013018] usb 1-4: PocketPC PDA converter now attached to ttyUSB0
[ 872.706790] drivers/usb/serial/ipaq.c: ipaq_open - failed doing control urb,
error -32
[ 875.115297] usbco
Hi all,
Over the past few years, handhelds.org has been maintaining a small gadget
inside of its own tree called "g_char". g_char was spawned in the days
before g_serial, as a response to the new USB gadget API's replacement of
the old way of doing things (usb_char talking to gadget controller dr
Here are a few comments, mixed in with your code.
Thanks!
#define DBUFMAX 65536
This is pretty big for a kernel buffer. You ought to be able to
use something smaller.
I agree. I dropped it to 8k, which is a nicer size -- It gives me about
seven YMODEM-1k packets.
It's not clear that these
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I am writing the USB client code for the handhelds.org iPAQ opensource
bootloader. I have been having problems with getting more than one byte per
packet to the device.
This messages appear in dmesg when the problem happens:
usb-uhci.c: interru
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
*baff!!* Just sent this to myself, not checking the To: field. Good job me. :)
Anyway, here's another little piece:
> What does this mean? I am unfamiliar with UHCI internals. Sometimes it's
> also status 2.
Er, status 2 only occurs when the StrongA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> IOC is Interrupt On Complete. That means something completed.
Ok, but why would the ERROR bit be set? (Is there some way to get it to be
more specific?) I find it interesting that it's completing... On the iPAQ
side, it can only seem to echo the f
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I'm not certain if this is the right place to report this, but I am developing
a USB client driver for the iPAQ's opensource bootldr using the ipaq.c host
driver, and have found that if the device is removed while an URB is being
sent, the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> It's not very useful unless you include "ksymoops" output... can
> you get that, and resend along with kernel information (like the
> version etc). It'd also be good to have "objdump -dr" output
> for the relevant module, to help track down the prob
that the kernel should have adequate protection to prevent something
from crashing the system like that...
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG
t it to LKML, and memtest86 your machine overnight.
`joshua
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/AbMWPn9tWOqA4LMRAt77AJ9e90Bd3bDvx8075yI2uh6dFPBe
is the HP 315 a webcam? A digital
camera? What does it behave as in Windows? (Have you tested it in Windows?)
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG v
ESPECIALLY
while ignoring the Errors-To: header, is an incredibly stupid thing. Don't do
that.)"
But this is getting a little offtopic. **shrugs and begins poking kernel 2.6
with sharp objects**
> greg k-h
~joshua
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
s used
to provide (basically, something that can be accessed like a serial port on
both sides.)
Thanks!
~joshua
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux
nter in
this kernel. code: e3a0220f e3c33b02 e5813004 e580c0dc (e5923040)
And then the old kernel panic: attempted to kill init.
HTH,
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
after all that gadget debugging... user error. I copied and pasted the lubbock
block of #ifdefs from pxa2xx.h and failed to nuke the LED code. sigh. I can
be an idiot at times.
~joshua
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
oes...
> - Dave
~joshua
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/U/NTPn9tWOqA4LMRAjmqAJwN5PW7WWr9+n88VED6F30GugpJ1gCeJOhB
dNpjOU4LuuXeuut5GnKinhM=
a serial port.
Networking is not compiled into LAB. Too big.
> -- Al
Thanks,
~jwise
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/VOnCPn9tWOqA
support BOTH models at the same time!
However we need SA1100 compatibility also.
> - Dave
~jwise
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/VRde
~jwise
++~jwise;
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/VR0RPn9tWOqA4LMRAmi2AJ9euNdVEHeSrMDdsZvlhMC0vDHPTQCffQUx
QCsI3d1xuTtgxBWCMPc79ZA=
=yTPX
-E
x27;s mostly distributed bloat, too, so that
makes it ++harder to clean up... :(
> We certainly should have a serial "gadget".
In progress. Progress is in the handhelds.org CVS repository, as 'char.c'.
> - Dave
~joshua
- --
Joshua Wise | www.joshuawise.com
GP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pekka Sarnila wrote:
|
|
| Joshua Wise wrote:
|
|>
|> Windows feeds us what looks like eight axes: X, Y, Z, Rx, Ry, Rz,
|> rglSlider[0], and rglSlider[1]. We map those all right onto X-Plane
|> axes. In terms of buttons, windows feeds us f
x27;t notified.)
Thoughts?
/j
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/iIWyPn9tWOqA4LMRAjPfAJ49WtqNcHelUbNeLJQAg0l65js/tgCgqNip
Xq93zOMZHnIVb6RbSctyykQ=
iggered IRQ to see get connect/disconnect indications.
Yeah, I hacked that in the hh.org tree to support multiple platforms. (ie
machine_is_)
> - Dave
/j
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BE
d, but that's not the problem I'm seeing - the problem I'm seeing
is that even when the USB cable is manually disconnected and reconnected, my
gadget driver does STILL not detect that it's been connected. Again,
thoughts?
> - Dave
/j
- --
Joshua Wise | www.joshuawise.com
G
seemed to fix the problem.) For whatever
reason, the kernel panics after a few minutes now, but I don't think that's a
gadget issue. (probably me forgetting to disable some device before jumping
into the kernel.)
> - Dave
/j
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80
err -95
<5>lab: loaded copy source [ymodem]
<5>lab: loaded copy source [flash]
<5>lab: loaded copy destination [flash]
<5>lab: loaded copy destination [dummy]
<5>lab: loaded copy source [fs]
<5>lab: loaded copy destination [fs]
<5>lab: loaded unlink device [fs]
&
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
(Others on list: Please ignore.)
On Friday 17 October 2003 10:59 am, you wrote:
> Joshua Wise wrote:
> > (Pre-note: I cannot seem to send mail to David privately. If this message
> > gets through, please fix your mail server :)
>
t;lab: Starting LAB [Linux As Bootloader]
<6>lab: Attempting to connect using USB...
<6>lab: Please plug in the cable.
<7>udc: irq 00.01
<7>gchar: setup complete --> 0, 16/18
<7>udc: SETUP 80.06 v0100 i l0012
<7>udc: ep0 queue req c3ffe4e0, len 18 buf c3ed9980
<
g the issue is what I think it
is, that we've interrupted and the UDC hasn't gotten the full packet yet.)
However: I _have_ been getting half-packets (16 out of 18 bytes), so I will
have to look into that.
/j
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote
Doing so.. I added an invalid descriptor (type 0x09), not quite knowing what
you meant by a vendor descriptor.
.. Yes, looks like that fixed the prematureness. That's of course a bad hack,
which I would like to avoid. I'll try adding better support for SETUP packets
that come when we'r
E: ep0->request 8/8 - code 0
<7>udc: SETUP 80.06 v0200 i l0020
GChar_setup: 6
DONE: ep0->request 32/32 - code 0
<6>lab: Please plug in the cable.
Still no set config.
I'd WBM about people not testing code before committing it (or at least not
testing it on all possible har
v0100 i l0012
Enterring IN phase.
GChar_setup: 6
<7>udc: ep0 queue req c3ffe4e0, len 18 buf c3ed9980
<7>udc: ep0in 16 bytes 2 left c3ffe4e0
<7>udc: ep0start IN, 00/00
<7>udc: irq 00.01
<7>gchar: setup complete --> 0, 16/18
- --
Joshua Wise | www.joshuawise.com
G
-starting IO queue
<7>udc: ep0in 16 bytes 2 left c3ffe4e0
<7>udc: ep0start IN, 00/02
Packet: Complete
- --> 01.00, 0041
<7>udc: USB reset start
<7>udc: Request: ep0->Req complete (16/18)
<7>gchar: setup complete --> -108, 16/18
- --> 01.00, 0043
<7>udc:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 20 October 2003 12:14 am, Joshua Wise wrote:
> Anyway, handhelds.org CVS seems to "work". Well, except for that, uh, issue
> where, uh, OUT packets in bulk just stopped working. But I'll debug that
> Soon. :)
Cor
ave to see if the 2.6.0-test8-rmk1 patch works for me;
> there are so many missing PXA drivers that all I can really
> test on 2.6 is booting on NFS-over-Ether-over-USB, which works
> just fine (even with DMA!), at least on a PXA255.
Aiee, heh...
Anyway, handhelds.org CVS seems to "
minutes (assuming you can feed it
enough current) to test, I'd be appreciative. Otherwise I'll play around with
IPRness.
> - Dave
/j
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNA
For more information, read the USB spec. It's got everything you will want to
know about USB in it. :)
> Anton
/j
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2
it was a mess.)
> - Dave
/j
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/lX4EPn9tWOqA4LMRAkmpAKCgNcpFQRTqiXdzhw4UiTZqVaF1oACglmtu
c7e2SVIzpv29kj1A9afd6
u said that you
"downloaded Orinoco thingy".
> HELP!
Ooh, capitals. It must be important; I'll get right on it.
/joshua
Didn't like my answer? Ask a better question next time.
http://www.catb.org/~esr/faqs/smart-questions.html
- --
Joshua Wise | www.joshuawise.com
GPG Key
on writing a driver for all devices with two LED
indicators and two integrated antennae. (Oh how specific.)
> There is NO DRIVER for LINUX.
I think you've told us this.
> © 2001-2002 Agere Systems Inc., All Rights Reserved
Oh? News for you. Anything you send by email? Anyone
data into it...
> I appologize in advance. I didn't go to the linux-usb-users list
> because a search of the archive for usblcd returned nothing, but there were
> some hits on linux-usb-devel.
Ah, research in advance is greatly appreciated. :) No trouble at all.
> Thanks in
/
> ___
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] b
an official DID in their VID range, but
until then, our VID will be 0x (experimental).
joshua
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
Quote | I akilled [EMAIL PROTECTED] by mistake
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux
to use 1kbyte packets (ie, not
limit to 256bytes) when we detect that we're talking to Linux As Bootloader.
thanks
joshua
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAiZaFPn9tWOqA4LMRAv0fAJ9ai8
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> Care to make up a patch?
Ah, -ENOPATCH. If I get a chance later tonight I'll do it.
jw
- --
Joshua Wise | www.joshuawise.com
GPG Key | 0xEA80E0B3
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (G
45 matches
Mail list logo