With respect, there are a lot of things that can be done to overcome the obstacles of using a laptop as a machine controller.
turning of smi (potentially harmful)
turning of certain settings in bios,
and configuring certain apic settings will have your laptop producing respectable latency and jitter values.
simply using a linux kernel is not enough. ive found a few things that may be of intrest to anyone trying to do this AND keep ubuntu fully functional.
1)
kernel.ubuntu.com/~kernel-ppa/mainline/v4.1.12-wily/
This is the baseline kernel used in ubuntu wily and the patches needed to make it a fully functional ubuntu kernel
2)
www.kernel.org/pub/linux/kernel/projects/rt/4.1/
This is a link to a rt patch to be added to the ones previously mentioned in the read me above
Now, in posting this, I realize there are a lot of other people who are interested in this, and these are not definitive instructions on how to accomplish this.
I am also wondering if there is a way to change the headers and all mention of it being a 4.1 kernel to the generic kernel that is already in my system.
Hopefully this will trick the system into not wanting to report to canonical that you have changed the kernel. im sure you will need to change something iin grub if you want it to allways be loaded, but it seems that it would be better to just load it when your actually going to use the machine.
4)
wiki.ubuntu.com/KernelCustomBuild
scroll down to the q and a with syntax and this is where i get the idea this is possible. of course he is not changing any headers or signatures but it is possible. i remember scanning another site reading exactly where all occurrences of the kernel version is held, before i realized it could be important or understood what it meant.
I was hoping someone with more experience with this could make the definitive instructions on compiling this kernel and patches, and how to change the headers and append them to the stock kernel.
regards
jason