[mythtv-users] ME6000, PVR350, FC1, Myth(TV)ology setup failing at capture test

bishop bishop at platypus.bc.ca
Mon Mar 29 03:02:39 EST 2004


Folks,

I'm currently forgetting about the diskless install, for now, and going 
with a disk in my ME6000 unit for now.  Still, the Myth(TV)ology install 
of Jarod's is failing.  Oddly enough, it's at this step in section 11:

http://wilsonet.com/mythtv/fcmyth.php#capture

> [root at otnemem root]# cat /dev/video0 > /tmp/test_capture.mpg
> cat: /dev/video0: Input/output error

Yes, that's a FAQ, and the walkthrough suggests an rmmod and modprobe 
will fix things .. .. but they don't.  Anyone seen this?  Can anyone help?

-=-

System:
Software:
  - fresh, stock FC1 system
  - AT's RPM kit as per Mythology instructions.
Hardware:
  - ME6000
  - 512Mb
  - PVR350 (250 waiting on the shelf)
  - Maxtor 60Gb IDE.

> [root at otnemem root]# lsmod
> Module                  Size  Used by    Not tainted
> ivtv-fb                15168  63
> ivtv                   92736   0  [ivtv-fb]
> tveeprom                6848   0  (unused)
> msp3400                18240   1  (autoclean)
> saa7115                 7900   0  (autoclean) (unused)
> saa7127                 4840   0  (autoclean) (unused)
> tuner                  10976   1  (autoclean)
> i2c-algo-bit            8296   0  (autoclean) [ivtv]
> i2c-core               20068   0  (autoclean) [ivtv tveeprom msp3400 saa7115 saa7127 tuner i2c-algo-bit]
> videodev                8384   7  (autoclean) [ivtv]
> serial                 51428   0  (autoclean)
> parport_pc             17188   1  (autoclean)
> lp                      8196   0  (autoclean)
> parport                33952   1  (autoclean) [parport_pc lp]
> autofs4                10228   2  (autoclean)
> via-rhine              14224   1
> mii                     3736   0  [via-rhine]
> floppy                 55068   0  (autoclean)
> sg                     33836   0  (autoclean) (unused)
> scsi_mod              107496   1  (autoclean) [sg]
> ohci1394               26824   0  (unused)
> ieee1394              199652   0  [ohci1394]
> keybdev                 2464   0  (unused)
> hid                    22724   0  (unused)
> ehci-hcd               18568   0  (unused)
> usb-uhci               24492   0  (unused)
> usbcore                73120   1  [hid ehci-hcd usb-uhci]
> mousedev                5044   1  (autoclean)
> input                   5664   0  (autoclean) [keybdev hid mousedev]
> ext3                   81768   2
> jbd                    47848   2  [ext3]

> [root at otnemem root]# cat /etc/modules.conf
> path[toplevel]=/lib/modules/`uname -r`/updates
> # default path
> path[toplevel]=/lib/modules/`uname -r`
> alias eth0 via-rhine
> alias usb-controller usb-uhci
> alias usb-controller1 ehci-hcd
> alias ieee1394-controller ohci1394
> alias sound-slot-0 via82cxxx_audio
> post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
> pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
> 
> # ivtv modules setup
> alias char-major-81 videodev
> alias char-major-81-0 ivtv
> options ivtv ivtv_debug=1 mpg_buffers=90
> #options ivtv dec_yuv_buffers=20 # <-- Not needed anymore for my 350 w/ivtv 0.1.9
> options saa7127 enable_output=1 output_select=0
> options tuner type=2 # NTSC tuner
> options msp3400 once=1 simple=1
> add below ivtv msp3400 saa7115 saa7127 tuner
> #add above ivtv ivtv-fb
        ^^^^  removed and rebooted so as to rmmod/modprobe as needed.

> [root at otnemem root]# rpm -q kernel ivtv-firmware mythtv
> kernel-2.4.22-1.2115.nptl
> kernel-2.4.22-1.2174.nptl_37.rhfc1.at
> ivtv-firmware-2.02.023-3.at
> mythtv-0.14-58.rhfc1.at
> [root at otnemem root]# uname -a

> Linux otnemem.lake.platypus.bc.ca 2.4.22-1.2174.nptl_37.rhfc1.at #1 Sat Feb 21 12:33:34 EST 2004 i686 i686 i386 GNU/Linux
> [root at otnemem root]#

dmesg|tail:
> ivtv-fb: Framebuffer module loaded (attached to ivtv card id 0)
> ivtv-fb: screen coords: [0 0] -> [720 480]
> ivtv-fb: original global alpha = 208
> ivtv-fb: new global alpha = 208
> ivtv-fb: current OSD state = 35
> ivtv-fb: warning: cannot reserve video memory at 0xdd510000
> ivtv-fb: framebuffer at 0xdd510000, mapped to 0xe09cf000, size 2818k
> ivtv-fb: mode is 720x480x32, linelength=2880
> Console: switching to colour frame buffer device 90x30
> fb0: iTVC15 TV out frame buffer device
> saa7115[3]: decoder disable output
> saa7115[3]: decoder enable output
> ivtv: Timeout waiting for data!
> saa7115[3]: decoder disable output
> saa7115[3]: decoder enable output
> ivtv: Timeout waiting for data!

