Помогите настроить touchscreen FinePoint (проблема с драйвером fpit)

Настройка графического интерфейса, Иксов, десктопов, оконных менеджеров и иксовых терминалов

Модератор: Модераторы разделов

rotkart
Сообщения: 2
ОС: Gentoo

Помогите настроить touchscreen FinePoint

Сообщение rotkart »

Доброго дня всем!
Есть у меня старенький Pentium3 Tablet PC, который хочется оживить при помощи Linux. Тачскрин FinePoint в нем заработал через драйвер fpit. Экспериментами подобрал значения для координат X и Y, теперь курсор мыши за пером перемещается, но не работают кнопки на пере - в драйвере под W2K они работали как правая/левая кнопки мыши, здесь - не срабатывают. Как заставить перо работать как мышь в смысле нажатия кнопок?

Система - Ubuntu 6.06.1
# cat xorg.conf
# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbOptions" "grp:ctrl_shift_toggle"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "TOUCHSCREEN"
Driver "fpit"
Option "Device" "/dev/ttyS2"
Option "MaximumXPosition" "8550"
Option "MinimumXPosition" "50"
Option "MaximumYPosition" "6500"
Option "MinimumYPosition" "50"
Option "InvertY"
Option "AlwaysCore" "on"
EndSection

Section "Device"
Identifier "Chips and Technologies F69000 HiQVideo"
Driver "chips"
BusID "PCI:0:8:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-40
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Chips and Technologies F69000 HiQVideo"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "TOUCHSCREEN" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection

# setserial /dev/ttyS2 -a
/dev/ttyS2, Line 2, UART: 16550A, Port: 0x03e8, IRQ: 11
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test
Спасибо сказали:
Аватара пользователя
TWINc
Сообщения: 179
ОС: Arch Linux Current

Re: Помогите настроить touchscreen FinePoint

Сообщение TWINc »

порой бывает, что это

Код: Выделить всё

 Option "MaximumXPosition" "8550"
Option "MinimumXPosition" "50"
Option "MaximumYPosition" "6500"
Option "MinimumYPosition" "50"


надо заменить на это

Код: Выделить всё

Option "MaxX" "8550"
Option "MinX" "50"
Option "MaxН" "6500"
Option "MinY" "50"


а что именно не работает? не можете откалибровать или драйвер не работает?
Registered Linux user number #434194
Спасибо сказали:
rotkart
Сообщения: 2
ОС: Gentoo

Re: Помогите настроить touchscreen FinePoint

Сообщение rotkart »

Signate писал(а):
18.08.2006 10:32
а что именно не работает? не можете откалибровать или драйвер не работает?

Да нет, значения я все подобрал, курсор перемещается. Не работают кнопки пера - в xev смотрю, нет событий нажал/отпустил.
Спасибо сказали: