[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]

[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

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] 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 four possible POV

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

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

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 (GNU/Linux

[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 | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux

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

2003-10-28 Thread Joshua Wise
] 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 | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE

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

2003-10-26 Thread Joshua Wise
, 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 | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake

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

2003-10-26 Thread Joshua Wise
., All Rights Reserved Oh? News for you. Anything you send by email? Anyone's gonna copy it. /joshua (Don't like my response? Send a better question next time, namely, not one flaming me.) --- Joshua Wise [EMAIL PROTECTED] wrote: PS: Please don't top-post. It makes it really difficult

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

2003-10-26 Thread Joshua Wise
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 advance -Henry Culver -Culver Consulting [EMAIL PROTECTED] /j - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3

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

2003-10-21 Thread Joshua Wise
- -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/lX4EPn9tWOqA4LMRAkmpAKCgNcpFQRTqiXdzhw4UiTZqVaF1oACglmtu c7e2SVIzpv29kj1A9afd6MU= =NM4Q -END PGP SIGNATURE

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

2003-10-20 Thread Joshua Wise
(even with DMA!), at least on a PXA255. Aiee, heh... 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. :) - Dave /joshua - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote

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

2003-10-20 Thread Joshua Wise
with IPRness. - Dave /j - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/lDKFPn9tWOqA4LMRAs5EAJ9xg1+1rTE4ITojBFfDP8whxhQaAACaA7W7 dnp9JivIuESysb6xEuivT/0

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

2003-10-20 Thread Joshua Wise
about USB in it. :) Anton /j - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/lHr+Pn9tWOqA4LMRAnJcAJwKKkapsW14MRfjxmcxqV+fejiODgCcCSFp

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. :) Correction. They work every other

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

2003-10-18 Thread Joshua Wise
! 7udc: SETUP 80.06 v0100 i l0012 Enterring IN phase. GChar_setup: 6 7udc: ep0 queue req c3ffe4e0, len 18 buf c3ed9980 7udc: ep0in 16 bytes 2 left c3ffe4e0 7udc: ep0start IN, 00/00 7udc: irq 00.01 7gchar: setup complete -- 0, 16/18 - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3

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 :) Errm, what's the failure

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

2003-10-17 Thread Joshua Wise
- -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/kGQIPn9tWOqA4LMRAhILAJ9Zp8UX1JRy/MN309AuMXkksszfDgCgrijj 9SSqcHrSrilv9ePiiM4GfaQ= =9/IS -END PGP SIGNATURE

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

2003-10-17 Thread Joshua Wise
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 | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP

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

2003-10-17 Thread Joshua Wise
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're not expecting them. However, now, for whatever reason, I'm not seeing the set-config. Thoughts? - Dave /j - -- Joshua Wise

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

2003-10-17 Thread Joshua Wise
it (or at least not testing it on all possible hardware configurations, even the most obscure :P) but I couldn't do it any better :P - Dave /j - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version

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

2003-10-16 Thread Joshua Wise
from ttyUSB0 usbserial.c: return_serial hub.c: USB new device connect on bus1/1/2, assigned device number 31 usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout Y no mas (and no more) from the iPAQ. /j - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo I

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

2003-10-12 Thread Joshua Wise
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 | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE

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

2003-10-11 Thread Joshua Wise
notified.) Thoughts? /j - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo 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
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 | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE

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

2003-10-11 Thread Joshua Wise
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 GPG Key | 0xEA80E0B3 Quote

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

2003-09-02 Thread Joshua Wise
~joshua - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/U/NTPn9tWOqA4LMRAjmqAJwN5PW7WWr9+n88VED6F30GugpJ1gCeJOhB dNpjOU4LuuXeuut5GnKinhM= =aHlR -END PGP

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

2003-09-02 Thread Joshua Wise
big. -- Al Thanks, ~jwise - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/VOnCPn9tWOqA4LMRApe8AJ43hOYUx1Yl0Kr3IZp+5OkMVYtT3gCeN1tg

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

2003-09-02 Thread Joshua Wise
compatibility also. - Dave ~jwise - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/VRdePn9tWOqA4LMRAipNAJ4+0oejgLzMQPzRFvZdXPhGDtM+KwCeJ8Xk kDB1wDMlY

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

2003-09-02 Thread Joshua Wise
++~jwise; - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/VR0RPn9tWOqA4LMRAmi2AJ9euNdVEHeSrMDdsZvlhMC0vDHPTQCffQUx QCsI3d1xuTtgxBWCMPc79ZA= =yTPX -END PGP

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

2003-09-02 Thread Joshua Wise
... :( 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 GPG Key | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version

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

2003-09-01 Thread Joshua Wise
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 | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE

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

2003-09-01 Thread Joshua Wise
processor_id c00c4dd4 cr_alignment c00086cc do_initcalls c00d6a34 num_physpages ... the rest is likely irrelevant. there is no backtrace - no frame pointer in this kernel. code: e3a0220f e3c33b02 e5813004 e580c0dc (e5923040) And then the old kernel panic: attempted to kill init. HTH, Joshua Wise

[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] Delivery Notification: Delivery has failed

2003-08-29 Thread Joshua Wise
, 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 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN

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

2003-08-17 Thread Joshua Wise
camera? What does it behave as in Windows? (Have you tested it in Windows?) - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE

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

2003-07-01 Thread Joshua Wise
machine overnight. `joshua - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/AbMWPn9tWOqA4LMRAt77AJ9e90Bd3bDvx8075yI2uh6dFPBecgCeLhi9 mcUp1qMDNZvV5m2SkBNrpAw

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

2003-03-31 Thread Joshua Wise
adequate protection to prevent something from crashing the system like that... - -- Joshua Wise | www.joshuawise.com GPG Key | 0xEA80E0B3 Quote | lilo I akilled [EMAIL PROTECTED] by mistake -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE

[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 problem.

[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:

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

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