Hmm.  Can't reserve video memory?  Curious.  Okay, though, the 
test_ioctl seems to hit the card well enough:

> [root at otnemem root]# /usr/bin/test_ioctl -a
> ioctl: IVTV_IOC_G_CODEC
> Codec parameters
> aspect      : 2
> audio       : 0x00e9
> bframes     : 3
> bitrate_mode: 0
> bitrate     : 8000000
> bitrate_peak: 16000000
> dnr_mode    : 0
> dnr_spatial : 0
> dnr_temporal: 0
> dnr_type    : 0
> framerate   : 0
> framespergop: 15
> gop_closure : 0
> pulldown    : 0
> stream_type : 0
> ioctl: VIDIOC_G_FMT
>         Type   : Video Capture
>         Width  : 720
>         Height : 480
> ioctl: VIDIOC_QUERYCAP
>         Driver name   : ivtv
>         Card type     : Vanilla iTVC15 card
>         Bus info      : 0
>         Driver version: 265
>         Capabilities  : 0x01070013
> ioctl: VIDIOC_ENUMINPUT
>         Name    : Composite 0
>         Type    : 0x00000002
>         Audioset: 0x00000001
>         Tuner   : 0x00000000
>         Standard: 0x            3000 ( NTSC )
>         Status  : 0
>         Name    : Composite 1
>         Type    : 0x00000002
>         Audioset: 0x00000001
>         Tuner   : 0x00000000
>         Standard: 0x            3000 ( NTSC )
>         Status  : 0
>         Name    : Composite 2
>         Type    : 0x00000002
>         Audioset: 0x00000001
>         Tuner   : 0x00000000
>         Standard: 0x            3000 ( NTSC )
>         Status  : 0
>         Name    : Composite 3
>         Type    : 0x00000002
>         Audioset: 0x00000001
>         Tuner   : 0x00000000
>         Standard: 0x            3000 ( NTSC )
>         Status  : 0
>         Name    : Tuner 0
>         Type    : 0x00000001
>         Audioset: 0x00000000
>         Tuner   : 0x00000000
>         Standard: 0x            3000 ( NTSC )
>         Status  : 0
>         Name    : Composite 4
>         Type    : 0x00000002
>         Audioset: 0x00000001
>         Tuner   : 0x00000000
>         Standard: 0x            3000 ( NTSC )
>         Status  : 0
>         Name    : S-Video 0
>         Type    : 0x00000002
>         Audioset: 0x00000001
>         Tuner   : 0x00000000
>         Standard: 0x            3000 ( NTSC )
>         Status  : 0
>         Name    : S-Video 1
>         Type    : 0x00000002
>         Audioset: 0x00000001
>         Tuner   : 0x00000000
>         Standard: 0x            3000 ( NTSC )
>         Status  : 0
>         Name    : S-Video 2
>         Type    : 0x00000002
>         Audioset: 0x00000001
>         Tuner   : 0x00000000
>         Standard: 0x            3000 ( NTSC )
>         Status  : 0
>         Name    : S-Video 3
>         Type    : 0x00000002
>         Audioset: 0x00000001
>         Tuner   : 0x00000000
>         Standard: 0x            3000 ( NTSC )
>         Status  : 0
> ioctl: VIDIOC_G_INPUT
> Input = 4
> ioctl: VIDIOC_G_FREQUENCY
> Frequency = 0
> ioctl: VIDIOC_ENUMSTD
>         ID          : 0x            3000
>         Name        : NTSC
>         Frame period: 1001/30000
>         Frame lines : 525
>         ID          : 0x              FF
>         Name        : PAL
>         Frame period: 1/25
>         Frame lines : 625
>         ID          : 0x          7F0000
>         Name        : SECAM
>         Frame period: 1/25
>         Frame lines : 625
> ioctl: VIDIOC_G_STD
> Standard = 0x00003000
> ioctl: VIDIOC_QUERYCTRL
> Brightness = 128
> Contrast = 64
> Saturation = 64
> Hue = 0
> Volume = 59343
> Mute = 0

> [root at otnemem root]# ls -l /dev/video?
> crw-------  1 root root 81, 0 Sep 15  2003 /dev/video0
> crw-------  1 root root 81, 1 Sep 15  2003 /dev/video1
> crw-------  1 root root 81, 2 Sep 15  2003 /dev/video2
> crw-------  1 root root 81, 3 Sep 15  2003 /dev/video3

Hmm, those were chown mythtv, before I rebooted.  This in addition to 
/dev/pts/0 no longer existing (which is why X is now no longer starting).

I'm beginning to think that either Fedora or the hodgepodge of packages 
is maybe unsuitable for even everyday use, not to mention mythtv.  Why 
are we hand-editing /etc/apt/sources.list again?

  - bish
Idly pondering the splatter radius when this thing hits the sidewalk 
outside, far below my apartment window.

-- 




More information about the mythtv-users mailing list