[linux-dvb] [patch] Add support for different tuning algorithms

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

 



Manu Abraham wrote:

> Johannes Stezenbach wrote:
>
>> - program PLL for frequency to scan
>> - program demod for scanning
>> - poll some demod register until it signals completion
>>  (or use irq if available)
>>  
>>
>
> This is possible with the adaptive algo in the sense that the relevant 
> function can return values for the relevant . For example, 
> center_carrier()  returns the status when that operation is complete 
> etc ..
>
>> - pass result to userspace (e.g. event, wake up poll(2), ioctl)
>>  
>>
>
> But these functions, i think will need to stay in kernel, to avoid too 
> many transactions, IOCTL's from userspace to the driver.


Sure...  Plus that would complicate scheduling, locking, etc. in a user
application, especially if it was multi-threaded...

-Philip



>> - repeat
>>
>> I know the driver software from the fe vendors often uses
>> floating point and makes it look complicated, but IMHO
>> it doesn't have to.
>>
>>  
>>
> - get frequency step for reprogramming PLL from driver
>
> Yeah, i have a small implementation without that complication, but not 
> yet finished though.
>
>
> Manu
>
>
> _______________________________________________
> 
> linux-dvb@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb




[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux