this post was submitted on 01 Dec 2023
15 points (94.1% liked)
Steam Deck
14914 readers
244 users here now
A place to discuss and support all things Steam Deck.
Replacement for r/steamdeck_linux.
As Lemmy doesn't have flairs yet, you can use these prefixes to indicate what type of post you have made, eg:
[Flair] My post title
The following is a list of suggested flairs:
[Discussion] - General discussion.
[Help] - A request for help or support.
[News] - News about the deck.
[PSA] - Sharing important information.
[Game] - News / info about a game on the deck.
[Update] - An update to a previous post.
[Meta] - Discussion about this community.
Some more Steam Deck specific flairs:
[Boot Screen] - Custom boot screens/videos.
[Selling] - If you are selling your deck.
These are not enforced, but they are encouraged.
Rules:
- Follow the rules of Sopuli
- Posts must be related to the Steam Deck in an obvious way.
- No piracy, there are other communities for that.
- Discussion of emulators are allowed, but no discussion on how to illegally acquire ROMs.
- This is a place of civil discussion, no trolling.
- Have fun.
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Try putting a script like this in /lib/systemd/system-sleep/. Make sure it is executable.
What I said before, looks like a dead end.
~~Start with "cat /proc/acpi/wakeup" and "lspci". My LCD deck doesn't have the new BT chip with wakeup, but I think it might go like this~~
~~Look at lspci, find the Bluetooth there (Maybe it's just part of the wifi?). Note its PCI address, and find a value in /proc/acpi/wakeup that corresponds to that. Take the name from the first column of /proc/acpi/wakeup, and do something like "echo GPPn | sudo tee /proc/acpi/wakeup" . If this works, then you'll want to (a) make a slightly more permanent version of this per the arch wiki, and (b) remember to undo that when Valve finally gets around to doing a proper control for this.~~
https://wiki.archlinux.org/title/Power_management/Wakeup_triggers
I do not see a BT device in lspci, and the Network Adapter PCI address doesn't show i /proc/acpi/wakeup,
I tried to create a systemd unit file that would issue an rfkill on bluetooth on suspend, and then re-enable it on resume, but that didn't work either. Interestingly, if I do
systemctl stop bluetooth
the bluetooth service stops, and then immediate starts again!Oop. Look up. I changed the parent post, maybe this time it'll work?