aports/testing/linux-gpib/0002-usb-fxloader.patch
Robert Eckelmann e6c667ff24
testing/linux-gpib: new aport
As the hardware drivers for linux-gpib have been mainlined with Kernel >6.13, the only the userland needs packaging.
(before that the hardware drivers were oot-modules which required DKMS)

Signed-off-by: Robert Eckelmann <longnoserob@gmail.com>
2025-12-06 23:57:23 +01:00

29 lines
894 B
Diff

diff --git a/usb/gpib_udev_fxloader.in b/usb/gpib_udev_fxloader.in
index 151c73f8..4f82f8bf 100755
--- a/usb/gpib_udev_fxloader.in
+++ b/usb/gpib_udev_fxloader.in
@@ -21,19 +21,19 @@ case $PRODUCT in
# ni-usb-b or kusb-488 without firmware
3923/702b/* | 3923/713b/*)
- FIRMWARE=$DATADIR/usb/ni_usb_gpib/niusbb_firmware.hex
- SS_LOADER=$DATADIR/usb/ni_usb_gpib/niusbb_loader.hex
+ FIRMWARE=$DATADIR/gpib/ni_usb_gpib/niusbb_firmware.hex
+ SS_LOADER=$DATADIR/gpib/ni_usb_gpib/niusbb_loader.hex
FXLOAD_OPTIONS="-t fx"
;;
# 82357a without firmware
957/7/*)
- FIRMWARE=$DATADIR/usb/agilent_82357a/82357a_fw.hex
+ FIRMWARE=$DATADIR/gpib/agilent_82357a/82357a_fw.hex
;;
# 82357b without firmware
957/518/*)
- FIRMWARE=$DATADIR/usb/agilent_82357a/measat_releaseX1.8.hex
+ FIRMWARE=$DATADIR/gpib/agilent_82357a/measat_releaseX1.8.hex
FXLOAD_OPTIONS="-t fx2"
;;