Registered Member
|
I've just gotten my Contour ShuttlePro v2 jog dial. Plugged into an USB socket and the Linux kernel properly detects this USB device and assigns a device (udev) name. This is the relevant snippet from the kernel messages:
I also have a udev rule in place, 99-shuttlepro.rules:
Checking the /dev tree according to the information listed in the kernel messages, I see that my ShuttlePro has been mapped to
which is in fact a link to
When I start Kdenlive and go into the general settings, I don't see my ShuttlePro listed in the jog dial section; in fact, no device is listed there at all. Could it be that Kdenlive expects the jog dial devices to pop up under a different set of names in the udev /dev tree? |
Registered Member
|
I've found out that Kdenlive does seem to look for the wrong device names. If I manually create a link for a /dev/input/inputnumber to the correct event dev file, then Kdenlive immediately detects my ShuttlePro. To find out the correct name for a ShuttlePro on a particular system, list the /dev/input/by-id; this shows also my ShuttlePro v2:
If I now set a link from, say input5 to event5, then Kdenlive is happily detecting the ShuttlePro. At least, I've got Kdenlive working with my new ShuttlePro v2. But this is not fully satisfying, as it requires setting up device links manually. Eeek. |
Registered Member
|
Okay, fixed it myself. I've set up a 99-shuttlepro.rules as follows:
This rule automatically creates the correct /dev/input/inputX and links it to the appropriate eventX device file. It's not perfect as it also creates a mouseX device file, but I can live with it. |
Registered Member
|
This is how I get it working:
sudo groupadd -f input sudo gpasswd -a jef input gksudo gedit /etc/udev/rules.d/99-input.rules and put the next text in it: KERNEL=="event*", NAME="input/%k", MODE:="660", GROUP="input" KERNEL=="js*", NAME="input/%k", MODE:="664", GROUP="input" Save this file and reboot the computer and the ShuttlePro v2 is available. This comes from: viewtopic.php?f=265&t=114318 I'm very happy with the shuttlePro v2, it makes editing very fast and easy |
Registered Member
|
No need to reboot, just do a...
...works like a charm, tested it myself as I didn't want to reboot during my experiments. |
Registered Member
|
I would like to understand the rationale for these rules, can you help me? To me, the first rule seems to be unnecessary unspecific, kinda catch-all rule. It may cause havoc when I connect other input devices, such as my tablet... And what is the second rule good for? What are js* devices?? I don't see them in my /dev/input branch, so why should I add rules that may do something else? |
Registered Member
|
Sorry, I can't help you with this because I'm not familiair with all those commands.
Maybe you can ask it in the topic that I mentioned before: viewtopic.php?f=265&t=114318 In that topic he also refers to: http://osdir.com/ml/video.kino.devel/20 ... 00027.html and http://sourceforge.net/apps/mediawiki/g ... _udev_Rule I hope that can help you. |
Registered Member
|
Another update: I've noticed that the Linux kernel renumbers input/event devices, especially when waking up from a system sleep or hibernation. In consequence, Kdenlive looses contact with my ShuttlePRO v2. I've solved this problem by setting a permanent symbolic link from /dev/input/input00 to /dev/input/by-id/usb-Contour_Design_ShuttlePRO_v2-event-if00. This solves the problem of Kdenlive finding only inputX devices and at the same time keeps the name input00 constant across the kernel renumbering devices as the link references the ShuttlePRO v2 by its identifier, not by its ever-changing device number.
|
Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]