Re: Fwd: Re: gpib0 device missing

Bruno Garbin <[email protected]> Tue, 18 Feb 2020 11:06:02 +0100
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <[email protected]>
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 
> <[email protected] <mailto:[email protected]>>:
>
>     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 <[email protected]>
>     <mailto:[email protected]>
>     To: 	Thomas Klima <[email protected]>
>     <mailto:[email protected]>
>
>
>
>     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 <[email protected]>
>>     <mailto:[email protected]> 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
>>     [email protected]
>>     <mailto:[email protected]>
>>     https://lists.sourceforge.net/lists/listinfo/linux-gpib-general
>     _______________________________________________
>     Linux-gpib-general mailing list
>     [email protected]
>     <mailto:[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

_______________________________________________
Linux-gpib-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-gpib-general