mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-15 18:56:49 -04:00
Fix bus name
This commit is contained in:
parent
a057113d2a
commit
ab0f6cffed
4 changed files with 5 additions and 5 deletions
|
@ -5,5 +5,5 @@
|
||||||
# buffer_size: the size in kilobytes to use for the trace (if on galileo device).
|
# 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
|
# Use 0 for buffer_size since it's only used when mode is 1
|
||||||
|
|
||||||
busctl call com.steampowered.SteamOSManager1.Manager /com/steampowered/SteamOSManager1 com.steampowered.SteamOSManager1.Manager SetWifiDebugMode uu 0 0
|
busctl call com.steampowered.SteamOSManager1 /com/steampowered/SteamOSManager1 com.steampowered.SteamOSManager1.Manager SetWifiDebugMode uu 0 0
|
||||||
|
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
# mode: 1 for on, 0 for off
|
# mode: 1 for on, 0 for off
|
||||||
# buffer_size: the size in kilobytes to use for the trace (if on galileo device).
|
# buffer_size: the size in kilobytes to use for the trace (if on galileo device).
|
||||||
|
|
||||||
busctl call com.steampowered.SteamOSManager1.Manager /com/steampowered/SteamOSManager1 com.steampowered.SteamOSManager1.Manager SetWifiDebugMode uu 1 20000
|
busctl call com.steampowered.SteamOSManager1 /com/steampowered/SteamOSManager1 com.steampowered.SteamOSManager1.Manager SetWifiDebugMode uu 1 20000
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Get wifi debugmode from steamos-manager
|
# Get wifi debugmode from steamos-manager
|
||||||
|
|
||||||
busctl call com.steampowered.SteamOSManager1.Manager /com/steampowered/SteamOSManager1 com.steampowered.SteamOSManager1.Manager GetWifiDebugMode
|
busctl call com.steampowered.SteamOSManager1 /com/steampowered/SteamOSManager1 com.steampowered.SteamOSManager1.Manager GetWifiDebugMode
|
||||||
|
|
||||||
|
|
|
@ -134,7 +134,7 @@ pub fn anyhow_to_zbus_fdo(error: Error) -> zbus::fdo::Error {
|
||||||
|
|
||||||
async fn create_connection() -> Result<Connection> {
|
async fn create_connection() -> Result<Connection> {
|
||||||
let connection = ConnectionBuilder::system()?
|
let connection = ConnectionBuilder::system()?
|
||||||
.name("com.steampowered.SteamOSManager1.Manager")?
|
.name("com.steampowered.SteamOSManager1")?
|
||||||
.build()
|
.build()
|
||||||
.await?;
|
.await?;
|
||||||
let manager = manager::SteamOSManager::new(connection.clone()).await?;
|
let manager = manager::SteamOSManager::new(connection.clone()).await?;
|
||||||
|
@ -148,7 +148,7 @@ async fn create_connection() -> Result<Connection> {
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> Result<()> {
|
async fn main() -> Result<()> {
|
||||||
// This daemon is responsible for creating a dbus api that steam client can use to do various OS
|
// 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
|
// level things. It implements com.steampowered.SteamOSManager1.Manager interface
|
||||||
|
|
||||||
let stdout_log = fmt::layer();
|
let stdout_log = fmt::layer();
|
||||||
let subscriber = Registry::default().with(stdout_log);
|
let subscriber = Registry::default().with(stdout_log);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue