From: Bruno G. <bg...@au...> - 2020-02-18 14:26:26
|
Thank you all for your help. I just had to load the appropriate module.. (tnt4882, obtained from https://linux-gpib.sourceforge.io/doc_html/supported-hardware.html). So I ran: modprobe tnt4882 and then the command gpib_config worked fine. Thank you again for your quick helps. Cheers, Bruno On 2/18/20 11:19 AM, Richard Klingler wrote: > From my memory I would say you don't have privileges to access > /dev/gpib0... > > So add your user account to the gpib group... > > cheers > richard > > > Am Di., 18. Feb. 2020 um 11:13 Uhr schrieb Bruno Garbin > <bg...@au... <mailto:bg...@au...>>: > > Hi > > The card is recognized. lspci gives > 10:00.0 Communication controller: National Instruments PCI-GPIB > (rev 01) > > Also I issued the commands > > * depmod -ae (make it possible for modprobe to see the new modules) > * modprobe gpib_common > * modprobe agilent_82357a > > Now the /dev/gpib[0-15] devices are created !! > However, ibtest fails : > > Do you wish to open a (d)evice or an interface (b)oard? > (you probably want to open a device): d > enter primary gpib address for device you wish to open [0-30]: 10 > trying to open pad = 10 on /dev/gpib0 ... > libgpib: IBOPENDEV ioctl failed > libgpib: error in is_cic()! > ibdev error > > ibsta = 0x8000 < ERR > > iberr= 0 > EDVR 0: OS error > > ibcntl = 19 > Aborted (core dumped) > > Any idea ? > > Thanks in advance > > On 2/18/20 10:20 AM, Richard Klingler wrote: >> Well >> >> Is your GPIB adapter recognized by Linux at all? DO you see it >> with lsusb/lspci? >> >> To my (older ;o) knowledge it won't create any /dev/gpibX entries >> when there is no adapter recognized... >> >> cheers >> richard >> >> >> Am Di., 18. Feb. 2020 um 10:13 Uhr schrieb Bruno Garbin >> <bg...@au... <mailto:bg...@au...>>: >> >> Dear all, >> >> can anyone help? >> >> Thank you in advance, >> >> Bruno >> >> -------- Forwarded Message -------- >> Subject: Re: [Linux-gpib-general] gpib0 device missing >> Date: Sat, 15 Feb 2020 11:23:16 +0100 >> From: Bruno Garbin <bg...@au...> >> <mailto:bg...@au...> >> To: Thomas Klima <ele...@gm...> >> <mailto:ele...@gm...> >> >> >> >> Hi Thomas, >> >> thanks for your reply. >> >> I just installed the kernel drivers in the same way >> (configure, make, make install) and run the command gpib_config. >> This returned me the error: >> failed to open device file '/dev/gpib0' >> main: No such file or directory >> >> Do you have any idea of what is going wrong here? >> >> Thank you in advance. >> >> Kind regards, >> >> Bruno garbin >> >> >> On 15/02/20 10:53 am, Thomas Klima wrote: >>> Hi, >>> >>> On Fri, 14 Feb 2020 18:40:22 +0100 >>> Bruno Garbin <bg...@au...> >>> <mailto:bg...@au...> wrote: >>>> I have installed linux-gpib on my machine (kernel 5.3.0-28 >>>> Ubuntu >>>> 18.04) and /dev/gpib0 is not created after the install of >>>> linux-gpib-user-4.3.0. What should I do ? >>> You need the kernel drivers (linux-gpib-kernel-...), a >>> config file >>> (/etc/gpib.conf) and then run gpib_config - this creates the >>> device >>> files under /dev >>> >>> hth, >>> Thomas >>> >>> >>> _______________________________________________ >>> Linux-gpib-general mailing list >>> Lin...@li... >>> <mailto:Lin...@li...> >>> https://lists.sourceforge.net/lists/listinfo/linux-gpib-general >> _______________________________________________ >> Linux-gpib-general mailing list >> Lin...@li... >> <mailto:Lin...@li...> >> https://lists.sourceforge.net/lists/listinfo/linux-gpib-general >> >> >> >> _______________________________________________ >> Linux-gpib-general mailing list >> Lin...@li... <mailto:Lin...@li...> >> https://lists.sourceforge.net/lists/listinfo/linux-gpib-general > _______________________________________________ > Linux-gpib-general mailing list > Lin...@li... > <mailto:Lin...@li...> > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general > |