base: ps2d/inputd — add startup info logs for boot diagnostics
Both daemons previously produced no Info-level output on successful start, making it impossible to confirm from the boot log whether ps2d and inputd were actually alive. The kernel serial log shows no [INFO] ps2d: or [INFO] inputd: lines during normal boot, leading operators to assume the input stack was dead when in fact it was working. This adds two log::info!() calls: - ps2d main.rs: after daemon.ready(), log that ps2d has registered its ProducerHandle and is listening on serio/0 (keyboard) and serio/1 (mouse). - inputd main.rs: after setup_logging, log that inputd has registered scheme:input and is waiting for handles. These are emitted only on the successful startup path; existing .error!()/.warn!() calls continue to surface real failures. No behavior change; no functional effect on input handling.
This commit is contained in:
@@ -658,6 +658,8 @@ fn main() {
|
||||
common::file_level(),
|
||||
);
|
||||
|
||||
log::info!("inputd: scheme:input registered, waiting for handles");
|
||||
|
||||
daemon::SchemeDaemon::new(daemon_runner);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user