This is a record for my own passthrough setup, I can finally use a single laptop for windows gaming and linux programming at the same time.
My G14 is GA402RJ(6800HS + 6700s) with MT7922 WiFi/BT card.
At this time, BIOS version is 309.
type: vertical-stack | |
cards: | |
- type: horizontal-stack | |
cards: | |
- type: custom:mushroom-title-card | |
title: Bambu Lab X1C | |
alignment: start | |
- type: custom:mod-card | |
card: | |
type: custom:mushroom-chips-card |
sudo vim /usr/lib/systemd/system-sleep/windows
#!/bin/bash
# Enable the use of hybrid-sleep for hibernate/reboot into windows when dual booting.
# requires the flag HybridSleepMode=reboot to be enabled in /etc/systemd/sleep.conf
# and grub-reboot to be installed
#!/bin/sh | |
# Automatically rotate the screen when the device's orientation changes. | |
# Use 'xrandr' to get the correct display for the first argument (for example, "eDP-1"), | |
# and 'xinput' to get the correct input element for your touch screen, if applicable | |
# (for example, "Wacom HID 486A Finger"). | |
# | |
# The script depends on the monitor-sensor program from the iio-sensor-proxy package. | |
if [ -z "$1" ]; then |