[mythtv-users] PVR-350 & X (not working)
John Harvey
john.p.harvey at btinternet.com
Tue Jan 18 04:51:09 EST 2005
You need to give it the Busid its telling you
0:20:0
Lspci is showing
0:14:0 which is in hex. BusId's in the config file need to be decimal hence
it becomes 0:20:0
Putting a 0x in a BUSid breaks the parser of them.
This is the way XFree & Xorg work the driver is letting X do the Busid
parsing and work.
John
> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-
> bounces at mythtv.org] On Behalf Of Frutillar
> Sent: 18 January 2005 08:16
> To: Discussion about mythtv
> Subject: [mythtv-users] PVR-350 & X (not working)
>
> Well. This has been a long journey and I still cannot get X to display on
> my
> tv-out. What am I missing? I would appreciate someone´s insight. I am
> including a lot of information as this may shed some light with someone
> who
> understands this a little more.
>
> From the log files, it seems it is not taking the PCI BusID I am telling
> it,
> but I am not sure.
>
> Thanks for your help!
>
> I did not have the IVTVDEV driver, but I found an e-mail thread stating
> where
> I could find a copy. I downloaded it from...
>
> http://www.gossamer-threads.com/lists/ivtv/devel/16634
>
> and copied it into /usr/X11R6/lib/modules/drivers/. I also updated my
> xorg.conf file as suggested by Jarod, but I do not get X on my tv-out.
> Here
> is the tail of Xorg.0.log:
>
> ------------------------------
> ...
> LoadModule: "ivtvdev"
> (II) Loading /usr/X11R6/lib/modules/drivers/ivtvdev_drv.o
> (II) Module ivtv: vendor="The XFree86 Project"
> compiled for 4.3.0, module version = 0.8.0
> ABI class: XFree86 Video Driver, version 0.6
> (II) LoadModule: "mouse"
> (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
> (II) Module mouse: vendor="X.Org Foundation"
> compiled for 6.7.0, module version = 1.0.0
> Module class: X.Org XInput Driver
> ABI class: X.Org XInput driver, version 0.4
> (II) v4l driver for Video4Linux
> (II) IVTVDEV: driver for framebuffer: PVR-350
> (II) Primary Device is: PCI 01:00:0
> (WW) ivtvdev: No matching Device section for instance (BusID PCI:0:20:0)
> found
> (EE) No devices detected.
>
> Fatal server error:
> no screens found
> ------------------------------------
>
> I am using
> Mandrake 10.1 (2.6.8.1-12mdk patched for my PVR-350)
> ivtv 0.3.2a
> lirc 0.7.0
> ivtvdev_drv 0.8.0 (downloaded already compiled... see above)
> MythTV 0.16
>
> My xorg.conf is
> ------------------------------------
> ...
> Section "ServerLayout"
> Identifier "layout1"
> InputDevice "Keyboard1" "CoreKeyboard"
> InputDevice "Mouse1" "CorePointer"
> Screen "Screen0"
> 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"
> #Driver "fbdev"
>
> ### change fb0 to whatever your card grabbed
> Option "fbdev" "/dev/fb1"
> #Option "ivtvdev" "/dev/fb1"
>
> ### change the BusID to whatever is reported by lspci, specify it
> as
> hex.
> #BusID "0:0x14:0" # I have tried both of these lines
> BusID "0:0x0e:0" # see lspci below
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> 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 lspci -v is:
> ---------------------------------------
> ...
> 00:14.0 Multimedia video controller: Internext Compression Inc iTVC15
> MPEG-2
> Encoder (rev 01)
> Subsystem: Hauppauge computer works Inc. WinTV PVR-350
> Flags: bus master, medium devsel, latency 64, IRQ 10
> Memory at dc000000 (32-bit, prefetchable) [size=64M]
> Capabilities: [44] Power Management version 2
> ...
> ---------------------------------------
>
> In case it is of use, here´s part of my /var/log/messages:
> ---------------------------------------
> Jan 17 18:30:23 mbox kernel: ivtv: ==================== START INIT IVTV
> ====================
> Jan 17 18:30:23 mbox kernel: ivtv: version 0.3.2 (a) loading
> Jan 17 18:30:23 mbox kernel: ivtv: Linux version: 2.6.8.1-12mdk 686 gcc-
> 3.4
> Jan 17 18:30:23 mbox kernel: ivtv: In case of problems please include the
> debug info
> Jan 17 18:30:23 mbox kernel: ivtv: between the START INIT IVTV and END
> INIT
> IVTV lines when
> Jan 17 18:30:23 mbox kernel: ivtv: mailing the ivtv-devel mailinglist.
> Jan 17 18:30:23 mbox kernel: ivtv: Autodetected WinTV PVR 350 card
> Jan 17 18:30:23 mbox kernel: ivtv: Found an iTVC15 based chip
> Jan 17 18:30:23 mbox kernel: ivtv: Unreasonably low latency timer, setting
> to
> 64 (was 32)
> Jan 17 18:30:23 mbox kernel: ivtv: VIA PCI device: 0x3123 vendor: 0x1106
> Jan 17 18:30:23 mbox kernel: tveeprom: Ignoring new-style parameters in
> presence of obsolete ones
> Jan 17 18:30:23 mbox kernel: tveeprom: Hauppauge: model = 48132, rev =
> K168,
> serial# = 7391078
> Jan 17 18:30:23 mbox kernel: tveeprom: tuner = LG TAPE H001F MK3 (idx =
> 68,
> type = 47)
> Jan 17 18:30:23 mbox kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08,
> v4l2 = 0x00001000)
> Jan 17 18:30:23 mbox kernel: tveeprom: audio_processor = MSP3440 (type =
> 11)
> Jan 17 18:30:23 mbox kernel: ivtv: i2c attach [client=tveeprom[0],ok]
> Jan 17 18:30:23 mbox kernel: ivtv: Tuner Type 47, Tuner formats
> 0x00001000,
> Radio: yes, Model 0x00ad1598, Revision 0x00000001
> Jan 17 18:30:23 mbox kernel: ivtv: NTSC tuner detected
> Jan 17 18:30:23 mbox kernel: ivtv: Radio detected
> Jan 17 18:30:24 mbox kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv
> i2c
> driver #0
> Jan 17 18:30:24 mbox kernel: ivtv: i2c attach [client=(tuner unset),ok]
> Jan 17 18:30:24 mbox kernel: saa7115: Ignoring new-style parameters in
> presence of obsolete ones
> Jan 17 18:30:24 mbox kernel: saa7115: starting probe for adapter ivtv i2c
> driver #0 (0x10005)
> Jan 17 18:30:24 mbox kernel: saa7115: detecting saa7115 client on address
> 0x42
> Jan 17 18:30:24 mbox kernel: saa7115: writing init values
> Jan 17 18:30:24 mbox kernel: ivtv: i2c attach [client=saa7115[0],ok]
> Jan 17 18:30:24 mbox kernel: saa7115: status: (1E) 0x48, (1F) 0xc0
> Jan 17 18:30:24 mbox kernel: saa7127: Ignoring new-style parameters in
> presence of obsolete ones
> Jan 17 18:30:24 mbox kernel: saa7127: video encoder driver version V 0.3
> loaded
> Jan 17 18:30:24 mbox kernel: saa7127: detecting saa7127 client on address
> 0x88
> Jan 17 18:30:24 mbox kernel: saa7127: Selecting NTSC video Standard
> Jan 17 18:30:24 mbox kernel: saa7127: Selecting S-Video+Composite
> Jan 17 18:30:24 mbox kernel: saa7127: Turn WSS off
> Jan 17 18:30:24 mbox kernel: saa7127: Widescreen Mode 4:3 Full Format
> Jan 17 18:30:24 mbox kernel: saa7127: Selecting Normal Encoder Input
> Jan 17 18:30:24 mbox kernel: saa7127: Enable Video Output
> Jan 17 18:30:24 mbox kernel: ivtv: i2c attach [client=saa7127[0],ok]
> Jan 17 18:30:24 mbox kernel: msp3400: Ignoring new-style parameters in
> presence of obsolete ones
> Jan 17 18:30:24 mbox kernel: msp34xx: ivtv version
> Jan 17 18:30:24 mbox kernel: msp34xx: init: chip=MSP3448W-A2, has NICAM
> support, simple (D) mode, simpler (G) no-thread mode
> Jan 17 18:30:24 mbox kernel: msp34xx: $Id$ compiled on: Jan 9 2005
> 16:13:56
> Jan 17 18:30:24 mbox kernel: ivtv: i2c attach [client=MSP3448W-A2,ok]
> Jan 17 18:30:25 mbox kernel: ivtv: Encoder revision: 0x02040011
> Jan 17 18:30:25 mbox kernel: ivtv: Decoder revision: 0x02020023
> Jan 17 18:30:25 mbox kernel: ivtv: Configuring WinTV PVR 350 card with 10
> streams
> Jan 17 18:30:25 mbox kernel: ivtv: Create DMA stream 0 using 256 16384
> byte
> buffers 4194304 kbytes total
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 0
> minor
> 0
> Jan 17 18:30:25 mbox kernel: ivtv: Create DMA stream 1
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 1
> minor
> 32
> Jan 17 18:30:25 mbox kernel: ivtv: Create stream 2 using 40 52224 byte
> buffers
> 2097152 kbytes total
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 2
> minor
> 224
> Jan 17 18:30:25 mbox kernel: ivtv: Create DMA stream 3 using 455 4608 byte
> buffers 2097152 kbytes total
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 3
> minor
> 24
> Jan 17 18:30:25 mbox kernel: ivtv: Create stream 4
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 4
> minor
> 64
> Jan 17 18:30:25 mbox kernel: ivtv: Create DMA stream 5 using 16 65536 byte
> buffers 1048576 kbytes total
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 5
> minor
> 16
> Jan 17 18:30:25 mbox kernel: ivtv: Create stream 6 using 1024 2048 byte
> buffers 262144 kbytes total
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 6
> minor
> 228
> Jan 17 18:30:25 mbox kernel: ivtv: Create stream 7
> Jan 17 18:30:26 mbox kernel: ivtv: Registered v4l2 device, streamtype 7
> minor
> 232
> Jan 17 18:30:26 mbox kernel: ivtv: Create DMA stream 8 using 6 103680 byte
> buffers 622080 kbytes total
> Jan 17 18:30:26 mbox kernel: ivtv: Registered v4l2 device, streamtype 8
> minor
> 48
> Jan 17 18:30:26 mbox kernel: ivtv: Create DMA stream 9 using 32 65536 byte
> buffers 2097152 kbytes total
> Jan 17 18:30:26 mbox kernel: ivtv: Setting Tuner 47
> Jan 17 18:30:26 mbox kernel: tuner: type set to 47 (LG NTSC (TAPE series))
> by
> ivtv i2c driver #0
> Jan 17 18:30:26 mbox kernel: saa7115: decoder set input (4)
> Jan 17 18:30:26 mbox kernel: saa7115: now setting Composite input
> Jan 17 18:30:26 mbox kernel: ivtv: Setting audio matrix to input 3, output
> 1
> Jan 17 18:30:26 mbox kernel: ivtv: Switching standard to NTSC.
> Jan 17 18:30:26 mbox kernel: ivtv: ivtv_enc_thread: pid = 4987, itv =
> 0xdeed0480
> Jan 17 18:30:26 mbox kernel: ivtv: ivtv_dec_thread: pid = 4988, itv =
> 0xdeed0480
> Jan 17 18:30:26 mbox kernel: saa7115: decoder set norm NTSC
> Jan 17 18:30:26 mbox kernel: saa7115: set audio: 0x01
> Jan 17 18:30:26 mbox kernel: saa7127: Setting Encoder Video Standard
> Jan 17 18:30:26 mbox kernel: saa7127: Set NTSC Video Mode
> Jan 17 18:30:26 mbox kernel: saa7127: Selecting NTSC video Standard
> Jan 17 18:30:26 mbox kernel: spurious 8259A interrupt: IRQ7.
> Jan 17 18:30:26 mbox kernel: ivtv: Initialized WinTV PVR 350, card #0
> Jan 17 18:30:26 mbox kernel: ivtv: ==================== END INIT IVTV
> ====================
> ...
> Jan 17 19:53:00 mbox kernel: saa7127: video encoder driver unloaded
> Jan 17 19:53:26 mbox kernel: saa7127: Ignoring new-style parameters in
> presence of obsolete ones
> Jan 17 19:53:26 mbox kernel: saa7127: video encoder driver version V 0.3
> loaded
> Jan 17 19:53:26 mbox kernel: saa7127: detecting saa7127 client on address
> 0x88
> Jan 17 19:53:26 mbox kernel: saa7127: Selecting NTSC video Standard
> Jan 17 19:53:26 mbox kernel: saa7127: Selecting S-Video+Composite
> Jan 17 19:53:26 mbox kernel: saa7127: Turn WSS off
> Jan 17 19:53:26 mbox kernel: saa7127: Widescreen Mode 4:3 Full Format
> Jan 17 19:53:26 mbox kernel: saa7127: Selecting Normal Encoder Input
> Jan 17 19:53:26 mbox kernel: saa7127: Enable Video Output
> Jan 17 19:53:26 mbox kernel: ivtv: i2c attach [client=saa7127[0],ok]
> ---------------------------------------
> _______________________________________________
> 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