[mythtv-users] pvr-150 no tuner

Mark Knecht markknecht at gmail.com
Sat May 28 04:45:34 UTC 2005


Don't know if it will help but I brought up a PVR-150 a few days ago
under Gentoo. Here's the /etc/modules.d/ivtv file as I set it up:

alias char-major-61 lirc_i2c
alias char-major-81 videodev
alias char-major-81-0 ivtv

options cx25840 no_black_magic=1
options ivtv ivtv_std=0 tuner=50 tda9887=0 ivtv_debug=1
options cx25840 i2c_enable=1
options saa7127 i2c_enable=-1
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400;
/sbin/modprobe saa7115; /sbin/modprobe --ignore-install ivtv
remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe
-r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner

gandalf ~ # uname -r
2.6.11-gentoo-r9
gandalf ~ #

This was using the ivtv-0.3.3k file available through the ivtv site.

Good luck,
Mark

On 5/27/05, Peter T. Abplanalp <pta-myth at psaconsultants.com> wrote:
> hi all.  i just bought a pvr-150 card to replace a
> framegrabber card for my underpowered mythtv box.  i am
> having a couple issues, 1) the ivtv kernel module isn't
> loaded on boot up.  after boot up i have no /dev/video0
> until i manually do a modprobe ivtv.  i followed jarod's
> howto with respect to setting up my modeprobe.conf file for
> the pvr-150.  how can i get this to work automatically on
> boot up?  please find my modprobe.conf below.
> 
> 2) all i get is static from /dev/video0 after i've manually
> modprobed ivtv and i can't turn the channel.  below is my
> lspci -v for the card and the ivtv messages in dmesg.  i am
> concerned about the "tuner: type set to 4 (NoTuner) by ivtv"
> message.  i did some looking around and tried a couple
> things like moving the default kernel tuner.ko out of the
> way but to no avail.  i also read about some patches but
> never saw any links.
> 
> any and all help is appreciated!
> 
> modprobe.conf:
> 
> alias eth0 ne2k-pci
> alias snd-card-0 snd-ens1371
> options snd-card-0 index=0
> install snd-ens1371 /sbin/modprobe --ignore-install snd-ens1371 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
> remove snd-ens1371 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-ens1371
> alias char-major-81 cx8800
> alias usb-controller uhci-hcd
> # ivtv (PVR-150MCE)
> alias char-major-81 videodev
> alias char-major-81-0 ivtv
> alias tveeprom tveeprom-ivtv
> alias tuner tuner-ivtv
> alias msp3400 msp3400-ivtv
> options cx25840 no_black_magic=1
> 
> lspci -vv:
> 
> 00:0a.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-
>         Latency: 64 (32000ns min, 2000ns max), Cache Line Size 08
>         Interrupt: pin A routed to IRQ 5 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-
> 
> dmesg ivtv:
> 
> May 27 21:25:41 localhost kernel: ivtv: ==================== START INIT IVTV ====================
> May 27 21:25:41 localhost kernel: ivtv: version 0.2.0 (rc3j) loading
> May 27 21:25:41 localhost kernel: ivtv: Linux version: 2.6.11-1.27_FC3 686 REGPARM 4KSTACKS gcc-3.4
> May 27 21:25:41 localhost kernel: ivtv: In case of problems please include the debug info
> May 27 21:25:41 localhost kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when
> May 27 21:25:41 localhost kernel: ivtv: mailing the ivtv-devel mailinglist.
> May 27 21:25:41 localhost kernel: ivtv: Autodetected WinTV PVR 150 card
> May 27 21:25:41 localhost kernel: ivtv: Found an iTVC16 based chip
> May 27 21:25:41 localhost kernel: PCI: Found IRQ 5 for device 0000:00:0a.0
> May 27 21:25:41 localhost kernel: ivtv: Unreasonably low latency timer, setting to 64 (was 32)
> May 27 21:25:41 localhost kernel: ivtv: XXX PCI device: 0x7190 vendor: 0x8086
> May 27 21:25:41 localhost kernel: tveeprom: Hauppauge: model = 26032, rev = C199, serial# = 2978964
> May 27 21:25:41 localhost kernel: tveeprom: tuner = <unknown> (idx = 99, type = 4)
> May 27 21:25:41 localhost kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
> May 27 21:25:41 localhost kernel: tveeprom: audio_processor = TDA9850 (type = 3)
> May 27 21:25:41 localhost kernel: ivtv: i2c attach [client=tveeprom[0],ok]
> May 27 21:25:43 localhost kernel: ivtv: Tuner Type 4, Tuner formats 0x00001000, Radio: yes, Model 0x008d1659, Revision 0x00000000
> May 27 21:25:44 localhost kernel: ivtv: NTSC tuner detected
> May 27 21:25:44 localhost kernel: ivtv: Radio detected
> May 27 21:25:44 localhost kernel: tuner: Ignoring new-style parameters in presence of obsolete ones
> May 27 21:25:44 localhost kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
> May 27 21:25:44 localhost kernel: ivtv: i2c attach [client=(tuner unset),ok]
> May 27 21:25:44 localhost kernel: cx25840: Ignoring new-style parameters in presence of obsolete ones
> May 27 21:25:46 localhost kernel: cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 13353 loaded.
> May 27 21:25:46 localhost kernel: cx25840: FW image md5 digest: aa4d1e3dd17667957d8fe5b8d2d19395
> May 27 21:25:46 localhost kernel: cx25840: FW image sha1 digest: 60eafed58e943664aae4754b32271e09a95496b4
> May 27 21:25:46 localhost kernel: ivtv: i2c attach [client=cx25840[0],ok]
> May 27 21:25:46 localhost kernel: wm8775: Ignoring new-style parameters in presence of obsolete ones
> May 27 21:25:46 localhost kernel: wm8775: Setting register ADCFMT (7) to 1, R11.0..1, old value 02
> May 27 21:25:46 localhost kernel: wm8775: Setting register ADCMS (8) to 1, R12.8..8, old value 00
> May 27 21:25:46 localhost kernel: wm8775: Setting register DCY (24) to 8, R18.4..7, old value 03
> May 27 21:25:46 localhost kernel: wm8775: Setting register NGAT (27) to 1, R19.0..0, old value 00
> May 27 21:25:46 localhost kernel: wm8775: Setting register LRBOTH (30) to 1, R21.8..8, old value 00
> May 27 21:25:46 localhost kernel: wm8775: Setting register AMX (33) to 15, R21.0..3, old value 01
> May 27 21:25:46 localhost kernel: wm8775: Updating register 0 (R23), config: 2e01 active: 2e00.
> May 27 21:25:46 localhost kernel: wm8775: Skipping register 1 (R7), config: 0e00 active: 0e00.
> May 27 21:25:46 localhost kernel: wm8775: Updating register 2 (R11), config: 1622 active: 1621.
> May 27 21:25:46 localhost kernel: wm8775: Updating register 3 (R12), config: 1802 active: 1902.
> May 27 21:25:46 localhost kernel: wm8775: Skipping register 4 (R13), config: 1a00 active: 1a00.
> May 27 21:25:46 localhost kernel: wm8775: Skipping register 5 (R14), config: 1ccf active: 1ccf.
> May 27 21:25:46 localhost kernel: wm8775: Skipping register 6 (R15), config: 1ecf active: 1ecf.
> May 27 21:25:46 localhost kernel: wm8775: Skipping register 7 (R16), config: 207b active: 207b.
> May 27 21:25:47 localhost kernel: wm8775: Skipping register 8 (R17), config: 2200 active: 2200.
> May 27 21:25:47 localhost kernel: wm8775: Updating register 9 (R18), config: 2432 active: 2482.
> May 27 21:25:47 localhost kernel: wm8775: Updating register 10 (R19), config: 2600 active: 2601.
> May 27 21:25:47 localhost kernel: wm8775: Skipping register 11 (R20), config: 2826 active: 2826.
> May 27 21:25:47 localhost kernel: wm8775: Updating register 12 (R21), config: 2a01 active: 2b0f.
> May 27 21:25:47 localhost kernel: ivtv: i2c attach [client=wm8775[0],ok]
> May 27 21:25:47 localhost kernel: ivtv: Encoder revision: 0x02040024
> May 27 21:25:47 localhost kernel: ivtv: Encoder Firmware may be buggy, use version 0x02040011
> May 27 21:25:47 localhost kernel: ivtv: Configuring WinTV PVR 150 card with 5 streams
> May 27 21:25:47 localhost kernel: ivtv: Create DMA stream 0 using 256 16384 byte buffers  4194304 kbytes total
> May 27 21:25:47 localhost kernel: ivtv: Registered v4l2 device, streamtype 0 minor 0
> May 27 21:25:47 localhost kernel: ivtv: Create DMA stream 1 May 27 21:25:48 localhost kernel: ivtv: Registered v4l2 device, streamtype 1 minor 32
> May 27 21:25:48 localhost kernel: ivtv: Create stream 2 using 40 52224 byte buffers  2097152 kbytes total
> May 27 21:25:48 localhost kernel: ivtv: Registered v4l2 device, streamtype 2 minor 224
> May 27 21:25:48 localhost kernel: ivtv: Create DMA stream 3 using 455 4608 byte buffers  2097152 kbytes total
> May 27 21:25:48 localhost kernel: ivtv: Registered v4l2 device, streamtype 3 minor 24
> May 27 21:25:48 localhost kernel: ivtv: Create stream 4 May 27 21:25:48 localhost kernel: ivtv: Registered v4l2 device, streamtype 4 minor 64
> May 27 21:25:48 localhost kernel: ivtv: Setting Tuner 4
> May 27 21:25:48 localhost kernel: tuner: type set to 4 (NoTuner) by ivtv i2c driver #0
> May 27 21:25:48 localhost kernel: ivtv: ivtv_enc_thread: pid = 4785, itv = 0xd8b5d0a0
> May 27 21:25:48 localhost kernel: ivtv: Switching standard to NTSC.
> May 27 21:25:48 localhost kernel: ivtv: Initialized WinTV PVR 150, card #0
> May 27 21:25:48 localhost kernel: ivtv: ==================== END INIT IVTV  ====================
> 
> --
> Peter Abplanalp
> PGP:     pgp.mit.edu
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
>


More information about the mythtv-users mailing list