[mythtv-users] how to get X and mythfrontend to use 350 TV Out
(almost working)
malcolm-mythtv
mythtv at lds.dyndns.org
Sat Jan 31 19:02:17 EST 2004
I've spent the whole day trying to figure out how to get my 350's TV out
working.
I got to the point where this command works
dd if=/dev/video of=/dev/video16 bs=64k
I get a picture and sound just fine on my TV.
What I haven't been able to figure out is how in the world do I make X and
mythfrontend use the TV out instead of my monitor?
I've attached a copy of my /etc/X11/XF86config-4 file since I think that's
where all the magic happens.
I've also attached the output of
lspci -v
since I think that affects the "busid" line in XF86config-4 (I'm not sure I
can figure it out).
fb1 is also confirmed to be my frame buffer device for the 350 by doing "grep
fb1 /var/log/messages" and finding references to it at boot.
Ohh and I don't see any errors related to this problem in /var/log/messages,
/var/log/dmesg, or /var/log/XFree86.0.log but I'll gladly send those to if
someone needs to see.
I'd really appreciate any pointers or links etc.
BTW are there any official docs on getting the PVR-350 tv out to work?
Oh yeah system specs would probably help
2.4 Celeron / 512 DDR
Mandrake 9.2
kernel.org kernel compiled with v4l2 patch
mythtv 0.13 (I see 0.14 has just been released - woo hoo) (compiled from
source)
ivtv 0.1.9
Thanks guys
Malcolm
-------------- next part --------------
00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge (rev 03)
Subsystem: Giga-byte Technology: Unknown device 2560
Flags: bus master, fast devsel, latency 0
Memory at c0000000 (32-bit, prefetchable) [size=256M]
Capabilities: [e4] #09 [1105]
00:02.0 VGA compatible controller: Intel Corp. 82845G/GL [Brookdale-G] Chipset Integrated Graphics Device (rev 03) (prog-if 00 [VGA])
Subsystem: Giga-byte Technology: Unknown device 2562
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d0000000 (32-bit, prefetchable) [size=128M]
Memory at e0100000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 1
00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 02) (prog-if 00 [UHCI])
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at d800 [size=32]
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 02) (prog-if 00 [UHCI])
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at d000 [size=32]
00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 02) (prog-if 00 [UHCI])
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at d400 [size=32]
00:1d.7 USB Controller: Intel Corp. 82801DB USB2 (rev 02) (prog-if 20 [EHCI])
Subsystem: Giga-byte Technology: Unknown device 5006
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at e0180000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 82) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: e0000000-e00fffff
Prefetchable memory behind bridge: d8000000-dfffffff
00:1f.0 ISA bridge: Intel Corp. 82801DB LPC Interface Controller (rev 02)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corp. 82801DB Ultra ATA Storage Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at f000 [size=16]
Memory at 20000000 (32-bit, non-prefetchable) [size=1K]
00:1f.3 SMBus: Intel Corp. 82801DB/DBM SMBus Controller (rev 02)
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: medium devsel, IRQ 17
I/O ports at 5000 [size=32]
01:00.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc.: Unknown device 4000
Flags: bus master, medium devsel, latency 32, IRQ 18
Memory at d8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2
01:01.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc.: Unknown device 4801
Flags: bus master, medium devsel, latency 32, IRQ 21
Memory at dc000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2
01:02.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06)
Subsystem: Creative Labs CT4832 SBLive! Value
Flags: bus master, medium devsel, latency 32, IRQ 22
I/O ports at c000 [size=32]
Capabilities: [dc] Power Management version 1
01:02.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 06)
Subsystem: Creative Labs Gameport Joystick
Flags: bus master, medium devsel, latency 32
I/O ports at c400 [size=8]
Capabilities: [dc] Power Management version 1
01:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Giga-byte Technology: Unknown device e000
Flags: bus master, medium devsel, latency 32, IRQ 21
I/O ports at c800 [size=256]
Memory at e0000000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
-------------- next part --------------
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
Load "dri" # direct rendering
EndSection
Section "DRI"
Mode 0666
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1280x1024 @ 76 Hz"
HorizSync 31.5-82
VertRefresh 50-90
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "Intel Corporation"
BoardName "Intel 845"
Driver "i810"
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
Screen "screen1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
EndSection
####################################
#Section "Device"
# Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
# Driver "fbdev"
### change fb1 to whatever number you got in the previous section
# Option "fbdev" "/dev/fb1"
### change the busid to whatever is reported by lspci. Note that
### output of lspci is hex, so add a preceding "0x" to the BusID
# BusID "0:0x08:0"
#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 "fbdev"
Option "fbdev" "/dev/fb1" # <-- modify if using another device
BusID "01:00: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
EndSection
#Section "ServerLayout"
# ...
# Identifier "layout2"
# Screen 0 "Screen 1" # << (your computer monitor)
# (add the following line)
# Screen 1 "TV Screen" RightOf "Screen 1" # << (TV screen)
# ...
#EndSection
More information about the mythtv-users
mailing list