mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-13 01:41:59 -04:00
wifidebug: Add some iwd override and a way to enable/disable.
Adds set_wifi_debug_mode to enable or disable wifi debug mode. Parameters are mode (0 for off, 1 for on for now, expandable in the future if more modes are needed). buffer_size: a size in kilobytes per cpu (so 16 on the deck) for the ring buffer that debug messages will get written into. For now just adds or removes a iwd debug mode override and restarts iwd. next will add some trace-cmd commands to write the debug messages to a file on disk. Signed-off-by: Jeremy Whiting <jeremy.whiting@collabora.com>
This commit is contained in:
parent
78d0d6e458
commit
cd241445b4
2 changed files with 85 additions and 2 deletions
|
@ -32,7 +32,7 @@ async fn main() -> Result<()> {
|
|||
// This daemon is responsible for creating a dbus api that steam client can use to do various OS
|
||||
// level things. It implements com.steampowered.SteamOSManager1 interface
|
||||
|
||||
let manager = manager::SMManager {};
|
||||
let manager = manager::SMManager::new();
|
||||
|
||||
let _system_connection = ConnectionBuilder::system()?
|
||||
.name("com.steampowered.SteamOSManager1")?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue