07-22-2025 04:07 AM - edited 07-22-2025 04:07 AM
Hi,
after my last apt update && apt upgrade -y I can not install the nidaqmx drive as I get DKMS errors
I assume it is because of switching to kernel 6.14
I tried using the auto install with the python module (as root user). The output is attached to the post.
python3 -m nidaqmx installdriver | tee nidaqmx.log
cat /etc/os-release
>>>PRETTY_NAME="Ubuntu 24.04.2 LTS"
>>>NAME="Ubuntu"
>>>VERSION_ID="24.04"
>>>VERSION="24.04.2 LTS (Noble Numbat)"
>>>VERSION_CODENAME=noble
>>>ID=ubuntu
>>>ID_LIKE=debian
>>>HOME_URL="https://www.ubuntu.com/"
>>>SUPPORT_URL="https://help.ubuntu.com/"
>>>BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
>>>PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy->>>policy"
>>>UBUNTU_CODENAME=noble
>>>LOGO=ubuntu-logo
uname -r
>>>6.14.0-24-generic
Solved! Go to Solution.
07-22-2025 10:08 AM
The 2025 Q3 release of NI Linux Device Drivers was just published. Kernel module packages in this release have been updated to work better with current versions of DKMS. That should resolve the immediate problem you are seeing here. This driver stack has only been tested with kernel 6.11 on Ubuntu 24.04, but I just installed it on Ubuntu 24.04 with kernel 6.14.0-24-generic, dkms 3.0.11. After a reboot, lsni worked as I'd expect.
07-23-2025 10:30 AM - edited 07-23-2025 10:32 AM
Hi,
thanks for the reply. For some reason 2025Q2 was the latest version I saw a few days ago.
Today I installed the 2025Q3 driver found at the website, which worked fine.
However, if i try to install with the python package it provides version 2025Q2:
python3 --version
>>>Python 3.12.3
pip show nidaqmx
>>>Name: nidaqmx
>>>Version: 1.1.0
>>>Summary: NI-DAQmx Python API
>>>Home-page: https://github.com/ni/nidaqmx-python
>>>Author: NI
>>>Author-email: opensource@ni.com
>>>License: MIT
>>>Location: /home/nikolas/.venv/lib/python3.12/site-packages
>>>Requires: click, deprecation, distro, hightime, numpy, python-decouple, >>>requests, tzlocal
>>>Required-by:
python3 -m nidaqmx installdriver
>>>dpkg-query: no packages found matching ni-daqmx
>>>Latest NI-DAQmx version available is 25.3.0 (2025Q2). Do you want to install? (yes/no):
@Forum-Maintainers: Can we get bash and text as highlighting options in code snippets?