Skip to content

Commit

Permalink
fix(Suspend/Resume): Remove resume service
Browse files Browse the repository at this point in the history
- Removes inputplumer-resume.service. Testing on v0.34.2 shows the service is no longer needed for device input to be registered after a resume event. Specific reasons for the behavior change are not known, but I suspect a commbination of using udev and unique ID's for the DS5 has resovled the issue.

Fixes #77
  • Loading branch information
pastaq committed Aug 9, 2024
1 parent 814bfe3 commit 4392c33
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ assets = [
{ source = "target/release/inputplumber", dest = "/usr/bin/inputplumber", mode = "755" },
{ source = "rootfs/usr/share/dbus-1/system.d/org.shadowblip.InputPlumber.conf", dest = "/usr/share/dbus-1/system.d/org.shadowblip.InputPlumber.conf", mode = "644" },
{ source = "rootfs/usr/lib/systemd/system/inputplumber.service", dest = "/usr/lib/systemd/system/inputplumber.service", mode = "644" },
{ source = "rootfs/usr/lib/systemd/system/inputplumber-resume.service", dest = "/usr/lib/systemd/system/inputplumber-resume.service", mode = "644" },
{ source = "rootfs/usr/share/inputplumber/devices/*.yaml", dest = "/usr/share/inputplumber/devices/", mode = "644" },
{ source = "rootfs/usr/share/inputplumber/schema/*.json", dest = "/usr/share/inputplumber/schema/", mode = "644" },
{ source = "rootfs/usr/share/inputplumber/capability_maps/*.yaml", dest = "/usr/share/inputplumber/capability_maps/", mode = "644" },
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ uninstall: ## Uninstall inputplumber
rm $(PREFIX)/bin/$(NAME)
rm $(PREFIX)/share/dbus-1/system.d/$(DBUS_NAME).conf
rm $(PREFIX)/lib/systemd/system/$(NAME).service
rm $(PREFIX)/lib/systemd/system/$(NAME)-resume.service
rm $(PREFIX)/lib/udev/hwdb.d/59-inputplumber.hwdb
rm -rf $(PREFIX)/share/$(NAME)/devices/
rm -rf $(PREFIX)/share/$(NAME)/schema/
Expand Down
1 change: 0 additions & 1 deletion pkg/rpm/inputplumber.spec
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ systemctl disable inputplumber.servce
/usr/bin/inputplumber
/usr/share/dbus-1/system.d/org.shadowblip.InputPlumber.conf
/usr/lib/systemd/system/inputplumber.service
/usr/lib/systemd/system/inputplumber-resume.service
/usr/lib/udev/hwdb.d/59-inputplumber.hwdb
/usr/share/inputplumber/capability_maps/ally_type1.yaml
/usr/share/inputplumber/capability_maps/anbernic_type1.yaml
Expand Down
10 changes: 0 additions & 10 deletions rootfs/usr/lib/systemd/system/inputplumber-resume.service

This file was deleted.

0 comments on commit 4392c33

Please sign in to comment.