I think you need the patch I posted at the end of last week.
Or else opening and closing /dev/video16 should work

cat small.mpg > /dev/video16
Before starting X where small.mpg is a small mpg file.

John

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:ivtv-devel-
> [EMAIL PROTECTED] On Behalf Of David Morrison
> Sent: 12 January 2005 21:07
> To: [email protected]
> Subject: [ivtv-devel] help getting X started on PVR-350 w/ Fedora Core 3
> 
> -Hi all,
> Sorry for posting one of these (super long) messages
> but I am stuck and am at my wits end.  I have been
> following all of the posts as of late but have been
> unsuccessful at getting X running off of my PVR-350.
> I have the following setup:
> 
> -Fedora core 3 with all of the "testing" updates by
> using apt-get
> -Kernel version 2.6.9-1.724
> -IVTV (compiled locally) version ivtv-0.2.0-rc3d
> patched with the udev fix posted on the ivtv mailing
> list
> -the ivtvdev_drv compiled with the ivtv-0.2.0-rc3d
> software
> 
> Here is the situation.  I can capture and display
> video back to a TV successfully using the dd commands
> and the steps provided in Jarod Wilson's guide but
> when I attempt to run X through the card it does not
> work.
> 
> First, I followed the guide and attempted to load the
> model by hand using "#/sbin/depmod ivtv" command and
> then attempt to restart the X server (ctrl-alt-bkspc)
> over the PVR-350. on the TV, I get a black screen with
> a X in the center (cursor) and half of the screen is
> filled with lines.  At that point the system is frozen
> solid (can't exit the x server) and end up having to
> reboot the machine.
> 
> I then edited the rc.local (adding the depmod ivtv)
> and attempted to reboot the workstation.  During boot
> up, when the workstation "I think" attempts to load
> the ivtv & ivtv-fb modules I see a bunch of ivtv
> messages across the monitor (not the tv) and the
> workstation then freezes.  If I boot off of the fedora
> CD and attempt to look at the logs there are no IVTV
> entries in the /var/log/dmesg.
> 
> Just to throw this in, if I leave the depmod ivtv line
> in the rc.local but boot up with an xorg.conf that
> does n't attempt to use the pvr-350 I am successfully
> able to start X (on the monitor) and can see that the
> frame buffer is loaded (via lsmod) and see the ivtv
> messages in the /var/dmesg log.
> 
> any ideas?
> dave
> 
> ps. below are the relative entries from some of the
> config files:
> 
> modprobe.conf:
> ...
> # ivtv modules setup
> alias char-major-81 videodev
> alias char-major-81-0 ivtv
> install ivtv /sbin/modprobe --ignore-install ivtv;
> /sbin/modprobe ivtv-fb
> 
> rc.local:
> /sbin/modprobe ivtv
> /usr/bin/ivtvfbctl /dev/fb1 -alpha -on -globalalpha
> -nolocalalpha
> 
> xorg.conf:
> Section "Device"
>         Identifier  "Hauppauge PVR 350 iTVC15
> Framebuffer"
>         Driver      "ivtvdev"
>         #Driver      "fbdev"
> 
>         ### change fb0 to whatever your card grabbed
>         #Option      "fbdev" "/dev/fb0"
>         Option      "ivtvdev" "/dev/fb0"
>         ### change the BusID to whatever is reported
> by lspci, specify it as hex.
>         BusID "1:0x06:0"
> EndSection
> 
> dmesg |grep ivtv (using X over a video card):
> ivtv: no version for "struct_module" found: kernel
> tainted.
> ivtv: ==================== START INIT IVTV
> ====================
> ivtv: version 0.2.0 (rc3b) loading
> ivtv: Linux version: 2.6.9-1.724_FC3 686 REGPARM
> 4KSTACKS gcc-3.4
> 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: Unreasonably low latency timer, setting to 64
> (was 32)
> ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
> ivtv: i2c attach [client=tveeprom[0],ok]
> ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio:
> yes, Model 0x00ad2598, 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]
> ivtv: i2c attach [client=MSP3448W-A2,ok]
> ivtv: Encoder revision: 0x02040024
> ivtv: Encoder Firmware is buggy, use version
> 0x02040011
> ivtv: Decoder revision: 0x02020023
> ivtv: Configuring WinTV PVR 350 card with 9 streams
> ivtv: Create DMA stream 0 using 256 16384 byte buffers
>  4194304 kbytes total
> ivtv: Registered v4l2 device, streamtype 0 minor 0
> ivtv: Create DMA stream 1
> ivtv: Registered v4l2 device, streamtype 1 minor 32
> ivtv: Create stream 2 using 40 52224 byte buffers
> 2097152 kbytes total
> ivtv: Registered v4l2 device, streamtype 2 minor 224
> ivtv: Create DMA stream 3 using 455 4608 byte buffers
> 2097152 kbytes total
> ivtv: Registered v4l2 device, streamtype 3 minor 24
> ivtv: Create stream 4
> ivtv: Registered v4l2 device, streamtype 4 minor 64
> ivtv: Create DMA stream 5 using 16 65536 byte buffers
> 1048576 kbytes total
> ivtv: Registered v4l2 device, streamtype 5 minor 16
> ivtv: Create stream 6 using 1024 2048 byte buffers
> 262144 kbytes total
> ivtv: Registered v4l2 device, streamtype 6 minor 228
> ivtv: Create stream 7
> ivtv: Registered v4l2 device, streamtype 7 minor 232
> ivtv: Create DMA stream 8
> ivtv: Registered v4l2 device, streamtype 8 minor 48
> ivtv: Setting Tuner 47
> tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv
> i2c driver #0
> ivtv: Setting audio matrix to input 3, output 1
> ivtv: Switching standard to NTSC.
> ivtv: ivtv_enc_thread: pid = 3104, itv = 0xd04122a0
> ivtv: ivtv_dec_thread: pid = 3105, itv = 0xd04122a0
> ivtv: Initialized WinTV PVR 350, card #0
> ivtv: ====================  END INIT IVTV
> ====================
> ivtv-osd: Framebuffer module loaded (attached to ivtv
> card id 0)
> ivtv-osd: Framebuffer is at decoder-relative address
> 0x00510000 and has 1704960 bytes.
> ivtv-osd: screen coords: [0 0] -> [720 480]
> ivtv-osd: original global alpha = 208
> ivtv-osd: current OSD state = 39
> ivtv-osd: new global alpha = 208 (1 255 0)
> ivtv-osd: framebuffer at 0xd5510000, mapped to
> 0xd1290000, size 1350k
> ivtv-osd: mode is 720x480x32, linelength=2880
> ivtv-osd: fb0: iTVC15 TV out frame buffer device
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ivtv-devel



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to