From: greg@kroah.com (Greg Kroah-Hartman)
To: kernelnewbies@lists.kernelnewbies.org
Subject: USB file mmap
Date: Mon, 7 Jul 2014 13:32:04 -0700 [thread overview]
Message-ID: <20140707203204.GA12237@kroah.com> (raw)
In-Reply-To: <20140707202929.GA27543@kroah.com>
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
prev parent reply other threads:[~2014-07-07 20:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-07 14:00 USB file mmap Jeshwanth Kumar N K
2014-07-07 16:34 ` Greg KH
2014-07-07 19:56 ` Jeshwanth Kumar N K
2014-07-07 20:29 ` Greg Kroah-Hartman
2014-07-07 20:32 ` Greg Kroah-Hartman [this message]
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=20140707203204.GA12237@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.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 NNTP newsgroup(s).