Skip to contentSkip to conversation

Confused about xserver-xorg + touchscreen

2011,03 maint Ed Nelson 2 participants 2 messages Dec 10, 2011

lore
Share & tools
lore

Ed Nelson

author
#0 lore raw

I am trying to build a modified minimal-gpe-image to use xserver-xorg and use xinput-calibrator but for some reason it keeps building tslib. Consequently I have to modify xorg.conf so the touchscreen driver uses tslib and not evdev for the touchsceen to work. This is OK but I thought that the new way to do the touchscreen was to use xinput and to calibrate the touchscreen was to use xinput-calibrator. I tried to find a image recipe that used xinput-calbrator but didn't find one.

Is it better to use xserver-xorg + xinput-calibrator or use xserver-xorg + tslib + modify xorg.conf? Am I missing something in the minimal-gpe-image recipe?
Shouldn't I see something for xinput-calibrator inside Xsessions?

Below is my minimal-gpe-image recipe
==================================
#Angstrom minimal gpe image
# This image provides a barebone dm and 'desktop'
# Very angstrom and opkg centric

ANGSTROM_EXTRA_INSTALL += " \
                          "
XSERVER = "xserver-xorg \
           xf86-input-evdev \
           xf86-input-mouse \
           xf86-video-fbdev \
           xf86-input-keyboard"

SPLASH ?= ' ${@base_contains("MACHINE_FEATURES", "screen", "psplash-angstrom", "",d)}'

export IMAGE_BASENAME = "minimal-gpe-image"

PR = "r2"

DEPENDS = "task-boot"

IMAGE_INSTALL = "\
    ${XSERVER} \
    task-boot \
    gpe-dm gpe-session-scripts gpe-login \
    matchbox-wm \
    gpe-terminal \
    angstrom-feed-configs \
    xinput-calibrator \
    nano \
    python \
    ${SPLASH} \
    ${ANGSTROM_EXTRA_INSTALL} \
    "

#zap root password for release images
ROOTFS_POSTPROCESS_COMMAND += '${@base_conditional("DISTRO_TYPE", "release", "zap_root_password; ", "",d)}'

inherit image

=========================================
This is my Xinit.d

root@sbc9261:~# ls /etc/X11/Xinit.d/
01xrandr         40xmodmap        60xXDefaults     99gpe-login
11zaurus         50setdpi         89xTs_Calibrate
12keymap         55xScreenSaver   98keymap-fixup

================================================
This is my Xsessions.d

root@sbc9261:~# ls /etc/X11/Xsession.d/
50autolock        69ipaq-sleep      98standard-apps
60xXDefaults      89xdgautostart    99xWindowManager
root@sbc9261:~#

Thanks
Ed

#1 lore raw
Quoted 8 lines · Ed Nelson

I am trying to build a modified minimal-gpe-image to use xserver-xorg and use xinput-calibrator but for some reason it keeps building tslib. Consequently I have to modify xorg.conf so the touchscreen driver uses tslib and not evdev for the touchsceen to work. This is OK but I thought that the new way to do the touchscreen was to use xinput and to calibrate the touchscreen was to use xinput-calibrator. I tried to find a image recipe that used xinput-calbrator but didn't find one.

Quoted 4 lines

Is it better to use xserver-xorg + xinput-calibrator or use xserver-xorg + tslib + modify xorg.conf?
Am I missing something in the minimal-gpe-image recipe? Shouldn't I see something for xinput-calibrator inside Xsessions?

See SHR overrides in xserver-common

Regards,

Quoted 74 lines

Below is my minimal-gpe-image recipe
==================================
#Angstrom minimal gpe image
# This image provides a barebone dm and 'desktop'
# Very angstrom and opkg centric

ANGSTROM_EXTRA_INSTALL += " \
                           "
XSERVER = "xserver-xorg \
            xf86-input-evdev \
            xf86-input-mouse \
            xf86-video-fbdev \
            xf86-input-keyboard"

SPLASH ?= ' ${@base_contains("MACHINE_FEATURES", "screen", "psplash-angstrom", "",d)}'

export IMAGE_BASENAME = "minimal-gpe-image"

PR = "r2"

DEPENDS = "task-boot"

IMAGE_INSTALL = "\
     ${XSERVER} \
     task-boot \
     gpe-dm gpe-session-scripts gpe-login \
     matchbox-wm \
     gpe-terminal \
     angstrom-feed-configs \
     xinput-calibrator \
     nano \
     python \
     ${SPLASH} \
     ${ANGSTROM_EXTRA_INSTALL} \
     "

#zap root password for release images ROOTFS_POSTPROCESS_COMMAND += '${@base_conditional("DISTRO_TYPE", "release", "zap_root_password; ", "",d)}'

inherit image

=========================================
This is my Xinit.d

root@sbc9261:~# ls /etc/X11/Xinit.d/
01xrandr         40xmodmap        60xXDefaults     99gpe-login
11zaurus         50setdpi         89xTs_Calibrate
12keymap         55xScreenSaver   98keymap-fixup

================================================
This is my Xsessions.d

root@sbc9261:~# ls /etc/X11/Xsession.d/
50autolock        69ipaq-sleep      98standard-apps
60xXDefaults      89xdgautostart    99xWindowManager
root@sbc9261:~#

Thanks
Ed

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]