From 5ad3ad16c1821502c60ae3c3bd483178441f2fd0 Mon Sep 17 00:00:00 2001 From: raabe Date: Wed, 9 Aug 2023 23:29:54 +0200 Subject: [PATCH] Update Setup Computer Debian 12 --- Setup-Computer-Debian-12.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/Setup-Computer-Debian-12.md b/Setup-Computer-Debian-12.md index 4204c66..e7e3cfa 100644 --- a/Setup-Computer-Debian-12.md +++ b/Setup-Computer-Debian-12.md @@ -76,7 +76,7 @@ sudo ldconfig - Install PI libs ``` -cd ~/BaseSystem +cd ~/Basesystem tar xfvj ../work/stxm/SystemInstall/PI_Application_Software-1.16.0.0-INSTALL.tar.bz2 cd PI_Application_Software/ sudo ./INSTALL @@ -98,6 +98,33 @@ sudo tar xfvz ~/work/stxm/SystemInstall/intens-4.5.15-snapshot-64-qt5.tar.gz sudo cp ~/work/stxm/SystemInstall/libpython3.8.so.1.0 /lib/x86_64-linux-gnu/ ``` +- Compile Comedi + +``` +cd ~/Basesystem +git clone https://github.com/Linux-Comedi/comedi.git +git clone https://github.com/Linux-Comedi/comedilib.git + +cd comedi + +cp ../../work/stxm/SystemInstall/N1231B_reg.h comedi/drivers +patch -p1 < ~/work/stxm/SystemInstall/comedi.patch +./autogen.sh +./configure --with-rtaidir=/usr/realtime +make +sudo make install +sudo depmod -a +sudo mkdir /usr/local/include/linux +sudo cp include/linux/comedi.h /usr/local/include/linux/ + + +cd ../comedilib +./autogen.sh +./configure +make +sudo make install +``` + - compile Pixelator ``` cd ~/work/stxm