[Desktop] q/p: linuxwacom

Michael Shigorin =?iso-8859-1?q?mike_=CE=C1_osdn=2Eorg=2Eua?=
Пн Июл 9 18:01:29 MSD 2007


	Здравствуйте.
Я собирал в сизиф linuxwacom, с имеющейся планшеткой он вроде бы
подхватывается, но поскольку там по недоразумению перепутали перо
и где-то ещё месяц заменить не выйдет -- проверить 100% сейчас не
могу.

Если кому интересно -- был бы благодарен за проверку
(закомментированный пример прилагается) и если порядок, 
то добавление в Desktop 4.0 по крайней мере без настраивалки.

-- 
 ---- WBR, Michael Shigorin <mike на altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/
----------- следующая часть -----------
Section "ServerLayout"
    Identifier     "layout1"
    Screen         "screen1" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
##	InputDevice "stylus" "AlwaysCore"
##	InputDevice "eraser" "AlwaysCore"
##	InputDevice "cursor" "AlwaysCore"
#	InputDevice "stylus" "SendCoreEvents"
#	InputDevice "eraser" "SendCoreEvents"
#	InputDevice "cursor" "SendCoreEvents"
EndSection

Section "Files"
    RgbPath         "/usr/share/X11/rgb"
    FontPath        "unix/:-1"
EndSection

Section "Module"
    Load           "dbe"
    Load           "v4l"
    Load           "glx"
    Load           "extmod"
	#Option	"omit xfree86-dga"
    Load           "type1"
    Load           "freetype"
EndSection

Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "kbd"
    Option         "AutoRepeat" "250 30"
    Option         "XkbModel" "pc105"
    #Option "XkbLayout" "rua"
    Option         "XkbLayout" "us,ua,ru"
    Option         "XkbOptions" "grp:caps_toggle,grp_led:scroll,grp:switch"
EndSection

#Section "InputDevice"
#
#    #Option "Device"      "/dev/input/mice"
#    #Option "ButtonNumber" "9"
#    #Option "ZAxisMapping" "6 7 8 9"
#    ## + see /etc/X11/xinit/Xmodmap
##    Option "Emulate3Buttons"
##    Option "Emulate3Timeout"    "50"
## ChordMiddle is an option for some 3-button Logitech mice
##    Option "ChordMiddle"
#    Identifier     "Mouse1"
#    Driver         "mouse"
#    Option         "Protocol" "IMPS/2"
#    Option         "Device" "/dev/psaux"
#    Option         "ZAxisMapping" "4 5"
#    #Option "Protocol"    "ExplorerPS/2"
#EndSection

Section "InputDevice"
	Identifier "Mouse1"
	Driver "mouse"
	Option "CorePointer"
	Option "Device" "/dev/input/mice"
	Option "Protocol" "ExplorerPS/2"
	Option "Buttons" "7"
	Option "Resolution" "1600"
	#Option "Resolution" "800"
	Option "ZAxisMapping" "4 5"
	Option "ButtonMapping" "1 2 3 6 7"
	#Option "Emulate3Buttons" "true"
	Option "Name" "Razer Diamondback Optical Mouse"
EndSection

# Wacom Digitizer II
# also "xinput set-button-map cursor 2 1 4 3"
# http://www.abclinuxu.cz/hardware/vstupni-zarizeni/tablety/wacom-digitizer-ii
#Section "InputDevice"
#		Identifier "stylus"
#		Driver "wacom"
#		Option "Type" "stylus"
#		#Option "Device" "/dev/ttyS1"
#		Option "Device" "/dev/input/event4"
#		Option "USB" "on"
#		Option "DebugLevel" "1"
#		Option "Mode" "absolute"
#		Option "Threshold" "2"
#EndSection
#
#Section "InputDevice"
#		Identifier "eraser"
#		Driver "wacom"
#		Option "Type" "eraser"
#		#Option "Device" "/dev/ttyS1"
#		Option "Device" "/dev/input/event4"
#		Option "USB" "on"
#		Option "Mode" "absolute"
#		Option "Threshold" "2"
#EndSection
#
#Section "InputDevice"
#		Identifier "cursor"
#		Driver "wacom"
#		Option "Type" "cursor"
#		#Option "Device" "/dev/ttyS1"
#		Option "Device" "/dev/input/event4"
#		Option "USB" "on"
#		Option "Mode" "absolute"
#		Option "Threshold" "2"
#EndSection

Section "Monitor"

    #Identifier "Siemens Nixdorf|Siemens Nixdorf MCM1702"
    #VendorName "Siemens Nixdorf"
    #HorizSync  30-82
    #VertRefresh 50-150
    Identifier     "Hitachi SuperScan 814"
    VendorName     "Hitachi"
    ModelName      "Hitachi SuperScan 814"
    HorizSync       31.0 - 125.0
    VertRefresh     50.0 - 160.0
    ModeLine       "1024x480" 65.0 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
    ModeLine       "768x576" 50.0 768 832 846 1000 576 590 595 630
    ModeLine       "768x576" 63.1 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
    Identifier     "Generic VGA"
    Driver         "vga"
EndSection

Section "Device"

#    Driver      "nv"
    Identifier     "NVIDIA GeForce 6600"
    Driver         "nvidia"
    #Driver         "nv"
    VendorName     "Unknown"
    BoardName      "Unknown"
EndSection

Section "Screen"

    #Monitor     "Siemens Nixdorf|Siemens Nixdorf MCM1702"
    Identifier     "screen1"
    Device         "NVIDIA GeForce 6600"
    Monitor        "Hitachi SuperScan 814"
    #DefaultDepth    24
    DefaultDepth    16
    Option         "sw_cursor"
    Option         "DPMS" "on"
    Option         "BlankTime" "10"
    Option         "StandbyTime" "10"
    Option         "SuspendTime" "20"
    Option         "OffTime" "20"
#    Option         "NoBandWidthTest"
    Option         "NvAGP" "1"
    #Option         "AllowGLXWithComposite" "True"
    #Option         "RenderAccel" "True"
    #Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Viewport    0 0
        Depth       8
        Modes      "2048x1536" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes      "1600x1200" "1400x1050" "1280x960" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"

        #Modes       "1152x864" "1024x768" "800x600" "640x480"
        Viewport    0 0
        Depth       24
        Modes      "1600x1200" "1400x1050" "1280x960" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       32
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    #Option         "Composite" "Enable"
EndSection



Подробная информация о списке рассылки Desktop