Kenneth Aafløy wrote:
Thanx for your fast respone. I applied your patch, but I do not get any new results. I added one printk call to the init function to see if it gets called. This messages is printed out. Another printk call in the mt352_command function (the first line of code) is not printed out. So it looks like the function is still not invoked through the dvb-bt8xx module. The mt352_attach_adapter function is definitely called and returns with no errors.On Wednesday 04 August 2004 13:36, Andreas Büsching wrote: [snip]dvbfe_mt352: Trying to attach to adapter 0x10005:bt878 #0 [hw]. dvbfe_mt352: Setup for Avermedia 771.... some new information has just arrived ... I started debugging the mt352 module (what is quite difficult as I do not know that much about dvb und i2c kernel stuff). What I found out is that the mt352_command function is never called, what results in a messing call to dvb_register_frontend[_new], which seems to be very important. Maybe this will help to find the problem. I will do everything I can to help you find the bug/problem.
I'm pretty sure I checked that the bt driver had a call to i2c_clients_command, but now I can find the changes for either the mt352 or dvb-bt in any of my trees, hmm. I've attached a patch which should be what you need, the extra include <moduleparam.h> is some unrelated changes for kernel < 2.6.7.