From 3f40566063493e51adafb361477e7e55d33e530f Mon Sep 17 00:00:00 2001 From: Lauri Leukkunen Date: Sun, 14 May 2017 09:46:34 +0300 Subject: [PATCH] Fix gpro and uninstall target GPRO udev rule needs to use the /etc/g810-led/profile path like the others. Removed uninstallation of g810-led.service that is not being installed in setup. Signed-off-by: Lauri Leukkunen --- makefile | 2 -- udev/g810-led.rules | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/makefile b/makefile index 49e68ee..4a16420 100644 --- a/makefile +++ b/makefile @@ -97,9 +97,7 @@ uninstall-dev: uninstall: @test -s /usr/bin/systemd-run && \ - systemctl disable $(PROGN) && \ systemctl disable $(PROGN)-reboot && \ - rm $(SYSTEMDDIR)/system/$(PROGN).service && \ rm $(SYSTEMDDIR)/system/$(PROGN)-reboot.service && \ systemctl daemon-reload && \ rm -R /etc/$(PROGN) diff --git a/udev/g810-led.rules b/udev/g810-led.rules index 74abe19..edd72ea 100644 --- a/udev/g810-led.rules +++ b/udev/g810-led.rules @@ -6,4 +6,4 @@ ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c3 ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c337", MODE="666" RUN+="/usr/bin/g810-led -p /etc/g810-led/profile" ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c32b", MODE="666" RUN+="/usr/bin/g910-led -p /etc/g810-led/profile" ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c335", MODE="666" RUN+="/usr/bin/g910-led -p /etc/g810-led/profile" -ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c339", MODE="666" RUN+="/usr/bin/g810-led -p /etc/gpro-led/profile" +ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c339", MODE="666" RUN+="/usr/bin/gpro-led -p /etc/g810-led/profile"