[linux-dvb] 2.6.20 -> saa i2c messages (with av7110)

Michael Mauch michael.mauch at gmx.de
Sat Mar 17 03:49:41 CET 2007


Hi,

I also got the "saa7146_i2c_writeout: timed out waiting for end of
xfer", but on a FF card (TT 1.5), and mixed with

  av7110_wait_msgstate: timeout waiting for MSGSTATE 0040

and after a while

  __av7110_send_fw_cmd: timeout waiting on busy MSG QUEUE
  dvb-ttpci: av7110_send_fw_cmd(): av7110_send_fw_cmd error -110
  dvb-ttpci: av7110_fw_cmd error -110


Sometimes it works for hours, and only then it starts doing that. Now I
changed the line suggested by Oliver Endriss for the budget-av:

--- linux/drivers/media/dvb/ttpci/av7110.c~     2007-03-15 18:39:10.000000000 +0100
+++ linux/drivers/media/dvb/ttpci/av7110.c      2007-03-16 19:49:25.010273088 +0100
@@ -2828,7 +2828,7 @@

 static struct saa7146_extension av7110_extension = {
        .name           = "dvb",
-       .flags          = SAA7146_USE_I2C_IRQ,
+       .flags          = SAA7146_I2C_SHORT_DELAY,

        .module         = THIS_MODULE,
        .pci_tbl        = &pci_tbl[0],


It has been working now for 7 hours (with recording and watching, and a
lot of other activity).

My graphics card is on the same interrupt as the ttpci, could that be a
cause of that IRQ problem?

           CPU0       CPU1
  0:    7008246       2258   IO-APIC-edge      timer
  1:      44065          9   IO-APIC-edge      i8042
  3:       3039          1   IO-APIC-edge      lirc_serial
  8:      38864          1   IO-APIC-edge      rtc
  9:          0          1   IO-APIC-fasteoi   acpi
 12:     433542      19738   IO-APIC-edge      i8042
 14:      83788          1   IO-APIC-edge      ide0
 15:      62885          1   IO-APIC-edge      ide1
 16:    1062312   50415331   IO-APIC-fasteoi   radeon at pci:0000:01:00.0, saa7146 (0)
 17:     464983      15144   IO-APIC-fasteoi   libata
 18:     132226          1   IO-APIC-fasteoi   eth0
 19:   10338865          1   IO-APIC-fasteoi   uhci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb4, ehci_hcd:usb5
 20:      90890          1   IO-APIC-fasteoi   CMI8738-MC6
 21:          0          0   IO-APIC-fasteoi   VIA8237
NMI:          0          0
LOC:    7010250    7010251
ERR:          0
MIS:          0

Regards...
		Michael



More information about the linux-dvb mailing list