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

Advanced users • Re: Using Raspberry Pi in device mode

$
0
0
I'm afraid my Mac experience is very limited. What I can say is that device mode on a 4B and Pi5 works with Linux (Pi) hosts, Linux (x86) hosts, and Windows (x86) hosts.

A minimal test configuration on the Pi would be:
  1. Code:

    [all]dtoverlay=dwc2
    at the end of config.txt. Make sure you do not have otg_mode=1 enabled anywhere.
    dr_mode=peripherla is not required but should do no harm.
  2. Code:

     modules-load=dwc2,g_serial
    at the end of cmdline.txt
That should give a /dev/gs0 on the Pi and a USB serial por ton the Mac.
I tasted this on Pi 4 and it works fine but it doesn't on Pi 5 again. Even if there is an issue related to Mac, shouldn't it be the same for both of them?

Statistics: Posted by pouyae — Thu Oct 16, 2025 11:06 pm



Viewing all articles
Browse latest Browse all 8051

Trending Articles