From: Sridhar A. <sa...@es...> - 2002-03-29 16:26:03
|
Frank - thanks for all you help and work! I successfully spoke with my Tek scope and got its identity back! BUT...(there is always a but!) if I eject the card while the interface is active (for example running ``ibtest''), my computer hangs. If I exit from ibtest first, then there is no problem. -- Here is what I did: I edited `/etc/gpib.conf' (the only change from the orig is the board_type parameter. (should any of the others be changed for a pcmcia card?) interface { minor = 0 /* minor = 0 uses /dev/gpib0, minor = 1 uses /de v/gpib1, etc. */ board_type = ines_pcmcia /* type of interface board being used */ pad = 0 /* primary adress of interface */ sad = 0 /* secondary adress of interface */ timeout = 3s /* timeout for commands */ eos = 0x0a /* EOS Byte */ set-reos yes /* Terminate read if EOS */ set-bin no /* Compare EOS 8-bit */ /* settings for boards that lack plug-n-play capability */ base = 0 /* Base io ADDRESS */ irq = 0 /* Interrupt request level */ dma = 0 /* DMA channel (zero disables) */ master yes /* interface board is system controller */ } -- I also added a script : /etc/pcmcia/linux-gpib-pcmcia, but right now it does nothing (it is called by cardmgr when an insertion or removal is seen). Should there be something in there? -- There should be some graceful way to eject the card at any time...without hanging the computer. Thanks for everything! Sridhar. -- Sridhar Anandakrishnan email: sa...@es... 442 Deike Bldg Phone: (814) 863-6742 Pennsylvania State University Dept: 863-6052 University Park, PA 16802-2711 Fax: 863-8724 |