Re: Strange errors with NI GPIB-USB-HS

Jakub Ladman <[email protected]> Thu, 4 Aug 2022 01:15:50 +0200
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <[email protected]>
Hello,


This may be also helpful to track the problem (for someone who udestands it)

from dmesg:
[ 1232.778556] usb 1-1.5.5.2: new high-speed USB device number 12 using 
ehci-pci
[ 1233.147354] usb 1-1.5.5.2: config 1 interface 0 altsetting 0 endpoint 
0x81 has an invalid bInterval 0, changing to 7
[ 1233.148271] usb 1-1.5.5.2: New USB device found, idVendor=3923, 
idProduct=709b, bcdDevice= 1.01
[ 1233.148286] usb 1-1.5.5.2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[ 1233.148293] usb 1-1.5.5.2: Product: GPIB-USB-HS
[ 1233.148297] usb 1-1.5.5.2: Manufacturer: National Instruments
[ 1233.148302] usb 1-1.5.5.2: SerialNumber: 019BF124
[ 1233.233856] gpib_common: loading out-of-tree module taints kernel.
[ 1233.233928] gpib_common: module verification failed: signature and/or 
required key missing - tainting kernel
[ 1233.234678] Linux-GPIB 4.3.5 Driver
[ 1233.255319] ni_usb_gpib driver loading
[ 1233.255345] ni_usb_gpib: probe succeeded for path: 
usb-0000:00:1a.0-1.5.5.2
[ 1233.255608] usbcore: registered new interface driver ni_usb_gpib
[ 1233.255612] gpib: registered ni_usb_b interface
[ 2146.665123] ni_usb_gpib: attach
[ 2146.665132] usb 1-1.5.5.2: bus 1 dev num 12 attached to gpib minor 0, 
NI usb interface 0
[ 2146.665394]  product id=0x709b
[ 2146.665625] ni_usb_hs_wait_for_ready: board serial number is 0x19bf124
[ 2146.667378] 
/home/ladmanj/linux-gpib-4.3.5/linux-gpib-kernel-4.3.5/drivers/gpib/ni_usb/ni_usb_gpib.c: 
ni_usb_hs_wait_for_ready: unexpected data: buffer[6]=0x15, expected 0x2, 
0xe or 0xf
[ 2146.667384] ni_usb_dump_raw_block:

[ 2146.667386]  40
[ 2146.667387]   1
[ 2146.667388]   0
[ 2146.667389]   1
[ 2146.667389]  30
[ 2146.667390]   1
[ 2146.667390]  15
[ 2146.667391]   5

[ 2146.667392]   0
[ 2146.667393]   0
[ 2146.667393]  96

Thanks
J.