transcend-information/RaspberryPi_NVIDIAJetson-SDcard-SMARTQuery

ioctl fail: Invalid argument

Closed this issue · 6 comments

Is the source code up to date?
It doesn't work well in my environment.

[Environment]
MicroSD: 430T 64GB
Card Reader: RDF5
OS: Fedora Linux 35 (Workstation Edition)
Device Name: /dev/sdb, /dev/sdb1

[Execution result]
sudo ./mmc smtbuffer /dev/sdb
ioctl fail: Invalid argument
CMD56 function fail, /dev/sdb

sudo ./mmc smtbuffer /dev/sdb1
ioctl fail: Invalid argument
CMD56 function fail, /dev/sdb1

Hi kimkim19642004,

The project only support that reading the smart information of Micro SD card via internal Micro SD card slot now. Thanks.

Thank you for your reply. I now realize that I was misunderstanding.

/dev/sdb1 <-- This is a USB Device.

i see the same error on raspberry pi Raspbian Bullseye:

sudo ./mmc smtbuffer /dev/mmcblk0

ioctl fail: Connection timed out
CMD56 function fail, /dev/mmcblk0

it seems i built everything right:
Screenshot_3

Do you know "Scope Pro CLI"?

It's worth a try if you're using Ubuntu.

See: https://www.transcend-info.com/manual/ScopeProCLI/EN/

We have tested well in Raspbian Bullseye 32bit and 64bit. The project only works for MicroSD 430T / 450I / 460I / 460T. Would you check the MicroSD model on hand ?

sandisk ...not my way... thanks