Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Autoscanning, was [PATCH] mt352 TPS_GIVEN shifts were wrong



Hi,

> btw: does anybody of you has an idea how we might make use of the
> automatic channel scan functionality of the MT352 under Linux, how we
> might need to extend the LinuxDVB API?

I would add two ioctls:

- FE_START_SCAN with the lowest and highest frequency to scan as paramters.
- FE_CONTINUE_SCAN

After the FE_START_SCAN the kernel-thread monitors the fe-status and send an 
event if the fe locks or an event when the fe finished scanning. Monitoring 
than stopps.

The application then can get more information by requesting some sections and 
of cause it should get the channel-parameters with a FE_GET_FRONTEND ioctl. 
Then, the application continues scanning by issueing the FE_CONTINUE_SCAN 
ioctl. The kernel-thread starts monitoring the fe-status again.

The FE_GET_STATUS ioctl should set a new flag to indicate that the 
scanning-process has finished.

Wolfram





Home | Main Index | Thread Index