Skip to contentSkip to conversation

Fixes for X and site/x86_64

PATCH Applied [email protected] 2 participants 4 messages Sep 6, 2011 – Sep 8, 2011

lore
Share & tools
lore
#0 lore raw

cover Fixes for X and site/x86_64

From: Zhai Edwin <[email protected]>

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(-)
#1 lore raw

PATCH 1/2 xserver-nodm-init: Change hidraw mode to allow normal user access

From: Zhai Edwin <[email protected]>

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

---
 .../x11-common/xserver-nodm-init/xserver-nodm      |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +4 -0
index 858af0b..c707a4b 100755
@@ -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 
Signature · 1 line
1.7.1
#2 lore raw

PATCH 2/2 site/x86_64: Add entries to fix conf error on x86_64

In reply to [email protected]

From: Zhai Edwin <[email protected]>

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

[YOCTO #1434] got fixed.

---
 meta/site/x86_64-linux |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
meta/site/x86_64-linux +10 -0
index f3a6ea1..3fa8f1e 100644
@@ -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
Signature · 1 line
1.7.1
Applied
#3 lore raw
In reply to [email protected]
Quoted 26 lines · On 09/05/2011 07:36 PM, [email protected] wrote:

From: Zhai Edwin<[email protected]>

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(-)
Quoted 5 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Merged into OE-Core

Thanks
Sau!