Skip to content

RPI4 same VID/PID for all devices #2649

@DreiDe

Description

@DreiDe

SerialPort Version

10.4.0 also tried 11.0.0

Node Version

v16.20.1 also tried v18.16.1

Electron Version

No response

Platform

Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

Architecture

x64

Hardware or chipset of serialport

No response

What steps will reproduce the bug?

Install serialport on a Raspberry Pi OS 32bit or 64bit version. Plug in a USB device. List all available ports via SerialPort.list().

What happens?

No matter which device is plugged in, node-serialport always shows the same VID/PID combination of 1106/3483. At the same time lsusb returns a correct response:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 17ef:602d Lenovo Black Silk Keyboard
Bus 001 Device 010: ID 0461:4d22 Primax Electronics, Ltd USB Optical Mouse
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Your website states:
NodeJS has dropped prebuilt binaries for NodeJS 10 and above for 32bit linux. As a result it's too difficult to maintain support. However if you build nodejs and serialport yourself it will probably work.

So instead of the default 32bit Raspi OS version I tried the 64bit one. However I got the same result.

What should have happened?

The devices that were plugged into the RPI show up with their corresponding unique VID/PID combination like with lsusb.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions