[linux-dvb] SAA7146 short delay flag and budget cards

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

 



Gregoire Favre <gregoire.favre@xxxxxxxxx> writes:


> first of all, sorry for breaking the thread : I did erase this email and
> a friend asked me if I have tested it, so he sends it me back...
>
> I just wanted to report that this patch also improve things here :-)
>
>> Good morning. After moving to an AMD64 system and kernel 2.6.14rc1,
>> plus last Saturday's CVS dvb drivers, I found that, while talking with
>> my hauppauge DVB-S budget card, delays for frontend IOCTL's
>> (FE_READ_STATUS, FE_READ_SNR and FE_READ_SIGNAL_STRENGTH) were
>> unexpectedly increased. Each ioctl took 200-400 milliseconds to
>> return. After a long and painful search, I found out that the delay
>> happened in I2C comms. I noticed that, in av7110.c, a flag was set,
>> called SAA7146_I2C_SHORT_DELAY, in the saa7146_extension
>> structure. So, I applied the following simple patch:
>> 
>> --- budget.c~   2005-09-04 14:58:21.000000000 +0200
>> +++ budget.c    2005-09-17 23:28:14.000000000 +0200
>> @@ -740,7 +740,7 @@
>> 
>>  static struct saa7146_extension budget_extension = {
>>         .name           = "budget dvb\0",
>> -       .flags          = 0,
>> +       .flags          = SAA7146_I2C_SHORT_DELAY,
>> 
>>         .module         = THIS_MODULE,
>>         .pci_tbl        = pci_tbl,
>> 
>> Well, the card now reacts *very* quickly, and I do not notice any side
>> effects. 
>> 
>> Is there any reason why this flag is not set?


Same here !
my 1131:7146 tt budget card (without ci) now works correctly with this
correction to budget-ci.c and recent kernels (2.6.14-rc2-git5 + cvs
dvb-kernel)
without this, the budget card only tune to some channels
(if i recall correctly, only low band horizontal polarity ones)

Cheers

-- 


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

  Powered by Linux