[mythtv-users] Odd PVR-350 FC2 Error: /dev/video0 Input/output Error
vasudeva
vasudeva at megarad.com
Fri Sep 17 09:06:33 EDT 2004
Following Jarod Wilson's (very helpful) HOWTO, I built MythTV using
Axel Thimm's kernel, myth and ivtv RPMs on Fedora Core 2 with kernel
2.6.8-1 with a PVR-350 video card, which I'm using as the TV-Out
over component cables. After some initial ivtv errors, I upgraded
ivtv to ivtv-0.1.10-pre2-ck108o by hand, and am using the associated
ivtvdev_drv.o in X.
I can read from /dev/video0 using dd and cat just fine.
However, as soon as I launch mythbackend, something happens to
/dev/video0 that I can't read from it anymore. Here's the
mythbackend output.
Starting up as the master server.
2004-09-15 17:50:33 mythbackend version: 0.16.20040906-1 www.mythtv.org
2004-09-15 17:50:33 Enabled verbose msgs : important general
2004-09-15 17:50:35 Found changes in the todo list.
2004-09-15 17:50:35 Scheduled 0 items in 0.357943 seconds.
2004-09-15 17:50:35 Seem to be woken up by USER
2004-09-15 17:52:42 MainServer::HandleAnnounce Playback
2004-09-15 17:52:42 adding: sputnik.sovietwar.org as a client (events: 0)
2004-09-15 17:52:42 MainServer::HandleAnnounce Playback
2004-09-15 17:52:42 adding: sputnik.sovietwar.org as a client (events: 0)
2004-09-15 17:52:42 MainServer::HandleAnnounce Playback
2004-09-15 17:52:42 adding: sputnik.sovietwar.org as a client (events: 1)
2004-09-15 17:52:42 MainServer::HandleAnnounce Playback
2004-09-15 17:52:42 adding: sputnik.sovietwar.org as a client (events: 0)
2004-09-15 17:52:42 adding: sputnik.sovietwar.org as a remote ringbuffer
2004-09-15 17:52:42 Changing from None to WatchingLiveTV
error reading from: /dev/video0
read: Input/output error
error reading from: /dev/video0
read: Input/output error
error reading from: /dev/video0
read: Input/output error
error reading from: /dev/video0
read: Input/output error
error reading from: /dev/video0
read: Input/output error
error reading from: /dev/video0
read: Input/output error
error reading from: /dev/video0
read: Input/output error
error reading from: /dev/video0
read: Input/output error
error reading from: /dev/video0
read: Input/output error
Once I've launched mythbackend. I even get Input/output errors when
trying to access /dev/video0 through dd or cat -- even if
mythbackend isn't running anymore. TO access /dev/video0 again, I
have to reboot.
If I just load all the modules manually after a fresh reboot, I can
indeed cat /dev/video0 > test.mpg and see a valid cable source. I
can also dd if=/dev/video0 of=/dev/video16 bs=64k and watch channel
3 on the X display on my TV screen. For some reason, mythbackend messes
something up with that device, and I can't figure out why.
My /etc/modprobe.conf:
***
alias char-major-61 lirc_i2c
alias eth0 3c59x
alias snd-card-0 snd-emu10k1
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-emu10k1 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ;
}; /sbin/modprobe -r --ignore-remove snd-emu10k1
alias usb-controller uhci-hcd
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.6 ---
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
# --- END: Generated by ALSACONF, do not edit. ---
***
(I originally had a lot more in there, but ckennedy's notes
regarding his ivtv updates seem to dictate the above contents.
I've tried it both ways, and get the same error either way.)
My /etc/modules.conf:
***
path[toplevel]=/lib/modules/`uname -r`/updates
# default path
path[toplevel]=/lib/modules/`uname -r`
# ivtv modules setup
# This is for WinTV PVR-350 IVTV
alias char-major-61 lirc_i2c
alias char-major-81 videodev
alias char-major-81-0 ivtv
#alias char-major-81-1 bttv
options ivtv ivtv_debug=1 tuner=2
#type=2 for NTSC only
options saa7127 enable_output=1 output_select=0
options msp3400 once=0 simpler=1 simple=0
add below ivtv msp3400 saa7115 tuner saa7127
add above ivtv lirc_dev lirc_i2c ivtv-fb
post-install ivtv /usr/local/bin/ivtvctl -d /dev/video0 -u 0x3000
***
(I can also comment out everything but the aliases in modules.conf,
and still get the odd mythbackend error...)
Some relevant portions of my /etc/X11/xorg.conf:
***
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules/extensions"
ModulePath "/usr/X11R6/lib/modules"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection
Section "Monitor"
Identifier "NTSC Monitor"
HorizSync 30-68
VertRefresh 50-120
Mode "720x480"
# D: 34.563 MHz, H: 37.244 kHz, V: 73.897 Hz
DotClock 34.564
HTimings 720 752 840 928
VTimings 480 484 488 504
Flags "-HSync" "-VSync"
EndMode
EndSection
Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "ivtvdev"
### change fb0 to whatever your card grabbed
Option "fbdev" "/dev/fb0"
### change the BusID to whatever is reported by lspci
BusID "PCI:0:14:0"
Screen 0
EndSection
Section "Screen"
Identifier "TV Screen"
Device "Hauppauge PVR 350 iTVC15 Framebuffer"
Monitor "NTSC Monitor"
DefaultDepth 24
DefaultFbbpp 32
Subsection "Display"
Depth 24
FbBpp 32
Modes "720x480"
EndSubsection
EndSection
***
The output of an lsmod:
***
Module Size Used by
ivtv_fb 26880 0
msp3400 23204 0
saa7127 9864 0
saa7115 10244 0
tuner 16857 0
tveeprom 8608 0
ivtv 791396 1 ivtv_fb
i2c_algo_bit 7497 1 ivtv
i2c_core 17345 6
msp3400,saa7127,saa7115,tuner,tveeprom,i2c_algo_bit
videodev 7105 1 ivtv
snd_emu10k1 88968 0
snd_rawmidi 21924 1 snd_emu10k1
snd_pcm 85768 1 snd_emu10k1
snd_timer 25732 1 snd_pcm
snd_seq_device 6536 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 61776 1 snd_emu10k1
snd_page_alloc 7176 2 snd_emu10k1,snd_pcm
snd_util_mem 3456 1 snd_emu10k1
snd_hwdep 7172 1 snd_emu10k1
snd 46820 8
snd_emu10k1,snd_rawmidi,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,snd_util_mem,snd_hwdep
soundcore 7713 1 snd
parport_pc 21249 1
lp 9133 0
parport 35977 2 parport_pc,lp
autofs4 20677 0
sunrpc 141861 1
3c59x 33385 0
floppy 54001 0
sg 28513 0
scsi_mod 105360 1 sg
microcode 5601 0
dm_mod 47317 0
uhci_hcd 28505 0
md5 3905 1
ipv6 217349 10
ext3 96937 2
jbd 66521 1 ext3
***
And a listing of the kernel, mythtv and ivtv RPMs I've installed:
***
mythmkmovie-1.0.1-3.rhfc2.at
mythtv-theme-purplegalaxy-0.20031214-3.at
perl-Video-ivtv-0.12-5.1.rhfc2.at
kernel-sourcecode-2.6.8-1.521
kernel-module-ivtv-2.6.8-1.521-0.1.10-44_pre2_ck107u.rhfc2.at
mythtv-0.16-77.rhfc2.at
mythweather-0.16-57.rhfc2.at
mythgallery-0.16-60.rhfc2.at
mythweb-0.16-63.at
mythtv-suite-0.16-43.at
kernel-utils-2.4-9.1.131
kernel-module-ivtv-2.6.7-1.456_4.rhfc2.at-0.1.10-41_pre2_ck104f.rhfc2.at
kernel-2.6.8-1.521
kernel-module-alsa-2.6.8-1.521-1.0.6a-31.rhfc2.at
ivtv-0.1.10-44_pre2_ck107u.rhfc2.at
mythtv-theme-photo-4-6.at
mythtv-theme-visor-0.13.1-4.at
mythtv-theme-gant-0.pr1-2.at
mythtv-theme-abstract-0.20040610-1.at
kernel-2.6.7-1.499_7.rhfc2.at
kernel-2.6.7-1.456_4.rhfc2.at
libmyth-0.16-77.rhfc2.at
mythtv-backend-0.16-77.rhfc2.at
mythtv-frontend-0.16-77.rhfc2.at
mythnews-0.16-30.rhfc2.at
mythgame-0.16-59.rhfc2.at
mythdvd-0.16-41.rhfc2.at
mythtvsetup-0.16-77.rhfc2.at
mythtv-theme-isthmus-0.20040804-1.at
mythvideo-0.16-56.rhfc2.at
mythtv-theme-sleek-0.35-2.at
kernel-module-alsa-2.6.7-1.456_4.rhfc2.at-1.0.6a-31.rhfc2.at
ivtv-firmware-2.02.023-3.at
kernel-module-lirc-2.6.8-1.521-0.7.0-37_pre7.rhfc2.at
mythtv-themes-0.16-77.rhfc2.at
mythmusic-0.16-60.rhfc2.at
mythbrowser-0.16-24.rhfc2.at
***
/></
--
linkswarm.com :: Collaborative Insolence
megarad.com :: Killing You With Technology
vasudeva.megarad.com :: For The Faint of Heart
More information about the mythtv-users
mailing list