[mythtv-users] ivtv setup correctly?

Michael T. Dean mtdean at thirdcontact.com
Tue Aug 31 00:05:18 EDT 2004

On 08/28/2004 01:58 PM, Azmat wrote:

>I'm not sure I have ivtv setup correctly. Here is the output of my
>/bin/dmesg (grep ivtv):
>ivtv: ==================== START INIT IVTV ====================
>ivtv: version 0.1.10 (0.1.10pre2-ck99e) loading
>ivtv: Linux version: 2.6.7-1.499_7.rhfc2.at 686 REGPARM gcc-3.3
>ivtv: In case of problems please include the debug info
>ivtv: between the START INIT IVTV and END INIT IVTV lines when
>ivtv: mailing the ivtv-devel mailinglist.
>ivtv: Autodetected WinTV PVR 350 card
>ivtv: Found an iTVC15 based chip
>ivtv: pci: PCIBUS detected device: 0x01e0 vendor: 0x10de
>ivtv: i2c attach [client=tveeprom[0],ok]
>ivtv: Tuner Type 2, Tuner formats 0x00001000, Radio: yes, Model
>0x00a93493, Revision 0x00000001
>ivtv: NTSC tuner detected
>ivtv: Radio detected
>tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
>ivtv: i2c attach [client=(tuner unset),ok]
>saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
>ivtv: i2c attach [client=saa7115[0],ok]
>ivtv: i2c attach [client=saa7127[0],ok]
>msp34xx: ivtv version
>ivtv: i2c attach [client=MSP3448W-A2,ok]
>ivtv: Encoder revision: 0x02040011
>ivtv: Decoder revision: 0x02020023
>ivtv: Configuring WinTV PVR 350 card with 9 streams
>ivtv: Create DMA stream 0 using 90 buffers of size 32768
>ivtv: Create DMA stream 1 using 32 buffers of size 32768
>ivtv: Create stream 2 using 64 buffers of size 52224
>ivtv: Create DMA stream 3 using 32 buffers of size 32768
>ivtv: Create stream 4
>ivtv: Create DMA stream 5 using 32 buffers of size 32768
>ivtv: Create stream 6 using 64 buffers of size 2048
>ivtv: Create stream 7
>ivtv: Create DMA stream 8 using 8 buffers of size 32768
>ivtv: Setting Tuner 2
>ivtv: Setting audio matrix to input 3, output 1
>ivtv: Switching standard to NTSC.
>ivtv: Initialized WinTV PVR 350, card #0
>ivtv: ==================== END INIT IVTV ====================
>ivtv: v4l2 ioctl: set frequency 980
>ivtv: Finished with Mute
>ivtv: i2c attach [client=Hauppauge IR,ok]
>ivtv: VIM Restart
>ivtv: VIM Restart
>ivtv: Setting audio matrix to input 1, output 1
>ivtv: Finished with Mute
>ivtv: VIM Restart
>ivtv: VIM Restart
I know that grep is a simple way to pare down the output of dmesg, but 
you're missing about 32 of 70 lines of important initialization 
information.  For the complete initialization section, use

dmesg | grep -A 70 '= START INIT IVTV ='

Of course, if there are errors (which cause additional lines of output), 
you won't get the whole init section.  Therefore, the best way is to 
redirect to a file and remove the extra information (being careful to 
preserve the entire init section) with a text editor.

>I notice I don't have the lines that say: "ivtv: Registered v4l2
>device, minor 0", etc. that I've read that you should see in this
No longer appears with recent ck patches.

>Also, here's my /etc/modprobe.conf:
>alias eth0 forcedeth
>alias snd-card-0 snd-intel8x0
>install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 &&
>/usr/sbin/alsactl restore >/dev/null 2>&1 || :
>remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ;
>}; /sbin/modprobe -r --ignore-remove snd-intel8x0
>alias usb-controller ehci-hcd
>alias usb-controller1 ohci-hcd
># ivtv modules setup
>alias char-major-81 videodev
>alias char-major-81-0 ivtv
>alias char-major-61 lirc_i2c
>options ivtv ivtv_debug=1 mpg_buffers=90
>#options saa7127 enable_output=1 output_select=1 # S-video
>options saa7127 enable_output=1 output_select=0 # Composite
>options tuner type=2 # NTSC tuner
>options msp3400 once=1 simple=1
All of the ivtv-related options should be removed (saa7127, tuner, 
msp3400, and especially the ivtv mpg_buffers).  The only things that 
should appear in mod{ules,probe}.conf for ivtv-0.1.10pre2-ck > ~85 is:

# ivtv modules setup
alias char-major-81 videodev
alias char-major-81-0 ivtv

(but that doesn't mean to take out your LIRC line
# LIRC setup
alias char-major-61 lirc_i2c


More information about the mythtv-users mailing list