Open starfishmod opened 8 years ago
This error is due to the change of the kernel API in versions higher than 3.19. The corresponding commit https://github.com/torvalds/linux/commit/666547ff591cebdedc4679bf6b1b3f3383a8dea3 explains the intention. The commit to sysdig https://github.com/draios/sysdig/commit/5740604e7c8e3aebbde2096ba60e3c4d689a2f59 shows a possible way to fix this. Feel free to issue a Pull Request. If you are not confident with editing kernel code and have a cool project where you need this module, I'm happy to bring the code up to date.
I honestly wish I was skilled enough in C to do this and push it to you :)
I am working on a mapping midi module between devices and adding in visual programming (think scratch) and manipulation of midi messages on a PI using a touchscreen interface. I was hoping to be able to connect with RTPMidi apps as part of the available MIDI devices.
If you can update it I am more than happy to report back any/all feedback
Thanks Andrew
If I understand correctly, you want to have a userspace application to manipulate a midi stream and have an in and out stream via RTPMidi. This module is only in the kernel, because the university project mandated to write a kernel module. I highly suggest you to use the original library https://github.com/jpommerening/midikit in userspace. It is way easier to install, is better maintained and has more features (ipv6, journal, ...) than this port. Also it is generally a bad idea to put network services into the kernel, as it allows remote exploits directly to root.
Regarding processing power or delay on the Pi, I doubt that the userspace library is much worse. It was mostly a made-up selling argument to justify the porting excercise. If you really want to use this, be warned of Heisenbugs, kernel panics and a lot of fixing.
Hi Felix, I am using the zynthian project and tried to build your applemidi kernel driver. Unfortunatly it doesnt works. Maybe could you be so kind and update the source for the latest kernel? Greeting Roman
Hi Roman, thank you for your interest in the project. As mentioned before, please do NOT use this project and instead opt for a user-space implementation. They are way better and there is no reason to use a kernel service. I suspect that from 3.9 to 5.3 there were a lot of changes in the kernel API and I currently don't have the capacity to maintain the project. From any perspective (except the educational purpose of the project) this is not meant to be used. Felix
Hi Felix, thank you for answering my question. I think that you are right and it is not worth to update your source. The computer systems are runing and runing, and nobody can be up to date. I will try another way to connect to zynthan by rtpMIDI. Thanks Roman
I followed the instruction to build the applemidi module and I got the following:
Sorry not sure what to do here?
Thanks