Hello, If you want to have the speed editor working, you can apply the following diff :)
diff --git a/PKGBUILD b/PKGBUILD
index ec09c3b..0e1476d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -96,7 +96,7 @@ source=("${_archive}"::"$_srcurl")
prepare()
{
# Remove udev rules (The official installer does not remove these files. This leads to the conflict "exists in the file system".)
- confiles=$(find /usr/lib/udev/rules.d -name 75-davincipanel.rules -o -name 75-sdx.rules 2> /dev/null | awk -F/ '{print $NF}'
+ confiles=$(find /usr/lib/udev/rules.d -name 75-davincipanel.rules -o -name 75-sdx.rules -o -name 75-davincikb.rules 2> /dev/null | awk -F/ '{print $NF}'
find /opt/resolve/configs -name log-conf.xml -o -name config.dat 2> /dev/null | awk -F/ '{print $NF}'
)
if [ "${confiles}" ]; then
@@ -122,6 +122,12 @@ package()
cd squashfs-root
./installer -i -y -n -a -C "${pkgdir}/opt/${_pkgname}" "$PWD"
+ msg2 "Panel API..."
+ cd "${srcdir}/squashfs-root/share/panels"
+ tar xvzf dvpanel-framework-linux-x86_64.tgz
+ install -Dm644 libDaVinciPanelAPI.so "${pkgdir}/usr/lib/libDaVinciPanelAPI.so"
+ install -Dm644 libFairlightPanelAPI.so "${pkgdir}/usr/lib/libFairlightPanelAPI.so"
+
msg2 "Add lib symlinks..."
cd "${pkgdir}/opt/${_pkgname}/" || exit
ln -s /usr/lib/libcrypto.so.1.0.0 libs/libcrypto.so.10
@@ -152,7 +158,14 @@ package()
msg2 "Creating and installing udev rules..."
echo 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="096e", MODE="0666"' > "${pkgdir}/usr/lib/udev/rules.d/75-davincipanel.rules"
echo 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1edb", MODE="0666"' > "${pkgdir}/usr/lib/udev/rules.d/75-sdx.rules"
- chmod 644 "${pkgdir}/usr/lib/udev/rules.d/"{75-davincipanel.rules,75-sdx.rules}
+ cat > ${pkgdir}/usr/lib/udev/rules.d/75-davincikb.rules <<EOF
+SUBSYSTEMS=="usb", ENV{.LOCAL_ifNum}="\$attr{bInterfaceNumber}"
+# Editor Keyboard
+SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="1edb", ATTRS{idProduct}=="da0b", ENV{.LOCAL_ifNum}=="04", MODE="0666"
+# Speed Editor Keyboard
+SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="1edb", ATTRS{idProduct}=="da0e", ENV{.LOCAL_ifNum}=="02", MODE="0666"
+EOF
+ chmod 644 "${pkgdir}/usr/lib/udev/rules.d/"{75-davincipanel.rules,75-sdx.rules,75-davincikb.rules}
# Not sure we need it
# msg2 "Any final tweaks..."
Pinned Comments