this post was submitted on 08 Feb 2024
25 points (93.1% liked)
Linux Gaming
15802 readers
38 users here now
Gaming on the GNU/Linux operating system.
Recommended news sources:
Related chat:
Related Communities:
Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
So valve had an open source SDK for the original steam link hardware box here: https://github.com/ValveSoftware/steamlink-sdk
I've not poked around it, but I'd try going through the source to see if you can figure out how the discovery protocol works. I'd guess it's a bonjour-like mDNS or UPnP based system, so you'd be looking to write a piece of listener software for whatever its discovery protocol is and then have it do what you like when it detects the discovery requests.
If you want to do it with wake on LAN too, run the application on a raspberry pi or something to then WOL your main PC.
It might be easier to just fire up Wireshark and look for relevant traffic when you trigger the action.
I would try this route first.
Here is my logic: it's the effort to find what you are looking for in a bunch of files and I don't know how many lines of source code versus the effort to search for some packets (which you should listen for anyway in the final solution) sent from a specific IP address over a relatively small amount of time.