I think I have located the problem and I would like to get your opinion
about it.
I have patch my budget-av driver to increase a sleep during cam reset
and it seems to solve a problem of initialisation with two different CAM
model (one NEOTION and one SmartDTV) on all my machine.
Because I'm not really aware about how this driver works I would like to
get your opinion about this change and know if it is as harmless as it
looks like. I've done several test over several machine with my Satelco
EasyWatch DVBS + 4 different CAM model and everything seems to be OK
(Aston Viacess Pro, Neotion Viacess Pro, SmarDTV irDeto, PowerCam, Aston
Conax Pro)
-----------------------------------------------------------------------------------------------------------------
Here is my modification :
static int ciintf_slot_reset(struct dvb_ca_en50221 *ca, int slot)
{
struct budget_av *budget_av = (struct budget_av *) ca->data;
struct saa7146_dev *saa = budget_av->budget.dev;
if (slot != 0)
return -EINVAL;
dprintk(1, "ciintf_slot_reset\n");
budget_av->slot_status = SLOTSTATUS_RESET;
saa7146_setgpio(saa, 2, SAA7146_GPIO_OUTHI); /* disable card */
saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTHI); /* Vcc off */
msleep(2);
saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO); /* Vcc on */
+ msleep(750);
- msleep(20); /* 20 ms Vcc settling time */
saa7146_setgpio(saa, 2, SAA7146_GPIO_OUTLO); /* enable card */
ttpci_budget_set_video_port(saa, BUDGET_VIDEO_PORTB);
msleep(20);
/* reinitialise the frontend if necessary */
if (budget_av->reinitialise_demod)
dvb_frontend_reinitialise(budget_av->budget.dvb_frontend);
return 0;
}
-----------------------------------------------------------------------------------------------------------------
Thanks for your help and yours comments,
Stéphane Railhet
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html