Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MythTV - possible to release dvb drivers temporarily?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9824
Location: almost Mile High in the USA

PostPosted: Tue Apr 13, 2021 6:21 am    Post subject: MythTV - possible to release dvb drivers temporarily? Reply with quote

Well, I think I found that it's probably mythtv actually suspending the machine and killing itself. While I probably could disable the suspending, I was wondering if there's another way to solve this issue - making it clean up before suspending, and then restore?

It appears one of the DVBs - an AVerMedia Microntas nGene DVB - fails to suspend/resume properly. I was suspecting if I rmmod the driver before suspending and re-insmod after resume, perhaps things would be fine. However mythbackend has hooks into the driver so I can't rmmod it....or is there a way that I could rmmod it prior to suspend, and re-insmod it after resume?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
joshIsThere
n00b
n00b


Joined: 15 Mar 2021
Posts: 4

PostPosted: Tue Apr 13, 2021 7:58 am    Post subject: Re: MythTV - possible to release dvb drivers temporarily? Reply with quote

eccerr0r wrote:
Well, I think I found that it's probably mythtv actually suspending the machine and killing itself. While I probably could disable the suspending, I was wondering if there's another way to solve this issue - making it clean up before suspending, and then restore?

It appears one of the DVBs - an AVerMedia Microntas nGene DVB - fails to suspend/resume properly. I was suspecting if I rmmod the driver before suspending and re-insmod after resume, perhaps things would be fine. However mythbackend has hooks into the driver so I can't rmmod it....or is there a way that I could rmmod it prior to suspend, and re-insmod it after resume?


Hi, if it is an usb device:

Before suspend:



After wakeup:
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9824
Location: almost Mile High in the USA

PostPosted: Thu Apr 22, 2021 5:10 pm    Post subject: Reply with quote

Hmm. Feared it may have come to this, have to cheese scripts and stop the backend before suspending and restart it afterwards; whether to rmmod and insmod the driver before or after the suspend may not matter from an experiment, though inconclusive yet (It's a PCIe DVB)...

Hopefully the fact that mythtv initiated the suspend to begin with doesn't cause issues when the system suspend scripts kill it after all, heh.

---

Edit

---

Nope, seems the dvb is still b0rked when rmmod and re-insmod after a suspend, so it looks like the rmmod needs to occur before suspend perhaps.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum