I'm trying to find out how to read the manufacturer and product name from the 'Card Information Structure' on a CompactFlash card.
Here's the details: - Linux 2.4 kernel - BusyBox v1.00-rc3 - Need to be able to read the CIS from userland - Need to be able to read the CIS from an embedded C++ application (in other words, not by viewing 'dmesg') - Linux is running from the CompactFlash card that I need to read - The card reader is attached directly to the board - i.e., it is not over USB or anything like that - Would prefer a solution that does not involve recompiling the kernel - An indirect solution like reading some special file in '/proc' would be acceptable
Essentially what I'd like to do is modify my embedded application so it can respond to a network query asking what the CF manufacturer/ product name is.
I've been looking around on the web but haven't found anything terrible useful. Any advice?
Thanks, Adam