Jump to content

include comedi drivers in kernel


Go to solution Solved by Thomas Schmidt,

Recommended Posts

Posted

I'd like to run usbdux usb hardware with armbian but have no experience so far in building modules. I compiled the current armbian branch form github. But I could not figure out how to compile the comedi drivers and include it in the kernel.

help appreciated

 

Thomas

Posted

did this already but ended up with

 

usb 4-1: new high-speed USB device number 2 using ehci-platform
[  301.651818] usb 4-1: New USB device found, idVendor=13d8, idProduct=0020, bcdDevice= 0.00
[  301.651863] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  301.712173] comedi: loading out-of-tree module taints kernel.
[  301.712890] comedi: module verification failed: signature and/or required key missing - tainting kernel
[  301.715097] comedi: version 0.7.76 - http://www.comedi.org
[  301.726392] usb 4-1: Direct firmware load for usbduxsigma_firmware.bin failed with error -2
[  301.726425] usbduxsigma 4-1:1.0: driver 'usbduxsigma' failed to auto-configure device.
[  301.726916] usbduxsigma: probe of 4-1:1.0 failed with error -2
[  301.727011] usbcore: registered new interface driver usbduxsigma

 

Posted
17 minutes ago, Thomas Schmidt said:


[  301.726392] usb 4-1: Direct firmware load for usbduxsigma_firmware.bin failed with error -2

Is the firmware file present?

Posted

tried the same procedure with armbian bullseye current version and tried to compile the files form raspberry pi (Bernd Porr) this is the result

 

root@rockpi-4cplus:/home/ts/usbdux# ls -l /usr/src/
insgesamt 4
drwxr-xr-x 24 root root 4096  8. May 12:06 linux-headers-5.15.93-rockchip64
root@rockpi-4cplus:/home/ts/usbdux# cd comedi_raspberry_pi_bullseye/
root@rockpi-4cplus:/home/ts/usbdux/comedi_raspberry_pi_bullseye# make -C /usr/src/linux-headers-5.15.93-rockchip64
make: Verzeichnis „/usr/src/linux-headers-5.15.93-rockchip64“ wird betreten
  UPD     include/config/kernel.release
  UPD     include/generated/utsrelease.h
make[1]: *** Keine Regel vorhanden, um das Ziel „arch/arm64/tools/gen-cpucaps.awk“, 
  benötigt von „arch/arm64/include/generated/asm/cpucaps.h“, zu erstellen.  Schluss.
make: *** [arch/arm64/Makefile:173: archprepare] Fehler 2
make: Verzeichnis „/usr/src/linux-headers-5.15.93-rockchip64“ wird verlassen
 

what I have to install to succeed??

Posted
On 5/7/2023 at 1:52 PM, Thomas Schmidt said:

no

sudo apt install linux-firmware-free is not available on the system

Did you install the armbian-firmware-full package?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines