data: Allow access to hidraw devices

The elanspi driver needs access to a hidraw device in order to reset the
SPI reader.
This commit is contained in:
Benjamin Berg
2021-08-20 13:55:19 +02:00
committed by Benjamin Berg
parent 626128a0fa
commit ff4ba1da47

View File

@ -40,6 +40,7 @@ NoNewPrivileges=true
ProtectClock=yes
DeviceAllow=char-usb_device rw
DeviceAllow=char-spi rw
DeviceAllow=char-hidraw rw
# Allow tuning USB parameters (wakeup and persist)
ReadWritePaths=/sys/devices