Gpib

Linux Gpib Howto in Gentoo
linux-gpib with python flags is using python 2.7

Installing linux-gpib
First set use flags in /etc/portage/package.use sudo vim /etc/portage/package.use

add line for python bindings and Documentation sci-libs/linux-gpib python doc Other possible Flags pcmcia static debug guile perl php tcl firmware If you want to use pcmia you need to have a 2.7 kernel. But pcmia  is normally just used in old computers so it doesn't matter.

Install it with emerge -a sci-libs/linux-gpib Add your user to gpib group gpasswd -a user gpib

Configuring linux-gpib
To configure Linux GPIB you need first to create a config file at /etc/gpib.conf vim /etc/gpib.conf

Just an example which is for NI USB- HS Adapter is:

interface { minor = 0 board_type = "ni_usb_b" name = "joe" pad = 0 master = yes }

You can lookup the board_type at Linux-gpib-Website