Hi Elliott-Brennan

On Sun, 10 Oct 2004, Elliott-Brennan wrote:

> Okay guys, here's the whole thing:
> 
> Here's the XF86Config-4 file details:
> (Do you also need the XF86 config file too, or just -4?)
> 
> Below that is something that I'd found in a file online, but I'm not
> sure how useful it is.
> 
> Below that again is the suggestion from Ben.
> 
> ---------------------------------------------
> 
> # 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
> doesn't 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" "en_US"
>     Option "XkbOptions" ""
> EndSection
> 
> Section "InputDevice"
>     Identifier "Mouse1"
>     Driver "mouse"
>     Option "Protocol" "ExplorerPS/2"
>     Option "Device" "/dev/mouse"
>     Option "ZAxisMapping" "6 7"
> EndSection
> 
> Section "Monitor"
>     Identifier "monitor1"
>     VendorName "Plug'n Play"
>     ModelName "Compaq V70 Color Monitor"
>     HorizSync 30-69
>     VertRefresh 50-150
>     
>     # 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 "ATI"
>     BoardName "ATI Mach64 3D Rage IIC"
>     Driver "ati"
>     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"
>     InputDevice "Keyboard1" "CoreKeyboard"
>     InputDevice "Mouse1" "CorePointer"
>     Screen "screen1"
> EndSection
> 
> ----------------------------------------------
> 
> --------------------------------------------
> 
> *Extra bit that I found on line*
> 
> --------------------------------------
> +Section "InputDevice"
> +     Identifier      "stylus"
> +     Driver          "aiptek"
> +     Option          "Device"                "/dev/input/event0"
> +     Option          "Type"                  "stylus"
> +     Option          "Mode"                  "absolute"
> +     Option          "Cursor"                "stylus"
> +     Option          "USB"                   "on"
> +     Option          "KeepShape"             "on"
> +     Option          "debuglevel"            "20"
> +EndSection
> +
> +Section "InputDevice"
> +     Identifier      "cursor"
> +     Driver          "aiptek"
> +     Option          "Device"                "/dev/input/event0"
> +     Option          "Type"                  "cursor"
> +     Option          "Mode"                  "absolute"
> +     Option          "Cursor"                "puck"
> +     Option          "USB"                   "on"
> +     Option          "KeepShape"             "on"
> +     Option          "debuglevel"            "20"
> +EndSection
> +
> +Section "InputDevice"
> +     Identifier      "eraser"
> +     Driver          "aiptek"
> +     Option          "Device"                "/dev/input/event0"
> +     Option          "Type"                  "eraser"
> +     Option          "Mode"                  "absolute"
> +     Option          "Cursor"                "stylus"
> +     Option          "USB"                   "on"
> +     Option          "KeepShape"             "on"
> +     Option          "debuglevel"            "20"
> +EndSection
> 
> ----------------------------------------
> ------------------------------------------------------------------------
> --------------------------
> 
> Section "ServerLayout"
> Identifier "single head configuration"
> Screen 0 "Screen0" 0 0
> InputDevice "Mouse0" "CorePointer"
> InputDevice "Keyboard0" "CoreKeyboard"
> InputDevice "stylus" "AlwaysCore"
> EndSection
> Section "InputDevice"
> Identifier "stylus"
> Driver "aiptek"
> Option "Device" "/dev/input/event0"
> Option "Type" "stylus"
> Option "Mode" "Absolute"
> Option "Cursor" "stylus"
> Option "USB" "on"
> Option "KeepShape" "on"
> Option "AlwaysCore" "on"
> EndSection
> 
> -------------------------------------------------------------------
> 
> Now, if any of that makes sense :)))
> 
> Thanks for the help. The more reading I've done, the more reading I've
> done! LOL 
> 
> Damn, the web is big place!!! :)
> 
> 
> Patrick
> 
> 
> 
Here is an updated XF86Config-4 file with the bits in the correct place.
I do not have any form a tablet so I cannot test it though have been
able to successfully start X with the following errors
.....
(EE) Failed to load module "aiptek" (module does not exist, 0)
.....
You should not see these if you have the drivers installed.

Make a backup of your current working XF86Config-4 file in the
same directory
/etc/X11/

If all goes pear shape all you need to do is copy it back.

Here is the process:
Open a shell.
 - make a backup of your current config
  cp /etc/X11/XF86Config-4 /etx/X11/XF86Config-BAK

 - copy the config file below to
/etc/X11/XF86Config-4

 - start X in your normal way
 - if all starts OK, good.
 - if the screen blanks a few times and a blue screen apears answer no
   to all questions.
 - if the screen is fuzzy, unreadable or just plain bad press
   <atl><ctrl><backspace>
   this will kill the curent X server and send you back to a text screen.
   Here you will be able to login, cp the backup config file back and start
   again, make a copy of the /var/log/XFree86.0.log file before starting X
   again.

 - In all cases post the contents of /var/log/XFree86.0.log.

# 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 doesn't 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" "en_US"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "6 7"
EndSection

#
# The Tablet stuff, here we define what the tablet is
# what drives it and some configuration options.
# Here is where you will fiddle a bit to get the
# settings correct.
#
Section "InputDevice"
     Identifier      "stylus"
     Driver          "aiptek"
     Option          "Device"                "/dev/input/event0"
     Option          "Type"                  "stylus"
     Option          "Mode"                  "absolute"
     Option          "Cursor"                "stylus"
     Option          "USB"                   "on"
     Option          "KeepShape"             "on"
     Option          "debuglevel"            "20"
EndSection

Section "InputDevice"
     Identifier      "cursor"
     Driver          "aiptek"
     Option          "Device"                "/dev/input/event0"
     Option          "Type"                  "cursor"
     Option          "Mode"                  "absolute"
     Option          "Cursor"                "puck"
     Option          "USB"                   "on"
     Option          "KeepShape"             "on"
     Option          "debuglevel"            "20"
EndSection

Section "InputDevice"
     Identifier      "eraser"
     Driver          "aiptek"
     Option          "Device"                "/dev/input/event0"
     Option          "Type"                  "eraser"
     Option          "Mode"                  "absolute"
     Option          "Cursor"                "stylus"
     Option          "USB"                   "on"
     Option          "KeepShape"             "on"
     Option          "debuglevel"            "20"
EndSection
#
# End os Tablet stuff
#

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "Compaq V70 Color Monitor"
    HorizSync 30-69
    VertRefresh 50-150
    # 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 "ATI"
    BoardName "ATI Mach64 3D Rage IIC"
    #Driver "nv"
    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>         Virtual 1024 768
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    
    # Now enable the tablet stuff on the server
    InputDevice "stylus" "AlwaysCore"
    InputDevice "cursor" "AlwaysCore"
    InputDevice "eraser" "AlwaysCore"
    # end tablet stuff
    
    Screen "screen1"
EndSection


-------------------------------------------------
Darren Williama <aswAT elato.unsw.edu.au>
[EMAIL PROTECTED] <www.gelato.unsw.edu.au>
--------------------------------------------------
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to