HI

This code is responsible to prepare the card to load the firmware
I have no true clue what it actually does, possible it is a
reset sequence for onboard tuner chips or just a matter of 
enabling some power to them. 

I have googled for compro 750 related discussions and seen various posts 
so I narrowed to this. Feel free to either comment out the code or
try slightly different values to see if they leat to more reliable
loading of the firmware at your hardware

+               case SAA7134_BOARD_VIDEOMATE_T750:
+                       saa7134_set_gpio(dev, 20, 0);
+                       msleep(10);
+                       saa7134_set_gpio(dev, 20, 1);
+               break;

+       case SAA7134_BOARD_VIDEOMATE_T750:
+               dev->has_remote = SAA7134_REMOTE_GPIO;
+               saa_andorl(SAA7134_GPIO_GPMODE0 >> 2,   0x00008000, 0x00008000);
+               saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000);
+               break;

some similar cards use instead of 0x00008000 use 0x0000C000
also it's possible to try other values if they can help on
your hardware (I tried a lots of them, some work, some don't 
but with not obvious improvement for my card so I left the 
minimum that works)

Emard
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to