domenica, giugno 01, 2008
MythTv - nvidia GeForce TNT2
Ecco la configurazione della scheda nvidia per far funzionare decentemente la mia tv con il mio mediacenter :)
/etc/X11/xorg.conf
Semi definitivo e' pure la configurazione del telecomando (pinnacle)
.lircrc
/etc/X11/xorg.conf
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "OffTime" "0"
Option "SuspendTime" "0"
Option "NoPM" "True"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "Monitor"
Identifier "TV"
HorizSync 30-50
VertRefresh 50
DisplaySize 720 576
EndSection
Section "Monitor"
Identifier "Generic Monitor"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
Option "DPI" "100x100"
Option "UseEvents" "1"
Option "AddARGBVisuals" "1"
Option "AddARGBGLXVisuals" "1"
Option "NoLogo" "1"
Option "ConnectedMonitor" "TV"
Option "TVOutFormat" "COMPOSITE"
Option "TVStandard" "PAL-B"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "TV"
DefaultDepth 24
SubSection "Display"
Depth 24
FbBpp 32
Modes "640x480"
EndSubSection
EndSection
Semi definitivo e' pure la configurazione del telecomando (pinnacle)
.lircrc
# Here we have the jump point commands. They only work if you have
# defined function keys for these jump points. For me the most
# common command is the menu of recordings, so I put that on "videos"
# even though that's counter-intuitive
begin
button = Power
prog = irexec
repeat = 0
config = mythfrontend
end
begin
prog = mythtv
button = F_TV
repeat = 1
config = F5
end
begin
prog = mythtv
button = #
config = Y
end
begin
prog = mythtv
button = vol+
config = +
end
begin
prog = mythtv
button = vol-
config = -
end
begin
prog = mythtv
button = channel+
config = PageUp
end
begin
prog = mythtv
button = channel-
config = PageDown
end
begin
prog = mythtv
button = Asterix
config = V
end
begin
prog = mythtv
button = Videos
repeat = 1
config = F2
end
# Not yet defined
begin
prog = mythtv
button = Music
repeat = 1
config = F6
end
# Given another function for now, I don't use mythgallery
begin
prog = mythtv
button = Pictures
repeat = 1
config = F4
end
begin
prog = mythtv
button = Guide
repeat = 1
config = F3
end
# I stuck the "todo" list on here as Myth has no radio function
begin
prog = mythtv
button = F_RADIO
repeat = 1
config = F7
end
begin
prog = mythtv
button = Chan+Play
repeat = 1
config = Up
end
begin
prog = mythtv
button = Chan+Stop
repeat = 1
config = Down
end
begin
prog = mythtv
button = Vol-Rew
repeat = 1
config = Left
end
begin
prog = mythtv
button = Vol+FF
repeat = 1
config = Right
end
# Channel Up
begin
prog = mythtv
button = channel+
repeat = 1
config = Up
end
# Channel Down
begin
prog = mythtv
button = channel-
repeat = 1
config = Down
end
# OK/Select
begin
prog = mythtv
button = middle
config = Space
end
# Play
begin
prog = mythtv
button = Play
config = Return
end
# Stop
begin
prog = mythtv
button = Stop
config = I
end
# Escape/Exit/Back
begin
prog = mythtv
button = Power
config = Esc
end
# Eject Disc
#begin
#prog = irexec
#button = F_RADIO
##repeat = 2
#config = /usr/bin/eject
#end
# Pause
begin
prog = mythtv
button = Pause
repeat = 1
config = P
end
# Mute
begin
prog = mythtv
button = Mute
repeat = 1
config = |
end
# Fast forward (30 sec default)
begin
prog = mythtv
button = Rewind
repeat = 1
config = <
end
# Rewind (10 sec default)
begin
prog = mythtv
button = Forward
repeat = 1
config = >
end
# Skip forward (10 min default)
begin
prog = mythtv
button = Yellow
repeat = 1
config = End
end
# Skip backward (10 min default)
begin
prog = mythtv
button = Blue
repeat = 1
config = Home
end
# Record
begin
prog = mythtv
button = Record
repeat = 1
config = R
end
# Edit Recording
begin
prog = mythtv
button = Red
repeat = 1
config = E
end
# Load Commercial Skip List
begin
prog = mythtv
button = Green
repeat = 1
config = Z
end
# Previous Commercial Break Marker
begin
prog = mythtv
button = undo
repeat = 1
config = Q
end
# Next Commercial Break Marker
begin
prog = mythtv
button = redo
repeat = 1
config = Z
end
# Display EPG while in live TV,
# View selected show while in EPG
begin
prog = mythtv
button = EPG
repeat = 1
config = M
end
# Scroll up
begin
prog = mythtv
button = Vol+
repeat = 1
config = F11
end
# Scroll down
begin
prog = mythtv
button = Vol-
repeat = 1
config = F10
end
# Bring up OSD info
begin
prog = mythtv
button = Zoom
repeat = 1
config = I
end
# Change display aspect ratio
begin
prog = mythtv
button = Ch-
repeat = 1
config = W
end
# Numbers 0-9
begin
prog = mythtv
button = 0
repeat = 1
config = 0
end
begin
prog = mythtv
button = 1
repeat = 1
config = 1
end
begin
prog = mythtv
button = 2
repeat = 1
config = 2
end
begin
prog = mythtv
button = 3
repeat = 1
config = 3
end
begin
prog = mythtv
button = 4
repeat = 1
config = 4
end
begin
prog = mythtv
button = 5
repeat = 1
config = 5
end
begin
prog = mythtv
button = 6
repeat = 1
config = 6
end
begin
prog = mythtv
button = 7
repeat = 1
config = 7
end
begin
prog = mythtv
button = 8
repeat = 1
config = 8
end
begin
prog = mythtv
button = 9
repeat = 1
config = 9
end
begin
prog = mplayer
button = GO
config = osd
end
begin
prog = mplayer
button = POWER
config = quit
end
begin
prog = mplayer
button = MUTE
config = mute
end
begin
prog = mplayer
button = STOP
config = quit
end
begin
prog = mplayer
button = REWIND
config = seek -60
repeat = 3
end
begin
prog = mplayer
button = FORWARD
config = seek +60
repeat = 3
end
begin
prog = mplayer
button = PLAY
config = play
end
begin
prog = mplayer
button = PREVIOUS
config = seek -10
repeat = 1
end
begin
prog = mplayer
button = NEXT
config = seek +10
repeat = 1
end
begin
prog = mplayer
button = PAUSE
config = pause
end
begin
prog = mplayer
button = ASTERISK
config = volume -3
repeat = 1
end
begin
prog = mplayer
button = NUMBER
config = volume +1
repeat = 1
end
### Xine lirc setup
begin
prog = xine
button = PLAY
repeat = 3
config = Play
end
begin
prog = xine
button = STOP
repeat = 1
config = Quit
end
begin
prog = xine
button = OFF
repeat = 1
config = Quit
end
begin
prog = xine
button = PAUSE
repeat = 1
config = Pause
end
begin
prog = xine
button = EPG
repeat = 1
config = Menu
end
begin
prog = xine
button = FFW
repeat = 3
#config = SpeedFaster
config = SeekRelative+60
end
begin
prog = xine
button = REW
repeat = 1
#config = SpeedSlower
config = SeekRelative-60
end
begin
prog = xine
button = MUTE
repeat = 3
config = Mute
end
begin
prog = xine
button = SKIP
repeat = 3
config = EventNext
end
begin
prog = xine
button = REPLAY
repeat = 3
config = EventPrior
end
begin
prog = xine
button = GO
repeat = 3
config = OSDStreamInfos
end
begin
prog = xine
button = POWER
repeat = 3
config = Quit
end
begin
prog = xine
button = Vol+
repeat = 1
config = Volume+
end
begin
prog = xine
button = Vol-
repeat = 1
config = Volume-
end
begin
prog = xine
button = channel+
config = SeekRelative+60
repeat = 1
end
begin
prog = xine
button = channel-
config = SeekRelative-60
repeat = 1
end
begin
prog = xine
button = Vol+FF
config = SeekRelative+15
repeat = 1
end
begin
prog = xine
button = Vol-Rew
config = SeekRelative-15
repeat = 1
end
# increment playback speed
begin
button = FForward
prog = xine
repeat = 0
config = SpeedFaster
end
# decrement playback speed
begin
button = Rewind
prog = xine
repeat = 0
config = SpeedSlower
end
begin
button = Zoom
prog = xine
repeat = 0
config = ToggleAspectRatio
end
# Red Button
begin
prog = irexec
button = Red
repeat = 4
config = /usr/local/bin/monitorpowerbutton.sh
end
Iscriviti a Post [Atom]