why keymapping can not refresh?

2009-04-03 Thread marslee_suc
Hi all, my application has two process, I execute xmodmap -e keycode 255 = a in the first process then in another process I use XKeycodeToKeysym(display, 255, 0) to get the keysymbol, but it reutrns 0. why keymapping can not refresh? how can I let the keymapping refresh? Thank you in advance.

Re: [PATCH] Cache xkbcomp output for fast start-up v2

2009-04-03 Thread Li, Yan
On Wed, Apr 01, 2009 at 11:40:02AM +1000, Peter Hutterer wrote: On Mon, Mar 30, 2009 at 08:03:25PM +0800, Li, Yan wrote: snip this should be ${localstatedir}/cache/xkb instead. Yes. note that when you're doing this change, you also need to remove the part that checks for XKM_OUTPUT_DIR to

Re: Using Xorg, XDM seems to be ignoring my keyboard

2009-04-03 Thread Łukasz Maśko
Dnia piątek, 3 kwietnia 2009, Pantherman napisał: I installed GNOME some time ago on my laptop, but liked the enlightened window manger better, so i went back and installed the Ubuntu system with the Alternate CD installing only the Linux base and using Apt-get install to install Xorg, GDM and

[PATCH] XKB: cache xkbcomp output for fast start-up v3 for 1.6.0

2009-04-03 Thread Yan Li
xkbcomp outputs will be cached in files with hashed keymap as names. This saves boot time for around 1s on commodity netbooks. Signed-off-by: Yan Li yan.i...@intel.com --- configure.ac|6 +- xkb/README.compiled |8 ++-- xkb/ddxLoad.c | 141

Re: [PATCH] XKB: cache xkbcomp output for fast start-up v3 for 1.6.0

2009-04-03 Thread Alan Coopersmith
Is there a race condition if two servers start at once (two vt's or multiseat, etc.) and the first server has started writing the .xkm but not finished when the second one finds it and tries to read? (Perhaps it should write to a temporary name and then rename() when writing is complete.)We

Re: General ATI TV-out problem with PAL B/G?

2009-04-03 Thread Andreas Juch
Am Thu, 2 Apr 2009 09:51:32 +0800 schrieb gordony...@viatech.com.cn: Dear Andreas, If you use the command line, the information will be lost if you quit X. If you want to save these changes, you must write them as options in xorg.conf manually. Thanks! Best wishes, Gordon Hi Gordon!

startx results in an error or a black screen

2009-04-03 Thread Justin Mattock
Hello, I'm creating an LFS system for the new imac, and am up to the point of compiling the xserver and all of it's libs/proto's. I decided to use git for all of the required dependencies which all compiled fine. The problem is when I startx I receive an error from(vesavganv) something about sig

uinput devices

2009-04-03 Thread Erik de Castro Lopo
Hi all, I've working on a uinput device (currently in userspace) and trying to get it hooked up to Xorg (on Ubuntu). So far, I have a minimal driver which when run comes up in /proc/bus/input/devices as: I: Bus=0006 Vendor=abcd Product=0001 Version=0001 N: Name=Touchscreen (userspace)