Specifications
University of Hertfordshire
27
Jumper/Switch Selection Default setting
SW1 1-5 I/O port base address Hex 2B0
SW1 7-8 Wait states 0
SW2 Firmware base address Hex D000
SW3 Operating mode A
JP1 DACK level 1
JP2 DRQ level 1
JP3 IRQ level 7
Table 5.3 the factory of default setting of PCL -848A/B GPIB Card
5.2 Installation and Configuration of sgpib Driver
Installation is simple, just run following commands in the folder of GPIB Driver.
make all
make install
modprobe kpci488
This loads a module gpib.o and a module kpci.o to the kernel.
Then the next job is to set the IO address and Interrupt. Please take care the IO address and Interrupt
are typed, because wrong values may crash your computer. In this project, IO address is 0X2B8 and
Interrupt is 7.
insmod gpib.o
insmod pc488.o io=0x2b8 irq=7
For some systems, there are without insmod. To link to the kernel:
Copy GPIB driver’s directory to /usr/src/linux/drivers/gpib
Rename Makefile to Makefile.standalone, rename Makefile.kernel to Makefile
Apply the kernelpatch with "patch -p1 < kernelpatch" in /usr/src/linux
Select gpib/sgpib support in Kernel configuration
Compile kernel. (Karrer, 1999)