<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 7, 2022 at 2:25 PM Ken Smith via mythtv-users <<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Stephen Worthington wrote:<br>
> On Sat, 7 May 2022 17:13:13 +0100, you wrote:<br>
><br>
>> Hi All,<br>
>><br>
>> I have a MythTV 31 system running on a RHEL 8 clone. It has two<br>
>> Hauppauge HVR5525 dual S2/T2 tuners. They both work normally but today<br>
>> one of the tuners cards, both T2 & S2, are timing out when tuning.<br>
>><br>
>> Is there a way to soft reset/reboot the tuner. Make it reload its<br>
>> firmware etc, rather than rebooting the machine?<br>
>><br>
>> I tried removing the cx23885 module once before in an attempt to<br>
>> accomplish this and unexpectedly it provoked a kernel panic.<br>
>><br>
>> Thanks<br>
>><br>
>> Ken<br>
> I do not think there is any generic way of resetting a PCIe card. With<br>
> USB devices, you can reset the USB port, but PCIe does not seem to<br>
> have any similar facility. So you will need to reboot to get the card<br>
> going again. In fact, with problems like that, I would recommend<br>
> powering down completely and allowing the capacitance in the system to<br>
> drain before rebooting, so that you are sure the card will be cold<br>
> started rather than warm started. And if you have the time, while the<br>
> PC is off, take off the covers and try re-seating that card. If it<br>
> does not fit in its socket very well, the weight of the aerial cables<br>
> can lever the card around in the socket, potentially causing all sorts<br>
> of problems. Make sure you have its bracket screwed down properly.<br>
><br></blockquote><div><br></div><div><div style="font-family:monospace,monospace" class="gmail_default">It is actually possible. Get the pciid of the device with lspci and then remove that device from the bus - eg:</div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">for device 00:1f.5, you would:</div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">echo 1 > /sys/devices/pci0000\:00/0000\:00\:1f.5/remove</div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">followed by:<br></div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default"><span>echo 1 > /sys/<em>bus</em>/<em>pci</em>/<em>rescan</em></span></div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi Stephen,<br>
<br>
I suspected as much. I was needing to do a memory upgrade to that <br>
machine anyway so it was powered off completely while I did that.<br>
<br>
The errant card is running again.<br>
<br>
Thank you.<br>
<br>
<br>
PS: I have recently upgraded from 0.24 to 0.31 and I really like the <br>
changes. Thank you to all the team who look after MythTV.<br>
<br>
<br>
<br>
-- <br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div></div>