Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Fixes for X and site/x86_64
@ 2011-09-06  2:36 edwin.zhai
  2011-09-06  2:36 ` [PATCH 1/2] xserver-nodm-init: Change hidraw mode to allow normal user access edwin.zhai
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: edwin.zhai @ 2011-09-06  2:36 UTC (permalink / raw)
  To: openembedded-core

From: Zhai Edwin <edwin.zhai@intel.com>

All,
    These are some fixes. One is for enabling some HID device for rootless X,
another is for grub conf error on x86_64. Pls. help to review.

Thanks,
Edwin

The following changes since commit 314131e472a7d728ea96cbd577d2947d7bc9f50e:

  linux-yocto: clean configuration for v3.0.4 (2011-09-05 20:25:46 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib gzhai/master2
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gzhai/master2

Zhai Edwin (2):
  xserver-nodm-init: Change hidraw mode to allow normal user access
  site/x86_64: Add entries to fix conf error on x86_64

 .../x11-common/xserver-nodm-init/xserver-nodm      |    4 ++++
 meta/site/x86_64-linux                             |   10 ++++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)




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

* [PATCH 1/2] xserver-nodm-init: Change hidraw mode to allow normal user access
  2011-09-06  2:36 [PATCH 0/2] Fixes for X and site/x86_64 edwin.zhai
@ 2011-09-06  2:36 ` edwin.zhai
  2011-09-06  2:36 ` [PATCH 2/2] site/x86_64: Add entries to fix conf error on x86_64 edwin.zhai
  2011-09-08  3:44 ` [PATCH 0/2] Fixes for X and site/x86_64 Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: edwin.zhai @ 2011-09-06  2:36 UTC (permalink / raw)
  To: openembedded-core

From: Zhai Edwin <edwin.zhai@intel.com>

USB HID like touch screen could be presented as hidraw* device, this change
make user under rootless X can access them.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
---
 .../x11-common/xserver-nodm-init/xserver-nodm      |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm
index 858af0b..c707a4b 100755
--- a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm
+++ b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm
@@ -34,6 +34,10 @@ case "$1" in
            chmod o+w /var/log
            chmod g+r /dev/tty[0-3]
            chmod o+rw /dev/input/*
+           # hidraw device is probably needed
+           if [ -e /dev/hidraw0 ]; then
+               chmod o+rw /dev/hidraw*
+           fi
        fi
        # Using su rather than sudo as latest 1.8.1 cause failure [YOCTO #1211]
        su -l -c '/etc/X11/Xserver&' $username 
-- 
1.7.1




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

* [PATCH 2/2] site/x86_64: Add entries to fix conf error on x86_64
  2011-09-06  2:36 [PATCH 0/2] Fixes for X and site/x86_64 edwin.zhai
  2011-09-06  2:36 ` [PATCH 1/2] xserver-nodm-init: Change hidraw mode to allow normal user access edwin.zhai
@ 2011-09-06  2:36 ` edwin.zhai
  2011-09-08  3:44 ` [PATCH 0/2] Fixes for X and site/x86_64 Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: edwin.zhai @ 2011-09-06  2:36 UTC (permalink / raw)
  To: openembedded-core

From: Zhai Edwin <edwin.zhai@intel.com>

Add entries for ashldi3, bswapsi2... to fix autoconf error of grub on x86_64

[YOCTO #1434] got fixed.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
---
 meta/site/x86_64-linux |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/meta/site/x86_64-linux b/meta/site/x86_64-linux
index f3a6ea1..3fa8f1e 100644
--- a/meta/site/x86_64-linux
+++ b/meta/site/x86_64-linux
@@ -108,3 +108,13 @@ lftp_cv_va_val_copy=${lftp_cv_va_val_copy=no}
 
 # slrn
 slrn_cv_va_val_copy=${slrn_cv_va_val_copy=no}
+
+# grub
+ac_cv_func___ashldi3=no
+ac_cv_func___ashrdi3=no
+ac_cv_func___bswapdi2=no
+ac_cv_func___bswapsi2=no
+ac_cv_func___lshrdi3=no
+ac_cv_func___trampoline_setup=no
+ac_cv_func___ucmpdi2=no
+ac_cv_func__restgpr_14_x=no
-- 
1.7.1




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

* Re: [PATCH 0/2] Fixes for X and site/x86_64
  2011-09-06  2:36 [PATCH 0/2] Fixes for X and site/x86_64 edwin.zhai
  2011-09-06  2:36 ` [PATCH 1/2] xserver-nodm-init: Change hidraw mode to allow normal user access edwin.zhai
  2011-09-06  2:36 ` [PATCH 2/2] site/x86_64: Add entries to fix conf error on x86_64 edwin.zhai
@ 2011-09-08  3:44 ` Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-09-08  3:44 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 09/05/2011 07:36 PM, edwin.zhai@intel.com wrote:
> From: Zhai Edwin<edwin.zhai@intel.com>
>
> All,
>      These are some fixes. One is for enabling some HID device for rootless X,
> another is for grub conf error on x86_64. Pls. help to review.
>
> Thanks,
> Edwin
>
> The following changes since commit 314131e472a7d728ea96cbd577d2947d7bc9f50e:
>
>    linux-yocto: clean configuration for v3.0.4 (2011-09-05 20:25:46 +0100)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib gzhai/master2
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gzhai/master2
>
> Zhai Edwin (2):
>    xserver-nodm-init: Change hidraw mode to allow normal user access
>    site/x86_64: Add entries to fix conf error on x86_64
>
>   .../x11-common/xserver-nodm-init/xserver-nodm      |    4 ++++
>   meta/site/x86_64-linux                             |   10 ++++++++++
>   2 files changed, 14 insertions(+), 0 deletions(-)
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Merged into OE-Core

Thanks
	Sau!



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

end of thread, other threads:[~2011-09-08  3:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-06  2:36 [PATCH 0/2] Fixes for X and site/x86_64 edwin.zhai
2011-09-06  2:36 ` [PATCH 1/2] xserver-nodm-init: Change hidraw mode to allow normal user access edwin.zhai
2011-09-06  2:36 ` [PATCH 2/2] site/x86_64: Add entries to fix conf error on x86_64 edwin.zhai
2011-09-08  3:44 ` [PATCH 0/2] Fixes for X and site/x86_64 Saul Wold

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