[Cin] Latest git issues

Stefan de Konink stefan at konink.de
Tue Feb 28 15:25:05 CET 2023


On Monday, February 20, 2023 8:21:00 PM CET, Stefan de Konink via Cin 
wrote:
> On Monday, February 20, 2023 8:12:27 PM CET, Phyllis Smith wrote:
>> First make sure that file exists (sudo cp
>> {cindat_path}/doc/99-ShuttlePRO.rules /etc/udev/rules.d/).
>> Then before starting CinGG, unplug the ShuttlePro for a few seconds and
>> plug back in again.
>
> Yes, this exists and permissions are correct. The plug/pull has 
> been done no effect. I wonder if another application could have 
> 'claimed' it (like blender).
> I'll report back if it works again.

My device path changed from the -if00 suffix to -mouse suffix. I don't know 
what is the best solution, but you may want to duplicate the entries?

The following works for me.


diff --git a/cinelerra-5.1/cinelerra/shuttle.C 
b/cinelerra-5.1/cinelerra/shuttle.C
index 53b6527a..061541b2 100644
--- a/cinelerra-5.1/cinelerra/shuttle.C
+++ b/cinelerra-5.1/cinelerra/shuttle.C
@@ -622,11 +622,11 @@ static const struct shuttle_dev {
        const char *path;
        unsigned vendor, product;
 } shuttle_devs[] = {
-       { "/dev/input/by-id/usb-Contour_Design_ShuttleXpress-event-if00",
+       { "/dev/input/by-id/usb-Contour_Design_ShuttleXpress-event-mouse",
                0x0b33, 0x0020 },
-       { "/dev/input/by-id/usb-Contour_Design_ShuttlePRO_v2-event-if00",
+       { "/dev/input/by-id/usb-Contour_Design_ShuttlePRO_v2-event-mouse",
                0x0b33, 0x0030 },
-       { "/dev/input/by-id/usb-Contour_Design_ShuttlePro-event-if00",
+       { "/dev/input/by-id/usb-Contour_Design_ShuttlePro-event-mouse",
                0x0b33, 0x0030 },
        { 
"/dev/input/by-id/usb-Contour_Design_ShuttlePRO_v2-event-joystick",
                0x0b33, 0x0030 },


-- 
Stefan


More information about the Cin mailing list