RE: ANNOUNCE: new "mmc-utils" repository

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jaehoon Chung wrote:

> On 02/13/2012 02:03 AM, Chris Ball wrote:
> 
> > 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
> 
> I tested with SD and eMMC.
> In eMMC case..
> 
> /opt/home/root # mmc extcsd read /dev/mmcblk0
> Power ro locking: possible
> Permanent ro locking: possible
> ro lock status: not locked
> 
> But In SD card,
> s3c-sdhci s3c-sdhci.2: mmc_blk_ioctl_cmd: cmd error -110
> ioctl: Connection timed out
> Could not read EXT_CSD from /dev/mmcblk1
> 
> What differ? Anyway..It's great about mmc-utils.

Yes, this is expected -- SD cards don't have the ext csd register.

Kind regards, Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux