public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Frank Pagliughi <fpagliughi@mindspring.com>
To: "Doyle, Patrick" <Patrick_Doyle@dtccom.com>
Cc: 'Andrew Lunn' <andrew@lunn.ch>,
	  "'ecos-discuss@ecos.sourceware.org'"
	<ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] USB MSD stack
Date: Thu, 04 May 2006 23:12:00 -0000	[thread overview]
Message-ID: <445A8A7F.2080306@mindspring.com> (raw)
In-Reply-To: <F7F756E5ED50F345959AE893AD2F15660A21F8@dtcsrvr09.dtccom.com>

Doyle, Patrick wrote:

>>From: Andrew Lunn [mailto:andrew@lunn.ch] 
>>
>>What you might be able to do is not set a device class. You then need
>>to tell M$ windows that when it sees vendor XYZ it should load both
>>the HID driver and the MSD driver. The HID driver will grab the
>>interupt end point and the MSD driver will grab the bulk in and out
>>endpoints.  A lot will depend on what level M$ does its resource
>>allocations. If it does the allocation at interface level, it will not
>>work, the first loaded driver will win. If it does it at endpoint
>>level you have a chance. Handling control transfers is going to be
>>interesting.
>>
>>Or you could just write a HID and MSD driver for M$. Well, you don't
>>need full drivers, just an intermediate driver which has two
>>interfaces on top and one on the bottom. Does M$ have USB intermediate
>>drivers? I know they exist for the networking stack....
>>
>>         Andrew
>>    
>>
>
>Hmmm... we are hoping to avoid writing any host drivers (or even .ini files,
>if possible).  But we may learn that that is not possible.
>
>Thanks again for your thoughts...
>
>--wpd
>
>  
>
If you can get away without writing a Windows driver, I reccomend it. 
It's at least one less variable when debugging. You may need or want to 
write your own INF file if you've got multiple interfaces.

On most device chips I've seen, interrupt transfers work in a similar 
manner to bulk transfers. It's up to the host to guarantee bandwidth to 
the interrupt transfers and deal with the complexities. So it should be 
no problem doing the device side of the HID in eCos.

For USB questions, the discussion board on usb.org is excelent. The 
person who wrote your USB book may be the one to answer your question. 
The discussion board is at:
    http://www.usb.org/phpbb/

Frank


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2006-05-04 23:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-04 14:47 Doyle, Patrick
2006-05-04 23:12 ` Frank Pagliughi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-05-04 14:25 Doyle, Patrick
2006-05-04 14:38 ` Andrew Lunn
2006-05-04 14:07 Doyle, Patrick
2006-05-04 14:18 ` Andrew Lunn
2006-05-04 13:46 Doyle, Patrick
2006-05-04 13:44 Doyle, Patrick
2006-05-04 14:00 ` Andrew Lunn
2006-05-04 13:03 Doyle, Patrick
2006-05-04 13:11 ` Stefan Sommerfeld
2006-05-04 13:26 ` Andrew Lunn
2006-05-04 13:36 ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=445A8A7F.2080306@mindspring.com \
    --to=fpagliughi@mindspring.com \
    --cc=Patrick_Doyle@dtccom.com \
    --cc=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).