Quote:
Originally Posted by illiad_fan
Hi Simond,
Thank for your reply. I plug-in GPS card into Compact Flash slot, but nothing appears. How to get information about Compact Flash slot?
I tried with:
cat /proc/iomem
cat /proc/ioport
I don't understand all above data
|
AFAIK, ConpactFash works as the old ISA cards, not as the PCI and derivative cards. That means that there is no plug-and-play, so you cannot query the card in an standarized way to get the mapped memory regions or the io ports.
You will have to read the programming manuals for the card on how to probe the different possible locations for mem and io.
In the driver code you register the found locations against Linux and only then they will appear in the /proc/ files you mention.
P.S.: there is a cardbus interface or something similar (card services), but I've not looked at them. Perhaps it can convey some information about the recently plugged card...