Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

pxi gpib linux driver

I am trying to use the 0.6 gpib linux driver with a pxi gpib card.
The driver compiles fine but when I do insmod it can't find the card.
The function call ib_init in init_module fails (ib_linux.c).
I am using redhat linux with 2.2.16 kernel on a pxi-1000b. All the prerequisites to build the kernel are ok.
This is the output from lspci -v:
00:13.0 Communication controller: National Instruments: Unknown device c821 (rev 01)
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at d7006000 (32-bit, non-prefetchable)
Memory at d7000000 (32-bit, non-prefetchable)

Questions:
1) Is this driver supposed to work with a pxi gpib card?
2) What can I do next?

Thanks
Rodolfo Saccani
0 Kudos
Message 1 of 2
(2,967 Views)
If you alter the device ID of the device from c801 to c821 within the driver module, you should be able to use the driver with the PXI board.

In addition to that, I've included a couple of links that may help you get going.

http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/f92bc1b164aec1bd86256923006b7802?OpenDocument

http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/862567530005f09c8625675b005e1136?OpenDocument

Good luck!
Kim L.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,967 Views)