Re: Hauppauge WinTV-NOVA-T-500 New Firmware (dvb-usb-dib0700-1.20.fw) causes problems

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

 



> 
> Well that's promising.  Could you please reboot the system a few times
> and test both cold and warm starts so you are comfortable that
> everything is working?
> 
> Once you're confident everything works, could you please try the
> following:
> 
> 1.  Comment out the "st->fw_use_legacy_i2c_api = 1" line you added in
> the previous email
> 2.  Add "| I2C_M_NOSTART" to line 46 of mt2060.c so it looks like the
> following:
> 
> { .addr = priv->cfg->i2c_address, .flags = I2C_M_RD | I2C_M_NOSTART,
> .buf = val,  .len = 1 },
> 
> make, make install, reboot
> 
> Then let me know if the dmesg output contains i2c errors (and send the
> output if it does).
> 
> We're getting close here....
> 
> Devin
> 
> --
> Devin J. Heitmueller
> http://www.devinheitmueller.com
> AIM: devinheitmueller
Devin,

See below for dmesg o/p with i2c errors.


[   31.882627] dib0700: loaded with support for 7 different device-types
[   31.882929] dvb-usb: found a 'Hauppauge Nova-T 500 Dual DVB-T' in cold
state, will try to load a firmware
--
[   31.929078] dvb-usb: downloading firmware from file
'dvb-usb-dib0700-1.20.fw'
--
[   32.130509] dib0700: firmware started successfully.
[   32.632225] dvb-usb: found a 'Hauppauge Nova-T 500 Dual DVB-T' in warm
state.
[   32.632258] dvb-usb: will pass the complete MPEG2 transport stream to the
software demuxer.
[   32.632400] DVB: registering new adapter (Hauppauge Nova-T 500 Dual
DVB-T)
[   32.696537] dib0700: i2c write error (status = -32)
[   32.696539]
[   32.700785] dib0700: i2c write error (status = -32)
[   32.700786]
[   32.712278] DVB: registering frontend 0 (DiBcom 3000MC/P)...
[   32.712527] dib0700: i2c write error (status = -32)
[   32.712527]
[   32.748254] dib0700: i2c write error (status = -32)
[   32.748256]
[   32.748258] mt2060 I2C read failed
[   32.748286] dvb-usb: will pass the complete MPEG2 transport stream to the
software demuxer.
[   32.748570] DVB: registering new adapter (Hauppauge Nova-T 500 Dual
DVB-T)
[   32.750502] DVB: registering frontend 1 (DiBcom 3000MC/P)...
[   32.750775] dib0700: i2c write error (status = -32)
[   32.750776]
[   32.751879] dib0700: i2c write error (status = -32)
[   32.751880]
[   32.751882] mt2060 I2C read failed
[   32.751962] input: IR-receiver inside an USB DVB receiver as
/devices/pci0000:00/0000:00:1e.0/0000:05:00.2/usb9/9-1/input/input6
[   32.793080] dvb-usb: schedule remote query interval to 150 msecs.
[   32.793084] dvb-usb: Hauppauge Nova-T 500 Dual DVB-T successfully
initialized and connected.
--

Copy of file (mt2060.c) modifications:

static int mt2060_readreg(struct mt2060_priv *priv, u8 reg, u8 *val)
{
        struct i2c_msg msg[2] = {
                { .addr = priv->cfg->i2c_address, .flags = 0,        .buf =
&reg, .len = 1 },
                { .addr = priv->cfg->i2c_address, .flags = I2C_M_RD |
I2C_M_NOSTART, .buf = val,  .len = 1 },
        };

        if (i2c_transfer(priv->i2c, msg, 2) != 2) {
                printk(KERN_WARNING "mt2060 I2C read failed\n");
                return -EREMOTEIO;
        }
        return 0;
}

Tom


_______________________________________________
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