Re: libgpib: Permission denied
Michael K via Linux-gpib-general <[email protected]> Sun, 3 Aug 2025 23:35:06 +0000 (UTC)
| Newsgroups | gmane.linux.hardware.gpib.general |
|---|---|
| Message-ID | <[email protected]> |
Hi David, The makefile that creates the device node (/dev/gpib0) should have created it with a group "gpib" (see linux-gpib-user/drivers/Makefile.am).You should add yourself to the "gpib" group. (see linux-gpib-user/INSTALL)
Michael
On Sunday, August 3, 2025 at 06:54:07 PM EDT, David Gravereaux <[email protected]> wrote:
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
_______________________________________________
Linux-gpib-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-gpib-general