linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ANNOUNCE: new "mmc-utils" repository
@ 2012-02-12 17:03 Chris Ball
  2012-02-13 19:50 ` Linus Walleij
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Chris Ball @ 2012-02-12 17:03 UTC (permalink / raw)
  To: linux-mmc; +Cc: Johan RUDHOLM, Giuseppe CAVALLARO, Shashidhar Hiremath

Hi,

I've created a repository for userspace mmc tools now:

git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git

At the moment the only commands supported are Johan Rudholm's extcsd
write-protect commands, exposed as:

   ./mmc extcsd read /dev/mmcblkX
   ./mmc extcsd write /dev/mmcblkX

Johan, when I try running these I'm seeing:

octavius:cjb~/git/mmc-utils % sudo ./mmc extcsd read /dev/mmcblk0
sdhci-pci 0000:0d:00.0: mmc_blk_ioctl_cmd: cmd error -110
ioctl: Connection timed out
Could not read EXT_CSD from /dev/mmcblk0

Were you doing something to get the card back into idle state first,
perhaps?

Giuseppe, it would be excellent if you could add your ext_csd parsing
code to the "extcsd read" command.

Shashidhar, please could you separate out the kernel-side changes needed
for your test ioctl, and send a patch for kernelspace and one to add an
"mmc runcmd <cmd>" command to this tool?

Thanks everyone!  If anyone else has userspace mmc code to contribute,
feel free to hook it up to this tool and send patches to linux-mmc@.

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-02-20 14:09 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-12 17:03 ANNOUNCE: new "mmc-utils" repository Chris Ball
2012-02-13 19:50 ` Linus Walleij
2012-02-14  5:56 ` Jaehoon Chung
2012-02-14  8:07   ` Johan RUDHOLM
2012-02-14  8:31     ` Jaehoon Chung
2012-02-14 14:53       ` Chris Ball
2012-02-14 15:31         ` Johan RUDHOLM
2012-02-15 10:55           ` Jaehoon Chung
2012-02-15 12:06             ` Johan RUDHOLM
2012-02-16 20:49           ` Chris Ball
2012-02-14  8:04 ` Johan RUDHOLM
2012-02-14 11:06   ` Chris Ball
2012-02-15 12:55 ` Giuseppe CAVALLARO
2012-02-15 13:35   ` Chris Ball
2012-02-15 13:43     ` Giuseppe CAVALLARO
2012-02-20 14:09       ` Giuseppe CAVALLARO

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).