View Single Post
Old 08-15-2008, 06:05 AM   #4
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by illiad_fan View Post
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...

Last edited by Antartica; 08-15-2008 at 06:08 AM.
Antartica is offline   Reply With Quote