Jump to content

josk

Members
  • Posts

    66
  • Joined

  • Last visited

Posts posted by josk

  1. Hi,

     

    I just installed new nvidia drivers and now Im confused how to setup tv-out. Do I have to edit xorg.conf somehow???

     

    Here is my xorg.conf

     

    # 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"

        #DontZap # disable <Crtl><Alt><BS> (server abort)

        #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

        AllowMouseOpenFail # allows the server to start up even if the mouse does not work

    EndSection

     

    Section "Module"

        Load "dbe" # Double-Buffering Extension

        Load "v4l" # Video for Linux

        Load "extmod"

        Load "type1"

        Load "freetype"

        Load "glx" # 3D layer

    EndSection

     

    Section "InputDevice"

        Identifier "Keyboard1"

        Driver "keyboard"

        Option "XkbModel" "pc105"

        Option "XkbLayout" "fi"

        Option "XkbOptions" "compose:rwin"

    EndSection

     

    Section "InputDevice"

        Identifier "Mouse1"

        Driver "mouse"

        Option "Protocol" "ExplorerPS/2"

        Option "Device" "/dev/mouse"

        Option "ZAxisMapping" "4 5"

    EndSection

     

    Section "Monitor"

        Identifier "monitor1"

        VendorName "Plug'n Play"

        ModelName "CM766"

        HorizSync 31-96

        VertRefresh 50-180

       

        # 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 "nVidia Corp."

        BoardName "NVIDIA GeForce4 (generic)"

        Driver "nvidia"

        Option "DPMS"

    EndSection

     

    Section "Screen"

        Identifier "screen1"

        Device "device1"

        Monitor "monitor1"

        DefaultColorDepth 24

       

        Subsection "Display"

            Depth 8

            Virtual 1280 1024

        EndSubsection

       

        Subsection "Display"

            Depth 15

            Virtual 1280 1024

        EndSubsection

       

        Subsection "Display"

            Depth 16

            Virtual 1280 1024

        EndSubsection

       

        Subsection "Display"

            Depth 24

            Virtual 1280 1024

        EndSubsection

    EndSection

     

    Section "ServerLayout"

        Identifier "layout1"

        InputDevice "Keyboard1" "CoreKeyboard"

        InputDevice "Mouse1" "CorePointer"

        Screen "screen1"

    EndSection

  2. Ok! I solved it. I just have to make following file:

     

    homedirectory/.kde/Autostart/keycodes

    # BEGIN

    #!/bin/sh

    #This is the file that is going to map my special keys.

    #File location: ~/.kde/Autostart

    #File Name:keycodes

    #This file wil run automatically each time you restart KDE. It assigns a

    #keysym to a given keycode

     

     

    xmodmap -e 'keycode 176=Prior' #Page Up

    xmodmap -e 'keycode 160=BackSpace' #BackSpace

    xmodmap -e 'keycode 174=Next' #Page Down

    xmodmap -e 'keycode 129=m' #m letter

    xmodmap -e 'keycode 164=Up' #Up

    xmodmap -e 'keycode 162=Down' #Down

    xmodmap -e 'keycode 153=Right' #Right

    xmodmap -e 'keycode 144=Left' #Left

    # END

    and give it permission to execute. Now everything works like it should be!

  3. Hi,

     

    I need help to add actions to my multimedia keys. I installed XEV keymapping tool and get following information:

     

    volume+ (keycode 176) (no keysym)

    mute (keycode 160) (no keysym)

    volume- (keycode 174) (no keysym)

    media (keycode 129) (no keysym)

    stop (keycode 164) (no keysym)

    rev (keycode 144) (no keysym)

    forw (keycode 153) (no keysym)

    play/pause (keycode 144) (no keysym)

     

    I dont want add actions like STOP PLAYING.... I just want to add that it works same as putting some alphabetical character like A or B. Thats cause I will teach those keys to work with VDR (video disc recorder) software.

     

    Question is: How I add keysym to the those keys? Keysym should be just normal alphabetical character like A or B.

     

    -josk, FIN

  4. Here is short instructions to VDR @ Mandriva: » Install VDR

     

    The Video Disk Recorder is a Linux program from Klaus Schmidinger. It is used to receive digital TV and radio programs with a Personal Computer. If you wish you can record and play back those recordings at will. Its features include time-shifting and on-disk editing of the recordings.

     

    Like any other hi-fi equipment, VDR can be controlled through remote controls. The user interface is a menu displayed on the television (On Screen Display).

     

    The software is released under the GPL. Everybody can download and use the source code freely. Also there exist many extensions in the form of Plugins and Patches, e.g. a DVD player or a MP3 player.

     

    Two pictures is worth a 2000 words so here is two screenshots from my TV screen.

     

    vdr_info_screen.jpg

    vdr_menu.jpg

  5. :angry: If someone cannot get dvb drivers of kernel to work u shoud know that:

     

    Official 2.6.8 kernel coming with Mandrake 10.1 does not has new enough dvb drivers, but their 2.6.7 multimedia kernel in contrib has newer dvb drivers which are correctly detected by the udev rules.

     

    To get it work with 2.6.8.1-12mdk Kernel you have to run this patch or use 2.6.7 multimediia kernel.

     

    My card: Technotrend DVB-C Premium 2.1 (Hauppauge clone)

     

    -josk

     

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

     

    makedvb.sh <- SAVE AS bottom code

     

    #!/bin/sh

    # Create device nodes for the Linux DVB API with DVB_API_VERSION 2.

    # The devices created are suitable for most current PC DVB cards,

    # i.e. cards having one frontend, one demux and optionally one

    # MPEG decoder.

    # The script creates devices for four cards by default.

     

    if [ -e /dev/.devfsd ]; then

    echo "It seems you are using devfs. Good!"

    exit 0

    fi

     

    # get rid of old DVB API devices; do it twice for good measure...

    rm -rf /dev/ost

    rm -rf /dev/ost

    rm -rf /dev/dvb

    rm -rf /dev/dvb

     

    mkdir /dev/dvb

    chmod 755 /dev/dvb

     

    for i in `seq 0 3`; do

    echo "Creating DVB devices in /dev/dvb/adapter$i"

    mkdir /dev/dvb/adapter$i

    chmod 755 /dev/dvb/adapter$i

     

     

     

    # Changed device major number from 250 to 212

    mknod -m 0660 /dev/dvb/adapter$i/video0 c 212 `expr 64 \* $i + 0`

    mknod -m 0660 /dev/dvb/adapter$i/audio0 c 212 `expr 64 \* $i + 1`

    mknod -m 0660 /dev/dvb/adapter$i/frontend0 c 212 `expr 64 \* $i + 3`

    mknod -m 0660 /dev/dvb/adapter$i/demux0 c 212 `expr 64 \* $i + 4`

    mknod -m 0660 /dev/dvb/adapter$i/dvr0 c 212 `expr 64 \* $i + 5`

    mknod -m 0660 /dev/dvb/adapter$i/ca0 c 212 `expr 64 \* $i + 6`

    mknod -m 0660 /dev/dvb/adapter$i/net0 c 212 `expr 64 \* $i + 7`

    mknod -m 0660 /dev/dvb/adapter$i/osd0 c 212 `expr 64 \* $i + 8`

    chown root:video /dev/dvb/adapter$i/*

    done

  6. I noticed the kernel has already DVB drivers as modules, so

    I guess my TT DVB-C 2.1 should be supported without compiling

    new DVB drivers. Right?

     

    Here is screenshot about my hardware and dvb-card details:

     

    mandrake10_technotrend.jpg

     

    I try to use Xine to watch TV but I get error: There is no input plugin avaible to handle 'dvb://' ...

     

    What I have to do next? How I load modules?

     

    My OS / SYSTEM

    AMD 2100+ / 1Ghz memory

    Mandrake 10 (kernel 2.6.3-7mdk-i686-up-4GB)

    Technotrend 2.1 Premium DVB-C

    DVD-R(W)+-

×
×
  • Create New...