openmoko neo --- Debian install from scratch now works

Rico Rommel rico at bierrommel.de
Thu Aug 18 22:10:33 CEST 2011


Am Donnerstag, 18. August 2011, 21:31:30 schrieb Roland Mas:
>   I'd suggest an extra step (unless Timo has updated the install.sh
> again): take the xorg.conf listed at
> http://kerneltrap.org/mailarchive/openmoko-community/2010/12/29/14355
> and substitute "glamo" with "fbdev" in there, otherwise the X server
> will start eating your CPU as soon as you touch the screen and keep
> chomping on it until you end the X session.

I don't think, that's a problem with glamo. It seems to be a conflict between 
tslib and evdev.

My solution is to use evdev for touchscreen events:

1. remove xserver-xorg-input-tslib

2. my xorg.conf


# Xorg confiugration for an Openmoko FreeRunner

Section "Device"
	Identifier	"Configured Video Device"
	Driver		"glamo"
EndSection

# complementary information on the touch screen as the
# input device is provided by udev


Section "Screen"
    Identifier    "Default Screen"
    Device        "Configured Video Device"
    DefaultDepth    16
    SubSection "Display"
        Depth        16
        Modes      "480x640" "640x480"
        ViewPort 0 0
        Virtual 	640 640
    EndSubSection
EndSection


3. swap axis of touchscreen

/etc/X11/Xsession.d/89ts_calibrate:

xinput set-int-prop "S3C24XX TouchScreen" "Evdev Axis Calibration" 32 107 918 
911 98
xinput set-int-prop "S3C24XX TouchScreen" "Evdev Axes Swap" 8 1


Rico

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.linuxtogo.org/pipermail/smartphones-userland/attachments/20110818/6311c89f/attachment.pgp>


More information about the Smartphones-userland mailing list