kdenlive, jog shuttle, and root access

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

kdenlive, jog shuttle, and root access

Postby superpat » Mar 14th, '13, 11:48

Hi,

I am trying toi use my ShuttleXpress "jog shuttle" in kdenlive.

The only way I can get kdenlive to "see" the device is to start kdenlive in root mode.

I have tried this in mageia 2 and 3 with the same results.

There are some posts in the kdenlive forum suggesting that a new udev rule would fix it. I have tried this but it did not help.
[SOLUTION] Re: jog shuttle only works when run as root . . .

Managed to figure out a solution.

I found this issue in a Google search (in fact, found the same query, made by . . . me . . . in 2005 while using Kino on Mepis, with helpful answer from Mads Bondo Dydensborg, who I believe was a developer for Kino at the time - http://osdir.com/ml/video.kino.devel/20 ... 00027.html). I tried doing what I did then, with some help from the instructions at: http://sourceforge.net/apps/mediawiki/g ... O_-_Set....

1. Create a new file /etc/udev/rules.d/99-input.rules as follows:

brodi@KITCHEN:~$ gksudo gedit /etc/udev/rules.d/99-input.rules

with the following text:


KERNEL=="event*", NAME="input/%k", MODE="660", GROUP="users"
KERNEL=="js*", NAME="input/%k", MODE="664", GROUP="users"

This creates a new udev rule.

2. Reboot, or reload the udev rules with the following;

sudo /etc/init.d/udev restart

3. Start Kdenlive as usual.

The JogShuttle should now work as a regular user.

-- BV


Please can someone advise me how to get this peripheral runnin with kdenlive and Mageia

many thanks

Patrick
superpat
 
Posts: 2
Joined: Mar 14th, '13, 11:39

Re: kdenlive, jog shuttle, and root access

Postby superpat » Mar 14th, '13, 12:11

A further bit of information

Output of dmesg when plugging jogshuttle in:-

Code: Select all
[  108.690004] usb 1-1.3: new low-speed USB device number 4 using ehci-pci
[  108.779919] usb 1-1.3: New USB device found, idVendor=0b33, idProduct=0020
[  108.779924] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  108.779927] usb 1-1.3: Product: ShuttleXpress
[  108.779929] usb 1-1.3: Manufacturer: Contour Design
[  108.785102] input: Contour Design ShuttleXpress as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input12
[  108.785382] hid-generic 0003:0B33:0020.0003: input,hidraw2: USB HID v1.10 Device [Contour Design ShuttleXpress] on usb-0000:00:1a.0-1.3/input0


The jog shuttle has two rotary rings, simulating mouse movement, and five push buttons.

I have found another reference:- https://github.com/threedaymonk/shuttle ... ress.rules

Here he states:-

# Copy to /etc/usb/rules.d/
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0b33", ATTRS{idProduct}=="0020", SYMLINK+="shuttlexpress", MODE="0666"


Please could someone explain the correct usuage of the udev rules in this case?

many thanks

Patrick
superpat
 
Posts: 2
Joined: Mar 14th, '13, 11:39


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest