Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beginner having problems compiling #13

Open
Freeminder23 opened this issue Jan 24, 2025 · 3 comments
Open

Beginner having problems compiling #13

Freeminder23 opened this issue Jan 24, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Freeminder23
Copy link

Freeminder23 commented Jan 24, 2025

I'm kinda new to this "linux thing" but would love to keep using my beloved DB:04 Mixer. I have recently installed Linux Mint 22.1 Kernel: 6.8.0-51-generic arch: x86_64 and got several issues while compiling your driver. Could fix the missing "flex not found" and "bison not found" errors on my own (with the help of the internet), but now I'm stuck with following:

make[3]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', 
needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'. Exit.
make[2]: *** [arch/x86/Makefile:249: archheaders] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: exiting from directory “/usr/src/linux-headers-6.8.0-51-generic”
make: *** [Makefile:5: linux] Error 2 

Could your please be so kind to help me fix this? Big thank you in advance
for providing this work to others to help keep this excellent hardware alive and connected.

@mischa85 mischa85 self-assigned this Jan 24, 2025
@mischa85
Copy link
Owner

Some Googling reveals this is some weird bug on Ubuntu-based distro's. I made a change in the Makefile that should fix it. Please git pull this change and try again.

312da81

@Freeminder23
Copy link
Author

It seemed to work till the end, but when I do the "modprobe snd-usb-xonedb4" I get a
"modprobe: ERROR: could not insert 'snd_usb_xonedb4': Operation not permitted"
and if I sudo "modprobe snd-usb-xonedb4" a
"modprobe: ERROR: could not insert 'snd_usb_xonedb4': Exec format error"

And the cinnamon sound-control applet has now disappeared, which is a bit unfortunate, I would needed that back.

@mischa85
Copy link
Owner

mischa85 commented Jan 25, 2025

This could happen when you forget to reboot after a kernel update (you are still on the old kernel and the module is expecting the new kernel).

You can also just load the compiled module from the source tree doing:

  • Clone the repo using git clone https://github.com/mischa85/snd-xonedb4
  • Change the directory to the cloned repo: cd snd-xonedb4
  • make linux to compile the kernel module.
  • sudo modprobe snd-audio-usb to load the required kernel module from the kernel tree (modprobe would do this automatically).
  • sudo insmod snd-usb-xonedb4.ko to load the kernel module.

Of course, all of this won't be necessary if the driver ever gets upstreamed, but that might take a while.

@mischa85 mischa85 added the bug Something isn't working label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants