You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I implemented this uvc-gatget on a raspberry pi4 4GB R1.2 and it worked fine. When I tried to run uvc-gadget on raspberry pi4 8GB R1.4 in the same way, the uvc-gadget device disappeared when I accessed the UVC camera from the PC connected via USB. It exists as a device in /dev/ video1 until I access the UVC camera (for example, select the camera in guvcview), but the device disappears as soon as I access it. The following log remains in syslog, but I don't understand what is wrong and it doesn't work as uvc-gadget. How can I get it to work with R1.4 ?
cat /proc/cpuinfo
Hardware: BCM2711
Revision: d03114
Model: Raspberry Pi 4 Model B Rev 1.4
lsb_release -a
Distributor ID : Raspbian
Description : Raspbian GNU/Linux 10 (buster)
Release : 10
syslog
raspberrypi kernel: [ 369.645143] configfs-gadget gadget: uvc: uvc_function_set_alt(1, 1)
raspberrypi kernel: [ 369.645159] configfs-gadget gadget: uvc: reset UVC
raspberrypi kernel: [ 370.263179] configfs-gadget gadget: uvc: VS request completed with status -61.
raspberrypi kernel: [ 370.842185] configfs-gadget gadget: uvc: VS request completed with status -61.
raspberrypi kernel: [ 371.845535] configfs-gadget gadget: uvc: uvc_function_disable()
raspberrypi piwebcam[433]: UVC: Possible USB shutdown requested from Host, seen during VIDIOC_DQBUF
raspberrypi piwebcam[433]: UVC: Possible USB shutdown requested from Host, seen during VIDIOC_DQBUF
raspberrypi piwebcam[433]: PROCESSING: Select timeout
raspberrypi piwebcam[433]: *** UVC GADGET SHUTDOWN ***
raspberrypi piwebcam[433]: DEVICE_V4L2: STREAM OFF success
raspberrypi piwebcam[433]: DEVICE_V4L2: Uninit device
raspberrypi piwebcam[433]: DEVICE_UVC: STREAM OFF success
raspberrypi piwebcam[433]: *** UVC GADGET EXIT ***
The text was updated successfully, but these errors were encountered:
Hi, wuhanstudio.Thank you for your reply.
I also tried Bullseye, but changed to Buster because the camera driver specs weren't what I wanted. (Because the MJPG format could not be used with the V2 camera)
Do you know a version uvc-gadget works fine with Buster ?
I implemented this uvc-gatget on a raspberry pi4 4GB R1.2 and it worked fine. When I tried to run uvc-gadget on raspberry pi4 8GB R1.4 in the same way, the uvc-gadget device disappeared when I accessed the UVC camera from the PC connected via USB. It exists as a device in /dev/ video1 until I access the UVC camera (for example, select the camera in guvcview), but the device disappears as soon as I access it. The following log remains in syslog, but I don't understand what is wrong and it doesn't work as uvc-gadget. How can I get it to work with R1.4 ?
The text was updated successfully, but these errors were encountered: