surfacego-touchscreen.service 325 B

1234567891011
  1. [Unit]
  2. Description=Surface Go Touchscreen Power Management
  3. [Service]
  4. Type=oneshot
  5. RemainAfterExit=yes
  6. ConditionPathExists=/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/power/control
  7. Exec=/bin/sh -c "echo on > /sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/power/control"
  8. [Install]
  9. WantedBy=multi-user.target