On Sun, 2007-08-26 at 15:29 +0100, Piers Kittel wrote:
> Hi all,
> 
> Just came across PowerTOP today - looks interesting.  I decided to  
> have a look how much power my MythTV backend consumes.  I've done  
> some of the required stuff such as recompiling my kernel to include  
> the following:

What model of cx88 card do you have? Some of them have a very nasty
feature of polling for IR input. These are polling intervals for cards
supported by this driver, ccording to
drivers/media/video/cx88/cx88-input.c:

* Cards with no ir polling in driver:
  - CX88_BOARD_TERRATEC_CINERGY_1400_DVB_T1
  - CX88_BOARD_HAUPPAUGE
  - CX88_BOARD_HAUPPAUGE_DVB_T1
  - CX88_BOARD_HAUPPAUGE_NOVASE2_S1
  - CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1
  - CX88_BOARD_HAUPPAUGE_HVR1100
  - CX88_BOARD_HAUPPAUGE_HVR1300
  - CX88_BOARD_HAUPPAUGE_HVR3000
  - CX88_BOARD_DNTV_LIVE_DVB_T_PRO

* Cards with polling every 50 ms:
  - CX88_BOARD_NPGTECH_REALTV_TOP10FM
  - CX88_BOARD_NORWOOD_MICRO
  - CX88_BOARD_AVERTV_303
  - CX88_BOARD_AVERTV_STUDIO_303
  - CX88_BOARD_ADSTECH_DVB_T_PCI
  - CX88_BOARD_WINFAST_DTV2000H
  - CX88_BOARD_DNTV_LIVE_DVB_T
  - CX88_BOARD_KWORLD_DVB_T
  - CX88_BOARD_KWORLD_DVB_T_CX22702

* Cards with polling every 5 ms:
  - CX88_BOARD_IODATA_GVBCTV7E

* Cards with polling every 1 ms:
  - CX88_BOARD_PROLINK_PLAYTVPVR:
  - CX88_BOARD_PIXELVIEW_PLAYTV_ULTRA_PRO:
  - CX88_BOARD_KWORLD_LTV883:
  - CX88_BOARD_MSI_TVANYWHERE_MASTER:
  - CX88_BOARD_WINFAST2000XP_EXPERT:

So it can be as bad as 1000 wakeups per second when you have modules for
your cx88 card loaded (as I am for example experiencing with my Winfast
2000 XP Expert :/). And I can't see anywhere in the driver any option
for disabling IR support for getting rid of this interrupt (probably
some patch would be useful?).
I am not familiar with hardware drivers but I'm curious - isn't it
possible to support IR input in these cards in some other way than
checking state of gpio so often?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to