I'm building a VDR server. This server uses a DVB-T USB receiver. This all works, until I do the following. When I watch live TV, and then suspend, my machine never shuts down. It also doesn't resume anymore.
The problem is that the driver for the USB receiver does not like to suspend while in use.
To work around this, I would like to stop VDR, wait until it is stopped, unload the driver of the receiver, perform the suspend. (The power will then be removed from the USB receiver, so it's reset) On resume, first load the driver, wait until the receiver is fully initialized, and then start VDR again.
I have read the following article on the wiki. It tells me howto monitor the process, and that the configuration files are here:
Does anybody has an example of howto do this?