Hi,

I used to have a working MythTV setup with a Hauppauge PVR150, a
2.6.14.7 kernel and ivtv 0.4. I then tried to switch to 2.6.20.1 and
ivtv 0.10.1. At boot I got the following message:

Mar  9 18:59:29 localhost kernel: ivtv:  ==================== START
INIT IVTV ====================
Mar  9 18:59:29 localhost kernel: ivtv:  version 0.10.1 (tagged release) loading
Mar  9 18:59:29 localhost kernel: ivtv:  Linux version: 2.6.20.1 mod_unload K7
Mar  9 18:59:29 localhost kernel: ivtv:  In case of problems please
include the debug info between
Mar  9 18:59:29 localhost kernel: ivtv:  the START INIT IVTV and END
INIT IVTV lines, along with
Mar  9 18:59:29 localhost kernel: ivtv:  any module options, when
mailing the ivtv-users mailinglist.
Mar  9 18:59:29 localhost kernel: ivtv0: Autodetected Hauppauge card
(cx23416 based)
Mar  9 18:59:29 localhost kernel: PCI: Enabling device 0000:00:08.0
(0000 -> 0002)
Mar  9 18:59:29 localhost kernel: PCI: No IRQ known for interrupt pin
A of device 0000:00:08.0. Please try using pci=biosirq.
Mar  9 18:59:29 localhost kernel: ivtv0: loaded v4l-cx2341x-enc.fw
firmware (376836 bytes)
Mar  9 18:59:29 localhost kernel: ivtv0: Encoder revision: 0x02060039
Mar  9 18:59:29 localhost kernel: tveeprom 1-0050: Hauppauge model
26034, rev C197, serial# 8378170
Mar  9 18:59:29 localhost kernel: tveeprom 1-0050: tuner model is TCL
2002MB_3H (idx 97, type 55)
Mar  9 18:59:29 localhost kernel: tveeprom 1-0050: TV standards
PAL(B/G) PAL(D/D1/K) (eeprom 0x44)
Mar  9 18:59:29 localhost kernel: tveeprom 1-0050: audio processor is
CX25842 (idx 36)
Mar  9 18:59:29 localhost kernel: tveeprom 1-0050: decoder processor
is CX25842 (idx 29)
Mar  9 18:59:29 localhost kernel: tveeprom 1-0050: has no radio, has
IR receiver, has IR transmitter
Mar  9 18:59:29 localhost kernel: ivtv0: Autodetected Hauppauge WinTV PVR-150
Mar  9 18:59:29 localhost kernel: ivtv0: reopen i2c bus for IR-blaster support
Mar  9 18:59:29 localhost kernel: tuner 1-0061: chip found @ 0xc2
(ivtv i2c driver #0)
Mar  9 18:59:29 localhost kernel: cx25840 1-0044: cx25842-23 found @
0x88 (ivtv i2c driver #0)
Mar  9 18:59:29 localhost kernel: cx25840 1-0044: loaded
v4l-cx25840.fw firmware (14264 bytes)
Mar  9 18:59:29 localhost kernel: wm8775 1-001b: chip found @ 0x36
(ivtv i2c driver #0)
Mar  9 18:59:29 localhost kernel: ivtv0: Registered device video0 for
encoder MPEG (4 MB)
Mar  9 18:59:29 localhost kernel: ivtv0: Registered device video32 for
encoder YUV (2 MB)
Mar  9 18:59:29 localhost kernel: ivtv0: Registered device vbi0 for
encoder VBI (1 MB)
Mar  9 18:59:29 localhost kernel: ivtv0: Registered device video24 for
encoder PCM audio (1 MB)
Mar  9 18:59:29 localhost kernel: IRQ handler type mismatch for IRQ 0
Mar  9 18:59:29 localhost kernel: current handler: timer
Mar  9 18:59:29 localhost kernel:  [setup_irq+380/395] setup_irq+0x17c/0x18b
Mar  9 18:59:29 localhost kernel:  [<e08bbe24>]
ivtv_irq_handler+0x0/0x25b [ivtv]
Mar  9 18:59:29 localhost kernel:  [request_irq+134/157] request_irq+0x86/0x9d
Mar  9 18:59:29 localhost kernel:  [<e08b56a9>] ivtv_probe+0x561/0x7b2 [ivtv]
Mar  9 18:59:29 localhost kernel:  [sysfs_new_dirent+25/97]
sysfs_new_dirent+0x19/0x61
Mar  9 18:59:29 localhost kernel:  [sysfs_make_dirent+19/115]
sysfs_make_dirent+0x13/0x73
Mar  9 18:59:29 localhost kernel:  [sysfs_add_link+125/166]
sysfs_add_link+0x7d/0xa6
Mar  9 18:59:29 localhost kernel:  [pci_call_probe+10/12] pci_call_probe+0xa/0xc
Mar  9 18:59:29 localhost kernel:  [__pci_device_probe+46/63]
__pci_device_probe+0x2e/0x3f
Mar  9 18:59:29 localhost kernel:  [pci_device_probe+30/48]
pci_device_probe+0x1e/0x30
Mar  9 18:59:29 localhost kernel:  [really_probe+101/234] really_probe+0x65/0xea
Mar  9 18:59:29 localhost kernel:  [driver_probe_device+158/170]
driver_probe_device+0x9e/0xaa
Mar  9 18:59:29 localhost kernel:  [klist_next+72/100] klist_next+0x48/0x64
Mar  9 18:59:29 localhost kernel:  [__driver_attach+0/117]
__driver_attach+0x0/0x75
Mar  9 18:59:29 localhost kernel:  [__driver_attach+68/117]
__driver_attach+0x44/0x75
Mar  9 18:59:29 localhost kernel:  [bus_for_each_dev+53/89]
bus_for_each_dev+0x35/0x59
Mar  9 18:59:29 localhost kernel:  [driver_attach+20/22] driver_attach+0x14/0x16
Mar  9 18:59:29 localhost kernel:  [__driver_attach+0/117]
__driver_attach+0x0/0x75
Mar  9 18:59:29 localhost kernel:  [bus_add_driver+90/224]
bus_add_driver+0x5a/0xe0
Mar  9 18:59:29 localhost kernel:  [__pci_register_driver+97/132]
__pci_register_driver+0x61/0x84
Mar  9 18:59:29 localhost kernel:  [<e08b5c1e>] module_start+0xb4/0xdd [ivtv]
Mar  9 18:59:29 localhost kernel:  [sys_init_module+137/307]
sys_init_module+0x89/0x133
Mar  9 18:59:29 localhost kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Mar  9 18:59:29 localhost kernel:  =======================
Mar  9 18:59:29 localhost kernel: ivtv0: Failed to register irq -16
Mar  9 18:59:29 localhost kernel: ivtv0: Error -16 on initialization
Mar  9 18:59:29 localhost kernel: ivtv: probe of 0000:00:08.0 failed
with error -16
Mar  9 18:59:29 localhost kernel: ivtv:  ====================  END
INIT IVTV  ====================

I couldn't get it to work so eventually I decided to go back to my
working setup. Unfortunately, I can't get that to work either. I get
the following message:

Mar 13 20:57:27 localhost kernel: ivtv:  ==================== START
INIT IVTV ====================
Mar 13 20:57:27 localhost kernel: ivtv:  version 0.4.6 (tagged release) loading
Mar 13 20:57:27 localhost kernel: ivtv:  Linux version: 2.6.14.7 K7
REGPARM gcc-3.3
Mar 13 20:57:27 localhost kernel: ivtv:  In case of problems please
include the debug info between
Mar 13 20:57:27 localhost kernel: ivtv:  the START INIT IVTV and END
INIT IVTV lines, along with
Mar 13 20:57:27 localhost kernel: ivtv:  any module options, when
mailing the ivtv-users mailinglist.
Mar 13 20:57:27 localhost kernel: ivtv0: Autodetected WinTV PVR 150
card (cx23416 based)
Mar 13 20:57:27 localhost kernel: PCI: Enabling device 0000:00:06.0
(0000 -> 0002)
Mar 13 20:57:27 localhost kernel: PCI: No IRQ known for interrupt pin
A of device 0000:00:06.0.
Mar 13 20:57:27 localhost kernel: tuner (ivtv): chip found at addr
0xc2 i2c-bus ivtv i2c driver #0
Mar 13 20:57:27 localhost kernel: ivtv0: i2c attach to card #0 ok
[client=(tuner unset), addr=61]
Mar 13 20:57:27 localhost kernel: tveeprom: ivtv version
Mar 13 20:57:27 localhost kernel: tveeprom: Hauppauge: model = 26034,
rev = C197, serial# = 8378170
Mar 13 20:57:27 localhost kernel: tveeprom: tuner = TCL 2002MB_3H (idx
= 97, type = 55)
Mar 13 20:57:27 localhost kernel: tveeprom: tuner fmt = PAL(B/G)
PAL(D/K) (eeprom = 0x44, v4l2 = 0x00000e07)
Mar 13 20:57:27 localhost kernel: tveeprom: audio processor = CX25842
(type = 24)
Mar 13 20:57:27 localhost kernel: tveeprom: decoder processor =
CX25842 (type = 1d)
Mar 13 20:57:27 localhost kernel: ivtv0: i2c attach to card #0 ok
[client=tveeprom, addr=50]
Mar 13 20:57:27 localhost kernel: cx25840 1-0044: ivtv driver
Mar 13 20:57:27 localhost kernel: cx25840 1-0044: cx25842-23 found @
0x88 (ivtv i2c driver #0)
Mar 13 20:57:27 localhost kernel: cx25840 1-0044: loaded
v4l-cx25840.fw firmware (14264 bytes)
Mar 13 20:57:27 localhost kernel: ivtv0: i2c attach to card #0 ok
[client=cx25840, addr=44]
Mar 13 20:57:27 localhost kernel: wm8775 1-001b: ivtv driver
Mar 13 20:57:27 localhost kernel: wm8775 1-001b: chip found @ 0x36
(ivtv i2c driver #0)
Mar 13 20:57:27 localhost kernel: ivtv0: i2c attach to card #0 ok
[client=wm8775, addr=1b]
Mar 13 20:57:27 localhost kernel: ivtv0: loaded v4l-cx2341x-enc.fw
firmware (262144 bytes)
Mar 13 20:57:27 localhost kernel: ivtv0: i2c attach to card #0 ok
[client=cx25840, addr=44]
Mar 13 20:57:27 localhost kernel: wm8775 1-001b: ivtv driver
Mar 13 20:57:27 localhost kernel: wm8775 1-001b: chip found @ 0x36
(ivtv i2c driver #0)
Mar 13 20:57:27 localhost kernel: ivtv0: i2c attach to card #0 ok
[client=wm8775, addr=1b]
Mar 13 20:57:27 localhost kernel: ivtv0: loaded v4l-cx2341x-enc.fw
firmware (262144 bytes)
Mar 13 20:57:27 localhost kernel: ivtv0: Encoder revision: 0x02060039
Mar 13 20:57:27 localhost kernel: ivtv0 warning: Encoder Firmware can
be buggy, use version 0x02040011, 0x02040024 or 0x02050032.
Mar 13 20:57:27 localhost kernel: ivtv0: Allocate DMA encoder MPEG
stream: 128 x 32768 buffers (4096KB total)
Mar 13 20:57:27 localhost kernel: ivtv0: Allocate DMA encoder YUV
stream: 161 x 12960 buffers (2048KB total)
Mar 13 20:57:27 localhost kernel: ivtv0: Allocate DMA encoder VBI
stream: 80 x 26208 buffers (2048KB total)
Mar 13 20:57:27 localhost kernel: ivtv0: Allocate DMA encoder PCM
audio stream: 455 x 4608 buffers (2048KB total)
Mar 13 20:57:27 localhost kernel: ivtv0: Failed to register irq -16
Mar 13 20:57:27 localhost kernel: ivtv0: Error -16 on initialization
Mar 13 20:57:27 localhost kernel: ivtv: probe of 0000:00:06.0 failed
with error -16
Mar 13 20:57:27 localhost kernel: ivtv:  ====================  END
INIT IVTV  ====================

This message is an attempt where I tried changing the Hauppauge card
to another slot and using kernel options pci=usepirqmask pci=biosirq.
I still get an error about the IRQ of the card.

If I run lspci:
lampje:/var/log# lspci -s 00:06 -vvv
0000:00:06.0 Multimedia video controller: Internext Compression Inc
iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc.: Unknown device 8003
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 0
        Region 0: Memory at 30000000 (32-bit, prefetchable) [disabled]
[size=64M]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Yet, when I look at /proc/interrupts:
lampje:/var/log# more /proc/interrupts
           CPU0
  0:     323960          XT-PIC  timer
  1:          8          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  8:          4          XT-PIC  rtc
 11:          0          XT-PIC  VIA8233
 12:       3723          XT-PIC  eth0
 14:       5275          XT-PIC  ide0
NMI:          0
LOC:          0
ERR:          0

What is 'timer'? Why is my Hauppauge card on IRQ0? Is it broken?

I would very much appreciate some help with this.

Bye,
Steven

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to