hello, I have problems with mumudvb, am I right here? in case I am: I can watch a stream using vlc dvb-t2://frequency=570000000:bandwidth=8:ts-id=515 but http://paste.debian.net/1030182/ strace at http://paste.debian.net/1030183/ (https://github.com/braice/MuMuDVB/issues/210) If DTV_STAT_ERROR_BLOCK_COUNT is not increasing should I be seeing a perfect capture? b-rad, https://i.redd.it/asy67dorbj311.png lol Any word on the em28xx stuff? i think i found it, if you want to try, but the fix is a 'fix of a fix of a bork' lol I LOVE THOSE ;P turns out the bork might have been correct lol Bandaids are the best /s But they can do in a pinch try revert em28xx-cards: fix em28xx_duplicate_dev 3f127ce1135 from Mar 08 i think now it's duplicating too much and pulling the rug out from under itself at least i revert that and i don't get the unplug oops on 4.15, i'll test mainline in qemu after coffee b-rad, I made this just for you https://i.imgur.com/aZnfGaT.png lol Hello. I have IconBIT TV-Hunter Studio device (lsusb: 1b80:e608 Afatech, see lsusb-vvv, dmesg, : pastebin.com/T7BmJwBk), I guess it has eMPIA EM2980 inside. It's detected as a soundcard ("USB 28286 Device at usb-0000:00:1a.7-2, high speed")... and that's it. No video device file. Am I missing something? Is my kernel too old (4.9)? Or is the device not supported at all? (And if it's not working at all... Can I help to make it working somehow?) oops, wrong pastebin, this is the correct one: https://pastebin.com/w2keF1qL -- dmesg, cat /proc/asound/cards, lsusb -vvv debianuser, is it a tuner or just capture card? Giving me a lot of russian results It's a capture card, it looks like this: https://www.ixbt.com/divideo/iconbit-tv-hunter-studio/01big.jpg https://www.ixbt.com/divideo/iconbit-tv-hunter-studio/02big.jpg https://www.ixbt.com/divideo/iconbit-tv-hunter-studio/03big.jpg Ok so plain capture. There wouldnt be a dvb device at that point. You would most likely get a /dev/video* V4L device but it seems like even that isnt picking up Both of the afatec drivers Im seeing in the kernel are for DVB-T devices (af9033 and af9013) Seems to just be not suported at all. The Afatect devices I'm seeing are all DVB based *supported *tech no more disconnect oops on 4.17, but both tuners no longer work at same time in qemu :/ b-rad, Is that with the revert you mentioned? (Im compiling that now) yup Assuming this is what you were referring to https://www.mail-archive.com/linux-media@vger.kernel.org/msg127390.html yes hmmm...ubuntu qemu vm with 4.4 + media tree can't handle the dualhd either guess i just thought it worked b-rad, You saying it can't handle the D? :) b-rad, Weird part is I remmeber testing your patches early on before merges and they worked fine the revert was post merge rightfully noticed something fubar 4 months ago https://i.imgur.com/ezeqBC6.png I didnt take not of the kernel version :/ *note is that in vm though? everything is fine on my ryzen tester Naah thats on laptop on Arch far as i know non-vm usage should be fine, sans your disconnect oops Oh so viewing two should be fine? "but both tuners no longer work at same time in qemu" I thought that was translating to real hardware also i sometimes run low on real hardware to test on lol so most happens in kvm qemu Ok so with that revert I should have everything functioning Still compiling well real pc's, got a freakin bazillion random embedded boards i am not seeing your disconnect oops in 4.15 or 4.17, and 2x w_scan worked fine in 4.15 so should be good b-rad, lol managed to catch it in the copile output https://i.imgur.com/OWsqdAn.png *compile ParkerR: Thanks for checking! Yes, no /dev/video* files are created when I plug the device in... I've tried to google around for "eMPIA EM2980" and "eMPIA 28286" (as dmesg says "Product: USB 28286 Device") but haven't found much... Maybe I can help to make it working? Test something or provide any other information? b-rad, :( So that fixed the oops but the devices still shits itself on dual access https://gist.github.com/parkerlreed/2304734a851e46e9ed9fa4ff9ce3995a Thats the second stream trying to load And then the first died shortly after do you see anything in dmesg? Nope. Just that the secon tuner was initialized AV: 00:00:42 / 00:00:48 (87%) A-V: 0.000 Dropped: 2 Cache: 6s+7MB [dvbin] dvb_streaming_read, failed with errno 11 when reading 8192 bytes [dvbin] dvb_streaming_read, return 0 bytes Thats the furst stream dying hrm b-rad, https://gist.github.com/parkerlreed/81eaf3289c500a7e29602565b6728f50 There's the end of dmesg always nice when crickets chirp during error conditions i'll actually try and watch two streams on a pc instead of 2x w_scan will just need do some musical cables Hehe well decoding looks horrible on my ryzen system, but vlc is streaming both tuners on different frequencies together Odd that is 4.13 ubuntu bionic with my media tree integration newer kernels don't like booting on that machine Yeah still 4.18-rc1 on my end Ill try VLC in case its different ryzen + forced nvidia gpu don't like mainline in ubuntu b-rad, Obviously you just need to Arch/Gentoo ;) i tried latest nouveau etc, nothing would boot last a month or two ago Yeah thats why I avoid Nvidia. Completely dont help the OSS side at all it stupidly took me a couple days just to figure out my r3 had no onboard graphics and needed the gpu to even post since the mobo had hdmi/dp lol Wow people said 'first ryzen boot takes ages' so i let it sit for like 12hr lol Ogod b-rad, Odd mines not even stable accessing one tuner. w_scan worked. Went to play in VLC didnt load, tried mpv got that same 8192 byte error, replugged, worked in mpv, subsequent failed to load Yep anything accessing it, works once per replug https://gist.github.com/parkerlreed/fbaae3844d8a34dbe3e40849a8d522f1 Upon exiting a program it never seems to close the tuner Which would explin the subseqent runs fialing *explain *failing i disabled hw dec and now both tuners are fine for me including subsequent usages I wonder how hw dec is playing into that i mean the decoding Hmm? they were delivering data fine before, it was just rendering horrible now i can tell both are in reality fine video/audio em28xx doesn't have much debug, but you might try looking at its option and turning on everything parm: core_debug:enable debug messages [core and isoc] (int) parm: reg_debug:enable debug messages [URB reg] (int) ? i might give 4.15 and 4.17 a shot and see if they'll boot now probably just core_debug hmmm...what you said just reminded me of something i was having problems with dualhd on some platforms i'm backporting to, and they as well worked once and never again per plug i fixed it by applying a couple patches from my analog set to enable tuner status flags and some validation/retries and then voila, worked like usual b-rad, You're going to think Im crazy Subsequent runs work with debug enabled nice and racey then eh welcome to my world of ryzen shtf nothing works, enable tiny amount of instrumentation, works but other stuff broke apply patches 1-4 from my si2157 analog tuning series, then see if it works again without debug Aha even without debug I found the issue. Timing. If I try retsarting it too fast I hit the rror condition If I let it sit for a second it comes up fine (98% of the time) Still an occasional error condition even waiting Also I just noticed vlc actuall timestampts the progress bar based on EPG now Neat Has EPG title and current show progress https://i.imgur.com/6RpO8Xp.png I dont remember that being there lol Also VLC sometimes hangs on exit never closing the tuner Odd i noticed that recently in ubuntu bionic, but didn't thinkg about it b-rad, It's kinda pissy. Only place I get signal is at work... where I need to be working lol. Only place I can test yeh i live about 38mi from the transmitter so my signal is just plain shyte I live 6 miles from a tower But its at the top of a motunain and Im at the base Flies right the fuck over on a good day i pick up 12 frequencies, today i get 2 barely https://i.imgur.com/h4I7yC8.png Damn trees ok, so i do have patch 7 from that series applied too unsure if it was required or if i was just doing some timing b-rad, It's odd. I have a fascination with ATSC/DVB tuners but where I live is just shite reception for everything lol Even FM reception is meh Remember back when USB was only for control? :) https://i.imgur.com/9MT2IE2.jpg Good ole WinTV-USB before my day :) i lived in canada for 8yr and my options there were non-existent well those patches don't help qemu do both tuners at once, but one worked fine b-rad, So the tuner was just idling plugged in and my enitre USB bus crashed Huh just recovered midway Odd https://gist.github.com/parkerlreed/86858082dfa3f9ee38cb8b73d96be8b7 trying to get 4.17 working on my ryzen pc now, i was on 4.15 and that was fine see if maybe 4.17 fails for me Had to reboot. Devices kept cycling. How weird the patches to em28xx are minimal since "things worked"