[oe] [2011,03 maint] Confused about xserver-xorg + touchscreen

Martin Jansa martin.jansa at gmail.com
Sat Dec 10 22:57:05 UTC 2011


On Sat, Dec 10, 2011 at 10:48:03AM -0800, Ed Nelson wrote:
> 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?

See SHR overrides in xserver-common

Regards,

> 
> 
> 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 at 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 at sbc9261:~# ls /etc/X11/Xsession.d/
> 50autolock        69ipaq-sleep      98standard-apps
> 60xXDefaults      89xdgautostart    99xWindowManager
> root at sbc9261:~#
> 
> Thanks
> Ed
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20111210/aa913649/attachment-0002.sig>


More information about the Openembedded-devel mailing list