Skip to content

QR reader with hidrwa0 and hidraw1 #29

Description

@zapicoj

Is there a way to force the library to read from hidraw1 ?
I'm using the library in a RPi4, node-red 2.05, with an Aibecy QR reader and it's working right, this device appears, in /dev, like hidraw0. The problem arise when I connect an MP2600 QR reader (has no brand on the box) in the place of the Aibecy. This new device shows two hidraws on the /dev. The hidraw0 and hidraw1. As per what I observed with cat /dev/hidraw1, it communicates through hidraw1. The hidraw0 is always in silence. I'm not able to read any data in node red. it seems like the library (node-red-stream) wait for data coming from hidraw0. This is why my question in line 1.
Appreciate any comment or work around to resolve the issue
kind regards.
zapicoj

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