Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: thesofproject/sof-utils
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e24b8f6
Choose a base ref
...
head repository: thesofproject/sof-utils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 273c33d
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Dec 4, 2026

  1. sof-top: notify user when local kernel devices are missing or inacces…

    …sible
    
    Surface clear warnings and status messages across backend probing, CLI
    (sof-top-cli), and GTK4 UI (sof-top) whenever either /dev/sof-dsp0 or
    SOF DebugFS/SysFS is absent or lacks permissions:
    
    - backend.probe_local_sof_device(): check /dev/sof-dsp0 accessibility
      (R_OK|W_OK) alongside DebugFS/SysFS presence and emit explicit
      'warning' / 'reason' diagnostics for missing or inaccessible devices.
    - backend.LocalCdevBackend: track non-fatal device notices in 'last_note'
      without polluting 'last_error' on healthy read-only/cdev connections,
      auto-fallback to /dev/sof-dsp0 in 'auto' mode when SysFS/DebugFS are
      absent, and provide clearer errors when explicit /dev/sof-dsp* fails.
    - sof-top-cli & sof-top --render-png: print backend 'last_note' as a
      stderr WARNING and warn explicitly when --wake / --hold-d0 is ignored
      in read-only mode.
    - sof-top GTK4 UI: include missing/inaccessible device notices in the
      Local Device dropdown tooltip, disabled PM button tooltips, status bar
      connection banner, and polling status bar Note field.
    
    Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
    lrgirdwo committed Dec 4, 2026
    Configuration menu
    Copy the full SHA
    48212a2 View commit details
    Browse the repository at this point in the history
  2. sof-top: Address PR #10 review comments

    - backend.py: Report unavailable SysFS/DebugFS clearly and suggest
      --local /dev/sof-dsp0 or --local auto when only CDEV is present, set
      last_note/last_error on CDEV polls, add RemoteTcpBackend.last_note,
      and add shared emit_new_backend_notes() helper.
    - sof-top-cli, sof-top: Emit newly discovered polling permission notes
      (e.g. fw_regs/exception EACCES) once to stderr via
      emit_new_backend_notes() while keeping last_error for failures.
    - sof-top/tests/test_local_device_notices.py: Add unit tests covering
      local device probing, CDEV fallback/errors, and polling note dedup.
    
    Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
    lrgirdwo committed Dec 4, 2026
    Configuration menu
    Copy the full SHA
    273c33d View commit details
    Browse the repository at this point in the history
Loading