|
From: David G. <dav...@po...> - 2026-06-03 17:48:13
|
On 6/3/26 12:58 AM, dave penkler wrote: > > HI > On Tue, 2 Jun 2026 at 20:01, David Gravereaux <dav...@po... > <mailto:dav...@po...>> wrote: > > Thanks Dave, > > Getting closer, but still not loading as CIC not set on the board and > timeout isn't 3 seconds as configured. > > The timeout for the device is set in ibterm, the configured timeout for > the board is separate. > > That you get an ECIC after the udev rules are run and then it (sort of) > works when you reload the drivers and run ibconfig again is weird. > Are we sure nothing else is talking to the board between the udev > rule running and the ibterm returning ECIC ? Everything on the buss is a listener. All the gear is off except two are on for testing. This worked two weeks ago under Ubuntu 22.04 and self compiled Linux-GPIB. So this is not the hardware. > What device are you using? For now, just a Tektronix SG5010 and a AA5001 > ENOL occurs when the controller asserts ATN and no device responds by > asserting one or both of NDAC and NRFD. > Can you try and just rerun gpib_config after the ECIC (without reloading > the drivers) and see if that avoids the ECIC error ? Still stuck in ECIC. I can't get it to do ENOL anymore, now. How can I debug this deeper? davygrvy@workbench:~$ sudo modprobe -r tnt4882 davygrvy@workbench:~$ sudo modprobe -r gpib_common davygrvy@workbench:~$ sudo modprobe -v tnt4882 insmod /lib/modules/7.0.0-22-generic/updates/dkms/gpib_common.ko.zst insmod /lib/modules/7.0.0-22-generic/updates/dkms/nec7210.ko.zst insmod /lib/modules/7.0.0-22-generic/updates/dkms/tnt4882.ko.zst davygrvy@workbench:~$ sudo gpib_config --minor 0 --system-controller --ifc --pci-bus 5 --pci-slot 5 --irq 20 --board-type ni_pci davygrvy@workbench:~$ ibterm -m 0 -d 25 Attempting to open /dev/gpib0 pad = 25, sad = 0, timeout = 10, send_eoi = 1, eos_mode = 0x0000 ibterm>ID? ibterm error: Unable to write to device at pad 25 - ECIC 1: Board not controller in charge ibterm> |