• [^] # Re: Mains dans le cambuis

    Posté par . En réponse au message Tablette wacom Volito. Évalué à 2.


    # grep -i wacom /var/log/Xorg.0.log
    (II) LoadModule: "wacom"
    (II) Loading /usr/X11R6/lib/modules/input/wacom_drv.so
    (II) Module wacom: vendor="X.Org Foundation"
    (**) WACOM: suppress value is 2
    (**) WACOM: suppress value is 2
    (**) WACOM: suppress value is 2
    (II) XINPUT: Adding extended input device "Stylus1" (type: Wacom Stylus)
    (II) XINPUT: Adding extended input device "Cursor1" (type: Wacom Cursor)
    (II) XINPUT: Adding extended input device "Eraser1" (type: Wacom Eraser)
    (==) Wacom Kernel Input driver version is 1.0.0
    (==) Wacom using pressure threshold of 0 for button 1
    (==) Wacom Unknown USB tablet speed=9600 maxX=0 maxY=0 maxZ=0 resX=2540 resY=2540 suppress=2 tilt=disabled
    (==) Wacom tablet top X=0 top Y=0 bottom X=0 bottom Y=0
    (==) Wacom tablet top X=0 top Y=0 bottom X=0 bottom Y=0
    (==) Wacom tablet top X=0 top Y=0 bottom X=0 bottom Y=0


    mon 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 (server abort)
    #DontZoom # disable <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" "fr"
    Option "XkbOptions" "compose:rwin"
    EndSection

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

    Section "InputDevice"
    Identifier "Eraser1"
    Driver "wacom"
    Option "Device" "/dev/input/event0"
    Option "Type" "eraser"
    Option "Mode" "Absolute"
    Option "USB"
    EndSection

    Section "InputDevice"
    Identifier "Cursor1"
    Driver "wacom"
    Option "Device" "/dev/input/event0"
    Option "Type" "cursor"
    Option "Mode" "Relative"
    Option "USB"
    EndSection

    Section "InputDevice"
    Identifier "Stylus1"
    Driver "wacom"
    Option "Device" "/dev/input/event0"
    Option "Type" "stylus"
    Option "Mode" "Absolute"
    Option "USB"
    EndSection

    Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "HM903DADTA"
    HorizSync 30-133
    VertRefresh 50-200

    # Monitor preferred modeline (85.0 Hz vsync, 91.1 kHz hsync, ratio 5/4)
    ModeLine "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +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 "nVidia"
    BoardName "NVIDIA GeForce FX (generic)"
    Driver "nvidia"
    Option "DPMS"
    EndSection

    Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24

    Subsection "Display"
    Depth 8
    Virtual 1400 1050
    EndSubsection

    Subsection "Display"
    Depth 15
    Virtual 1400 1050
    EndSubsection

    Subsection "Display"
    Depth 16
    Virtual 1400 1050
    EndSubsection

    Subsection "Display"
    Depth 24
    Virtual 1400 1050
    EndSubsection
    EndSection

    Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Eraser1" "AlwaysCore"
    InputDevice "Cursor1" "AlwaysCore"
    InputDevice "Stylus1" "AlwaysCore"
    Screen "screen1"
    EndSection


    j'ai pas trouvé d'exemples avec Xorg. Un piste serait un conflit entre la souris ps2 et la tablette usb comme périphérique de pointage. Néanmoins, sous 2005le, la tablette et la souris géraient simultanément le pointeur. (évidemment c'est plus pratique de pas les utiliser en meme temps pour faire un beau dessin :-)