Source: asus-zenbook-duo-ux8406
Section: admin
Priority: optional
Homepage: https://github.com/cceelen/asus-zenbook-duo-ux8406
Maintainer: Christian Ceelen <christian.ceelen+ux8406@gmail.com>
Build-Depends: debhelper-compat (= 13),
               meson (>= 1.1),
               ninja-build,
               pkgconf,
               systemd-dev,
               udev,
               cargo (>= 1.89),
               rustc (>= 1.89),
               clang,
               libbpf-dev,
               linux-libc-dev (>= 6.10),
               python3,
               libglib2.0-bin,
               nodejs
Standards-Version: 4.7.2

Package: asus-zenbook-duo-ux8406-second-screen
Architecture: amd64
Depends: udev, ${shlibs:Depends}, ${misc:Depends}
Description: lower panel of the Zenbook Duo UX8406 off while the keyboard lies on it
 While the detachable keyboard lies on the lower built-in panel, the panel's
 display connector is reported as disconnected, so that the desktop treats it
 like an unplugged monitor and uses its saved layout for the upper panel
 alone. Taking the keyboard off brings the panel back. The lower panel is
 also kept at the brightness of the upper one, which is the only one desktops
 set. udev rules run the helper when the keyboard arrives on or leaves its
 dock port and when the upper panel's brightness changes.
 .
 Does nothing on any other model.

Package: asus-zenbook-duo-ux8406-tcc-guard
Architecture: amd64
Depends: systemd, ${shlibs:Depends}, ${misc:Depends}
Description: CPU thermal-offset guard for the ASUS Zenbook Duo UX8406
 A service that raises the CPU's thermal offset (the Intel TCC offset) when
 the machine's embedded controller warns of heat, and takes it back once the
 warning is over. Stopping the service restores the original offset. The
 service is enabled and started on installation.
 .
 Logs one line and exits on any other model. An optional configuration file
 is read from /etc/asus-ux8406-tcc-guard.toml; an example is in
 /usr/share/doc/asus-zenbook-duo-ux8406-tcc-guard/.

Package: asus-zenbook-duo-ux8406-keyboard-bpf
Architecture: amd64
Depends: udev, udev-hid-bpf, ${shlibs:Depends}, ${misc:Depends}
Description: HID-BPF program for the hotkeys of the Zenbook Duo UX8406 keyboard
 Makes the function row of the detachable keyboard (USB 0b05:1bf2, Bluetooth
 0b05:1bf3) work with the kernel's generic HID driver: display brightness,
 microphone mute, emoji, MyASUS, the two display keys, the keyboard backlight
 and Fn+Esc. Loaded by udev-hid-bpf when the keyboard connects. A helper, run
 by udev, carries the backlight and the mode of the function row from the
 dock to Bluetooth and back.

Package: gnome-shell-extension-asus-zenbook-duo-ux8406-keys
Architecture: all
Depends: gnome-shell (>= 45~), asus-zenbook-duo-ux8406-keyboard-bpf, ${misc:Depends}
Description: GNOME Shell extension for the display keys of the Zenbook Duo UX8406
 The key right of F12 switches the lower panel on and off, and F8 swaps the
 windows of the two panels. The keyboard delivers these keys with
 asus-zenbook-duo-ux8406-keyboard-bpf. The extension also gives each
 touchscreen its panel.
 .
 To be enabled per user:
 gnome-extensions enable asus-zenbook-duo-ux8406-keys@cceelen.github.io

Package: gnome-shell-extension-builtin-screen-rotation
Architecture: all
Depends: gnome-shell (>= 45~), iio-sensor-proxy, ${misc:Depends}
Description: GNOME Shell extension that turns the built-in screens with the laptop
 With the laptop on its left or right side, or upside down, the built-in panels
 are turned, and two panels are put side by side or one below the other. GNOME
 does this by itself only without a pointer device and for one panel. Made for
 the two panels of the Zenbook Duo UX8406; it does the same on other laptops.
 The switch "Auto-rotate" in the quick settings turns this on and off, and its
 menu turns each screen by hand to any orientation. iio-sensor-proxy gives the
 orientation.
 .
 To be enabled per user:
 gnome-extensions enable builtin-screen-rotation@cceelen.github.io

Package: asus-zenbook-duo-ux8406-kde-shortcuts
Architecture: all
Depends: plasma-desktop, kglobalacceld, asus-zenbook-duo-ux8406-keyboard-bpf, ${misc:Depends}
Description: default KDE Plasma shortcuts for the function keys of the Zenbook Duo UX8406
 The emoji key (F11) opens the emoji selector of Plasma. This package is
 optional: the key works without it, but does nothing in Plasma.

Package: asus-zenbook-duo-ux8406-kde-keys
Architecture: amd64
Depends: kwin-wayland (>= 4:6.0~), asus-zenbook-duo-ux8406-keyboard-bpf, ${shlibs:Depends}, ${misc:Depends}
Description: KDE Plasma integration for the display keys of the Zenbook Duo UX8406
 The key right of F12 switches the lower screen on and off, and F8 swaps the
 windows of the two screens (a KWin script). Each touchscreen and pen gets
 its panel. The keyboard delivers the keys with
 asus-zenbook-duo-ux8406-keyboard-bpf. For Plasma 6 on Wayland. Active after
 the next login.
 .
 Does nothing on any other model.

Package: plasma-builtin-screen-rotation
Architecture: amd64
Depends: kwin-wayland (>= 4:6.0~), plasma-workspace (>= 4:6.4), kglobalacceld,
         qml6-module-qtquick, qml6-module-qtquick-layouts,
         qml6-module-org-kde-kirigami, plasma-desktoptheme,
         ${plasma:Workspace},
         iio-sensor-proxy, ${shlibs:Depends}, ${misc:Depends}
Description: turns the built-in screens with the laptop in KDE Plasma
 With the laptop on its left or right side, or upside down, both built-in
 panels are turned and put side by side or one below the other. While this
 package is installed, the setting of KWin for automatic rotation is set to
 never on the built-in screens. The applet "Auto-rotate" in the system tray
 turns this on and off, and turns each screen by hand to any orientation. iio-
 sensor-proxy gives the orientation. Active after the next login.
 .
 Before the package is removed, run "plasma-builtin-screen-rotation restore"
 as the user, to give KWin's setting back.
