Re: Problem with getting GPIB card to work

dave penkler <[email protected]> Tue, 4 Aug 2026 17:48:48 +0200
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <CAL=kjP0dS=S7OTP8H-eXSjyVC6kbvGvm+Sgkucx343KOgfZCOQ@mail.gmail.com>
--===============6019783329398331255==
Content-Type: multipart/alternative; boundary="000000000000eb40e306583a978b"

--000000000000eb40e306583a978b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi S=C3=B8ren,
What does lspci -n come up with for vendor id 0x1093 ?. Perhaps the PCIe
board has a different device id from those that are recognised by the
driver.
cheers,
-Dave

On Tue, 4 Aug 2026, 15:27 S=C3=B8ren Koch via Linux-gpib-general, <
[email protected]> wrote:

> He all.
>
>
> I have just installed a new Ubuntu system:
>
> Distributor ID:    Ubuntu
> Description:    Ubuntu 26.04 LTS
> Release:    26.04
> Codename:    resolute
>
>
> I have installed the GPIB driver with no problems as usual.
>
>
> lspvi -v finds the  card:
>
>
> 03:00.0 Communication controller: National Instruments PCIe-GPIB+
>      Subsystem: National Instruments PCIe-GPIB+
>      Flags: medium devsel, IRQ 255, IOMMU group 10
>      Memory at e1004000 (32-bit, non-prefetchable) [disabled] [size=3D4K]
>      Memory at e1000000 (32-bit, non-prefetchable) [disabled] [size=3D16K=
]
>      Capabilities: [f0] MSI: Enable- Count=3D1/1 Maskable- 64bit+
>
> modprobe tnt4882 does not give any errors and
>
> modinfo detects the tnt4882 driver:
>
> root@impedan-trol-45:~# modinfo tnt4882
> filename:  /lib/modules/7.0.0-22-generic/gpib/tnt4882/tnt4882.ko
> description:    GPIB driver for National Instruments boards using
> tnt4882 or compatible chips
> license:        GPL
> srcversion:     63E352E1BFB666D31E833AD
> alias:          pci:v00001093d00007258sv*sd*bc*sc*i*
> alias:          pci:v00001093d00007259sv*sd*bc*sc*i*
> alias:          pci:v00001093d0000710Esv*sd*bc*sc*i*
> alias:          pci:v00001093d000070CFsv*sd*bc*sc*i*
> alias:          pci:v00001093d0000C831sv*sd*bc*sc*i*
> alias:          pci:v00001093d0000C821sv*sd*bc*sc*i*
> alias:          pci:v00001093d000071ADsv*sd*bc*sc*i*
> alias:          pci:v00001093d0000C811sv*sd*bc*sc*i*
> alias:          pci:v00001093d0000C801sv*sd*bc*sc*i*
> depends:        nec7210,gpib_common
> name:           tnt4882
> retpoline:      Y
> vermagic:       7.0.0-22-generic SMP preempt mod_unload modversions
> root@impedan-trol-45:~#
>
> but when I try to run gpib_config i get this:
>
> root@impedan-trol-45:~# gpib_config
> failed to bring board online
> failed to configure board
> main: No such device
> root@impedan-trol-45:~#
>
> and the driver does not load
>
>
>
> On an other (older) system running Ubuntu 24.04.03 it works and I get
> this when running lspci -v:
>
>
> 04:00.0 Communication controller: National Instruments PCIe-GPIB (rev 02)
>      Subsystem: National Instruments PCIe-GPIB
>      Flags: bus master, medium devsel, latency 64, IRQ 16, IOMMU group 13
>      Memory at 80804000 (32-bit, non-prefetchable) [size=3D2K]
>      Memory at 80800000 (32-bit, non-prefetchable) [size=3D16K]
>      Kernel driver in use: tnt4882
>      Kernel modules: tnt4882
>
> (Note that here the driver is loaded and in use)
>
>
> The only difference is that the board with problems is a PCIe-GPIB+
> whereas the one that works is a  PCIe-GPIB (rev 02)
>
>
> Does anyone have any ideas?
>
>
> Best regards
>
>
> --
> S=C3=B8ren Koch
> Senior Development Engineer
> Mob: +45 21325247
> [email protected]
> Fysikvej
> Building 310
> 2800 Kgs. Lyngby
>
>
>
> _______________________________________________
> Linux-gpib-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/linux-gpib-general
>

