Re: What is the best linux distribution for VDR?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Fri, May 22, 2009 at 09:29:04AM +0200, Fabio Bordin wrote:
> Last week arrived to me new hard disk I ordered so I reinstalled  my os.
>
> My goal is to have a updated linux system which let me see vdr throw  
> xineliboutput or xine.
> I have a Skystar 1 and a Hauppauge HVR4000.
>
> I did many tests without any success:
> - Debian Sid 64    (problem with alsa and remote)
> - Archlinux 64      (problem with remote and no image throw xineliboutput)
> - Sidux 32            (problem with remote and no image throw xineliboutput)
>
> I tried vdr version 1.7.0 and 1.7.7 with s2api driver.
>
> I think my main problem is evdev and xorg: evdev let every device under  
> /dev/input/event* input in X: this mean that remote controlled by  
> HVR4000's ir can input directly to X.
> Someone knows how to tell evdev to skip a particular /dev/input/event* ?
> or how to disable evdev?

You have to configure xorg with the option

Option         "AutoAddDevices" "no"

in the ServerLayout section. This will force xorg no to add all evdev automaticly and
you can (you must) configure them manually.

You must then add something like this:

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "evdev"
    Option         "XkbModel" "evdev"
    Option         "XkbLayout" "de"
    Option         "XkbVariant" "nodeadkeys"
    Option         "Device" "/dev/input/by-id/usb-Dell_Dell_USB_Keyboard_Hub-event-kbd"
    Option         "CoreKeyboard"
EndSection

I have attached my xorg.conf as example. This is a multi seat setup with 2 independent video cards,
2 keyboards and 2 mouses.

Regards, Artem
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "AutoAddDevices" "no"
EndSection

Section "ServerLayout"
    Identifier     "Layout1"
    Screen      0  "Screen1" 0 0
    InputDevice    "Keyboard1" "CoreKeyboard"
    InputDevice    "Mouse1" "CorePointer"
    Option         "AutoAddDevices" "no"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/misc:unscaled"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/Speedo"
    FontPath        "/usr/share/fonts/100dpi"
    FontPath        "/usr/share/fonts/75dpi"
EndSection

Section "Module"
    Load           "dbe"
    Load           "dri"
    Load           "extmod"
    Load           "glx"
    Load           "record"
    Load           "bitmap"
EndSection

Section "ServerFlags"
    Option         "AllowMouseOpenFail"
    Option         "BlankTime" "10"
    Option         "StandbyTime" "15"
    Option         "SuspendTime" "20"
    Option         "OffTime" "30"
    Option         "PM" "On"
    Option         "DPMS" "On"
    Option         "Xinerama" "Off"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "evdev"
    Option         "XkbModel" "evdev"
    Option         "XkbLayout" "de"
    Option         "XkbVariant" "nodeadkeys"
    Option         "Device" "/dev/input/by-id/usb-Dell_Dell_USB_Keyboard_Hub-event-kbd"
    Option         "CoreKeyboard"
EndSection

Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "evdev"
    Option         "XkbModel" "evdev"
    Option         "XkbLayout" "de"
    Option         "XkbVariant" "nodeadkeys"
    Option         "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
    Option         "CoreKeyboard"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "evdev"
    Option         "CorePointer"
    Option         "Device" "/dev/input/by-id/usb-Logitech_Optical_USB_Mouse-event-mouse"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Protocol" "Microsoft" 
    Option         "Device" "/dev/ttyS0"
    Option         "Emulate3Buttons" "true" 
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600 GT"
#    Option         "NoDDC"
    Option	   "FlatPanelProperties" "Scaling=Native"
    Option	   "ConnectedMonitor" "DFP-0, DFP-1"
    BusID          "PCI:3:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8300"
    Option         "NoDDC" "true"
    Option	   "IgnoreEDID" "true"
    Option         "UseEdidDpi" "false"
    Option	   "UseEdidFreqs" "false"
    Option	   "FlatPanelProperties" "Scaling=Native"
    Option	   "ConnectedMonitor" "DFP-0"
    Option         "UseDisplayDevice" "DFP-0"
    Option         "CustomEDID" "DFP-0:/etc/X11/LG-edid.bin"
    BusID          "PCI:2:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    DefaultDepth    24
    Option         "DPMS"
    Option         "TwinView" "1"
    Option	   "MetaModes" "1920x1080 1920x1200"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "DPMS"
    Option         "TwinView" "0"
    Option         "MetaModes" "1920x1080"
    SubSection     "Display"
	Modes      "1920x1080" 
        Depth      24
    EndSubSection
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "ViewSonic"
    ModelName      "ViewSonic VX2260WM"
    HorizSync      24.0 - 82.0
    VertRefresh    50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Samsung"
    ModelName      "Samsung SyncMaster"
    HorizSync      30.0 - 81.0
    VertRefresh    56.0 - 75.0
    Option	   "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "LG"
    ModelName      "LG 47LG5000"
    HorizSync      31.0 - 84.0
    VertRefresh    57.0 - 75.0
    DisplaySize    1040 590
    Option         "DPMS"
    Mode           "1920x1080"     # vfreq 59.934Hz, hfreq 66.587kHz
                   DotClock 138.500000
		   HTimings 1920 1968 2000 2080
		   VTimings 1080 1083 1088 1111
		   Flags "-HSync" "+VSync"
    EndMode
    Mode           "1360x768"      # vfreq 59.799Hz, hfreq 47.720kHz
                   DotClock        84.750000
                   HTimings        1360 1432 1568 1776
                   VTimings        768 771 776 798
                   Flags   "+HSync" "-VSync"
    EndMode
EndSection

Section "Extensions"
    Option         "Composite" "disable"
EndSection

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux