Yes it is. It's a new feature of the Pi4 called OTG. See: viewtopic.php?t=243966YodaVonBeck wrote:Sat Apr 11, 2020 11:03 pmIs it possible to connect to a PC using the USB-C port on Raspberry Pi 4?
The problem will be powering the Pi4 when it's connected to a PC USB port.
It's not a new feature. It's been around on some models since shortly after the zero launched.
That isn't really a problem. I can think of at least three ways to do it:
Didnt think of that. Would it enable me to connect to the RPi using f.ex. VNC?
I've never tried that, but I can't see why it wouldn't work.
Or any other shared access point, either wireless or wired.An other option is to use my mobile phone as a hotspot for both the RPi and laptop.
Oh yea, forgot about that. With the older Pi 4B (v1.1) you might not get any power at all from a PD USB-C port. Of course, that's also fixable.
Unless there has been a major change in the new revision of the 4B it doesn't support power delivery. The resistor problem that stopped smart cables from working has apparently been fixed but that's all.ejolson wrote: ↑Mon Apr 13, 2020 3:33 amMy understanding is if your laptop has a USB-C port on it that supports power delivery and you have one of the new Pi 4B that is compatible with the same, then you should be able to power the Pi and transfer data all through the same USB-C to USB-C cable. I have not tried this myself, due to lacking both a new enough Pi 4B and a suitable laptop, but if you have both, I'd be very interested to know if the laptop will at least power the Pi sufficiently. After that, running Ethernet through the USB cable should be easy.
I had no problem powering a Pi4B 4GB from my desktop USB3.0 port. The Pi was acting as an OTG HID keyboard.HawaiianPi wrote: ↑Sun Apr 12, 2020 12:12 amThe problem will be powering the Pi4 when it's connected to a PC USB port.
While the Pi Zero can easily be configured as a USB Gadget, it's power requirements are minimal and it can run off a PC USB port.
The Pi 4B, on the other hand, is a lot more power hungry and may draw significantly more power than a typical PC USB port can deliver. Even PC USB ports configured for high current fast charging usually have to negotiate with the connected device to enable it (which the Pi won't do).
According to the USB-C spec I have, which I won't pretend to fully comprehend, the Rp/Rd and/or Rp/Ra resistor values determine what is desired or supplied depending on the voltages they present on the CCx pins when connected ( or not ).dickon wrote: ↑Mon Apr 13, 2020 1:33 pmAll the resistor fix does is state that the thing isn't a pair of headphones, so it wouldn't mind being fed some power, please. What I can't seem to fathom from the Wikipedia page is what the default power supply from a suitable device actually is: 5V@500mA, 900mA, 3A, or 5A. And how much logic is needed to request higher values, if you can't rely on being able to draw what you want.