Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] xserver-kdrive: update to 1.11.1.902
@ 2011-11-30 10:33 Xiaofeng Yan
  2011-11-30 10:33 ` [PATCH 1/2] x11-common: Change drive mode of Xfbdev when xserver using framebuffer Xiaofeng Yan
  2011-11-30 10:33 ` [PATCH 2/2] xserver-kdrive: update to 1.11.1.902 Xiaofeng Yan
  0 siblings, 2 replies; 7+ messages in thread
From: Xiaofeng Yan @ 2011-11-30 10:33 UTC (permalink / raw)
  To: openembedded-core

From: Xiaofeng Yan <xiaofeng.yan@windriver.com>

Some changes during updating this package.

1 Change keyboard drive mode of start X from keyboard to evdev. 
2 Comment some obsolete patches
I didn't remove patches commented by "#". If this new vesion is stable after using or testing.
I will remove them.

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: xiaofeng/update
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/update

Thanks,
    Xiaofeng Yan <xiaofeng.yan@windriver.com>
---


Xiaofeng Yan (2):
  x11-common: Change drive mode of Xfbdev when xserver using
    framebuffer
  xserver-kdrive: update to 1.11.1.902

 .../x11-common/x11-common/etc/X11/Xserver          |    4 ++-
 .../xorg-xserver/xserver-kdrive_1.11.1.902.bb      |   37 ++++++++++++++++++++
 2 files changed, 40 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/2] x11-common: Change drive mode of Xfbdev when xserver using framebuffer
  2011-11-30 10:33 [PATCH 0/2] xserver-kdrive: update to 1.11.1.902 Xiaofeng Yan
@ 2011-11-30 10:33 ` Xiaofeng Yan
  2011-11-30 10:50   ` Koen Kooi
  2011-11-30 10:33 ` [PATCH 2/2] xserver-kdrive: update to 1.11.1.902 Xiaofeng Yan
  1 sibling, 1 reply; 7+ messages in thread
From: Xiaofeng Yan @ 2011-11-30 10:33 UTC (permalink / raw)
  To: openembedded-core

From: Xiaofeng Yan <xiaofeng.yan@windriver.com>

The previous mode of starting X is as follow:
$Xfbdev :0 -keybd keyboard -mouse tslib
This mode cause that some keys can't be mapped rightly. \
for example "Down" have the same function with "Enter".

another drive mode "evdev" can work rightly in new version.
$Xfbdev :0 -keybd evdev,,device=/dev/input/event0 -mouse tslib

So I select drive mode "evdev".

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
 .../x11-common/x11-common/etc/X11/Xserver          |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver b/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver
index 57923e6..736cd6d 100644
--- a/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver
+++ b/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver
@@ -28,11 +28,13 @@ module_id() {
 
 ARGS=" -br -pn"
 
+KD_DRIVE_KEYBOARD="-keybd keyboard"
+KD_DRIVE_EVDEV="-keybd evdev,,device=/dev/input/event0"
 if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
 
         . /etc/formfactor/config
 
-        ARGS="$ARGS -keybd keyboard"
+        ARGS="$ARGS $KD_DRIVE_EVDEV"
 
         # use usb mouse if present
         if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/input/mice ]; then
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] xserver-kdrive: update to 1.11.1.902
  2011-11-30 10:33 [PATCH 0/2] xserver-kdrive: update to 1.11.1.902 Xiaofeng Yan
  2011-11-30 10:33 ` [PATCH 1/2] x11-common: Change drive mode of Xfbdev when xserver using framebuffer Xiaofeng Yan
@ 2011-11-30 10:33 ` Xiaofeng Yan
  2011-11-30 10:44   ` Martin Jansa
  1 sibling, 1 reply; 7+ messages in thread
From: Xiaofeng Yan @ 2011-11-30 10:33 UTC (permalink / raw)
  To: openembedded-core

From: Xiaofeng Yan <xiaofeng.yan@windriver.com>

I didn't remove the old one because it is possible for the new version to \
have some bugs during using or testing.

Patches are commented by "#". Some of them are obsolete.
keyboard-resume-workaround.patch is used in drive mode of keyboard
crosscompile.patch is to avoid to seach "/etc/X11/fontpath.d" of host during configuring of cross-compiling
It is no use in the version.

enable-xcalibrate.patch is to avoid error of compiling tslib. No use in the new version.
nodolt.patch is no use too.

other patches are retained.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
 .../xorg-xserver/xserver-kdrive_1.11.1.902.bb      |   37 ++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb

diff --git a/meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb b/meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb
new file mode 100644
index 0000000..3980057
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb
@@ -0,0 +1,37 @@
+require xserver-kdrive.inc
+
+DEPENDS += "libxkbfile libxcalibrate font-util pixman"
+
+RDEPENDS_${PN} += "xkeyboard-config"
+
+EXTRA_OECONF += "--disable-glx --enable-unit-tests=no --enable-kdrive-evdev=yes"
+
+PE = "1"
+PR = "r0"
+
+LIC_FILES_CHKSUM  = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00"
+
+SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
+          file://extra-kmodes.patch \
+		  file://disable-apm.patch \
+		  file://no-serial-probing.patch \
+		  file://keyboard-resume-workaround.patch \
+		  file://hide-cursor-and-ppm-root.patch \
+		  file://fbdev_xrandr_ioctl.patch \
+		  file://fix-newer-xorg-headers.patch"
+							        
+#file://keyboard-resume-workaround.patch
+#file://enable-xcalibrate.patch
+#file://crosscompile.patch
+#file://nodolt.patch
+#file://kdrive-evdev.patch
+#file://kdrive-use-evdev.patch
+#file://enable-builtin-fonts.patch
+#file://optional-xkb.patch
+
+SRC_URI[md5sum] = "87dd7958ace0509f6e4da2908c2ee4fd"
+SRC_URI[sha256sum] = "06cb2dffb8d0182c539b154e412b25b98c75d0052cfb16762e7af0d6bf23ec7b"
+
+
+
+S = "${WORKDIR}/xorg-server-${PV}"
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] xserver-kdrive: update to 1.11.1.902
  2011-11-30 10:33 ` [PATCH 2/2] xserver-kdrive: update to 1.11.1.902 Xiaofeng Yan
@ 2011-11-30 10:44   ` Martin Jansa
  2011-11-30 11:17     ` Xiaofeng Yan
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2011-11-30 10:44 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 3084 bytes --]

On Wed, Nov 30, 2011 at 06:33:20PM +0800, Xiaofeng Yan wrote:
> From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
> 
> I didn't remove the old one because it is possible for the new version to \
> have some bugs during using or testing.

Just curious why this version exactly?
There is 1.11.2 release already (1.11.1.902 is 1.11.2 RC2) and there is
also RC1 for 1.11.3 or even 1.12 if we want to test RCs.

And Saul IIRC sent xserver-xorg upgrade to 1.11.2 so it would be nice to
use the same.

Cheers,

> 
> Patches are commented by "#". Some of them are obsolete.
> keyboard-resume-workaround.patch is used in drive mode of keyboard
> crosscompile.patch is to avoid to seach "/etc/X11/fontpath.d" of host during configuring of cross-compiling
> It is no use in the version.
> 
> enable-xcalibrate.patch is to avoid error of compiling tslib. No use in the new version.
> nodolt.patch is no use too.
> 
> other patches are retained.
> 
> Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
> ---
>  .../xorg-xserver/xserver-kdrive_1.11.1.902.bb      |   37 ++++++++++++++++++++
>  1 files changed, 37 insertions(+), 0 deletions(-)
>  create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb
> 
> diff --git a/meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb b/meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb
> new file mode 100644
> index 0000000..3980057
> --- /dev/null
> +++ b/meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb
> @@ -0,0 +1,37 @@
> +require xserver-kdrive.inc
> +
> +DEPENDS += "libxkbfile libxcalibrate font-util pixman"
> +
> +RDEPENDS_${PN} += "xkeyboard-config"
> +
> +EXTRA_OECONF += "--disable-glx --enable-unit-tests=no --enable-kdrive-evdev=yes"
> +
> +PE = "1"
> +PR = "r0"
> +
> +LIC_FILES_CHKSUM  = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00"
> +
> +SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
> +          file://extra-kmodes.patch \
> +		  file://disable-apm.patch \
> +		  file://no-serial-probing.patch \
> +		  file://keyboard-resume-workaround.patch \
> +		  file://hide-cursor-and-ppm-root.patch \
> +		  file://fbdev_xrandr_ioctl.patch \
> +		  file://fix-newer-xorg-headers.patch"
> +							        
> +#file://keyboard-resume-workaround.patch
> +#file://enable-xcalibrate.patch
> +#file://crosscompile.patch
> +#file://nodolt.patch
> +#file://kdrive-evdev.patch
> +#file://kdrive-use-evdev.patch
> +#file://enable-builtin-fonts.patch
> +#file://optional-xkb.patch
> +
> +SRC_URI[md5sum] = "87dd7958ace0509f6e4da2908c2ee4fd"
> +SRC_URI[sha256sum] = "06cb2dffb8d0182c539b154e412b25b98c75d0052cfb16762e7af0d6bf23ec7b"
> +
> +
> +
> +S = "${WORKDIR}/xorg-server-${PV}"
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] x11-common: Change drive mode of Xfbdev when xserver using framebuffer
  2011-11-30 10:33 ` [PATCH 1/2] x11-common: Change drive mode of Xfbdev when xserver using framebuffer Xiaofeng Yan
@ 2011-11-30 10:50   ` Koen Kooi
  2011-11-30 11:00     ` Xiaofeng Yan
  0 siblings, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2011-11-30 10:50 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 523 bytes --]


Op 30 nov. 2011, om 11:33 heeft Xiaofeng Yan het volgende geschreven:

> From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
> 
> The previous mode of starting X is as follow:
> $Xfbdev :0 -keybd keyboard -mouse tslib
> This mode cause that some keys can't be mapped rightly. \
> for example "Down" have the same function with "Enter".
> 
> another drive mode "evdev" can work rightly in new version.
> $Xfbdev :0 -keybd evdev,,device=/dev/input/event0 -mouse tslib

How do you know that event0 is the keyboard?

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 169 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] x11-common: Change drive mode of Xfbdev when xserver using framebuffer
  2011-11-30 10:50   ` Koen Kooi
@ 2011-11-30 11:00     ` Xiaofeng Yan
  0 siblings, 0 replies; 7+ messages in thread
From: Xiaofeng Yan @ 2011-11-30 11:00 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

On 2011?11?30? 18:50, Koen Kooi wrote:
> Op 30 nov. 2011, om 11:33 heeft Xiaofeng Yan het volgende geschreven:
>
>> From: Xiaofeng Yan<xiaofeng.yan@windriver.com>
>>
>> The previous mode of starting X is as follow:
>> $Xfbdev :0 -keybd keyboard -mouse tslib
>> This mode cause that some keys can't be mapped rightly. \
>> for example "Down" have the same function with "Enter".
>>
>> another drive mode "evdev" can work rightly in new version.
>> $Xfbdev :0 -keybd evdev,,device=/dev/input/event0 -mouse tslib
> How do you know that event0 is the keyboard?
I get this with qemuarm by test
Do you have better method?
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[-- Attachment #2: Type: text/html, Size: 1888 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] xserver-kdrive: update to 1.11.1.902
  2011-11-30 10:44   ` Martin Jansa
@ 2011-11-30 11:17     ` Xiaofeng Yan
  0 siblings, 0 replies; 7+ messages in thread
From: Xiaofeng Yan @ 2011-11-30 11:17 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3462 bytes --]

On 2011年11月30日 18:44, Martin Jansa wrote:
> On Wed, Nov 30, 2011 at 06:33:20PM +0800, Xiaofeng Yan wrote:
>> From: Xiaofeng Yan<xiaofeng.yan@windriver.com>
>>
>> I didn't remove the old one because it is possible for the new version to \
>> have some bugs during using or testing.
> Just curious why this version exactly?
> There is 1.11.2 release already (1.11.1.902 is 1.11.2 RC2) and there is
> also RC1 for 1.11.3 or even 1.12 if we want to test RCs.
>
> And Saul IIRC sent xserver-xorg upgrade to 1.11.2 so it would be nice to
> use the same.
>
> Cheers,
>

1.11.1.902 is the newest version when I decided to update xserver-kdrive. I will test 1.11.2 later
Thanks


>> Patches are commented by "#". Some of them are obsolete.
>> keyboard-resume-workaround.patch is used in drive mode of keyboard
>> crosscompile.patch is to avoid to seach "/etc/X11/fontpath.d" of host during configuring of cross-compiling
>> It is no use in the version.
>>
>> enable-xcalibrate.patch is to avoid error of compiling tslib. No use in the new version.
>> nodolt.patch is no use too.
>>
>> other patches are retained.
>>
>> Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com>
>> ---
>>   .../xorg-xserver/xserver-kdrive_1.11.1.902.bb      |   37 ++++++++++++++++++++
>>   1 files changed, 37 insertions(+), 0 deletions(-)
>>   create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb
>>
>> diff --git a/meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb b/meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb
>> new file mode 100644
>> index 0000000..3980057
>> --- /dev/null
>> +++ b/meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb
>> @@ -0,0 +1,37 @@
>> +require xserver-kdrive.inc
>> +
>> +DEPENDS += "libxkbfile libxcalibrate font-util pixman"
>> +
>> +RDEPENDS_${PN} += "xkeyboard-config"
>> +
>> +EXTRA_OECONF += "--disable-glx --enable-unit-tests=no --enable-kdrive-evdev=yes"
>> +
>> +PE = "1"
>> +PR = "r0"
>> +
>> +LIC_FILES_CHKSUM  = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00"
>> +
>> +SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
>> +          file://extra-kmodes.patch \
>> +		  file://disable-apm.patch \
>> +		  file://no-serial-probing.patch \
>> +		  file://keyboard-resume-workaround.patch \
>> +		  file://hide-cursor-and-ppm-root.patch \
>> +		  file://fbdev_xrandr_ioctl.patch \
>> +		  file://fix-newer-xorg-headers.patch"
>> +							
>> +#file://keyboard-resume-workaround.patch
>> +#file://enable-xcalibrate.patch
>> +#file://crosscompile.patch
>> +#file://nodolt.patch
>> +#file://kdrive-evdev.patch
>> +#file://kdrive-use-evdev.patch
>> +#file://enable-builtin-fonts.patch
>> +#file://optional-xkb.patch
>> +
>> +SRC_URI[md5sum] = "87dd7958ace0509f6e4da2908c2ee4fd"
>> +SRC_URI[sha256sum] = "06cb2dffb8d0182c539b154e412b25b98c75d0052cfb16762e7af0d6bf23ec7b"
>> +
>> +
>> +
>> +S = "${WORKDIR}/xorg-server-${PV}"
>> -- 
>> 1.7.0.4
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[-- Attachment #2: Type: text/html, Size: 5873 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-30 11:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-30 10:33 [PATCH 0/2] xserver-kdrive: update to 1.11.1.902 Xiaofeng Yan
2011-11-30 10:33 ` [PATCH 1/2] x11-common: Change drive mode of Xfbdev when xserver using framebuffer Xiaofeng Yan
2011-11-30 10:50   ` Koen Kooi
2011-11-30 11:00     ` Xiaofeng Yan
2011-11-30 10:33 ` [PATCH 2/2] xserver-kdrive: update to 1.11.1.902 Xiaofeng Yan
2011-11-30 10:44   ` Martin Jansa
2011-11-30 11:17     ` Xiaofeng Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox