Skip to content

devnum doesn't consistently identify a device #15

@mrj

Description

@mrj

While a device's "devnum" field changes each insertion/boot, making it hard for a program to identify a given device/sensor from the JSON output, a device's USB port-identifier reflects where it's plugged-in.

I've got this PR that adds a JSON field "port" to reliably associate a device with a USB socket. Would it be worthwhile to switch this PR to this repo?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions