libgpib: Permission denied

David Gravereaux <[email protected]> Sun, 3 Aug 2025 15:53:16 -0700
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <[email protected]>
Hi,

newbie here.  I'm sure this is an RTFM issue.  Please accept my apologies.

OS: Ubuntu 22.04

Linux-GPIB successfully built an installed
gpib-tcl successfully built and installed

$ lspci -ks 05:05.0
05:05.0 Communication controller: National Instruments PCI-GPIB (rev 01)
	Kernel modules: tnt4882

When I run tkcon, load the extension, and do the first open which calls 
ibdev, I get this in stderr:

libgpib: ibBoardOpen failed to open device file /dev/gpib0
libgpib: Permission denied

$ ls -l /dev/gpib0
crw-rw---- 1 root root 160, 0 Aug  3 15:19 /dev/gpib0


The device is owned by root.  I can chown the device, but what is the 
fix so it stays available?

_______________________________________________
Linux-gpib-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-gpib-general
OpenPGP_signature.asc (application/pgp-signature, 203 B)
-----BEGIN PGP SIGNATURE-----

wmMEABEIACMWIQQPZ5yiJvykMak94+SVlp2RCH9GYQUCaI/oXAUDAAAAAAAKCRCVlp2RCH9GYdsZ
AKCFTYGb3eILWkw8fRZ16sYnMV8J+ACgpdKapgoL8NfUDK3fWPmjYeKgmm0=
=wMda
-----END PGP SIGNATURE-----