--000000000000eb40e306583a978b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"auto">Hi S=C3=B8ren,<div dir=3D"auto">What doe=
s lspci -n come up with for vendor id 0x1093 ?. Perhaps the PCIe board has =
a different device id from those that are recognised by the driver.</div><d=
iv>cheers,</div><div>-Dave</div></div></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Tue, 4 Aug 2026, 15:27 S=C3=B8ren =
Koch via Linux-gpib-general, &lt;<a href=3D"mailto:linux-gpib-general@lists=
.sourceforge.net" rel=3D"noreferrer" target=3D"_blank">linux-gpib-general@l=
ists.sourceforge.net</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex">He all.<br>
<br>
<br>
I have just installed a new Ubuntu system:<br>
<br>
Distributor ID:=C2=A0 =C2=A0 Ubuntu<br>
Description:=C2=A0 =C2=A0 Ubuntu 26.04 LTS<br>
Release:=C2=A0 =C2=A0 26.04<br>
Codename:=C2=A0 =C2=A0 resolute<br>
<br>
<br>
I have installed the GPIB driver with no problems as usual.<br>
<br>
<br>
lspvi -v finds the=C2=A0 card:<br>
<br>
<br>
03:00.0 Communication controller: National Instruments PCIe-GPIB+<br>
=C2=A0=C2=A0 =C2=A0 Subsystem: National Instruments PCIe-GPIB+<br>
=C2=A0=C2=A0 =C2=A0 Flags: medium devsel, IRQ 255, IOMMU group 10<br>
=C2=A0=C2=A0 =C2=A0 Memory at e1004000 (32-bit, non-prefetchable) [disabled=
] [size=3D4K]<br>
=C2=A0=C2=A0 =C2=A0 Memory at e1000000 (32-bit, non-prefetchable) [disabled=
] [size=3D16K]<br>
=C2=A0=C2=A0 =C2=A0 Capabilities: [f0] MSI: Enable- Count=3D1/1 Maskable- 6=
4bit+<br>
<br>
modprobe tnt4882 does not give any errors and<br>
<br>
modinfo detects the tnt4882 driver:<br>
<br>
root@impedan-trol-45:~# modinfo tnt4882<br>
filename: =C2=A0/lib/modules/7.0.0-22-generic/gpib/tnt4882/tnt4882.ko<br>
description:=C2=A0 =C2=A0 GPIB driver for National Instruments boards using=
 <br>
tnt4882 or compatible chips<br>
license:=C2=A0 =C2=A0 =C2=A0 =C2=A0 GPL<br>
srcversion:=C2=A0 =C2=A0 =C2=A063E352E1BFB666D31E833AD<br>
alias:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci:v00001093d00007258sv*sd*bc*sc*=
i*<br>
alias:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci:v00001093d00007259sv*sd*bc*sc*=
i*<br>
alias:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci:v00001093d0000710Esv*sd*bc*sc*=
i*<br>
alias:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci:v00001093d000070CFsv*sd*bc*sc*=
i*<br>
alias:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci:v00001093d0000C831sv*sd*bc*sc*=
i*<br>
alias:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci:v00001093d0000C821sv*sd*bc*sc*=
i*<br>
alias:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci:v00001093d000071ADsv*sd*bc*sc*=
i*<br>
alias:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci:v00001093d0000C811sv*sd*bc*sc*=
i*<br>
alias:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci:v00001093d0000C801sv*sd*bc*sc*=
i*<br>
depends:=C2=A0 =C2=A0 =C2=A0 =C2=A0 nec7210,gpib_common<br>
name:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tnt4882<br>
retpoline:=C2=A0 =C2=A0 =C2=A0 Y<br>
vermagic:=C2=A0 =C2=A0 =C2=A0 =C2=A07.0.0-22-generic SMP preempt mod_unload=
 modversions<br>
root@impedan-trol-45:~#<br>
<br>
but when I try to run gpib_config i get this:<br>
<br>
root@impedan-trol-45:~# gpib_config<br>
failed to bring board online<br>
failed to configure board<br>
main: No such device<br>
root@impedan-trol-45:~#<br>
<br>
and the driver does not load<br>
<br>
<br>
<br>
On an other (older) system running Ubuntu 24.04.03 it works and I get <br>
this when running lspci -v:<br>
<br>
<br>
04:00.0 Communication controller: National Instruments PCIe-GPIB (rev 02)<b=
r>
=C2=A0=C2=A0 =C2=A0 Subsystem: National Instruments PCIe-GPIB<br>
=C2=A0=C2=A0 =C2=A0 Flags: bus master, medium devsel, latency 64, IRQ 16, I=
OMMU group 13<br>
=C2=A0=C2=A0 =C2=A0 Memory at 80804000 (32-bit, non-prefetchable) [size=3D2=
K]<br>
=C2=A0=C2=A0 =C2=A0 Memory at 80800000 (32-bit, non-prefetchable) [size=3D1=
6K]<br>
=C2=A0=C2=A0 =C2=A0 Kernel driver in use: tnt4882<br>
=C2=A0=C2=A0 =C2=A0 Kernel modules: tnt4882<br>
<br>
(Note that here the driver is loaded and in use)<br>
<br>
<br>
The only difference is that the board with problems is a PCIe-GPIB+ <br>
whereas the one that works is a=C2=A0 PCIe-GPIB (rev 02)<br>
<br>
<br>
Does anyone have any ideas?<br>
<br>
<br>
Best regards<br>
<br>
<br>
-- <br>
S=C3=B8ren Koch<br>
Senior Development Engineer<br>
Mob: +45 21325247<br>
<a href=3D"mailto:[email protected]" rel=3D"noreferrer noreferrer" target=3D"_bla=
nk">[email protected]</a><br>
Fysikvej<br>
Building 310<br>
2800 Kgs. Lyngby<br>
<br>
<br>
<br>
_______________________________________________<br>
Linux-gpib-general mailing list<br>
<a href=3D"mailto:[email protected]" rel=3D"noreferr=
er noreferrer" target=3D"_blank">[email protected]</=
a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/linux-gpib-general"=
 rel=3D"noreferrer noreferrer noreferrer" target=3D"_blank">https://lists.s=
ourceforge.net/lists/listinfo/linux-gpib-general</a><br>
</blockquote></div>

--000000000000eb40e306583a978b--


--===============6019783329398331255==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============6019783329398331255==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============6019783329398331255==--