A problem about config touchscreen in xorg

Peter Hutterer peter.hutterer at who-t.net
Wed Jul 11 21:05:51 PDT 2012


On Wed, Jul 11, 2012 at 06:53:02PM +0800, David Yu wrote:
> Hi everyone:
>              I have a xubuntu filesystem of arm s3c6410 and I can enter the
> system desktop, but s3cXX touchscreen can't work. The filesystem does not
> have "xorg.conf" and "xorg.conf.d/" in "/etc/X11", then I have created a
> xorg.conf, As follows:
> 
> Section "InputDevice"
>         Identifier  "My touchscreen"
>         Driver      "tslib"
>         Option "CorePointer"
>         Option "Protocol" "Auto"
>         Option "Device" "/dev/input/event0"
>         Option "AllowMouseOpenFail" "true"
> EndSection
> 
> 
> *Here is log infomation from /var/log/Xorg.0.log:
> *
> (II) AIGLX: Screen 0 is not DRI2 capable
> (II) AIGLX: Screen 0 is not DRI capable
> (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
> (II) GLX: Initialized DRISWRAST GL provider for screen 0
> (**) Option "CorePointer"
> (**) My touchscreen: always reports core events
> ts_config failed


 ^^ whatever the tslib driver does, it fails, so the device is never
initialised. I don't know the tslib driver well enough to speculate any
further though.

Cheers,
  Peter

> (EE) PreInit returned NULL for "My touchscreen"
> (EE) config/hal: couldn't initialise context: unknown error (null)
> (II) config/hal: Adding input device samsung-keypad
> (II) LoadModule: "evdev"
> (II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
> (II) Module evdev: vendor="X.Org Foundation"
>         compiled for 1.6.4, module version = 2.2.5
>         Module class: X.Org XInput Driver
>         ABI class: X.Org XInput driver, version 4.0
> (**) samsung-keypad: always reports core events
> (**) samsung-keypad: Device: "/dev/input/event0"
> (II) samsung-keypad: Found keys
> (II) samsung-keypad: Configuring as keyboard
> (II) XINPUT: Adding extended input device "samsung-keypad" (type: KEYBOARD)
> (**) Option "xkb_rules" "evdev"
> (**) Option "xkb_model" "pc105"
> (**) Option "xkb_layout" "us"
> (II) config/hal: Adding input device S3C24XX TouchScreen
> (**) S3C24XX TouchScreen: always reports core events
> ts_config failed
> (EE) PreInit returned NULL for "S3C24XX TouchScreen"
> (EE) config/hal: NewInputDeviceRequest failed (8)
> 
> How shall I do, let s3cXX touchscree to work?
> 
> Thanks for your reply, Each prompt is very important to me!
> 
> David Yu
> Thanks
>  **

> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel



More information about the xorg-devel mailing list