DVB-T RTL2832u stops functioning until scanned with a different setup.
Added by Michael Heyns over 9 years ago
First of all, what an amazing piece of software. I haven't had much luck in the past (AF9015) but now things are working, sort of...
I have successfully set up Tvheadend 4.0.4 on Arch Linux running kernel 4.0.5 using a Realtek RTL2832u DVB-T USB stick (0bda:2838) and Kodi as the client.
At times the system will freeze/hang. I am still investigating the issue. My bigger problem at the moment is that after rebooting, all scans immediately fail.
I have tried restarting the service; unplugging and replugging the device (which spews dmesg errors about 'i2c reg read failed'); booting without the device plugged in; deleting configuration and even reinstalling the entire machine.
My only solution so far is to plug the device into my laptop (no complaints from dmesg), performing a quick scan using its own tvheadend instance, and then plugging it back into the main machine. Voila! It magically works again as if nothing was wrong.
Attached is a dmesg and journal output of the machine booted and trying to scan muxes. (I noticed the tvheadend log is duplicated into the journal)
Any help is greatly appreciated. The family media center is looking amazing so far.
dmesg.log (72 KB) dmesg.log | |||
journal.log (174 KB) journal.log |
Replies (4)
RE: DVB-T RTL2832u stops functioning until scanned with a different setup. - Added by Mark Clarkstone over 9 years ago
Michael Heyns wrote:
First of all, what an amazing piece of software. I haven't had much luck in the past (AF9015) but now things are working, sort of...
I have successfully set up Tvheadend 4.0.4 on Arch Linux running kernel 4.0.5 using a Realtek RTL2832u DVB-T USB stick (0bda:2838) and Kodi as the client.At times the system will freeze/hang. I am still investigating the issue. My bigger problem at the moment is that after rebooting, all scans immediately fail.
I have tried restarting the service; unplugging and replugging the device (which spews dmesg errors about 'i2c reg read failed'); booting without the device plugged in; deleting configuration and even reinstalling the entire machine.My only solution so far is to plug the device into my laptop (no complaints from dmesg), performing a quick scan using its own tvheadend instance, and then plugging it back into the main machine. Voila! It magically works again as if nothing was wrong.
Attached is a dmesg and journal output of the machine booted and trying to scan muxes. (I noticed the tvheadend log is duplicated into the journal)
Any help is greatly appreciated. The family media center is looking amazing so far.
I'm no expert but from the looks of your logs it could be a kernel or hardware issue.
Have you tried using something older? Maybe a kernel with longterm support? 3.18.16 maybe? I've learnt that the latest isn't always the greatest! (I originally ran kernel.org latest stable release at first it was fine then something blew up and a few of my tuners no longer worked).
I've also had kernel oops before when using a RTL2832u stick due to some changes in the driver in the past when using the latest 'stable'.
You could try building the latest media drivers from linuxtv.org & see if that helps.
RE: DVB-T RTL2832u stops functioning until scanned with a different setup. - Added by Michael Heyns over 9 years ago
Thank you so much for your prompt response.
I have just installed an LTS kernel 3.14.44 and so far no hiccups. I'm letting it play in the background, waiting for a problem to arise. Will definitely keep updating the thread.
If it is a suspected kernel/driver issue, is there a mailing list or forum where I could report the issue? I'd very much like to help developers with improvements and pointing out possible problems.
RE: DVB-T RTL2832u stops functioning until scanned with a different setup. - Added by Mark Clarkstone over 9 years ago
Michael Heyns wrote:
Thank you so much for your prompt response.
I have just installed an LTS kernel 3.14.44 and so far no hiccups. I'm letting it play in the background, waiting for a problem to arise. Will definitely keep updating the thread.
If it is a suspected kernel/driver issue, is there a mailing list or forum where I could report the issue? I'd very much like to help developers with improvements and pointing out possible problems.
Glad to hear you found the problem!
There's the linux-media mailing list. but your issue may have already been fixed a while ago, that's why I said try using the latest media_build code.
I'd look on http://www.mail-archive.com/[email protected]/ first and search for similar issues & if you can't find any maybe then ask the mailing list.
HTH
RE: DVB-T RTL2832u stops functioning until scanned with a different setup. - Added by Michael Heyns over 9 years ago
Hi, Mark.
I have some information regarding the initial cause of the system freeze.
Jun 19 14:23:43 Heyns-HTPC kernel: [ 10.330935] show_signal_msg: 39 callbacks suppressed Jun 19 14:23:43 Heyns-HTPC kernel: [ 10.330946] PVRManager[1212]: segfault at 18 ip 00007fecdf6fe929 sp 00007feca67fb430 error 4 in libc-2.21.so[7fecdf67d000+1c0000]
Any ideas what this means?