Florian Schirmer wrote:
The interface is dvb_frontend_add_event(). Right now the symbol local is not exported, but that's simple to change. Do you want to do so?Hi,Yes, the thread will run in this case too, because it has to check the frontend status and to generate the frontend events when the device is open. Don't open the frontend device if you don't need it.
(don't tell me that frontend events are evil and cause troubles everywhere - I know this. Unfortunally our middleware developers tried to kill me when I told them that I want to remove them;)
Alright. But maybe we should add an interface for the frontends to notify the api about status changes. I've not checked the ves* fe's but our Atmel and TDA fe's are able to trigger an irq as soon as a state change happens. As far as i've understand the api, there is no way to make use of this capability.
Please send a patch.
When you are doing so, could you please add a FE_CAN_ZIGZAG and FE_CAN_STATUSCHECK bit to the frontend capabilities -- then we can exit the frontend thread when the frontend is initialized and nothing has to be done anymore.
Holger
--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.
