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:
Red Bear OS
2026-06-30 02:23:30 +03:00
parent 76e09281d7
commit de9d1f495f
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -658,6 +658,8 @@ fn main() {
common::file_level(),
);
log::info!("inputd: scheme:input registered, waiting for handles");
daemon::SchemeDaemon::new(daemon_runner);
}
}