[mythtv-users] Odd PVR-350 FC2 Error: /dev/video0 Input/output Error

John Harvey john.p.harvey at btinternet.com
Fri Sep 17 10:31:23 EDT 2004


This may be that version of ivtv. I had similar
problems with versions around that age, several from
108-109f gave me this error. I went back to 106y which
worked fine but you would need to use ivtvdev_drv.o
from that release. You may well find newer versions
work better. It would be worth trying the latest 110f
build.

John
 --- vasudeva <vasudeva at megarad.com> wrote: 
> 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
> 
=== message truncated ===>
_______________________________________________
> 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