Вход:  Пароль:  
FreeSource: СтилусвToshibaPortegeM400 ...
Free Source | Каталог | Изменения | НовыеКомментарии | Пользователи | Регистрация |
Это старая версия СтилусвToshibaPortegeM400 за 2009-09-03 19:45:22..

Для базовой работы стилуса достаточно иметь драйвер стилуса – пакет xorg-drv-wacom, добавить символьную ссылку


# ln -s /dev/ttyS0 /dev/input/wacom


и изменить файл xorg.conf, добавив в него секции стилуса:
"
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type “man xorg.conf” at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg


Section "Input Device?"

Identifier “Generic Keyboard”
Driver “kbd”
Option "Xkb Rules?" “xorg”
Option "Xkb Model?" “pc105”
Option "Xkb Layout?" “us”

End Section?


Section "Input Device?"

Identifier “Configured Mouse”
Driver “mouse”
Option "Core Pointer?"

End Section?


Section "Input Device?"

Identifier “Synaptics Touchpad”
Driver “synaptics”
Option "Send Core Events?" “true”
Option “Device” «/dev/psaux”
Option “Protocol” “auto-dev”
Option "Horiz Edge Scroll?" “0”

End Section?


Section "Input Device?"

Driver “wacom”
Identifier “stylus”

Option "Send Core Events?" “true”

Option “Device” «/dev/input/wacom”
Option “Type” “stylus”
Option "Force Device?" “ISDV4” # Tablet PC ONLY

End Section?


Section "Input Device?"

Driver “wacom”
Identifier “eraser”

Option "Send Core Events?" “true”

Option “Device” «/dev/input/wacom”
Option “Type” “eraser”
Option "Force Device?" “ISDV4” # Tablet PC ONLY

End Section?


Section "Input Device?"

Driver “wacom”
Identifier “cursor”

Option "Send Core Events?" “true”

Option “Device” «/dev/input/wacom”
Option “Type” “cursor”
Option "Force Device?" “ISDV4” # Tablet PC ONLY

End Section?


Section “Device”

Identifier “Configured Video Device”

End Section?


Section “Monitor”

Identifier “Configured Monitor”

End Section?


Section “Screen”

Identifier “Default Screen”
Monitor “Configured Monitor”
Device “Configured Video Device”

End Section?


Section "Server Layout?"

Identifier “Default Layout”
Screen “Default Screen”
Input Device? “Synaptics Touchpad”
Input Device? “stylus”
Input Device? “cursor”
Input Device? “eraser”

End Section?
"


 
Файлов нет. [Показать файлы/форму]
Комментариев нет. [Показать комментарии/форму]