Re: I2C Bus probing was Re: (temp. solution) modprobe mantis stalls/hangs/freezes (Twinhan VP-1034 and ivtv)

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

 



Manu Abraham wrote:
> Michael Krufky wrote:
> is
>>> Hans and Manu,
>>> The mantis and ivtv module loaded ok with the following options for
>>> saa7115 in /etc/modprobe.conf:
>>> options saa7115 ignore=-1,0x25,-1,0x24,-1,0x21,-1,0x20
>>                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> Just change the -1 to the i2c bus ID of the mantis device, to prevent saa7115 from probing on the mantis bus.  This way, it would not prevent successful attachment to the ivtv i2c bus, and you wouldn't have to do the hack described below.
>>
> 
> 
> FYI,
> 
> the bug is *not* with the mantis and *no* need to fix the mantis. The
> bug comes from the extremely wrong concept followed (ie probing) which i
> have mentioned numerous times, many places.

Manu,

You can go on and on about how probing is wrong -- I already agree with you in that respect.  Regardless, the saa7115 driver does this probe, and this will not change until after the new i2c methods are implemented in the video decoder i2c_client modules.

I haven't looked at the Mantis code, but...  if you don't need to use any of the preexisting i2c client modules that attach via probing, then just remove I2C_CLASS_TV_DIGITAL from the i2c_adapter->class from within the Mantis driver.  This will prevent any probes from occurring on your device.

Regards,

Mike

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

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

  Powered by Linux