Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 087caba6 authored by Manu Gautam's avatar Manu Gautam Committed by Sriharsha Allenki
Browse files

usb: android: f_uvc: Add support for UVC function



Integrate USB video class function driver with android
gadget. User can run below sample commands to enumerate
UVC as webcam on hosts:

->setprop sys.usb.config none
->echo 0 > /sys/class/android_usb/android0/enable
->echo $PID > /sys/class/android_usb/android0/idProduct
->echo video > /sys/class/android_usb/android0/functions
->echo 1 > /sys/class/android_usb/android0/enable

After above commands user should start userspace application
to open video device and handle v4l2 control requests. USB
enumeration is disabled until then.

CRs-fixed: 1097684
Change-Id: Ib147959dd8ca4bf6230b1a6adbed67198e0c56bb
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent 67ca95e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment