Re: Installing DKMS driver on Ubuntu 26.04

David Gravereaux <[email protected]> Sun, 31 May 2026 13:40:59 -0700
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <[email protected]>
On 5/31/26 12:42 AM, John wrote:
> David,
> 
> I ended up following the same install path. I think the package has been 
> re-factored and the kernel components split from the user components, 
> but the instructions have not been not updated to reflect that.
> 
> Also, for permissions to access the device, make sure your username is a 
> member of group gpib in /etc/group

John,
Ok, got that..

getting closer, but I can't access the second card.  ibterm -m 1 fails

$ ibterm -m 1 -d 25
Attempting to open /dev/gpib1
pad = 25, sad = 0, timeout = 10, send_eoi = 1, eos_mode = 0x0000
ibterm error: open failed
  - EDVR 0: OS error
	No such device
ibdev error
ibterm: Aborted


$ lspci | grep GPIB
05:05.0 Communication controller: National Instruments PCI-GPIB (rev 01)
05:06.0 Communication controller: National Instruments PCI-GPIB (rev 01)


Do I need a UDEV rule to run gpib_config?  Would it look something like?

$ cat /etc/udev/rules.d/99-gpib.rules
KERNEL=="gpib0", MODE="0660", GROUP="gpib"; RUN=gpib_config --minor 0 
--pci-slot ${someVar} --pci-bus ${someOtherVar}

KERNEL=="gpib1", MODE="0660", GROUP="gpib"; RUN=gpib_config --minor 1 
--pci-slot ${someVar} --pci-bus ${someOtherVar}