Repository URL to install this package:
|
Version:
0.3.4-1 ▾
|
############################################
## Juno Computers ##
## Powertop Settings for Juno Laptops ##
## https://junocomputers.com ##
############################################
# ------------------------------------------------------------------------------
# When an external monitor is plugged in it will switch power to Ondemand
KERNEL=="card0", SUBSYSTEM=="drm", ACTION=="change", RUN+="/usr/bin/juno-monitor"
## Enable/disable Virtual Keyboard when external mouse/keyboard is detected
SUBSYSTEM=="input", KERNEL=="mouse[0-9]*", ACTION=="add", RUN+="/usr/bin/hostnamectl set-chassis tablet"
SUBSYSTEM=="input", KERNEL=="mouse[0-9]*", ACTION=="remove", RUN+="/usr/bin/hostnamectl set-chassis handset"
## CUBE TK.Xie-V01.07-1219 Touchscreen - 180° flip
ATTRS{idVendor}=="4451", ATTRS{idProduct}=="1982", ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1"
## CUBE TK.Xie-V01.07-1219 Stylus - swap axes, flip Y
ATTRS{idVendor}=="4451", ATTRS{idProduct}=="1982", ENV{ID_INPUT_TABLET}=="1", ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1"
## RTL8852BE - Disable d3cold
SUBSYSTEM=="pci", ATTR{vendor}=="0x10ec", ATTR{device}=="0xb852", ATTR{d3cold_allowed}="0"