Re: Hi all, I'm newbe, so apologize for my stupid questions.
Fabio Giovagnini <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Organization | Aurion s.r.l |
| Message-ID | <[email protected]> |
It seems to be a timeout error; is it rigth? Regards Alle 16:12, sabato 22 settembre 2007, Alan Stern ha scritto: > On Sat, 22 Sep 2007, Fabio Giovagnini wrote: > > Alle 22:48, venerdì 21 settembre 2007, Alan Stern ha scritto: > > > http://www.linux-usb.org/gadget/ > > > > RE: > > Maybe I have been not so clear; my Host is runnung Linux Suse 10.1; my > > device is a very poor hardware where I'm tring to emulate a mass storage > > device but without using in it any general purpouse operatin system. > > > > My actual real probelm is the following; > > I have enabled on my device the interrupt due by SETUP request by the > > host; I receive proprly it and I find it is a Device Descriptor device; > > so I build my 18 byte length device descriptor and I sent it to the host; > > unfortunately my Control Endpoint has a FIFO of only 8 byte; so for > > trasmetting 18 byte I need to trasmit the fist 8 bytes; enabild the > > interrupt of Tx OK and in the interrupt handler trasmit the second 8 > > byte, waitng the interrupt of Tx Ok and trasmit in such last interrupt > > the last 2 bytes. After that I was expected to receive by the host the > > status stage transaction meaing then end of reception of my Device > > descriptor by the host. > > In the reality I see just one interrupt occurs, and after that I receive > > the status stage by host. > > I suppose I do not trasmit correct data, but to be sure of that I need to > > be able to read what the host control endpoint is really receiving. I > > tried usbmon, but I did not see anything about my new attached device. > > Can you post the usbmon output? > > Also, on your host you should enable CONFIG_USB_DEBUG and see what > appears in the dmesg log. > > Alan Stern -- Fabio Giovagnini Aurion s.r.l. via degli orti 11, 40050 Funo di Argelato (BO) P.I e C.F. 00885711200 Tel. +39.335.8350919 Fax +39.051.8659009 www.aurion-tech.com account telefono VoIP skype (www.skype.com): aurion.giovagnini ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel