Re: [linux-usb-devel] Some information on USB API

2007-04-30 Thread David Brownell
On Monday 30 April 2007, Meher wrote: >Then application will not even bother if he is a USB > device or on board flash and just do the normal read/write from > /dev/flashd? "flashd" is some wierd new convention it seems. There are two basic models for flash memory on Linux. - The "nat

Re: [linux-usb-devel] Some information on USB API

2007-04-30 Thread Curran, Dominic
> > > > > When application does a read or even mount of the flash device how > > > is that information passed on to the device driver so that it can > > > convert that to specific Ctrl/Bulk transfer types and pass it on to > > > HCD? > > > > I believe the driver stack will look something like

Re: [linux-usb-devel] Some information on USB API

2007-04-30 Thread Meher
Hi, On 4/30/07, Curran, Dominic <[EMAIL PROTECTED]> wrote: > > > Hi, > > I would like to know if there is any specific API that will be > > used by the Applications that read/write to USB devices. For example > > if a flash device is plugged into a system then the HCD will enumerate > > the d

Re: [linux-usb-devel] Some information on USB API

2007-04-30 Thread Curran, Dominic
> > > When application does a read or even mount of the flash device how > > is that information passed on to the device driver so that it can > > convert that to specific Ctrl/Bulk transfer types and pass it on to > > HCD? In my haste I forgot to put in usb-storage... I believe the dr

Re: [linux-usb-devel] Some information on USB API

2007-04-30 Thread Curran, Dominic
> Hi, > I would like to know if there is any specific API that will be > used by the Applications that read/write to USB devices. For example > if a flash device is plugged into a system then the HCD will enumerate > the device and load the appropriate device driver for that flash > device to

Re: [linux-usb-devel] Some information on USB API

2007-04-30 Thread Alan Stern
On Mon, 30 Apr 2007, Meher wrote: > Hi, > I would like to know if there is any specific API that will be > used by the Applications that read/write to USB devices. For example > if a flash device is plugged into a system then the HCD will enumerate > the device and load the appropriate device