android-usb-gadget icon indicating copy to clipboard operation
android-usb-gadget copied to clipboard

UVC for webcam

Open the-psychedelic opened this issue 3 years ago • 6 comments

Will there be an update to support uvc to allow the device as a pnp webcam?

the-psychedelic avatar May 19 '21 21:05 the-psychedelic

uvc = USB Video Class

i found this app via https://gitlab.com/fdroid/rfp/-/issues/1747 , and this pnp webcam was the first thing that came in my mind. thanks for opening this issue @the-psychedelic . i remember this feature was avalable in old feature phones, and i guess old android phones as well (kitkat/lolipop probably) and i miss this feature a lot sometimes

(search terms: web camera )

goyalyashpal avatar May 28 '21 21:05 goyalyashpal

I can add UVC config for USB Gadget. But I guess there needs to be some additional app on the phone, so the device camera is forwarding it to the USB Gadget device?! Or do you have any information on how this can work?

tejado avatar May 31 '21 08:05 tejado

I can add UVC config for USB Gadget. But I guess there needs to be some additional app on the phone, so the device camera is forwarding it to the USB Gadget device?! Or do you have any information on how this can work?

No I really have no information on how it would work. That is why I was hoping if you could help me. And what app should I use, then?

the-psychedelic avatar May 31 '21 12:05 the-psychedelic

I added the UVC camera function profile in the latest 0.4-beta version. Of course, your kernel needs to have this enabled (config_usb_configfs_f_uvc)

Unfortunately, I was not able to test it yet. For testing it, you will need some userspace app, e.g. you could try https://git.ideasonboard.org/uvc-gadget.git or https://github.com/jerome2016/Android_USB_UVC_Camera.

tejado avatar Jun 03 '21 14:06 tejado

I added the UVC camera function profile

7f3cdfcff364f205f6a107f2a974033585225f1a

goyalyashpal avatar Jun 03 '21 19:06 goyalyashpal

hi @tejado (sorry to ping you while busy) can it be closed?

goyalyashpal avatar Feb 13 '22 11:02 goyalyashpal

Closing this issue. Current status and discussion in https://github.com/tejado/android-usb-gadget/issues/38

tejado avatar Oct 02 '22 11:10 tejado