[linux-usb-devel] USB serial disconnect causes kernel oops

2006-02-22 Thread Joshua Wise
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

[linux-usb-devel] Character gadget

2005-10-29 Thread Joshua Wise
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

Re: [linux-usb-devel] Character gadget

2005-10-29 Thread Joshua Wise
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

[linux-usb-devel] Debugging client code with Linux-USB

2003-02-24 Thread Joshua Wise
-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

Re: [linux-usb-devel] Debugging client code with Linux-USB

2003-02-24 Thread Joshua Wise
-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

Re: [linux-usb-devel] Debugging client code with Linux-USB

2003-02-24 Thread Joshua Wise
-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

[linux-usb-devel] OHCI driver causes kernel panic

2003-03-09 Thread Joshua Wise
-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

Re: [linux-usb-devel] OHCI driver causes kernel panic

2003-03-09 Thread Joshua Wise
-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

Re: [linux-usb-devel] 2.4.21-pre5 kernel Oops, USB related

2003-03-31 Thread Joshua Wise
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

Re: [linux-usb-devel] Neuros Audio Device (0451,5409) has unneeded SubClass and Protocol

2003-07-01 Thread Joshua Wise
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

Re: [linux-usb-devel] PROBLEM: System hangs when USB Camera is turned on.

2003-08-17 Thread Joshua Wise
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

Re: [linux-usb-devel] Delivery Notification: Delivery has failed

2003-08-29 Thread Joshua Wise
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

[linux-usb-devel] USB Gadget - serial?

2003-09-01 Thread Joshua Wise
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

[linux-usb-devel] (gadget) kernel oopses on boot aftter udc errors (pxa2xx)

2003-09-01 Thread Joshua Wise
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

[linux-usb-devel] after all that debugging...

2003-09-01 Thread Joshua Wise
-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

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread Joshua Wise
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=

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread Joshua Wise
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

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread Joshua Wise
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

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread Joshua Wise
~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

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread Joshua Wise
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

[linux-usb-devel] USB HID Joysticks (was: Re: Linux X-plane 801)

2004-12-01 Thread Joshua Wise
-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

[linux-usb-devel] Gadget/PXA250: If UDC is already enabled, nothing happens on insert

2003-10-11 Thread Joshua Wise
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=

Re: [linux-usb-devel] Gadget/PXA250: If UDC is already enabled, nothing happens on insert

2003-10-11 Thread Joshua Wise
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

Re: [linux-usb-devel] Gadget/PXA250: If UDC is already enabled, nothing happens on insert

2003-10-11 Thread Joshua Wise
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

Re: [linux-usb-devel] Gadget/PXA250: If UDC is already enabled, nothing happens on insert

2003-10-12 Thread Joshua Wise
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

[linux-usb-devel] (Gadget) Regression in PXA2xx-udc

2003-10-16 Thread Joshua Wise
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] &

Re: [linux-usb-devel] (Gadget) Regression in PXA2xx-udc

2003-10-17 Thread Joshua Wise
-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 :) >

Re: [linux-usb-devel] (Gadget) Regression in PXA2xx-udc

2003-10-17 Thread Joshua Wise
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 <

Re: [linux-usb-devel] (Gadget) Regression in PXA2xx-udc

2003-10-17 Thread Joshua Wise
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

Re: [linux-usb-devel] (Gadget) Regression in PXA2xx-udc

2003-10-17 Thread Joshua Wise
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

Re: [linux-usb-devel] (Gadget) Regression in PXA2xx-udc

2003-10-17 Thread Joshua Wise
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

Re: [linux-usb-devel] (Gadget) Regression in PXA2xx-udc

2003-10-18 Thread Joshua Wise
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

Re: [linux-usb-devel] (Gadget) Regression in PXA2xx-udc

2003-10-19 Thread Joshua Wise
-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:

Re: [linux-usb-devel] (Gadget) Regression in PXA2xx-udc

2003-10-19 Thread Joshua Wise
-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

Re: [linux-usb-devel] (Gadget) Regression in PXA2xx-udc

2003-10-19 Thread Joshua Wise
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 "

Re: [linux-usb-devel] (Gadget) PXA2xx-udc

2003-10-20 Thread Joshua Wise
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

Re: [linux-usb-devel] newbie: usb delivery latency question

2003-10-20 Thread Joshua Wise
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

Re: [linux-usb-devel] (Gadget) PXA2xx-udc

2003-10-21 Thread Joshua Wise
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

Re: [linux-usb-devel] 2Wire Redhat Linux USB adapter

2003-10-26 Thread Joshua Wise
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

Re: [linux-usb-devel] 2Wire Redhat Linux USB adapter

2003-10-26 Thread Joshua Wise
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&#x

Re: [linux-usb-devel] usb vfd request

2003-10-26 Thread Joshua Wise
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

Re: [linux-usb-devel] 2Wire USB Wireless Adapter

2003-10-28 Thread Joshua Wise
/ > ___ > [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

[linux-usb-devel] drivers/usb/serial/ipaq.c: new model

2004-01-10 Thread Joshua Wise
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

[linux-usb-devel] "ipaq" usb serial driver: new VID/DID

2004-04-23 Thread Joshua Wise
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

Re: [linux-usb-devel] "ipaq" usb serial driver: new VID/DID

2004-04-23 Thread Joshua Wise
-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