[15:01] <MateusRodCosta> Hello, I need some help with a EasyCAP clone with the stk1160 chipset
[15:02] <MateusRodCosta> It was working perfectly before (I even managed to capture ~50 minutes of footage), but after disaconnecting it and reconnecting, I can't get any image of it anymore
[15:03] <MateusRodCosta> OBS doesn't work with it anymore, the v4l2 test app shows a green screen and guvcview crashes as soon as I choose the stk1160 device
[15:04] <MateusRodCosta> (It's the version without the separate chip sound, so I use a RCA to P2 cable for audio)
[16:11] <ndufresne> MateusRodCosta: any kernel traces ?
[16:13] <MateusRodCosta> I think I get something like that when I disconnect the capture card while soemthing is using it through v4l2
[16:13] <MateusRodCosta> Like this?
[16:13] * MateusRodCosta sent a long message:  < https://matrix.org/_matrix/media/r0/download/matrix.org/QvmLIzuvFRkQIGjmuXwuspXQ >
[16:13] <MateusRodCosta> Otherwise, disconnecting it while no program is using it, I don't get anything that seems of note
[16:14] * MateusRodCosta sent a long message:  < https://matrix.org/_matrix/media/r0/download/matrix.org/muHZuJBnjzEPnGgFLnRvUyyC >
[17:25] <MateusRodCosta> Any suggestions on what I should do? I could try returning it and getting another one. But I would rather get this one working if possible
[17:30] <iive> MateusRodCosta, have you tried rebooting the linux machine?
[17:32] <MateusRodCosta> Yep, several times already
[17:38] <iive> are you using the dongle to capture TV modulated signal (aka tune to channels at different frequencies) or composite signal?
[17:47] <MateusRodCosta> I am connecting it to a VCR
[17:48] <MateusRodCosta> I have tested with a different EasyCAP clone (one identified as Macrosil) to rule out a problem with the VCR itself or the video cable I'm using
[17:48] <iive> this doesn't answer my question, since vcr can output RF and Composite.
[17:48] <iive> yeh... good idea.
[17:49] <MateusRodCosta> Hmm
[17:49] <MateusRodCosta> I think Composite
[17:49] <MateusRodCosta> It's the one with the outputs for Video, Audio Left and Audio Right, afaik it's called RCA
[17:49] <iive> if the dongle is detected as USB device, it is less likely that the chip has fried .
[17:51] <MateusRodCosta> It's still detected
[17:51] <iive> still possible that a part of the chip has been damaged, but unplugging it from usb should damage the usb part.
[17:51] <iive> do you connect the audio to the usb dongle or pc audio card?
[17:52] <MateusRodCosta> Due to the lack of the audio chip, I take a separate cable to connect both audio outputs of the VCR to a microphone input
[17:52] <MateusRodCosta>  * Due to the lack of the audio chip, I take a separate cable to connect both audio outputs of the VCR to the microphone input of the computer
[17:53] <MateusRodCosta> *separate audio chip
[17:53] <iive> ok, i guess it is line-in, but pc audio should be able to detect it automatically. ac97 does.
[17:54] <MateusRodCosta> Here's the dmesg of the dongle when connected:
[17:54] * MateusRodCosta sent a long message:  < https://matrix.org/_matrix/media/r0/download/matrix.org/ymlpZBMdmALZMBXPJwjLRcfo >
[17:57] <MateusRodCosta> Another info: I'm pretty sure the VCR outputs a PAL-M signal
[17:57] <iive> hum, why video2? do you have /dev/video1
[17:57] <MateusRodCosta> It seems my laptop webcam takes up video0 and video1 for some reason
[17:58] <MateusRodCosta> Not sure why it would need both
[17:58] <iive> i see, just to make sure you don't connect to a wrong cam.
[17:58] <iive> maybe your cam is stereo ? ;)
[17:58] <MateusRodCosta> The Macrosil EasyCAP clones also uses two of them (video2 and video3)
[17:58] <MateusRodCosta> One of them never worked when I tried
[17:59] <MateusRodCosta> OBS and other programs seem to correctly only show one of the two for the webcam when they present me a choice
[18:00] <MateusRodCosta> Still, is there anything I can do to check if the dongle is alright?
[18:00] <MateusRodCosta> I only have a win10 real laptop and a win10 VM available for that, the device info claims to only support up to win vista
[18:07] <iive> MateusRodCosta, are you sure video2 and video3 are not randomly switched?
[18:08] <MateusRodCosta> It seems the dongle "shell" is starting to open though, I had this happen to the Somig-based Easycap
[18:15] <MateusRodCosta> No luck getting the EasyCAP to work on Windows 10
[18:21] <MateusRodCosta> No idea, anyway, I'm not using the macrosil easycap due to it doing some weird stuff to the image and the stk1160 takes only one
[18:33] <MateusRodCosta> Any other suggestions?
[19:29] <iive> MateusRodCosta, it is very likely that the issue is hardware related.
[19:31] <iive> maybe it is just a loose wire... bad connector/connection...
[19:31] <iive> did you check the cables with a tv? plugging the vcr into tv?
[19:32] <ezequielg> MateusRodCosta: fwiw, I'm the author of that driver, so if I can be of any help, let me know. I'll be around tomorrow.
[19:33] <ezequielg> Unfortunately, all my stk1160 devices are at the office, and I'm locked down for at least a few more weeks at home. So I cannot debug anything :-)
[19:34] <MateusRodCosta> > did you check the cables with a tv? plugging the vcr into tv?
[19:34] <MateusRodCosta> I tested with a different Easycap clone and it worked
[19:34] <iive> ezequielg, does the device have a firmware or eeprom that could be overwritten?
[19:34] <ezequielg> nope.
[19:34] <MateusRodCosta> ezequielg sure, we can try tomorrow
[19:35] <ezequielg> from one of the above dmesgs, the dongle is found and registered.
[19:35] <ezequielg> stk1160 1-1:1.0: V4L2 device registered as video2
[19:35] <ezequielg> the next line after that one indicates it is _disconnected_ though.
[19:35] <iive> ezequielg, is the dongle single chip, or are there separate tuners demodulators etc?
[19:36] <ndufresne> kbingham: pinchartl:  Any idea about this "uvc: Unable to allocate streaming EP", that's when I try to bind the UVC gadget
[19:36] <ezequielg> there are three chips: stk1160 (the usb bridge), saa711x or compatible (gm7113c) for video decoding, and there should be an audio codec as well.
[19:37] <ezequielg> iive: see https://www.linuxtv.org/wiki/index.php/Stk1160_based_USB_2.0_video_and_audio_capture_devices
[19:37] <ezequielg> anyway, i'll be back tomorrow morning UTC-3.
[19:38] <iive> so it's possible saa711x to malfunction and the usb bridge would still connect.
[19:38] <ezequielg> well, indeed.
[19:39] <ezequielg> right, i see the issue now. it's registered but you get green images.
[19:39] <ezequielg> tbh, i've never seen this.
[19:41] <iive> and it happens after reboot and under windows.
[19:43] <ezequielg> MateusRodCosta: if possible, i'd say discard it and get another one?
[19:43] <ezequielg> i'm sure you are hating that though
[19:44] <iive> MateusRodCosta, if you can replace it, then do it.
[19:44] <MateusRodCosta> I could try to get the guy I bought it to replace it
[19:45] <iive> if you cannot, then you can open it, see if there are bad connections, and maybe try to melt all the solder with hot-air station.
[19:46] <MateusRodCosta> Butt this mean I would have to: mail it, hope the guy decides he should replace it (not sure he will decide to replace it if I made it malfunction) and wait a new one
[19:46] <iive> i definitely recommend trying to return it first, before trying to repair it yourself.
[19:47] <MateusRodCosta> However, if I open it, I won't be able to get him to replace it
[19:47] <MateusRodCosta> There is also the issue if he will send another stk1160 back
[19:47] <MateusRodCosta> *of whether he will
[19:48] <iive> do you have other broken dongles?
[19:48] <MateusRodCosta> Btw, you said you are on a UTC-3 tz, that is the same as mine
[19:49] <MateusRodCosta> I have a Somagic Easycap
[19:49] <MateusRodCosta> That is in a not so good shape, but could work
[19:49] <MateusRodCosta> (It worked on a win7 vm lady time I tried)
[19:49] <MateusRodCosta> I have a Macrosil Easycap that I have to return until Wednesday
[19:50] <MateusRodCosta> And this stk1160 Easycap
[19:51] <MateusRodCosta> The Macrosil one worked reasonably on Linux, but the image would keep moving to left and to the right when actually recording a tape
[19:51] <iive> are the video input connectors soldered to the dongle board or are they on their own cables?
[19:51] <ezequielg> I can only help with the stk1160 :-)
[19:52] <MateusRodCosta> I think taking a picture would help a lot more
[19:52] <ezequielg> MateusRodCosta: I bet you are from Brasil :-) oi! I am right below you, in Argentina.
[19:53] * MateusRodCosta uploaded an image: IMG_20200412_165603506.jpg (35KB) < https://matrix.org/_matrix/media/r0/download/chat.weho.st/PRYQGOoBMvVrNuKrgouystze >
[19:53] <MateusRodCosta> Can you see the picture on the IRC side?
[19:54] <iive> it gives url
[19:54] <iive> is that svideo connector?
[19:54] <MateusRodCosta> Yes
[19:54] <iive> do you have a way to see if it works?
[19:55] <MateusRodCosta> I have nothing that could connect to it
[19:56] <iive> ezequielg, are composite and svideo inputs separate, aka need an option to switch from one to the other?
[19:56] <MateusRodCosta> Also of now on that Easycap, Discord picks up is audio input device every time
[19:56] <MateusRodCosta> *of note
[19:57] <iive> MateusRodCosta, svidio have separate luma and chroma channels. I might be wrong but if you give the composite video to the luma channel, you might be able to see grayscale image
[19:58] <MateusRodCosta> Seems that, for there having the other model of this Easycap with multiple video inputs, the qt v4l2 Linux tool allow me to choose between them
[20:02] <MateusRodCosta> Sadly, I have nothing that can plug into it
[20:23] <MateusRodCosta> I have until May 9th to return it, so we can try a bit more later this week
[20:23] <MateusRodCosta> So, let's continue tomorrow