Skip to content

RP2040-GEEK - supervisor USB identification cannot be set #10155

Open
@HidingCherry

Description

@HidingCherry

CircuitPython version and board name

CircuitPython 9.2.5 (also tried 9.2.4); Waveshare RP2040-GEEK

Code/REPL

# boot.py
import board
import storage
import usb_cdc

import supervisor
supervisor.set_usb_identification(
	vid=0x0123,
	pid=0x0123,
	manufacturer="manu",
	product="prod"
)

Behavior

No error.

Device should be identified as:

usb 1-4: New USB device found, idVendor=0123, idProduct=0123, bcdDevice= 1.00
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-4: Product: prod
usb 1-4: Manufacturer: manu

Instead it is identified as this:

usb 1-4: New USB device found, idVendor=2e8a, idProduct=1056, bcdDevice= 1.00
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-4: Product: RP2040-GEEK
usb 1-4: Manufacturer: Waveshare Electronics

Description

On boot the usb description should be set accordingly.

Additional information

This issue happens with the rp2040_geek images, but it does not happen with rp2040_pico (which I falsely downloaded first).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions