ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
bauen1_ has quit [Ping timeout: 480 seconds]
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
cnxsoft has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
bauen1 has joined #linux-sunxi
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
rajkosto has quit [Ping timeout: 480 seconds]
rajkosto has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
apritzel has joined #linux-sunxi
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> CPU: Allwinner sun8i Family (1)
<disctanger> lsmod output after configfs method: usb_f_uvc, videobuf2_vmalloc, videobuf2_dma_sg, libcomposite, 8189es, cfg80211, sun6i_csi, axp20x_adc, videobuf2_dma_contig, industrialio, ov5640, videobuf2_memops, v4l2_fwnode, videobuf2_v4l2, videobuf2_common, v4l2_async, evdev, rfkill, zram, uio_pdrv_genirq, uio, sch_fq_codel, ip_tables, x_tables, autofs4, pinctrl_axp209, pwrseq_simple, sun4i_lradc_keys, sunxi, phy_generic
<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]
vagrantc has joined #linux-sunxi