Mailing List archive

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

[linux-dvb] Re: driver reload in 2.6



Hello Johannes,

Johannes Stezenbach wrote:
Carlo E. Prelz wrote:

linux/drivers/media/common/saa7146-core.c (at least in the CVS version
that I use),  around line 380 you will find:

	/* we don't do a master reset here anymore, it screws up
	   some boards that don't have an i2c-eeprom for configuration
	   values */
/*
	saa7146_write(dev, MC1, MASK_31);
*/

With this line commented out, reloading the modules does not reset my
budget card anymore. I uncommented it, and the locks I experienced
(and about which I posted a message to the list on 5 December, that
received no answers) are resolved with module reloading.

Sorry 'bout that, but the problem description was unclear to me.

@Michael: What's up with that saa7146 master reset thing?
Doing a master reset will set the saa7146 to the same state as after a power-on reset. (saa7146 specs, p. 33)

This includes loading subvendor/subsystem ids from an i2c eeprom, if present.

On the saa7146 based "Multimedia eXtension Board" which does not have an i2c eeprom, doing a master reset after system setup will cause the saa7740 audio helper chipset to misfunction -- it gets confused by the subvendor/subsystem query, locks the i2c bus and in turn locks the pci bus causing a system freeze.

Removing the reset did not change the behaviour of any card I have.
If the master reset really helps in your case, it's perhaps possible to add it to the budget driver code. I'll have to check that.

Johannes
CU
Michael.


--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index