# Connecting USB Camera to Uno Q

**URL:** <https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062>\
**Category:** UNO Q\
**Created:** [November 3, 2025, 3:42pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062 "2025-11-03T15:42:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [November 3, 2025, 3:42pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/1 "2025-11-03T15:42:25Z")

</div>

Has anyone successfully connected a USB camera directly to the USB-C port while powering the Uno Q via the 5V pin? I also tried two different cameras using a USB adapter with an external power supply, but the camera isn’t detected. I flashed the latest image before testing the camera, so I can’t tell if the issue is with the new firmware. The `lsusb` command has no outputs and the `v4l2-ctl --list-devices`command shows the following output with/without the camera connected.  
`Qualcomm Venus video encoder (platform:qcom-venus):`  
`	/dev/video0`  
`	/dev/video1`

EDIT: I am using this dongle: [https://aliexpress.com/item/1005009797874527.html?gatewayAdapt=glo2jpn](https://aliexpress.com/item/1005009797874527.html?gatewayAdapt=glo2jpn)

---

<div class="post-metadata">

**Author:** ![manchuino](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/manchuino/32/239113_2.png) [@manchuino](https://forum.arduino.cc/u/manchuino)\
**Post date:** [November 3, 2025, 4:07pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/2 "2025-11-03T16:07:06Z")

</div>

Hi @yokonav ,

The **USB-C port is only a Power Delivery (PD) sink**, so it can’t give power to devices connected to it.

To have a USB camera working with the Uno Q, you still need to connect it to a powered USB-C hub and then connect the USB-C hub to the board.

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [November 3, 2025, 4:10pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/3 "2025-11-03T16:10:01Z")

</div>

I think there is a P-MOSFET that can switch power to the connected device over the USB-C (in USB HOST mode) when power is provided to the UNO-Q via the 5V or VIN pin.

> #### **5V Rail (5V\_SYS)**
> 
> 5V\_SYS is the board's system 5 V bus. It feeds the two step-down converters, to 3.8 V and 3.3 V via the 3.8 V stage, and provides the path for USB VBUS back-drive when the board works as a host/OTG. A P-channel MOSFET switches that back-drive path. Its enable is gated, so VBUS is not driven unless rails are valid. On headers, it appears as VBUS\_USBC, and it is a 5 V bus.

I tested it and the camera gets power but no logs in `dmesg` or `lsusb`. By the way I am using a dongle with PD passthrough and it does not work either. [https://aliexpress.com/item/1005009797874527.html](https://aliexpress.com/item/1005009797874527.html)

I guess USB Host mode switching is not working for some reason.

---

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/grumpy_mike/32/213521_2.png) [@Grumpy\_Mike](https://forum.arduino.cc/u/Grumpy_Mike)\
**Post date:** [November 4, 2025, 12:27pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/4 "2025-11-04T12:27:28Z")

</div>

I have recently done this, I wanted to check out the image classification example.

I ran Photo Booth which recognised my Logitech HD webcam C270. With this I was able to take shots of objects. These then could be draged out of Photo Booth to where ever I wanted them. In my case it was onto the desktop. Then I opened up Preview and cropped the images before saving them.

---

<div class="post-metadata">

**Author:** ![pert](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/pert/32/217111_2.png) [@pert](https://forum.arduino.cc/u/pert)\
**Post date:** [November 4, 2025, 12:33pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/5 "2025-11-04T12:33:00Z")

</div>

Hi @Grumpy_Mike. We already have one:

#Development Tools > App Lab

---

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/grumpy_mike/32/213521_2.png) [@Grumpy\_Mike](https://forum.arduino.cc/u/Grumpy_Mike)\
**Post date:** [November 4, 2025, 12:34pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/6 "2025-11-04T12:34:00Z")

</div>

OK thanks for that. Sorry to bother you.

---

<div class="post-metadata">

**Author:** ![pert](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/pert/32/217111_2.png) [@pert](https://forum.arduino.cc/u/pert)\
**Post date:** [November 4, 2025, 12:38pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/7 "2025-11-04T12:38:26Z")

</div>

No worries. I'm glad to have the opportunity to bring it to your attention. I hope you'll be able to share some of your knowledge there.

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [November 4, 2025, 12:49pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/8 "2025-11-04T12:49:46Z")

</div>

Did you intend this for a different thread?

---

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/grumpy_mike/32/213521_2.png) [@Grumpy\_Mike](https://forum.arduino.cc/u/Grumpy_Mike)\
**Post date:** [November 4, 2025, 12:53pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/9 "2025-11-04T12:53:55Z")

</div>

> [@yokonav](#):
>
> Did you intend this for a different thread

No.

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [November 4, 2025, 1:12pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/11 "2025-11-04T13:12:49Z")

</div>

So how does your suggestion to copy images from a computer to the UNO Q solve the problem? This thread explicitly states that the USB camera is not being detected.

---

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/grumpy_mike/32/213521_2.png) [@Grumpy\_Mike](https://forum.arduino.cc/u/Grumpy_Mike)\
**Post date:** [November 4, 2025, 3:28pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/12 "2025-11-04T15:28:32Z")

</div>

> [@yokonav](#):
>
> So how does your suggestion to copy images from a computer to the UNO Q solve the problem?

Because the camera was not being detected on my system until I went through Photo Booth.

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [November 4, 2025, 3:51pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/13 "2025-11-04T15:51:18Z")

</div>

Now I get it; you meant the Cheese application.

---

<div class="post-metadata">

**Author:** ![ventoron](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ventoron/32/1244889_2.png) [@ventoron](https://forum.arduino.cc/u/ventoron)\
**Post date:** [November 7, 2025, 3:24pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/14 "2025-11-07T15:24:24Z")

</div>

I have the same issue, I want to try powering the cam with 5v of the uno q.

Let me know if you have tried it and whether it works for you.

---

<div class="post-metadata">

**Author:** ![manchuino](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/manchuino/32/239113_2.png) [@manchuino](https://forum.arduino.cc/u/manchuino)\
**Post date:** [November 7, 2025, 3:46pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/15 "2025-11-07T15:46:55Z")

</div>

Hi all,

I have collected answers helpful for this discussion in other threads.

Please see

> [@USB Power disabled, if using VIN Power pin](https://forum.arduino.cc/t/usb-power-disabled-if-using-vin-power-pin/1411831/9):
>
> Hi all, I confirm that it is not possible to use the USB-C port as a power outlet when the board is powered via VIN. This is not a supported scenario, and the board is not designed for such behavior. As stated above, from a powering perspective, the USB-C port can act exclusively as a Power Delivery sink, i.e., it can only receive power from an external PD power supply. The P-channel MOSFET (Q2801) is not intended to power the USB 5V rail when the board is in host mode. Please let us know i…

> [@Arduino Q Image Classifacation Example](https://forum.arduino.cc/t/arduino-q-image-classifacation-example/1412230/15):
>
> Hi @Grumpy_Mike The App Lab and Uno Q are unable to access a camera connected to your Mac. Actually, even if the App Lab is running on your Mac, it is executing Apps on the Uno Q, so every device needed for an App must be connected to the Uno Q itself, typically via a USB Hub. To run the Object Detection example — and any other example requiring external hardware correctly — you need to set up the board in SBC/Network mode and connect the App Lab on your Mac using network communication. The …

---

<div class="post-metadata">

**Author:** ![psalmustrack99](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/psalmustrack99/32/1250184_2.png) [@psalmustrack99](https://forum.arduino.cc/u/psalmustrack99)\
**Post date:** [December 11, 2025, 9:05am UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/16 "2025-12-11T09:05:49Z")

</div>

**✅ SOLVED: USB Host Mode fix when powered via VIN**

I found a solution for USB devices not working when Arduino UNO Q is powered via VIN pins.

**The Problem:**  
The DWC3 USB controller defaults to "device" mode when there's no USB-C negotiation at boot.

**The Solution:**  
A systemd service that writes to debugfs to force host mode:

```bash
echo host > /sys/kernel/debug/usb/4e00000.usb/mode

```

**Full guide with automatic install script:**  
👉 [GitHub - Psalmustrack/arduino-uno-q-usb-fix: Fix to enable USB Host mode on Arduino UNO Q when powered via VIN](https://github.com/Psalmustrack/arduino-uno-q-usb-fix)

Tested with:

- Sonoff Zigbee 3.0 USB Dongle Plus
- Home Assistant in Docker
- Arduino UNO Q powered via VIN 12V

Hope this helps! ⭐

---

<div class="post-metadata">

**Author:** ![manchuino](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/manchuino/32/239113_2.png) [@manchuino](https://forum.arduino.cc/u/manchuino)\
**Post date:** [December 11, 2025, 9:31am UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/17 "2025-12-11T09:31:51Z")

</div>

Hey @psalmustrack99

Can you please share the image version you are using?

You can retrieve the numbers with the following command:

```bash
cat /etc/buildinfo

```

Using the latest image, which can be installed with the `arduino-flasher-cli` tool, the board starts automatically in host mode when powered via VIN with no device connected to the USB-C port.

Please consider that the correct command to retrieve the USB mode is

```bash
cat /sys/kernel/debug/usb/4e00000.usb/mode

```

because `/sys/class/typec/port0/data_role` always shows the same output.

Thanks!

---

<div class="post-metadata">

**Author:** ![psalmustrack99](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/psalmustrack99/32/1250184_2.png) [@psalmustrack99](https://forum.arduino.cc/u/psalmustrack99)\
**Post date:** [December 11, 2025, 9:40am UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/18 "2025-12-11T09:40:25Z")

</div>

Hi @manchuino,

Thanks for the reply! I don't have /etc/buildinfo on my system:

```arduino

$ cat /etc/buildinfo cat: /etc/buildinfo: No such file or directory

$ uname -a Linux Jervis 6.16.0-geffa8626771a #1 SMP PREEMPT Wed Aug 6 14:24:25 UTC 2025 aarch64 GNU/Linux

$ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 13 (trixie)" VERSION_ID="13" DEBIAN_VERSION_FULL=13.2

```

Looks like I have an older image (kernel built Aug 6, 2025).

Good to know the latest image fixes this automatically! I'll update my GitHub repo to recommend updating the OS first with arduino-flasher-cli.

For users who can't update immediately, the systemd workaround still works.

Thanks for the clarification!

---

<div class="post-metadata">

**Author:** ![yokonav](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/yokonav/32/1128416_2.png) [@yokonav](https://forum.arduino.cc/u/yokonav)\
**Post date:** [December 11, 2025, 10:13am UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/19 "2025-12-11T10:13:15Z")

</div>

Does it work with powering over 5V pin?

---

<div class="post-metadata">

**Author:** ![psalmustrack99](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/psalmustrack99/32/1250184_2.png) [@psalmustrack99](https://forum.arduino.cc/u/psalmustrack99)\
**Post date:** [December 11, 2025, 10:26am UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/20 "2025-12-11T10:26:17Z")

</div>

Good question! I only tested with VIN (12V), but it should work the same way with the 5V pin.

The root cause is the same: when there's no USB-C cable connected at boot, the DWC3 controller defaults to "device" mode - regardless of power source (VIN or 5V pin).

The fix forces host mode via debugfs, so it should work with any power method.

If you try it with 5V pin, let me know if it works!

---

<div class="post-metadata">

**Author:** ![manchuino](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/manchuino/32/239113_2.png) [@manchuino](https://forum.arduino.cc/u/manchuino)\
**Post date:** [December 11, 2025, 3:52pm UTC](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062/21 "2025-12-11T15:52:07Z")

</div>

Hi all,

The **5V pin** is not intended to be a power input for the Uno Q: **it is only a power output**. The Uno Q can be powered **only** from **Vin** (7V-24V) or via **USB-C Power Delivery**. When you power the Uno Q via Vin and then connect a USB-C hub:

1. You will need to power the USB-C hub independently.
2. It must be a PD-enabled hub, powered by a PD power adapter.

Cheers!

[Next page](https://forum.arduino.cc/t/connecting-usb-camera-to-uno-q/1412062.md?page=2)
