02-19-2010 09:53 AM
I am trying to get my usb-6218 card to work under Ubuntu 7.10 (due to a robot I also use, I have no choice about operating system). I installed NidaqMX Base using the instructions here forums.ni.com/ni/board/message?message.uid=792706 (last post). The install seems to go fine, but when I run lsdaq, I just get the following:
--------------------------------
Detecting National Instruments DAQ Devices
Found the following DAQ Devices:
--------------------------------
The usb device is listed when I run lsusb. I also tried the fix described in these forums for the usb 6218 and kubuntu, but I still have the same problem. I would very much appreciate any advice that anyone might have.
02-22-2010 03:57 PM
Hi robotbambi,
The problem you are encountering is probably due to the USB-6218 being loaded with DAQmx firmware. Please refer to this forum post for the solution: http://forums.ni.com/ni/board/message?board.id=250&message.id=34124
Regards,
02-23-2010 08:54 AM
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
02-23-2010 10:52 AM
I did go through the process suggested by Barron S, and I did not notice any changes. I am currently trying to figure out enough about Ubuntu to check what the device permissions are. I have used the card pretty extensively in Windows, but this is my first real experience with Linux, and I am facing a pretty steep learning curve. The USB PID number should be given in the output of lsusb, right? I have pasted the output below in case that is helpful. I am not sure if the correct firmware is being downloaded.
Bus 005 Device 004: ID 3923:7269 National Instruments Corp.
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 005: ID 093a:2510 Pixart Imaging, Inc.
Bus 001 Device 001: ID 0000:0000
02-23-2010 11:33 AM
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
03-04-2010 09:13 AM
Sorry for the delay in responding, I was out of town and couldn't try out anything. Okay, it looks as though the firmware is installed. The ls command gives the following output:
robot@robot:/usr/local/natinst/nidaqmxbase/bin/support$ ls *621x*
NIUSBMXB621x0.bin NIUSBMXB621xDig0.bin NIUSBMXB621xFPGA1.bin
NIUSBMXB621x1.bin NIUSBMXB621xDig1.bin NIUSBMXB621xFPGA1Dig.bin
NIUSBMXB621x.bin NIUSBMXB621xFPGA0.bin
That is more than 5 files though, is that a problem?
I will start trying to look at the udev rules and scripts.
03-04-2010 09:20 AM
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
03-04-2010 09:26 AM
Ok, good. Then I will look in /usr/local/natinst/nidaqmxbase/etc to try to figure out what my udev rules and scripts are. I found the following files in /usr/local/natinst/nidaqmxbase/etc/hotplug/usb, are they the rules and scripts I am looking for?
nimxb_621xdevice.rules
nimxb_621xdevice.usermap
nimxb_621xloader
nimxb_621xloader.rules
nimxb_621xloader.usermap
03-04-2010 09:34 AM
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
03-04-2010 10:50 AM
You are right, I certainly did. The first line in my nimxb_621xdevice.rules is the following:
SUBSYSTEM=="usb", SYSFS{idVendor}=="3923", SYSFS{idProduct}=="726f", RUN+="/etc/udev/agents.d/usb/nimxb_621xdevice"
However, based on lsusb, it looks like the product ID is 7269. Should I change "726f" or is the f a placeholder of some kind? I'm sorry if this is an obvious question, I am quite new to Linux.