03-01-2023
04:14 PM
- last edited on
03-20-2025
01:34 PM
by
Content Cleaner
Linux Device Drivers 2023 Q1 and LabVIEW 2023 Q1 are now available!
Linux Device Drivers 2023 Q1 New Features
New Features for LabVIEW 2023 Q1
04-24-2023
04:39 AM
- last edited on
03-20-2025
12:46 PM
by
Content Cleaner
Failed on ubuntu 22.04.1 virtual machine
Device: USB-6525
followed instructions in: (https://www.ni.com/fi-fi/support/documentation/supplemental/18/downloading-and-installing-ni-driver-software-on-linux-desktop.html)
Following commands run manually, fails on latest "apt-get update" step:
apt-get update
apt-get upgrade
apt-get dist-upgrade
unzip ./Downloads/NILinux2023Q1DeviceDrivers.zip
dpkg -i ./Downloads/NILinux2023Q1DeviceDrivers/ni-ubuntu2204-drivers-2023Q1.deb
apt-get update
apt-get -y install ni-hwcfg-utility
dkms autoinstall
Hit:1 http://fi.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://fi.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://fi.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:6 https://download.ni.com/ni-linux-desktop/2023/Q1/deb/ni/focal focal InRelease
Hit:7 https://download.ni.com/ni-linux-desktop/2023/Q1/deb/ni/jammy jammy InRelease
Get:8 https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy jammy InRelease [3,064 B]
Get:9 https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy jammy/ni i386 Packages [27.5 kB]
Err:9 https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy jammy/ni i386 Packages
File has unexpected size (27469 != 27547). Mirror sync in progress? [IP: 104.18.198.58 443]
Hashes of expected file:
- Filesize:27547 [weak]
- SHA256:8238a5af52a230450fc12d0a54ba24911eb6b20cca9b9d2f4959e95918a5c37b
- SHA1:b4922855d64e2c93f7154933d7997a170b16b314 [weak]
- MD5Sum:c5071add845f97a7ab33caf55712003f [weak]
Release file created at: Fri, 27 Jan 2023 21:02:20 +0000
Get:10 https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy jammy/ni amd64 Packages [85.1 kB]
Err:10 https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy jammy/ni amd64 Packages
Reading package lists...
second apt-get update gives different file size comparing errors (85299 != 85114) and it seems that these two are altering every second time.
NI device is connected and recocnized in usb port. lsusb provides following output:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 3923:71df National Instruments Corp. NI USB-6525
Bus 001 Device 004: ID 04d8:00de Microchip Technology, Inc. MCP2210 USB to SPI Master
Bus 001 Device 003: ID 04d8:00de Microchip Technology, Inc. MCP2210 USB to SPI Master
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So the device is located in: /dev/bus/usb/001/005
04-26-2023 03:48 AM
Got rid of that apt update issue by creating a clean installation of ubuntu and using only "apt" and no "apt-get" in any place.
Still some issues persist when using nidaqmx python library, added my comment to topic previously opened on this matter:
https://forums.ni.com/t5/Digital-I-O/install-NI-DAQmx-driver-in-Linux-device/m-p/4301217#M24671
If someone knows what is wrong with this some hints would be appreciated.
I think this has something to do how the host links the usb device to the driver.
04-26-2023
06:24 AM
- last edited on
03-20-2025
12:46 PM
by
Content Cleaner
Unfortunately the USB-6525 is not supported on any Linux OS's
From: NI Hardware and Software Operating System Compatibility