Priorities for RT-Preempt Kernel

More
08 Jul 2014 03:14 #48510 by t1m0n
Hi,
I'am using a kernel with real time preemption patch, the rt preempt kernel.
See www.kernel.org/pub/linux/kernel/projects/rt/.

I have to change the priorities to get the best result.

Actually, it is no problem to get real time for my applications, but I have to change the priorities of the processes for mouse and keyboard.
I want to use ps/2 but I don't know the name of the processes.
What is the name of the processes which handle mouse and keyboard?

Please Log in or Create an account to join the conversation.

More
08 Jul 2014 15:15 #48522 by ArcEye
Which version of Linuxcnc are you running on this kernel?

I you want a rt kernel that just works, install Wheezy and fetch the rt version of the kernel.
No need to mess about with priorities for mouse and keyboard, USB ones work properly

It will run MachineKit and Linuxcnc master with ubc-3 branch or jepler/rtos-uspace-apis branch checked out

regards

Please Log in or Create an account to join the conversation.

More
08 Jul 2014 19:05 - 08 Jul 2014 19:06 #48535 by t1m0n

Which version of Linuxcnc are you running on this kernel?

I use this Version gitorious.org/emc-rt-preempt/emc-rt-pree...5cef9908c911749a363e: because of the shared memory interface.
I use Ubuntu 10.04 with Kernel 3.4.9-rt17
Last edit: 08 Jul 2014 19:06 by t1m0n.

Please Log in or Create an account to join the conversation.

More
08 Jul 2014 20:57 - 08 Jul 2014 21:06 #48542 by ArcEye
I had not heard of that fork, the last activity seems to be 2 years ago with a merge of 2.5.

You will find the MachineKit is bang up to date, because it still tracks Linuxcnc, is being worked on heavily and builds on rtai, rt, and xenomai
github.com/machinekit/machinekit.git

That is all I use now, on rt-preempt in the house and rtai in the workshop, all on Wheezy.

Whilst doing some searches I found a lot of references to rpi preempt kernel having problems with keyboard and mice
It was something to do with the priority given to usb.

What is the name of the processes which handle mouse and keyboard?


Do a ps -A on your system

kpsmoused is a good place to start

(The modules tend to be hid_generic, usbhid, usbcore, unless you have a special kbd - mouse)

( PS I don't know if the vanilla kernels still have the PS/2 modules, a lot of distros seemed to drop support around 3.2 )

regards
Last edit: 08 Jul 2014 21:06 by ArcEye.

Please Log in or Create an account to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum