Hi,
I am running RHEL ver.4 and kernel version 2.6.9-55.0.2.ELsmp. I am trying to us a Ni gpib-to-usb controller and have install the Linux-gpib driver 3.2.09.tar.gz. The drivers have been installed, however when I run the ./ibtest I get error messages. Also below is a snapshot of the messages I get from the var logs and when I run gpib_config:
//Output from var/log/messages
Oct 10 14:41:34 ICECAP-R8s kernel: usb 1-2: new high speed USB device using address 5
Oct 10 14:41:34 ICECAP-R8s kernel: ni_usb_gpib: probe succeeded for path: usb-0000:00:1d.7-2
Oct 10 14:41:34 ICECAP-R8s kernel: gpib: (debug) request module returned 256
Oct 10 14:41:34 ICECAP-R8s kernel: ni_usb_gpib: attach
Oct 10 14:41:34 ICECAP-R8s kernel: attached to bus interface 0, address 0xf1fdfe80
Oct 10 14:41:34 ICECAP-R8s kernel: product id=0x709b
Oct 10 14:41:34 ICECAP-R8s kernel: ni_usb_hs_wait_for_ready: board serial number is 0x12c7662
Oct 10 14:41:34 ICECAP-R8s kernel: /root/Desktop/Linuxgpib/linux-gpib-3.2.09/drivers/gpib/ni_usb/ni_usb_gpib.c: ni_usb_hs_wait_for_ready: unexpected data: b
uffer[3]=0x8, expected 0x1
Oct 10 14:41:34 ICECAP-R8s kernel: /root/Desktop/Linuxgpib/linux-gpib-3.2.09/drivers/gpib/ni_usb/ni_usb_gpib.c: ni_usb_hs_wait_for_ready: unexpected data: b
uffer[5]=0x0, expected 0x1
Oct 10 14:41:34 ICECAP-R8s kernel: ni_usb_dump_raw_block:
Oct 10 14:41:34 ICECAP-R8s kernel: 40 1 0 8 30 0 0 0
Oct 10 14:41:34 ICECAP-R8s kernel: 0 0 0
//Output from gpib_config…changing the value of boardtype in the gpib.conf file
[root@ICECAP-R8s ~/Desktop]$ gpib_config
failed to configure boardtype: ni_usb_gpib
failed to configure board
main: Invalid argument
[root@ICECAP-R8s ~/Desktop]$ emacs /etc/gpib.conf
[root@ICECAP-R8s ~/Desktop]$ gpib_config
failed to configure boardtype: ni_usb_hs
failed to configure board
main: Invalid argument
[root@ICECAP-R8s ~/Desktop]$ emacs /etc/gpib.conf
[root@ICECAP-R8s ~/Desktop]$ gpib_config
failed to bring board online
failed to configure board
main: Cannot allocate memory
[root@ICECAP-R8s ~/Desktop]$ emacs /etc/gpib.conf
[root@ICECAP-R8s ~/Desktop]$ gpib_config
failed to configure boardtype: ni_gpib_usb
failed to configure board
main: Invalid argument
[root@ICECAP-R8s ~/Desktop]$ emacs /etc/gpib.conf
[root@ICECAP-R8s ~/Desktop]$ gpib_config
failed to configure boardtype: ni_gpib_usb_hs
failed to configure board
main: Invalid argument
Can someone help. I am a novice at Linux.