Unsure why Agilent 82357B isn't working
Brandon Gunn <[email protected]> Thu, 8 Jun 2023 15:36:38 -0700
| Newsgroups | gmane.linux.hardware.gpib.general |
|---|---|
| Message-ID | <CAMC7t01MXZ7L1R2E4Od6LAXYihiBbzhmMF2LY-yHiCiZYsSdqA@mail.gmail.com> |
Hello,
I have been going crazy trying to get an Agilent 82357B GPIB adapter
(probably a clone) working on our CentOS system. I have not done this
before and am not a Linux pro, so please do not hesitate to ELI5.
System:
CentOS 7.9.2009, Linux kernel 3.10
I have installed linux-gpib from this website, which seems to be specific
to RHEL and this adapter:
https://github.com/vddvss/linux-gpib-firmware-packaging
(Should I have installed linux-gpib differently?)
**************************************************************************
Here is the output of *lsusb*
Unknown line at line 24
Bus 002 Device 003: ID 05e3:0620 Genesys Logic, Inc.
Bus 002 Device 002: ID 05e3:0620 Genesys Logic, Inc.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0957:0718 Agilent Technologies, Inc.
Bus 001 Device 003: ID 09db:0127 Measurement Computing Corp.
Bus 001 Device 009: ID 03f0:1198 HP, Inc HID-compliant mouse
Bus 001 Device 008: ID 03f0:0024 HP, Inc KU-0316 Keyboard
Bus 001 Device 007: ID 8564:1000 Transcend Information, Inc. JetFlash
Bus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
**********************************************************
I do not have to load any modules, they are already loaded when I reboot.
Here is the output of *lsmod | grep agi*
agilent_82357a 24212 0
gpib_common 46771 1 agilent_82357a
************************************************************
Here is the output of *sudo dmesg | grep -i -e gpib -e agilent*
[ 1.885507] usb 1-3: Manufacturer: Agilent Technologies, Inc.
[ 11.728168] gpib_common: loading out-of-tree module taints kernel.
[ 11.728257] gpib_common: module verification failed: signature and/or
required key missing - tainting kernel
[ 11.728719] Linux-GPIB 4.2.0 Driver
[ 11.730832] agilent_82357a_gpib driver loadingprobe succeeded for path:
usb-0000:00:14.0-3
[ 11.730873] usbcore: registered new interface driver agilent_82357a_gpib
[ 11.730875] gpib: registered agilent_82357a interface
[ 19.176698] agilent_82357a_attach: attached
[ 541.714436] gpib0: exiting autospoll thread
[ 541.714542] agilent_82357a_detach: detached
[ 541.717520] agilent_82357a_attach: attached
**************************************************************
Here are the uncommented portions of my *gpib.conf*
interface {
minor = 0 /* board index, minor = 0 uses /dev/gpib0, minor =
1 uses /dev/gpib1, etc. */
board_type = "agilent_82357a" /* type of interface board being
used */
name = "agi" /* optional name, allows you to get a board
descriptor using ibfind() */
pad = 0 /* primary address of interface */
sad = 0 /* secondary address of interface */
timeout = T3s /* timeout for commands */
eos = 0x0a /* EOS Byte, 0xa is newline and 0xd is carriage
return */
set-reos = yes /* Terminate read if EOS */
set-bin = no /* Compare EOS 8-bit */
set-xeos = no /* Assert EOI whenever EOS byte is sent */
set-eot = yes /* Assert EOI with last byte on writes */
/* settings for boards that lack plug-n-play capability */
base = 0 /* Base io ADDRESS */
irq = 0 /* Interrupt request level */
dma = 0 /* DMA channel (zero disables) */
/* pci_bus and pci_slot can be used to distinguish two pci boards supported
by the same driver */
/* pci_bus = 0 */
/* pci_slot = 7 */
master = yes /* interface board is system controller */
}
device {
minor = 0
name = "hp3456a"
pad = 22
sad = 0
}
****************************************
Running *sudo gpib_config* executes without errors.
***************************************
I cannot load the firmware. Trying to execute:
*sudo fxload -t fx2 -D /dev/bus/usb/001/005 -I
/usr/share/usb/agilent_82357a/measat_releaseX1.8.hex*
produces the error: *can't modify CPUCS: Connection timed out*
***************************************
I tried adding a hotplug script but it does not seem to have any effect
(there was no /etc/hotplug directory, I had to create it).
**********************************
*ibtest *obviously fails, producing this error:
gpib status is:
ibsta = 0xc100 < ERR TIMO CMPL >
iberr= 14
EBUS 14: Bus error
ibcntl = 0
**************************
I am not sure what to try next -- any help would be greatly appreciated!
Thank you,
Brandon
_______________________________________________
Linux-gpib-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-gpib-general