Skip to content

is_pozyx_port false positives #69

Open
@dwiel

Description

@dwiel

is_pozyx_port checks the vendor id to see if it is 0483, but another device i have also uses that id. Perhaps the product id should also match in the event that the vendor id is being checked.

[   15.003979] usb 1-2.4: New USB device found, idVendor=0483, idProduct=5740
[   15.003984] usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   15.003987] usb 1-2.4: Product: X2.1-777
[   15.003989] usb 1-2.4: Manufacturer: mRo
[   15.003991] usb 1-2.4: SerialNumber: XXX

if "0483:" in port.hwid:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions