[oe] [PATCH 3/4] xserver-xorg-conf: add iphone3g support

Chris Spehn chris.spehn at gmail.com
Thu Dec 9 19:05:19 UTC 2010


I think Jama mentioned this to me on irc in #openmoko-cdevel, but I
simply forgot about it. I can make a pointercal file instead of using
the xorg.conf option.

On Thu, Dec 9, 2010 at 8:35 AM, Stefan Schmidt
<stefan at datenfreihafen.org> wrote:
> Hello.
>
> On Tue, 2010-12-07 at 15:32, Denis 'GNUtoo' Carikli wrote:
>> Signed-off-by: Chris 'Lopi' Spehn <chris.spehn at gmail.com>
>> Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
>> ---
>>  .../xserver-xorg-conf/iphone3g/xorg.conf           |   31 ++++++++++++++++++++
>>  recipes/xorg-xserver/xserver-xorg-conf_0.1.bb      |    2 +-
>>  2 files changed, 32 insertions(+), 1 deletions(-)
>>  create mode 100644 recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf
>>
>> diff --git a/recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf
>> new file mode 100644
>> index 0000000..19f02e9
>> --- /dev/null
>> +++ b/recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf
>> @@ -0,0 +1,31 @@
>> +Section "Device"
>> +     Identifier "Builtin Default fbdev Device 0"
>> +     Driver  "fbdev"
>> +     Option "ShadowFB" "on"
>> +     #Option "Rotate" "CW" # comment for disabling rotation
>> +EndSection
>> +
>> +Section "Screen"
>> +     Identifier "Builtin Default fbdev Screen 0"
>> +     Device "Builtin Default fbdev Device 0"
>> +EndSection
>> +
>> +
>> +Section "InputDevice"
>> +     Identifier "touchscreen"
>> +     Driver "evdev"
>> +     Option "Device" "/dev/input/event2"
>
> Are you sure that it always is event2? The nodes are assigned dynamically
> normally and we have /dev/touchscreen to work around this
>
>> +     Option "Calibration" "0 4602 0 7306"
>
> Why here? We happen to use the pointercal file for this.
>
> regards
> Stefan Schmidt
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list