Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expand info/debug/warning msgs if USB device serial_number not readable #423

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Oct 28, 2024

  1. expand info/debug/warning messages if USB device serial_number not …

    …readable
    
    if INSTR USB device,
    - say that device is USB INSTR that failed in warning message
    - catch exception
    - debug message with traceback if logging level is DEBUG
    - info message 1-line error summary if logging level is INFO
    - if path f"/dev/bus/usb/{dev.bus:03d}/{dev.address:03d}" exists, check
      permissions on that file & refer to FAQ link (known issue on Linux)
    
    if RAW USB device,
    - say that device is USB RAW that failed in warning message
    jllanfranchi authored and MatthieuDartiailh committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    1aa55bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5266825 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da964f3 View commit details
    Browse the repository at this point in the history