Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7995

Troubleshooting • Re: USB Gadget Mode via rpi-usb-gadget

$
0
0
Hi,

Just checked on my Windows 11 PC with Raspberry Pi Imager 2.0.6, and it's working for me.

I used 'create_local_json.py' to create a custom manifest file (as described in the blog post).

I double clicked on the 'os_list_local.rpi-imager-manifest' file and Windows opens it with Raspberry Pi Imager.

I then selected "Raspberry Pi 4" as the device, and "Raspberry Pi OS Lite (64-bit)" as the OS to install.

After selecting the device and OS, the "Interface & Features" customisation section appeared, and allowed me to enable USB gadget mode.
Screenshot 2026-02-02 231921.png

The key is you need to select a device AND OS that are both configured in the manifest file as supporting the 'usb_otg' capability. Double check your manifest file has the 'usb_otg' entries:

Code:

      {        "name": "Raspberry Pi 4",        "tags": [          "pi4-64bit",          "pi4-32bit"        ],        "default": false,        "icon": "https://downloads.raspberrypi.com/imager/icons/RPi_4.png",        "description": "Raspberry Pi 4 Model B, 400, and Compute Module 4 / 4S",        "matching_type": "inclusive",        "capabilities": [          "usb_otg"        ]      }      

Code:

{      "name": "Raspberry Pi OS Lite (64-bit)",      "description": "A port of Debian Trixie with no desktop environment (Compatible with Raspberry Pi 3/4/400/5)",      "icon": "https://downloads.raspberrypi.com/raspios_armhf/Raspberry_Pi_OS_(32-bit).png",      "url": "https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2025-12-04/2025-12-04-raspios-trixie-arm64-lite.img.xz",      "extract_size": 2986344448,      "extract_sha256": "d2a54d6a13e95603fc70f332c87b9f4cebfafaa2d14da5708e183f1089697852",      "image_download_size": 511063968,      "release_date": "2025-12-04",      "init_format": "cloudinit-rpi",      "devices": [        "pi5-64bit",        "pi4-64bit",        "pi3-64bit"      ],      "capabilities": [        "rpi_connect",        "usb_otg"      ]    }

Statistics: Posted by phattmatt — Mon Feb 02, 2026 11:27 pm



Viewing all articles
Browse latest Browse all 7995

Trending Articles