I am trying to access the CSD (Card Specific Data) register on a SD card. The only way I know to do this is by having the linux system recognize it as a mmc device (Multi Media Card?) (eg. /dev/mmcblk0). Right now the device is being shown as a scsi disk (eg. /dev/sda).
Is there any way I can access the CSD Register (Card Specific Data) when is is mounted as a scsi disk?
Is there any way I can get the kernel to recognize the device as a mmc?
Thanks.
At least some of CSD information you should get in /sys/block/diskX directory.
Example: My sd card connected to USB stick is discovered by system as /dev/sdc.