Re: [beagleboard] smartctl and sdcard

2017-05-31 Thread Przemek Klosowski
On Tue, May 30, 2017 at 10:49 AM, Micka wrote: > I'm able with the PC to use the command smartctl to get info on my SDCard > with the protocol SMART. > OK, it looks like I missed something. What context are you seeing this in? USB smart card reader, I suppose? Like I said,

Re: [beagleboard] smartctl and sdcard

2017-05-30 Thread Micka
I'm able with the PC to use the command smartctl to get info on my SDCard with the protocol SMART. I found a lot of subject on this topic, and I'm working on this piece of code for the moment: int ret = 0; struct mmc_ioc_cmd idata; memset(, 0, sizeof(idata)); memset(ext_csd, 0, sizeof(__u8) *

Re: [beagleboard] smartctl and sdcard

2017-05-30 Thread Przemek Klosowski
SMART protocol is defined for ATA interface, and it is translated over USB interface by most but not all USB-ATA bridges. I have never seen it implemented for SD cards. Historically, it makes sense: SD card firmware is just a tiny block management layer, although of course there's no fundamental

[beagleboard] smartctl and sdcard

2017-05-30 Thread Micka
Hi, I wanted to know if someone successfully used the command smartctl with the sd card ? It could be so usefull to know the state of the sdcard, the remaining life, etc ! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to