fix: comprehensive boot hardening — crashes, warnings, sensors, bare-metal PS/2
- firmware-loader: handle missing INIT_NOTIFY gracefully (Option<RawFd>) - driver-params: suppress ENODEV (19) on missing driver-manager scheme - compositor: add wl_seat.name + pointer capabilities for Qt6 compat - greeter: use redox QPA (libqredox.so) instead of broken Qt6 Wayland - greeter: reduce DRM wait 10s→2s, kded6 offscreen QPA to avoid crash - thermald: add CPU die temperature via MSR IA32_THERM_STATUS (Linux coretemp) - pcid: diagnostic MCFG warning with Q35 guidance, address validation - dhcpd: auto-interface detection (P0-dhcpd-auto-iface.patch wired) - procmgr: SIGCHLD EPERM→debug (kernel limitation, not a bug) - ps2d LED: warn→debug on modern hw without real PS/2 controller - ps2d mouse: 10×1s→3×250ms retry, fast-fail on unknown response - i2c RON: handle empty response from i2cd when no adapters present - base recipe: wire 6 new/improved patches - config: remove INIT_SKIP, enable all 14 previously-suppressed daemons
This commit is contained in:
@@ -25,20 +25,20 @@
|
||||
+ if num { led_byte |= 2; }
|
||||
+ if caps { led_byte |= 4; }
|
||||
+ if let Err(err) = self.keyboard_command_inner(0xED) {
|
||||
+ warn!("ps2d: failed to send LED command 0xED: {:?}", err);
|
||||
+ log::debug!("ps2d: LED command 0xED not supported: {:?}", err);
|
||||
+ return;
|
||||
+ }
|
||||
+ match self.read_timeout(DEFAULT_TIMEOUT) {
|
||||
+ Ok(0xFA) => {
|
||||
+ if let Err(err) = self.write(led_byte) {
|
||||
+ warn!("ps2d: failed to send LED byte {:02X}: {:?}", led_byte, err);
|
||||
+ log::debug!("ps2d: failed to send LED byte {:02X}: {:?}", led_byte, err);
|
||||
+ }
|
||||
+ }
|
||||
+ Ok(val) => {
|
||||
+ warn!("ps2d: LED command ACK expected 0xFA, got {:02X}", val);
|
||||
+ log::debug!("ps2d: LED command ACK expected 0xFA, got {:02X}", val);
|
||||
+ }
|
||||
+ Err(err) => {
|
||||
+ warn!("ps2d: LED command ACK timeout: {:?}", err);
|
||||
+ log::debug!("ps2d: LED command ACK timeout: {:?}", err);
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user