Initial release v1.0.0
Add GPIO-based volume button driver for Lenovo IdeaPad Flex 5i Chromebook Gen 8 Features: - Volume button detection via GPIO polling - Key repeat with configurable timings - Systemd service integration - Professional documentation
This commit is contained in:
19
chromebook-volume-buttons.service
Normal file
19
chromebook-volume-buttons.service
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Chromebook Volume Buttons Handler
|
||||
Documentation=https://github.com/chromebook-volume-buttons
|
||||
After=multi-user.target
|
||||
Wants=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/python3 /usr/local/bin/chromebook-volume-buttons
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
User=root
|
||||
|
||||
# Security settings
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user