Hi,

to narrow down the problem:

- configure your system, so ivtv is _not_ automatically loaded on boot

- cold boot
- lspci -vn # should be as expected
- warm boot
- lspci -vn # Is the card Id now correct ?
- more warm boots  + lspci -vn to see if this is stable

If this procedure shows non-corrupted PCI IDs, we know
the driver leaves hardware in a bad state (then the driver would
need to learn how to leave the hardware in a state which does enably
clean warm boot).

-
 Gunther

Christophe Massiot wrote:

>Hello,
>
>I have a few PVR-250 here which, at some point between 0.4.0 and 0.4.1,
>became detected as PVR-150. They are correctly detected on a cold boot,
>but become known as PVR-150 after a warm reboot.
>
>The identification on the PCI bus is indeed different, on a cold boot I
>have :
>
>0000:02:0a.0 Multimedia video controller: Internext Compression Inc
>iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
>       Subsystem: Hauppauge computer works Inc. WinTV PVR 250
>       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-
>       Latency: 64 (32000ns min, 2000ns max), Cache Line Size: 0x08 (32 bytes)
>       Interrupt: pin A routed to IRQ 18
>       Region 0: Memory at f0000000 (32-bit, prefetchable) [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-
>
>which on a warm boot becomes an "Unknwon device 0009" :
>
>0000:02:0a.0 Multimedia video controller: Internext Compression Inc
>iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
>       Subsystem: Hauppauge computer works Inc.: Unknown device 0009
>       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-
>       Latency: 64 (32000ns min, 2000ns max), Cache Line Size: 0x08 (32 bytes)
>       Interrupt: pin A routed to IRQ 18
>       Region 0: Memory at f0000000 (32-bit, prefetchable) [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-
>
>I suppose this model should be added to the black list of undetected
>PVR-250 ?
>
>ivtv:  ==================== START INIT IVTV ====================
>ivtv:  version 0.4.2 (tagged release) loading
>ivtv:  Linux version: 2.6.15 preempt PENTIUM4 gcc-4.0
>ivtv:  In case of problems please include the debug info between
>ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
>ivtv:  any module options, when mailing the ivtv-users mailinglist.
>ivtv0: Autodetected WinTV PVR 250 card (cx23416 based)
>ACPI: PCI Interrupt 0000:02:0a.0[A] -> GSI 22 (level, low) -> IRQ 18
>tveeprom: ivtv version
>tveeprom: Hauppauge: model = 32039, rev = B134, serial# = 6977818
>tveeprom: tuner = Philips FQ1216 ME (idx = 34, type = 24)
>tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom =
>0x74, v4l2 = 0x00400e17)
>tveeprom: audio processor = MSP3415 (type = 6)
>tveeprom: decoder processor = SAA7115 (type = 13)
>ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
>tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
>ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
>saa7115 0-0021: ivtv driver
>saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
>ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
>msp3400 0-0040: ivtv driver
>msp3400 0-0040: chip=MSP3415G-B8 +nicam +simple +simpler +radio mode=simpler
>msp3400 0-0040: msp34xxg daemon started
>ivtv0: i2c attach to card #0 ok [client=MSP3415G-B8, addr=40]
>ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
>ivtv0: Encoder revision: 0x02050032
>ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB
>total)
>ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB
>total)
>ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB
>total)
>ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
>total)
>tuner: type set to 24 (Philips PAL/SECAM multi (FQ1216ME)) by ivtv i2c
>driver #0ivtv0: Initialized WinTV PVR 250, card #0
>ivtv:  ====================  END INIT IVTV  ====================
>
>
>  
>


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

Reply via email to