USB file mmap

Greg Kroah-Hartman greg at kroah.com
Mon Jul 7 16:32:04 EDT 2014


On Mon, Jul 07, 2014 at 01:29:29PM -0700, Greg Kroah-Hartman wrote:
> On Tue, Jul 08, 2014 at 01:26:26AM +0530, Jeshwanth Kumar N K wrote:
> > Hi Greg,
> > 
> > Thanks for the reply.
> > 
> > I recently purchased an mbed board
> > https://mbed.org/platforms/mbed-LPC1768/ (friend recommended) to learn
> > USB Mass storage class.

Wait, you mean the USB storage class from the device side, right?  If
so, just read the USB storage spec, and the SCSI spec that it referrs
to.  There is no need to worry about mmap, or anything other than
"normal" scsi block commands.

This device can't run Linux, it's too small, which is a shame, as Linux
works really well running as a USB "gadget".

good luck,

greg k-h



More information about the Kernelnewbies mailing list