Hi all, I first setup a mythtv box a few weeks ago with a PVR 350 without issue using ivtv current 0.2. I just added a PVR 500 but it doesn't want to work. ivtv current 0.2 and 0.3 both seem to init all 3 tuners just fine, but I can't access the tuners on the 500.
With both cards in the box, I get crap like this when trying to read
/dev/video{1,2} (video0 is the 350):
Jul 3 03:05:41 myth kernel: ivtv: ENC: REG_DMAXFER wait failed
Jul 3 03:05:41 myth kernel: ivtv: DMA Registers State: xfer: 0x00000000,
state: 0x00000003 dec_addr: 0x34e186cc enc_addr: 0x36e80060 control: 0x00000003
Jul 3 03:05:41 myth kernel: ivtv: DMA DEC Buffers:
Jul 3 03:05:41 myth kernel: 0x32a98000:0x01640ff8:0x80001000
Jul 3 03:05:41 myth kernel: ivtv: DMA ENC Buffers:
Jul 3 03:05:41 myth kernel: 0x000f42dc:0x368ec000:0x00004000
Jul 3 03:05:41 myth kernel: 0x000f82dc:0x368f0000:0x00004000
Jul 3 03:05:41 myth kernel: 0x000fc2dc:0x368f4000:0x80004000
Jul 3 03:05:41 myth kernel: 0x000e7b1c:0x36cb8000:0x00004000
Jul 3 03:05:41 myth kernel: 0x000ebb1c:0x36cbc000:0x80004000
Jul 3 03:05:41 myth kernel: 0x8bd0aa3f:0x0618469e:0xa52339a6
Jul 3 03:05:41 myth kernel: 0x04aaee84:0x608092d3:0x1bd25274
Jul 3 03:05:41 myth kernel: 0x7d37bac6:0x82d5fa62:0xc546921b
So I started stripping out all other hardware, and trying to use the 500 by
itself gets me irq errors as soon as I read from /dev/video{1,2}
Jul 3 02:17:19 myth kernel: irq 18: nobody cared!
Jul 3 02:17:19 myth kernel: [dump_stack+30/32] dump_stack+0x1e/0x20
Jul 3 02:17:19 myth kernel: [<c0107bfe>] dump_stack+0x1e/0x20
Jul 3 02:17:19 myth kernel: [__report_bad_irq+43/144]
__report_bad_irq+0x2b/0x90
Jul 3 02:17:19 myth kernel: [<c01090ab>] __report_bad_irq+0x2b/0x90
Jul 3 02:17:19 myth kernel: [note_interrupt+144/176] note_interrupt+0x90/0xb0
Jul 3 02:17:19 myth kernel: [<c01091c0>] note_interrupt+0x90/0xb0
Jul 3 02:17:19 myth kernel: [do_IRQ+224/256] do_IRQ+0xe0/0x100
Jul 3 02:17:19 myth kernel: [<c0109430>] do_IRQ+0xe0/0x100
Jul 3 02:17:19 myth kernel: [common_interrupt+24/32]
common_interrupt+0x18/0x20
Jul 3 02:17:19 myth kernel: [<c010778c>] common_interrupt+0x18/0x20
Jul 3 02:17:19 myth kernel: [cpu_idle+45/64] cpu_idle+0x2d/0x40
Jul 3 02:17:19 myth kernel: [<c01050ed>] cpu_idle+0x2d/0x40
Jul 3 02:17:19 myth kernel: [start_kernel+388/448] start_kernel+0x184/0x1c0
Jul 3 02:17:19 myth kernel: [<c0366824>] start_kernel+0x184/0x1c0
Jul 3 02:17:19 myth kernel: [L6+0/2] 0xc010019f
Jul 3 02:17:19 myth kernel: [<c010019f>] 0xc010019f
Jul 3 02:17:19 myth kernel: handlers:
Jul 3 02:17:19 myth kernel: [pg0+944263040/1069604864] (usb_hcd_irq+0x0/0x70
[usbcore])
Jul 3 02:17:19 myth kernel: [<f8874f80>] (usb_hcd_irq+0x0/0x70 [usbcore])
Jul 3 02:17:19 myth kernel: Disabling IRQ #18
Jul 3 02:19:15 myth kernel: ivtv: ENC IRQ OVERFLOW: #0 Stealing a Buffer, 2048
currently allocated
Jul 3 02:19:15 myth kernel: ivtv: ENC IRQ OVERFLOW: #1 Stealing a Buffer, 2048
currently allocated
Jul 3 02:19:15 myth kernel: ivtv: ENC IRQ OVERFLOW: #2 Stealing a Buffer, 2048
currently allocated
...
Here's the ivtv init info...
Jul 3 02:16:28 myth kernel: ivtv: ==================== START INIT IVTV
====================
Jul 3 02:16:28 myth kernel: ivtv: version 0.2.0 (rc3j) loading
Jul 3 02:16:28 myth kernel: ivtv: Linux version: 2.6.8.1-24mdk 686 gcc-3.4
Jul 3 02:16:28 myth kernel: ivtv: In case of problems please include the debug
info
Jul 3 02:16:28 myth kernel: ivtv: between the START INIT IVTV and END INIT
IVTV lines when
Jul 3 02:16:28 myth kernel: ivtv: mailing the ivtv-devel mailinglist.
Jul 3 02:16:28 myth kernel: ivtv: Autodetected WinTV PVR 150 card
Jul 3 02:16:28 myth kernel: ivtv: Found an iTVC16 based chip
Jul 3 02:16:28 myth kernel: ivtv: XXX PCI device: 0x2560 vendor: 0x8086
Jul 3 02:16:28 myth kernel: tveeprom: Ignoring new-style parameters in
presence of obsolete ones
Jul 3 02:16:28 myth kernel: tveeprom: The eeprom says no radio is present, but
the tuner type
Jul 3 02:16:28 myth kernel: tveeprom: indicates otherwise. I will assume that
radio is present.
Jul 3 02:16:28 myth kernel: tveeprom: Hauppauge: model = 23552, rev = D492,
serial# = 8023843
Jul 3 02:16:28 myth kernel: tveeprom: tuner = Philips FQ1236A MK4 (idx = 92,
type = 57)
Jul 3 02:16:28 myth kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2
= 0x00001000)
Jul 3 02:16:28 myth kernel: tveeprom: audio_processor = MSP3410D (type = 5)
Jul 3 02:16:28 myth kernel: ivtv: i2c attach [client=tveeprom[0],ok]
Jul 3 02:16:28 myth kernel: ivtv: Tuner Type 57, Tuner formats 0x00001000,
Radio: yes, Model 0x00914652, Revision 0x00000001
Jul 3 02:16:28 myth kernel: ivtv: NTSC tuner detected
Jul 3 02:16:28 myth kernel: ivtv: Radio detected
Jul 3 02:16:28 myth kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c
driver #0
Jul 3 02:16:28 myth kernel: ivtv: i2c attach [client=(tuner unset),ok]
Jul 3 02:16:28 myth kernel: cx25840: FW image '/lib/modules/HcwMakoA.ROM' of
size 13353 loaded.
Jul 3 02:16:28 myth kernel: cx25840: FW image md5 digest:
aa4d1e3dd17667957d8fe5b8d2d19395
Jul 3 02:16:28 myth kernel: cx25840: FW image sha1 digest:
60eafed58e943664aae4754b32271e09a95496b4
Jul 3 02:16:28 myth kernel: ivtv: i2c attach [client=cx25840[0],ok]
Jul 3 02:16:28 myth kernel: wm8775: Setting register ADCFMT (7) to 1,
R11.0..1, old value 02
Jul 3 02:16:28 myth kernel: wm8775: Setting register ADCMS (8) to 1, R12.8..8,
old value 00
Jul 3 02:16:28 myth kernel: wm8775: Setting register DCY (24) to 8, R18.4..7,
old value 03
Jul 3 02:16:28 myth kernel: wm8775: Setting register NGAT (27) to 1, R19.0..0,
old value 00
Jul 3 02:16:28 myth kernel: wm8775: Setting register LRBOTH (30) to 1,
R21.8..8, old value 00
Jul 3 02:16:28 myth kernel: wm8775: Setting register AMX (33) to 15, R21.0..3,
old value 01
Jul 3 02:16:28 myth kernel: wm8775: Updating register 0 (R23), config: 2e01
active: 2e00.
Jul 3 02:16:28 myth kernel: wm8775: Skipping register 1 (R7), config: 0e00
active: 0e00.
Jul 3 02:16:28 myth kernel: wm8775: Updating register 2 (R11), config: 1622
active: 1621.
Jul 3 02:16:28 myth kernel: wm8775: Updating register 3 (R12), config: 1802
active: 1902.
Jul 3 02:16:28 myth kernel: wm8775: Skipping register 4 (R13), config: 1a00
active: 1a00.
Jul 3 02:16:28 myth kernel: wm8775: Skipping register 5 (R14), config: 1ccf
active: 1ccf.
Jul 3 02:16:28 myth kernel: wm8775: Skipping register 6 (R15), config: 1ecf
active: 1ecf.
Jul 3 02:16:28 myth kernel: wm8775: Skipping register 7 (R16), config: 207b
active: 207b.
Jul 3 02:16:28 myth kernel: wm8775: Skipping register 8 (R17), config: 2200
active: 2200.
Jul 3 02:16:28 myth kernel: wm8775: Updating register 9 (R18), config: 2432
active: 2482.
Jul 3 02:16:28 myth kernel: wm8775: Updating register 10 (R19), config: 2600
active: 2601.
Jul 3 02:16:28 myth kernel: wm8775: Skipping register 11 (R20), config: 2826
active: 2826.
Jul 3 02:16:28 myth kernel: wm8775: Updating register 12 (R21), config: 2a01
active: 2b0f.
Jul 3 02:16:28 myth kernel: ivtv: i2c attach [client=wm8775[0],ok]
Jul 3 02:16:28 myth kernel: ivtv: Encoder revision: 0x02040011
Jul 3 02:16:28 myth kernel: ivtv: Configuring WinTV PVR 150 card with 5 streams
Jul 3 02:16:28 myth kernel: ivtv: Create DMA stream 0 using 256 16384 byte
buffers 4194304 kbytes total
Jul 3 02:16:28 myth kernel: ivtv: Registered v4l2 device, streamtype 0 minor 0
Jul 3 02:16:28 myth kernel: ivtv: Create DMA stream 1
Jul 3 02:16:28 myth kernel: ivtv: Registered v4l2 device, streamtype 1 minor 32
Jul 3 02:16:28 myth kernel: ivtv: Create stream 2 using 40 52224 byte buffers
2097152 kbytes total
Jul 3 02:16:28 myth kernel: ivtv: Registered v4l2 device, streamtype 2 minor
224
Jul 3 02:16:28 myth kernel: ivtv: Create DMA stream 3 using 455 4608 byte
buffers 2097152 kbytes total
Jul 3 02:16:28 myth kernel: ivtv: Registered v4l2 device, streamtype 3 minor 24
Jul 3 02:16:28 myth kernel: ivtv: Create stream 4
Jul 3 02:16:29 myth kernel: ivtv: Registered v4l2 device, streamtype 4 minor 64
Jul 3 02:16:29 myth kernel: ivtv: Setting Tuner 57
Jul 3 02:16:29 myth kernel: tuner: type set to 57 (Philips FQ1236A MK4) by
ivtv i2c driver #0
Jul 3 02:16:29 myth kernel: ivtv: Switching standard to NTSC.
Jul 3 02:16:29 myth kernel: ivtv: Initialized WinTV PVR 150, card #0
Jul 3 02:16:29 myth kernel: ivtv: Autodetected WinTV PVR 150 card
Jul 3 02:16:29 myth kernel: ivtv: Found an iTVC16 based chip
Jul 3 02:16:29 myth kernel: ivtv: ivtv_enc_thread: pid = 1270, itv = 0xf89dc3e0
Jul 3 02:16:29 myth kernel: ivtv: XXX PCI device: 0x2560 vendor: 0x8086
Jul 3 02:16:29 myth kernel: tveeprom: The eeprom says no radio is present, but
the tuner type
Jul 3 02:16:29 myth kernel: tveeprom: indicates otherwise. I will assume that
radio is present.
Jul 3 02:16:29 myth kernel: tveeprom: Hauppauge: model = 23552, rev = D492,
serial# = 8023843
Jul 3 02:16:29 myth kernel: tveeprom: tuner = Philips FQ1236A MK4 (idx = 92,
type = 57)
Jul 3 02:16:29 myth kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2
= 0x00001000)
Jul 3 02:16:29 myth kernel: tveeprom: audio_processor = MSP3410D (type = 5)
Jul 3 02:16:29 myth kernel: ivtv: i2c attach [client=tveeprom[1],ok]
Jul 3 02:16:29 myth kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c
driver #1
Jul 3 02:16:29 myth kernel: ivtv: i2c attach [client=(tuner unset),ok]
Jul 3 02:16:29 myth kernel: cx25840: FW image '/lib/modules/HcwMakoA.ROM' of
size 13353 loaded.
Jul 3 02:16:29 myth kernel: cx25840: FW image md5 digest:
aa4d1e3dd17667957d8fe5b8d2d19395
Jul 3 02:16:29 myth kernel: cx25840: FW image sha1 digest:
60eafed58e943664aae4754b32271e09a95496b4
Jul 3 02:16:29 myth kernel: ivtv: i2c attach [client=cx25840[1],ok]
Jul 3 02:16:29 myth kernel: wm8775: Setting register ADCFMT (7) to 1,
R11.0..1, old value 02
Jul 3 02:16:29 myth kernel: wm8775: Setting register ADCMS (8) to 1, R12.8..8,
old value 00
Jul 3 02:16:29 myth kernel: wm8775: Setting register DCY (24) to 8, R18.4..7,
old value 03
Jul 3 02:16:29 myth kernel: wm8775: Setting register NGAT (27) to 1, R19.0..0,
old value 00
Jul 3 02:16:29 myth kernel: wm8775: Setting register LRBOTH (30) to 1,
R21.8..8, old value 00
Jul 3 02:16:29 myth kernel: wm8775: Setting register AMX (33) to 15, R21.0..3,
old value 01
Jul 3 02:16:29 myth kernel: wm8775: Updating register 0 (R23), config: 2e01
active: 2e00.
Jul 3 02:16:29 myth kernel: wm8775: Skipping register 1 (R7), config: 0e00
active: 0e00.
Jul 3 02:16:29 myth kernel: wm8775: Updating register 2 (R11), config: 1622
active: 1621.
Jul 3 02:16:29 myth kernel: wm8775: Updating register 3 (R12), config: 1802
active: 1902.
Jul 3 02:16:29 myth kernel: wm8775: Skipping register 4 (R13), config: 1a00
active: 1a00.
Jul 3 02:16:29 myth kernel: wm8775: Skipping register 5 (R14), config: 1ccf
active: 1ccf.
Jul 3 02:16:29 myth kernel: wm8775: Skipping register 6 (R15), config: 1ecf
active: 1ecf.
Jul 3 02:16:29 myth kernel: wm8775: Skipping register 7 (R16), config: 207b
active: 207b.
Jul 3 02:16:29 myth kernel: wm8775: Skipping register 8 (R17), config: 2200
active: 2200.
Jul 3 02:16:29 myth kernel: wm8775: Updating register 9 (R18), config: 2432
active: 2482.
Jul 3 02:16:29 myth kernel: wm8775: Updating register 10 (R19), config: 2600
active: 2601.
Jul 3 02:16:29 myth kernel: wm8775: Skipping register 11 (R20), config: 2826
active: 2826.
Jul 3 02:16:29 myth kernel: wm8775: Updating register 12 (R21), config: 2a01
active: 2b0f.
Jul 3 02:16:29 myth kernel: ivtv: i2c attach [client=wm8775[1],ok]
Jul 3 02:16:29 myth kernel: ivtv: Tuner Type 57, Tuner formats 0x00001000,
Radio: yes, Model 0x00914652, Revision 0x00000001
Jul 3 02:16:29 myth kernel: ivtv: NTSC tuner detected
Jul 3 02:16:29 myth kernel: ivtv: Radio detected
Jul 3 02:16:29 myth kernel: ivtv: Encoder revision: 0x02040011
Jul 3 02:16:29 myth kernel: ivtv: Configuring WinTV PVR 150 card with 5 streams
Jul 3 02:16:29 myth kernel: ivtv: Create DMA stream 0 using 256 16384 byte
buffers 4194304 kbytes total
Jul 3 02:16:29 myth kernel: ivtv: Registered v4l2 device, streamtype 0 minor 1
Jul 3 02:16:29 myth kernel: ivtv: Create DMA stream 1
Jul 3 02:16:29 myth kernel: ivtv: Registered v4l2 device, streamtype 1 minor 33
Jul 3 02:16:29 myth kernel: ivtv: Create stream 2 using 40 52224 byte buffers
2097152 kbytes total
Jul 3 02:16:29 myth kernel: ivtv: Registered v4l2 device, streamtype 2 minor
225
Jul 3 02:16:29 myth kernel: ivtv: Create DMA stream 3 using 455 4608 byte
buffers 2097152 kbytes total
Jul 3 02:16:29 myth kernel: ivtv: Registered v4l2 device, streamtype 3 minor 25
Jul 3 02:16:29 myth kernel: ivtv: Create stream 4
Jul 3 02:16:29 myth kernel: ivtv: Registered v4l2 device, streamtype 4 minor 65
Jul 3 02:16:29 myth kernel: ivtv: Setting Tuner 57
Jul 3 02:16:29 myth kernel: tuner: type set to 57 (Philips FQ1236A MK4) by
ivtv i2c driver #1
Jul 3 02:16:29 myth kernel: ivtv: Switching standard to NTSC.
Jul 3 02:16:29 myth kernel: ivtv: Initialized WinTV PVR 150, card #1
Jul 3 02:16:29 myth kernel: ivtv: ==================== END INIT IVTV
====================
--
Garrick Staples, Linux/HPCC Administrator
University of Southern California
pgpQd9F1ivOkY.pgp
Description: PGP signature
