[Cin] Latest git issues

Phyllis Smith phylsmith2017 at gmail.com
Sat Mar 4 00:36:55 CET 2023


Duplicating the code provided by Stefan fixes the problem with the Shuttle
he found and does not seem to have any impact on older distros.  This was
just 1 initial test for me but will test some more.  Patch he provided is
below.

On Mon, Feb 20, 2023 at 9:57 AM Stefan de Konink via Cin <
cin at lists.cinelerra-gg.org> wrote:

> I have found the following issues with the latest git version;
>
>  - ShuttlePro does not work anymore
>
>
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 },
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20230303/895f73fd/attachment.htm>


More information about the Cin mailing list