Сайт | Скачать | Видео | Wiki

Автор Тема: Touchscreen Xvesa ? - РЕШЕНО  (Прочитано 30709 раз)

0 Пользователей и 1 Гость просматривают эту тему.

vik

  • Гость
Re: Touchscreen Xvesa ?
« Ответ #30 : 18 Июнь 2008, 18:38:00 »
Спасибо за правку, а xorg.conf попозже добавлю, когда буду доступ к компу иметь...

vik

  • Гость
Re: Touchscreen Xvesa ?
« Ответ #31 : 19 Июнь 2008, 05:48:40 »
Вот мой xorg.conf (с подклученной клавиатурои, поэтому event2 на touchscreen, при отключеннои - event0)

Код
#Special base config file used in Puppy Linux.

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
###    Load       "glx"

# This loads xtrap extension, used by xrandr
    Load       "xtrap"
   
   
    #Load     "mk712.ko
    #Load      "evdev"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath "/usr/X11R7/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

    FontPath   "/usr/X11R7/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R7/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R7/lib/X11/fonts/TTF/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Enables mode switching with xrandr
# There is a report that this can cause Xorg not to work on some
# video hardware, so default is commented-out...
# but i want to use it in xorgwizard so leave on...

    Option "RandR" "on"

EndSection

#everything past here is auto-generated by Puppy's Xorg Wizard...


Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" #"CorePointer"
# InputDevice    "Keyboard0" "CoreKeyboard"
InputDevice    "touchscreen0" "CorePointer" #"SendCoreEvents" 
EndSection

#Section "InputDevice"
# Identifier  "Keyboard0"
# Driver      "kbd"
# Option      "XkbRules" "xorg"
# Option      "XkbModel" "pc102"
# Option      "XkbLayout" "us" #xkeymap0
#EndSection
Section "InputDevice"
Identifier  "Mouse0"
Driver      "void"  #"mouse"
# Option     "Protocol" "IMPS/2" #mouse0protocol
Option     "Device" "/dev/mouse"
#Option      "Emulate3Buttons"
#Option      "Emulate3Timeout" "50"
# Option      "ZAxisMapping" "4 5" #scrollwheel
EndSection

#Section "InputDevice"
# Identifier  "Mouse0"
# Driver      "void"
## Option     "Protocol" "IMPS/2" #mouse0protocol
# Option     "Device" "/dev/mouse"
## #Option      "Emulate3Buttons"
## #Option      "Emulate3Timeout" "50"
## Option      "ZAxisMapping" "4 5" #scrollwheel
#EndSection

Section "InputDevice"
Identifier "touchscreen0"
Driver "evtouch"
#Driver "mk712_touchscreen"
Option "DeviceName" "touchscreen"
Option "Device" "/dev/input/event2"
Option "SwapX" "false" ## default false
Option "SwapY" "true"
#Option "Rotate" "CW" ## CW or CCW
Option "MinX" "152"
Option "MinY" "224"
Option "MaxX" "4031"
Option "MaxY" "4001"
Option "ReportingMode" "Raw"
Option "SendCoreEvents" "On"
Option "TapTimer" "10" # default 200ms
Option "LongTouchTimer" "50" # default 400ms
Option "Emulate3Buttons" "false" # default true
Option "Emulate3Timeout" "5" # default 50ms
Option "MoveLimit" "30" # default 30 pixels

Option "maybetapped_action" "click" #"click" # default click
Option "maybetapped_button" "1" # default 1 (left)

Option "oneandhalftap_action" "click"
Option "oneandhalftap_button" "3"

#Option "tap_action" "click"
#Option "tap_button" "2"

Option "longtouch_action" "click" # default down
Option "longtouch_button" "3" # default 1 (left)

#Option "DebugLevel" "2"
#Option "Calibrate" "1"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
#HorizSync    31.5
#VertRefresh  60.0
#UseModes     "Modes0" #monitor0usemodes
#HorizSync    31.5
#VertRefresh  40-70
#HorizSync    30-95
#VertRefresh  50-180
ModeLine    "800x600" 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync
#ModeLine    "800x600" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
#ModeLine    "640x480" 25.18  640 656 752 800 480 490 492 525 -hsync -vsync
#ModeLine     "800x600" 56.30 800 832 896 1048 600 601 604 631 +hsync +vsync
#UseModes     "Modes0" #monitor0usemodes
EndSection

Section "Modes"
Identifier "Modes0"
#modes0modeline0
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option     "pci_burst"          # [<bool>]
#Option     "fifo_conservative"  # [<bool>]
#Option     "fifo_moderate"      # [<bool>]
#Option     "fifo_aggressive"    # [<bool>]
#Option     "pci_retry"          # [<bool>]
#Option     "NoAccel"            # [<bool>]
#Option     "set_mclk"            # <freq>
#Option     "show_cache"          # [<bool>]
#Option     "HWCursor"            # [<bool>]
#Option     "SWCursor"            # [<bool>]
#Option     "ShadowFB"            # [<bool>]
#Option     "Rotate"              # [<str>]
#Option     "VideoKey"            # <i>
#Option     "ByteSwap"            # [<bool>]
#Option     "Interlaced"          # [<bool>]
#Option     "UseBIOS"            # [<bool>]
#Option     "ZoomOnLCD"          # [<bool>]
#Option     "Dualhead"            # [<bool>]
#Option     "AccelMethod"        # <str>
Identifier  "Card0"
Driver      "siliconmotion" #card0driver
VendorName  "Silicon Motion, Inc."
BoardName   "SM712 LynxEM+"
BusID       "PCI:0:6:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
    DefaultDepth 16
     Subsection "Display"
        Depth       16
        Modes       "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "800x600" "640x480"
    EndSubsection
EndSection

#PuppyHardwareProfile=Silicon_Motion_SM712

vik

  • Гость
Re: Touchscreen Xvesa ?
« Ответ #32 : 19 Июнь 2008, 06:26:41 »
А вот и обещанные фотки :)





evgeniy210

  • Гость
Re: Touchscreen Xvesa ?
« Ответ #33 : 07 Сентябрь 2008, 15:40:09 »
Добрый день уважаемые форумчане. Есть у меня старый суб-бук Fujitsu-siemens Lifebook p1120/ На нем по умолчанию стояла XP home, но мягко говоря еле ворочается. Загрузился с папи CD - все заработало..почти, только тачскрин не работает. Кто что подскажет на этот счет. С линуксом только что.

Оффлайн Tarmo

  • Почетный участник
  • Старожил
  • *
  • Сообщений: 360
  • Репутация: +46/-0
Re: Touchscreen Xvesa ?
« Ответ #34 : 07 Сентябрь 2008, 16:43:37 »
Для только что - сложновато, попробуйте освоить http://iar.spb.ru/touch-screen?s[]=touchscreen