mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-05 14:10:34 -04:00
wifidebug: Add some helper scripts to use for testing.
While the steam client will drive wifi debug mode for now add some scripts that directly talk to it over dbus to enable disable, and check the current debug modes. Signed-off-by: Jeremy Whiting <jeremy.whiting@collabora.com>
This commit is contained in:
parent
29eb97128b
commit
4a50b941dd
3 changed files with 22 additions and 0 deletions
9
bin/steamos-disable-wifidebug
Normal file
9
bin/steamos-disable-wifidebug
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
# Tell steamos-manager to start wifi debugmode
|
||||
# parameters are 2 unsigned integers
|
||||
# mode: 1 for on, 0 for off
|
||||
# buffer_size: the size in kilobytes to use for the trace (if on galileo device).
|
||||
# Use 0 for buffer_size since it's only used when mode is 1
|
||||
|
||||
busctl call com.steampowered.SteamOSManager1 /com/steampowered/SteamOSManager1 com.steampowered.SteamOSManager1 SetWifiDebugMode uu 0 0
|
||||
|
8
bin/steamos-enable-wifidebug
Normal file
8
bin/steamos-enable-wifidebug
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
# Tell steamos-manager to start wifi debugmode
|
||||
# parameters are 2 unsigned integers
|
||||
# mode: 1 for on, 0 for off
|
||||
# buffer_size: the size in kilobytes to use for the trace (if on galileo device).
|
||||
|
||||
busctl call com.steampowered.SteamOSManager1 /com/steampowered/SteamOSManager1 com.steampowered.SteamOSManager1 SetWifiDebugMode uu 1 20000
|
||||
|
5
bin/steamos-get-wifidebug
Normal file
5
bin/steamos-get-wifidebug
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
# Get wifi debugmode from steamos-manager
|
||||
|
||||
busctl call com.steampowered.SteamOSManager1 /com/steampowered/SteamOSManager1 com.steampowered.SteamOSManager1 GetWifiDebugMode
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue