[mythtv-users] Almost there
Matt Hannan
matthew.j.hannan at verizon.net
Wed Oct 6 00:54:13 UTC 2004
OK, I am having some issues getting the television end of things working.
Let's see if I can present this ala Jarod's Guide:
First, the software:
kernel-2.6.8-1.541_10.rhfc2.at
mythtv-suite-0.16-44.at
ivtv-0.1.10-48_pre2_ck100zz.rhfc2.at
kernel-module-ivtv-2.6.8-1.541_10.rhfc2.at
ivtv-firmware-2.02.023-3.at
Second, the hardware:
PVR-350
geForce4MX400
Abit NF7-S v2 w/ onboard sound
Third, what makes me unique:
Running with my personal account (not MythTV account)
Running on my CRT...no TV
I think my problems start at about section 10 of Jarod's Guide for FC2
and has a lot to do with ivtv.
Here is my modprobe.conf:
############################################################
alias eth0 e100
alias eth1 e100
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
alias net-pf-10 off
alias char-major-61 lirc_i2c
# I2C module options
alias char-major-89 i2c-dev
#IVTV Section
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
options ivtv ivtv_debug=1 yuv_buffers=60 mpg_buffers=50
options tuner type=2
options saa7127 enable_output=1 output_select=0
options msp3400 once=1 simple=1
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install
lirc_i2c
alias char-major-195* nvidia
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.6 ---
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---
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
###################################################################
The ivtv section of the log from my last reboot:
#####################################################################
ivtv: ==================== START INIT IVTV ====================
Oct 5 10:46:23 wilbur kernel: ivtv: version 0.1.10 (0.1.10-48_pre2_ck100zz.rhfc2.at) loading
Oct 5 10:46:23 wilbur kernel: ivtv: Linux version: 2.6.8-1.541_10.rhfc2.at 686 REGPARM gcc-3.3
Oct 5 10:46:23 wilbur kernel: ivtv: In case of problems please include the debug info
Oct 5 10:46:23 wilbur kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when
Oct 5 10:46:23 wilbur kernel: ivtv: mailing the ivtv-devel mailinglist.
Oct 5 10:46:23 wilbur kernel: ivtv: Autodetected WinTV PVR 350 card
Oct 5 10:46:23 wilbur kernel: ivtv: Found an iTVC15 based chip
Oct 5 10:46:23 wilbur kernel: ivtv: Unreasonably low latency timer, setting to 64 (was 32)
Oct 5 10:46:23 wilbur kernel: ivtv: pci: PCIBUS detected device: 0x01e0 vendor: 0x10de
Oct 5 10:46:23 wilbur kernel: ivtv: i2c attach [client=tveeprom[0],ok]
Oct 5 10:46:23 wilbur kernel: ivtv: Tuner Type 2, Tuner formats 0x00001000, Radio: yes, Model 0x00a93493, Revision 0x00000001
Oct 5 10:46:23 wilbur kernel: ivtv: NTSC tuner detected
Oct 5 10:46:23 wilbur kernel: ivtv: Radio detected
Oct 5 10:46:23 wilbur kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
Oct 5 10:46:23 wilbur kernel: ivtv: i2c attach [Oct 5 17:55:45 wilbur kernel: ivtv: VIM Restart
Oct 5 17:56:01 wilbur kernel: ivtv: i2c attach [client=Hauppauge IR,ok]
Oct 5 17:56:32 wilbur kernel: ivtv: Switching standard to SECAM.
Oct 5 17:56:32 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
Oct 5 17:56:41 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
Oct 5 17:56:41 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
Oct 5 17:56:41 wilbur kernel: ivtv: Setting audio matrix to input 3, output 1
Oct 5 17:56:41 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
Oct 5 17:56:41 wilbur kernel: ivtv: Finished with Mute
Oct 5 17:56:57 wilbur kernel: ivtv: Switching standard to NTSC.
Oct 5 17:56:57 wilbur kernel: ivtv: i2c client addr: 0x40 not found!client=(tuner unset),ok]
Oct 5 10:46:23 wilbur kernel: saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
Oct 5 10:46:23 wilbur kernel: ivtv: i2c attach [client=saa7115[0],ok]
Oct 5 10:46:23 wilbur kernel: ivtv: i2c attach [client=saa7127[0],ok]
Oct 5 10:46:23 wilbur kernel: ivtv: Encoder revision: 0x02040011
Oct 5 10:46:23 wilbur kernel: ivtv: Decoder revision: 0x02020023
Oct 5 10:46:23 wilbur kernel: ivtv: Configuring WinTV PVR 350 card with 9 streams
Oct 5 10:46:23 wilbur kernel: ivtv: Create DMA stream 0 using 128 buffers of size 32768
Oct 5 10:46:23 wilbur kernel: ivtv: Create DMA stream 1 using 128 buffers of size 32768
Oct 5 10:46:23 wilbur kernel: ivtv: Create stream 2 using 128 buffers of size 4096
Oct 5 10:46:23 wilbur kernel: ivtv: Create DMA stream 3 using 128 buffers of size 32768
Oct 5 10:46:23 wilbur kernel: ivtv: Create stream 4
Oct 5 10:46:23 wilbur kernel: ivtv: Create DMA stream 5 using 16 buffers of size 32768
Oct 5 10:46:23 wilbur kernel: ivtv: Create stream 6 using 128 buffers of size 4096
Oct 5 10:46:23 wilbur kernel: ivtv: Create stream 7
Oct 5 10:46:23 wilbur kernel: ivtv: Create DMA stream 8 using 16 buffers of size 32768
Oct 5 10:46:23 wilbur kernel: ivtv: Setting Tuner 2
Oct 5 10:46:23 wilbur kernel: ivtv: Setting audio matrix to input 3, output 1
Oct 5 10:46:23 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
Oct 5 10:46:23 wilbur kernel: ivtv: Switching standard to NTSC.
Oct 5 10:46:23 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
Oct 5 10:46:23 wilbur kernel: ivtv: Initialized WinTV PVR 350, card #0
Oct 5 10:46:23 wilbur kernel: ivtv: ==================== END INIT IVTV ====================
Oct 5 10:46:41 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
Oct 5 10:46:41 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
Oct 5 10:46:41 wilbur kernel: ivtv: Setting audio matrix to input 1, output 1
Oct 5 10:46:41 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
Oct 5 10:46:41 wilbur kernel: ivtv: Finished with Mute
############################################################################################
Everything looks good, except that i2c client addr bit. What is up with
that? Googling it only shows it in other peoples logs, but does not show
how to fix it.
Also, I do not see anything about msp3400.
lspci -v
########################################################################
01:07.0 Multimedia video controller: Internext Compression Inc iTVC15
MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR-350
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at d8000000 (32-bit, prefetchable)
Capabilities: [44] Power Management version 2
#############################################################################
$ ll /dev/video?
#############################################
crw------- 1 name root 81, 0 Feb 23 2004 /dev/video0
crw------- 1 name root 81, 1 Feb 23 2004 /dev/video1
crw------- 1 name root 81, 2 Feb 23 2004 /dev/video2
crw------- 1 name root 81, 3 Feb 23 2004 /dev/video3
##############################################
Could these permissions be a problem? "name" is my username, changed
here to protect my account.
# /bin/dmesg |grep ivtv
does not show anything as being registered
My test.mpg is here:
http://www.nycnyne.net:999/other/test.mpg
It is only about 5 seconds, but do me a favor and Save As!!
While I was capturing it, I did see this in the mplayer shell:
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this
codec. <-------That's him, officer!
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
From Jarod's Guide:
"If you don't have any sound, it is possible that the correct msp3400
module didn't get loaded for one reason or another. To remedy that
situation, follow these steps:"
##################################################################
# /sbin/rmmod ivtv
ERROR: Module ivtv is in
use
<------Which is interesting because I just stopped mythbackend!
[root at wilbur root]# cd
/lib/modules/2.6.8-1.541_10.rhfc2.at/kernel/drivers/media/video/
[root at wilbur video]# ls msp3400*
msp3400.ko
<-------------No msp3400.o
#################################################################
And the rest of the section is for folks with TV's and/or Brooktree cards.
What am I forgetting to give you? OH!
###################################################################
# lsmod
Module Size Used by
bttv 143501 0
video_buf 17540 1 bttv
v4l2_common 5376 1 bttv
btcx_risc 3785 1 bttv
lirc_i2c 7172 0
lirc_dev 10248 2 lirc_i2c
snd_mixer_oss 15488 1
snd_intel8x0 30412 1
snd_ac97_codec 62288 1 snd_intel8x0
snd_pcm 86536 1 snd_intel8x0
snd_timer 26244 1 snd_pcm
snd_page_alloc 7816 2 snd_intel8x0,snd_pcm
gameport 4033 1 snd_intel8x0
snd_mpu401_uart 7808 1 snd_intel8x0
snd_rawmidi 22436 1 snd_mpu401_uart
snd_seq_device 6920 1 snd_rawmidi
snd 47332 8
snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 7713 2 snd
w83627hf 23145 0
eeprom 6625 0
i2c_sensor 3009 2 w83627hf,eeprom
i2c_isa 2113 0
i2c_nforce2 5057 0
parport_pc 21761 0
lp 9261 0
parport 35977 2 parport_pc,lp
autofs4 20677 0
sunrpc 141989 1
e100 36165 0
mii 3777 1 e100
floppy 54001 0
sg 28257 0
scsi_mod 105617 1 sg
usblp 10817 0
dm_mod 47445 0
ohci_hcd 19665 0
ehci_hcd 28101 0
button 5081 0
battery 7117 0
asus_acpi 9433 0
ac 3533 0
saa7127 10652 0
saa7115 11032 0
tuner 18348 0
tveeprom 9652 0
ivtv 781540 1
i2c_algo_bit 7497 2 bttv,ivtv
i2c_core 17345 12
bttv,lirc_i2c,w83627hf,eeprom,i2c_sensor,i2c_isa,i2c_nforce2,saa7127,saa7115,tuner,tveeprom,i2c_algo_bit
videodev 7105 2 bttv,ivtv
nvidia 4818004 12
ext3 108713 3
jbd 67033 1 ext3
##################################################
Can anyone see what I am doing wrong? Don't sweat too much time on it
tonight (if you are in the USA), because the second debate starts soon.
But, all the rest of you in the world, have fun and please help.
One last, just for fun, here are what my logs look like when I try to
watch TV in MythTV:
#######################################
Oct 5 17:55:45 wilbur kernel: ivtv: VIM Restart
Oct 5 17:56:01 wilbur kernel: ivtv: i2c attach [client=Hauppauge IR,ok]
Oct 5 17:56:32 wilbur kernel: ivtv: Switching standard to SECAM.
Oct 5 17:56:32 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
Oct 5 17:56:41 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
Oct 5 17:56:41 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
Oct 5 17:56:41 wilbur kernel: ivtv: Setting audio matrix to input 3, output 1
Oct 5 17:56:41 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
Oct 5 17:56:41 wilbur kernel: ivtv: Finished with Mute
Oct 5 17:56:57 wilbur kernel: ivtv: Switching standard to NTSC.
Oct 5 17:56:57 wilbur kernel: ivtv: i2c client addr: 0x40 not found!
#############################################
I wind up with a black screen and have to force quit the frontend (which
takes down the backend).
Thanks. Everything else looks and runs great so far. Like I said last
night, I had 0.14 running, pulled my hair out trying to get 0.15 to go,
and now am THIS close to getting 0.16 up and running.
MythTV rocks. Nothing else can touch it.
Matt
PS...let me know if I forgot to include anything here! ;-)
More information about the mythtv-users
mailing list