:)On Wed, Apr 9, 2008 at 12:12 PM, Stuart Henderson wrote:
I've just try cuaU0 and the trace is nice and more understandable.
But I think I've always got a problem with the setlinecoding
When I add trace into the kernel I saw that the function
umodem_set_line_coding failed and return the value 0x0f.
In the usbdi.h the 0x0f value equals to the USBD_TIMEOUT
define.
So I think I made a bad response to the SET_LINE_CODING.
What I am doing exactly on device side:
DEVICE RECV 8 BITS (ENDPOINT0) : 0x21 0x20 0x00 0x00 0x00 0x00 0x07 0x00
DEVICE RECV 7 BITS (ENDPOINT0) : 0x80 0x25 0x00 0x00 0x00 0x00 0x08
The first receive is do because I intercept an interrupt that there
are 8 bits available
on the endpoint0 after i read directly 7 bits for getting the end of
this request.
Does I forget something ? Does I send some ack to the host, or data on the
interrupt endpoint ?
thanks in advance.
--
Gallon sylvestre
Rathaxes Core Developper / LSE researcher
kernel developer for adeneo and OpenBSD fan
http://devsyl.blogspot.com/ | www.rathaxes.eu
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [2.6.22.2 review 05/84] Fix deadlocks in sparc serial console. |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Andrew Morton | -mm merge plans for 2.6.23 |
git: | |
| Jeff Kirsher | [RESEND][NET-NEXT PATCH 01/29] ixgbe: fix bug where using wake queue instead of st... |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Patrick McHardy | Re: [GIT]: Networking |
| Manuel Bouyer | Re: Interactive performance in -current |
| Christian Limpach | Re: newfs: determining file system parameters |
| YAMAMOTO Takashi | Re: statvfs(2) replacement for statfs(2) patch |
| Charles M. Hannum | Re: kern/22869: Slave IDE drive not detected |
