hi,
I just switched from Linux Mint to Fedora and I'm having trouble getting Myth to record through my hdpvr.
First off, I should mention that I ported my database over to the new computer using the backup and restore utilities following the incredibly well-done instructions in the wiki, and it worked BRILLIANTLY. All of my shows are there. Major credit to the author of those scripts and docs.
works fine and produces video, but mythtv times out when trying to tune.
I have tried deleting and re-creating the hdpvr tuner in mythtv-setup. I have also tried making the permissions broader. The backend appears to show the tuner, right before it fails:
Make sure your tuner settings in Myth are selecting the correct inputs, both for video and audio. The HD-PVR can be pretty finicky, refusing to output anything if even the wrong audio input is chosen.
Thank you! To clarify, are the settings you have in mind in the frontend or mythtv-setup? I believe I have seen audio/video options in both places.
I added some additional logging using --setverbose channel,record,network,socket, and it just keeps repeating this:
2021-05-25 17:25:49.058393 I [1326/7767] MythSocketThread(61) mythsocket.cpp:748 (WriteStringListReal) - MythSocket(7f893c029610:61): write -> 61 155 BACKEND_MESSAGE[]:[]SIGNAL 9[]:[]Script Status[]:[]script 2 3 0 3 0 1 1[]:[]Signal Lock[]:[]slock 0 1 0 1 0…
2021-05-25 17:25:49.068576 I [1326/7762] MythSocketThread(62) mythsocket.cpp:948 (ReadStringListReal) - MythSocket(7f893c060950:62): read <- 62 86 QUERY_FINDFILE[]:[]mythbox[]:[]ChannelIcons[]:[]/s90898_dark_360w_270h.png[]:[]0[]:[]1
2021-05-25 17:25:49.070031 I [1326/7762] MythSocketThread(62) mythsocket.cpp:748 (WriteStringListReal) - MythSocket(7f893c060950:62): write -> 62 9 NOT FOUND
2021-05-25 17:25:49.070838 I [1326/7762] MythSocketThread(62) mythsocket.cpp:948 (ReadStringListReal) - MythSocket(7f893c060950:62): read <- 62 86 QUERY_FINDFILE[]:[]mythbox[]:[]ChannelIcons[]:[]/s90898_dark_360w_270h.png[]:[]0[]:[]1
2021-05-25 17:25:49.072037 I [1326/7762] MythSocketThread(62) mythsocket.cpp:748 (WriteStringListReal) - MythSocket(7f893c060950:62): write -> 62 9 NOT FOUND
I'm not sure what this has to do with the recording not starting. My other tuner, an HDHomerun, works fine.
Here is another log snippet that appears to show the HDPVR successfully receiving a channel change, then failing to tune:
Sorry, I wasn't specific enough. The settings I'm referring to are in mythtv-setup->Capture Cards. Choose your HD-PVR card, then hit the right arrow twice. Make sure Audio Input matches what you're using. You might also want to increase the timeout, depending on how long it takes your tuner to tune. (I use 30,000 ms.)
thank you, that makes sense. I've checked that those settings were correct (rear component audio) and double-checked that the cables are attached. I raised the timeout, although tbh, under Linux Mint the hdpvr always tuned instantly. Unfortunately it is still not working, and the logs don't seem to say why. The /dev/video is owned root in group mythtv, with permissions of rw-rw----. I have also tried the good old "turn the pvr off and back on" trick several times. I'm about to throw it out the window! Is there any reason why it would work fine under Mint and not under fedora?
Normally /dev/videox is in group video, and you should add video group to your mythtv user, not change /dev/videox to group mythtv. I don't know if this is relevant to your problem. I do not have an HDPVR.