send your xorg.log.

since the latest drivers load the pvr350 option very well, use as few as
you can the options.

try this.

xorg.conf
--------------------------
Section "Monitor"
        Identifier   "PAL Monitor"
       HorizSync  30-68
       VertRefresh 50-120
       Mode "720x576"
         DotClock 42.6
         HTimings 720 760 832 944
         VTimings 576 577 580 602
         Flags    "-HSync" "-VSync"
        Endmode
EndSection

Section "Device"
        Identifier  "Hauppauge PVR350"
        Driver      "ivtvdev"
        Option       "fbdev" "/dev/fb0"
        Option       "ivtv" "/dev/fb0"
        BusID        "PCI:2:10:0" # use your setting over here

EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Hauppauge PVR350"
        Monitor    "PAL Monitor"
        DefaultDepth    24
        DefaultFbbpp    32
        SubSection "Display"
                Depth   24
                FbBpp   32
                Modes   "720x576"
        EndSubSection

EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection

--------------------

modprobe.conf
----------


#------------------------------------#
alias char-major-81 videodev
alias char-major-81-0 ivtv
install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb
options ivtv ivtv_std=2 tda9887=0
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install
lirc_i2c

#------------------------------------#
>
> Hi
>
> I'm trying to set up an hauppage pvr 350 on linux 2.6.12 (debian sid)
> Look at the url to see my result.
> http://users.telenet.be/notorious/pvrprob/screen.png (kde)
>
> I've read many postings & howto's, i also consulted the irc channel.
> I tried 0.3.6o & 0.2.0rc3j, same result.
> Same result with 2.6.11.11
>
> I live in belgium, west europe/pal
> The tv I use is only 3 years old & works perfectly on my ti4200 'tv out.
>
> I think i can call myself a linux novice, but i can't seem to make it
> work. Please check out the link, log & config files included in this
> message. Tell me where i went wrong:)
> Please note that I've tried numerous amounts of config's which are not
> listed here.
>
> If I did not supply sufficient information, feel free to ask more.
>
>
> Thanks in advance
> Notorious
>
> [DMESG]
>
> lirc_dev: IR Remote Control driver registered, at major 61
> ivtv: ==================== START INIT IVTV ====================
> ivtv: version 0.3.6 (o) loading
> ivtv: Linux version: 2.6.12 preempt PENTIUM4 gcc-3.3
> 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
> ACPI: PCI Interrupt 0000:01:0b.0[A] -> GSI 21 (level, low) -> IRQ 21
> ivtv: XXX PCI device: 0x2580 vendor: 0x8086
> tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 7955385
> tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
> tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74,
> v4l2 = 0x00400e17)
> tveeprom: audio_processor = CS5331 (type = 9)
> ivtv: i2c attach [client=tveeprom[50],ok]
> ivtv: Tuner Type 38, Tuner formats 0x00400e17, Radio: yes, Model
> 0x00ad2557, Revision 0x00000001
> ivtv: PAL tuner detected
> ivtv: Radio detected
> tuner: Ignoring new-style parameters in presence of obsolete ones
> 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)
> saa7115: detecting saa7115 client on address 0x42
> saa7115: writing init values
> ivtv: i2c attach [client=saa7115[50],ok]
> saa7115: status: (1E) 0x48, (1F) 0xc0
> saa7127: Ignoring new-style parameters in presence of obsolete ones
> saa7127: video encoder driver version V 0.3 loaded
> saa7127: detecting saa7127 client on address 0x88
> saa7127: Selecting NTSC video Standard
> saa7127: Selecting S-Video+Composite
> saa7127: Turn WSS off
> saa7127: Widescreen Mode 4:3 Full Format
> saa7127: Selecting Normal Encoder Input
> saa7127: Enable Video Output
> ivtv: i2c attach [client=saa7127[50],ok]
> msp34xx: ivtv version
> msp34xx: init: chip=MSP3418W-B3, has NICAM support, simple (D) mode,
> simpler (G) no-thread mode
> msp34xx: $Id$ compiled on: Jun 18 2005 18:57:25
> ivtv: i2c attach [client=MSP3418W-B3,ok]
> ivtv: Encoder revision: 0x02040011
> ivtv: Decoder revision: 0x02020023
> ivtv: Configuring WinTV PVR 350 card with 10 streams
> ivtv: Registered v4l2 device, streamtype 0 minor 0
> ivtv: Create DMA stream 0 using 128 32768 byte buffers  0 kbytes total
> ivtv: Registered v4l2 device, streamtype 1 minor 32
> ivtv: Create DMA stream 1 using 161 12960 byte buffers  0 kbytes total
> ivtv: Registered v4l2 device, streamtype 2 minor 224
> ivtv: Create DMA stream 2 using 165 12635 byte buffers  0 kbytes total
> ivtv: Registered v4l2 device, streamtype 3 minor 24
> ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
> ivtv: Registered v4l2 device, streamtype 4 minor 64
> ivtv: Create stream 4
> ivtv: Registered v4l2 device, streamtype 5 minor 16
> ivtv: Create DMA stream 5 using 16 65536 byte buffers  0 kbytes total
> ivtv: Registered v4l2 device, streamtype 6 minor 228
> ivtv: Create DMA stream 6 using 1024 2048 byte buffers  0 kbytes total
> ivtv: Registered v4l2 device, streamtype 7 minor 232
> ivtv: Create stream 7
> ivtv: Registered v4l2 device, streamtype 8 minor 48
> ivtv: Create DMA stream 8 using 20 51840 byte buffers  0 kbytes total
> ivtv: Create DMA stream 9 using 32 65536 byte buffers  0 kbytes total
> ivtv: Setting Tuner 38
> tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv
> i2c driver #0
> saa7115: decoder set norm PAL
> saa7115: set audio: 0x01
> saa7115: decoder set input (4)
> saa7115: now setting Composite input
> ivtv: Setting audio matrix to input 3, output 1
> ivtv: Switching standard to PAL.
> ivtv: ivtv_enc_thread: pid = 1059, itv = 0xf8a2cd20
> ivtv: ivtv_enc_vbi_thread: pid = 1060, itv = 0xf8a2cd20
> ivtv: ivtv_dec_thread: pid = 1061, itv = 0xf8a2cd20
> ivtv: ivtv_dec_vbi_thread: pid = 1062, itv = 0xf8a2cd20
> saa7115: decoder set norm PAL
> saa7115: set audio: 0x01
> saa7127: Setting Encoder Video Standard
> saa7127: Set PAL Video Mode
> saa7127: Selecting PAL video Standard
> ivtv: Initialized WinTV PVR 350, card #0
> ivtv: ====================  END INIT IVTV  ====================
> lirc_i2c: chip found @ 0x18 (Hauppauge IR)
> ivtv: i2c attach [client=Hauppauge IR,ok]
> lirc_dev: lirc_register_plugin:sample_rate: 10
> 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 576]
> 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 0xdd510000, mapped to 0xf9910000, size 1620k
> ivtv-osd: mode is 720x576x32, linelength=2880
> Console: switching to colour frame buffer device 90x36
> ivtv-osd: fb0: iTVC15 TV out frame buffer device
> ivtv: Allocate DMA stream 9 using 32 65536 byte buffers  2097152 kbytes
> total
>
>
>
> [Ivtvctl -a output]
>
> ioctl IVTV_IOC_G_CODEC ok
> Codec parameters
> aspect      : 2
> audio       : 0x00e9
> bframes     : 3
> bitrate_mode: 0
> bitrate     : 8000000
> bitrate_peak: 9600000
> dnr_mode    : 0
> dnr_spatial : 0
> dnr_temporal: 8
> dnr_type    : 0
> framerate   : 0
> framespergop: 12
> gop_closure : 1
> pulldown    : 0
> stream_type : 14
> ioctl VIDIOC_G_FMT ok
>       Type   : Video Capture
>       Width  : 720
>       Height : 576
> ioctl VIDIOC_QUERYCAP ok
>       Driver name   : ivtv
>       Card type     : WinTV PVR 350
>       Bus info      : 0
>       Driver version: 774
>       Capabilities  : 0x01070033
> ioctl: VIDIOC_ENUMINPUT
>       Input   : 0
>       Name    : Composite 0
>       Type    : 0x00000002
>       Audioset: 0x00000003
>       Tuner   : 0x00000000
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>       Status  : 0
>
>       Input   : 1
>       Name    : Composite 1
>       Type    : 0x00000002
>       Audioset: 0x00000003
>       Tuner   : 0x00000000
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>       Status  : 0
>
>       Input   : 2
>       Name    : Composite 2
>       Type    : 0x00000002
>       Audioset: 0x00000003
>       Tuner   : 0x00000000
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>       Status  : 0
>
>       Input   : 3
>       Name    : Composite 3
>       Type    : 0x00000002
>       Audioset: 0x00000003
>       Tuner   : 0x00000000
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>       Status  : 0
>
>       Input   : 4
>       Name    : Tuner 0
>       Type    : 0x00000001
>       Audioset: 0x00000003
>       Tuner   : 0x00000000
>       Standard: 0x00000000000000FF ( PAL )
>       Status  : 0
>
>       Input   : 5
>       Name    : Composite 4
>       Type    : 0x00000002
>       Audioset: 0x00000003
>       Tuner   : 0x00000000
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>       Status  : 0
>
>       Input   : 6
>       Name    : S-Video 0
>       Type    : 0x00000002
>       Audioset: 0x00000003
>       Tuner   : 0x00000000
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>       Status  : 0
>
>       Input   : 7
>       Name    : S-Video 1
>       Type    : 0x00000002
>       Audioset: 0x00000003
>       Tuner   : 0x00000000
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>       Status  : 0
>
>       Input   : 8
>       Name    : S-Video 2
>       Type    : 0x00000002
>       Audioset: 0x00000003
>       Tuner   : 0x00000000
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>       Status  : 0
>
>       Input   : 9
>       Name    : S-Video 3
>       Type    : 0x00000002
>       Audioset: 0x00000003
>       Tuner   : 0x00000000
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>       Status  : 0
> ioctl VIDIOC_G_INPUT ok
> Video input = 4
> ioctl: VIDIOC_ENUMOUTPUT
>       Output  : 0
>       Name    : S-Video + Composite
>       Type    : 0x00000002
>       Audioset: 0x00000001
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>
>       Output  : 1
>       Name    : Composite
>       Type    : 0x00000002
>       Audioset: 0x00000001
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>
>       Output  : 2
>       Name    : S-Video
>       Type    : 0x00000002
>       Audioset: 0x00000001
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>
>       Output  : 3
>       Name    : RGB
>       Type    : 0x00000002
>       Audioset: 0x00000001
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>
>       Output  : 4
>       Name    : YUV C
>       Type    : 0x00000002
>       Audioset: 0x00000001
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
>
>       Output  : 5
>       Name    : YUV V
>       Type    : 0x00000002
>       Audioset: 0x00000001
>       Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
> ioctl VIDIOC_G_OUTPUT ok
> Output = 0
> ioctl: VIDIOC_ENUMAUDIO
>       Input   : 0
>       Name    : Tuner Audio In
>
>       Input   : 1
>       Name    : Audio Line In
> ioctl VIDIOC_G_AUDIO ok
> Audio input = 0: Tuner Audio In
> ioctl VIDIOC_G_FREQUENCY ok
> Frequency = 0
> ioctl: VIDIOC_ENUMSTD
>       index       : 0
>       ID          : 0x0000000000003000
>       Name        : NTSC
>       Frame period: 1001/30000
>       Frame lines : 525
>
>       index       : 1
>       ID          : 0x00000000000000FF
>       Name        : PAL
>       Frame period: 1/25
>       Frame lines : 625
>
>       index       : 2
>       ID          : 0x00000000007F0000
>       Name        : SECAM
>       Frame period: 1/25
>       Frame lines : 625
> ioctl VIDIOC_G_STD ok
> Video standard = 0x000000ff
> ioctl: VIDIOC_QUERYCTRL
> Brightness = 128
> Contrast = 64
> Saturation = 64
> Hue = 0
> Volume = 58880
> Mute = 0
>
>
>
> [XFree86 Config (parts that matter)]
>
> Section "Module"
>         Load    "GLcore"
>         Load    "bitmap"
>         Load    "dbe"
>         Load    "ddc"
>         Load    "dri"
>         Load    "extmod"
>         Load    "freetype"
>         Load    "glx"
>         Load    "int10"
>         Load    "record"
>         Load    "speedo"
>         Load    "type1"
>         Load    "vbe"
> EndSection
>
> Section "Device"
>         Identifier      "Generic Video Card"
>         Driver          "ivtvdev"
>         Option      "fbdev" "/dev/fb0"
> #       Option "VideoOverlay" "on"
> #       Option "XVideo" "1"
> #       Option      "ivtv" "/dev/fb0"
>
>         BusID "PCI:1:11:0" # lspci says 00:08.0"
> EndSection
>
> Section "Monitor"
>         Identifier      "Generic Monitor"
>         HorizSync       30-50
>         VertRefresh     60
>         Option          "DPMS"
>         Mode "720x576"
>           DotClock 42.6
>           HTimings 720 760 832 944
>           VTimings 576 577 580 602
>           Flags    "-HSync" "-Vsync"
>         EndMode
> EndSection
>
> Section "Screen"
>         Identifier      "Default Screen"
>         Device          "Generic Video Card"
>         Monitor         "Generic Monitor"
>         DefaultDepth    16
>         SubSection "Display"
>                 Depth           24
>         EndSubSection
>         SubSection "Display"
>                 Depth           16
>         EndSubSection
> EndSection
>
>
>
> [Modules Config]
>
> alias char-major-81 videodev
> alias char-major-81-0 ivtv
>
> options ivtv ivtv_debug=1 ivtv_std=2 tda9887=0
> options tuner type=38
> options msp3400 once=1 simple=1
> options saa7127 pal=1
>
> add below ivtv msp3400 saa7115 saa7127 tuner tda9887
>
> [Commands I've tried on startup]
>
> /usr/local/bin/ivtvctl -d /dev/video0 -u 0xff
> /usr/local/bin/ivtvctl -d /dev/video0 -p 4
> /usr/local/bin/ivtvctl -d /dev/video0 -f width=720,height=576
> /usr/local/bin/ivtvctl -d /dev/video0 -c dnr_mode=0
> /usr/local/bin/ivtvctl -d /dev/video0 -c dnr_temporal=0
> /usr/local/bin/ivtvctl -d /dev/video0 -c dnr_spatial=0
>
> /usr/local/bin/ivtvctl -j reg=0x2d,val=0x38 -d /dev/video0
> /usr/local/bin/ivtvctl -j reg=0x61,val=0xb1 -d /dev/video0
> /usr/local/bin/ivtvctl -j reg=0x6c,val=0xfe -d /dev/video0
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> ivtv-devel mailing list
> ivtv-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ivtv-devel
>


-- 
gr.

patrick



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
ivtv-devel mailing list
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to