bauen1 has quit [Read error: Connection reset by peer]
bauen1 has joined #linux-sunxi
bauen1 has quit [Read error: Connection reset by peer]
bauen1 has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
cnxsoft has quit []
apritzel has joined #linux-sunxi
bauen1 has quit [Read error: Connection reset by peer]
bauen1 has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
bauen1 has quit [Read error: Connection reset by peer]
bauen1 has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
disctanger has joined #linux-sunxi
disctanger has quit [Remote host closed the connection]
rajkosto has quit [Ping timeout: 480 seconds]
anarsoul has quit [Read error: Connection reset by peer]
anarsoul has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
anarsoul has quit [Ping timeout: 480 seconds]
anarsoul has joined #linux-sunxi
ftg has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
aggi has quit [Quit: nyaa~]
aggi has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
evgeny_boger1 has joined #linux-sunxi
evgeny_boger has quit [Read error: Connection reset by peer]
apritzel has joined #linux-sunxi
aggi has quit [Read error: Connection reset by peer]
aggi has joined #linux-sunxi
bauen1 has joined #linux-sunxi
bauen1 has quit [Read error: Connection reset by peer]
vagrantc has joined #linux-sunxi
adjtm has joined #linux-sunxi
qwestion has joined #linux-sunxi
hlauer has joined #linux-sunxi
JohnDoe_71Rus has quit []
disctanger has joined #linux-sunxi
<disctanger>
Hi everyone. I have a device called PineCube that is powered by S3 SoC(https://linux-sunxi.org/S3) that i am trying to get USB UVC Gadget working on USB OTG port.
<disctanger>
Unfortunatelly, i could not get UVC working on the device. USB Gadget wiki page (https://linux-sunxi.org/USB_Gadget) also missing UVC section in it.
<disctanger>
I have tried g_webcam and configfs methods. I am getting almost the same error in both options:
<disctanger>
g_webcam error: ``` [ 1741.996382] g_webcam gadget: uvc: uvc_function_bind() [ 1741.996423] g_webcam gadget: uvc: Unable to allocate streaming EP [ 1741.996468] udc musb-hdrc.2.auto: failed to start g_webcam: -22 ```
<disctanger>
configfs error: ``` [ 2035.636565] configfs-gadget gadget: uvc: uvc_function_bind() [ 2035.636608] configfs-gadget gadget: uvc: Unable to allocate streaming EP [ 2035.636647] udc musb-hdrc.2.auto: failed to start g1: -22 ```
<disctanger>
My question: Is there any way to get UVC working on this device? Maybe something like recompiling kernel with additional options etc...
<disctanger>
By the way, i have tried USB Ethernet on OTG port and it is working fine without issues. I can connect to PineCube from host device after setting up the network.
<disctanger>
OS info: OS: Armbian focal (22.02.0-trunk.0003) armv7l
<disctanger>
Host: PineCube IP Camera Kernel: 5.15.35-sunxi
<disctanger>
Os is newly installed. There're no additional modules or software installed on it(v4l2 is preinstalled). I try each gadget method (g_webcam, configfs, g_ether) after fresh reboot.
bauen1 has joined #linux-sunxi
disctanger has quit [Remote host closed the connection]
Nemo_bis has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
evgeny_boger1 has quit [Read error: Connection reset by peer]
rajkosto has joined #linux-sunxi
Nemo_bis has joined #linux-sunxi
<apritzel>
disctanger: you could try to start digging at the error report, in drivers/usb/gadget/function/f_uvc.c, for instance figuring out why usb_ep_autoconfig() failed, exactly
evgeny_boger1 has joined #linux-sunxi
hlauer has quit [Ping timeout: 480 seconds]
vagrantc has quit [Quit: leaving]
evgeny_boger has quit [Ping timeout: 480 seconds]
evgeny_boger1 has quit [Remote host closed the connection]
evgeny_boger has joined #linux-sunxi
macromorgan has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
gamiee has quit [Remote host closed the connection]