<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br>After a bit of work I have found the reason for getting the "NULL Pointer dereference" error when the PCTV200e is initialized.<br><br>The
reason is that in the function "pctv200e_frontend_attach" "adap->fe"
is NULL, and when the mt352 registration fails it continues being NULL.
When the mt2060 is attached, in "mt2060.c" the following line:<br><br> struct dvb_frontend *fe = ops->fe;<br><br>Tries to reference the NULL pointer.<br><br>I have made the following modification to "pctv200e.c":<br><br>static int pctv200e_frontend_attach(struct dvb_usb_adapter *adap)<br>{<br> struct dvb_frontend *fe;<br><br> if ((adap->fe = dvb_attach(mt352_attach,
&pctv200e_mt352_config, &adap->dev->i2c_adap)) != NULL) {<br> adap->fe->ops.tuner_ops.calc_regs = dvb_usb_tuner_calc_regs;<br> return 0;<br> } else {<br> warn("frontend_attach failed (mt352)");<br><br> fe = kzalloc(sizeof(struct dvb_frontend), GFP_KERNEL);<br> if (fe == NULL)<br> return -EIO;<br><br> adap->fe = fe; <br> }<br> warn("next: attaching tuner.");<br><br>After this the PCTV200e registers and unregisters successfully.<br>So I guess these changes help...<br><br>I would like to continue helping. But I would need some directions, because I don't know what to do next...<br><br>And I am really
interested in having the PCTV200e under Linux.<br><br>Thanks,<br><br>Juan<br></div><br>
                <hr size=1><br><font face="Verdana" size="-2">LLama Gratis a cualquier PC del Mundo.<br>Llamadas a fijos y móviles desde 1 céntimo por minuto.<br><a href="http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voice.yahoo.com/">http://es.voice.yahoo.com</a></font></body></html>