Power Cycling cards II

David H. Lynch Jr. dhlii at dlasys.net
Tue May 13 17:24:30 EDT 2008

 How do I force Linux to rescan for pcmcia/cardbus/expresscard cards.

The bus interface in our cards is in an FPGA.
Should something go fluey on the card, there will be no bus interface.

We can temporarily reprogram the card externally ( via JTAG)
But to permanently program the card we need to access it from the host.

The gotcha is that after the card has been programmed via JTAG,
Linux is not noticing that the card has changed from brain dead to
usable, that it now has proper CIS ID's etc.

So how can I tell Linux to go out and look for the card again.
In this instance WITHOUT cycling the power on the card.

Dave Lynch 					  	    DLA Systems
Software Development:  				         Embedded Linux
717.627.3770 	       dhlii at dlasys.net 	  http://www.dlasys.net
fax: 1.253.369.9244 			           Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.

"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein

More information about the linux-pcmcia mailing list