[gentoo-user] Re: Xorg dropping keyboard events

2009-08-18 Thread Moshe Kamensky
* Crístian Viana cristiandei...@gmail.com [17/08/09 00:24]:
 once I had a problem like this, and I solved it by adding the following
 section to xorg.conf:
 
 Section ServerFlags
Option AllowEmptyInputfalse
 EndSection
 
 it happened earlier this year when I upgraded x11-base/xorg-x11.


Thanks, I tried that, but it didn't help...

 
 -- 
 Crístian Deives dos Santos Viana [aka CD1]
 Sent from Campinas, SP, Brazil


pgpq3k4aTKbmy.pgp
Description: PGP signature


Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-17 Thread Keith Dart
=== On Mon, 08/17, Dale wrote: ===
 So, another possible cause dealt with.  Still watching for others
 tho. 

===

Any clues in /var/log/Xorg.0.log ?

-- Keith Dart

-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-17 Thread Dale
Keith Dart wrote:
 === On Mon, 08/17, Dale wrote: ===
   
 So, another possible cause dealt with.  Still watching for others
 tho. 
 

 ===

 Any clues in /var/log/Xorg.0.log ?

 -- Keith Dart

   

It has been a while since I tried it but I don't recall anything in
there.  I need to try this again tho since I know how to use the SysRq
keys now.

Dale

:-)  :-) 



Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Keith Dart
=== On Sat, 08/15, Dale wrote: ===
 Have you tried emerging xorg-server with hal disabled?  That is
 assuming you are using the 1.5 or 1.6 version.

===

FYI, I am using the latest X server with hal enabled and the evdev
input driver and it all works fine.

-- Keith Dart

-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.pycopia.net/
   =



Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Dale
Keith Dart wrote:
 === On Sat, 08/15, Dale wrote: ===
   
 Have you tried emerging xorg-server with hal disabled?  That is
 assuming you are using the 1.5 or 1.6 version.
 

 ===

 FYI, I am using the latest X server with hal enabled and the evdev
 input driver and it all works fine.

 -- Keith Dart

   

Well, I had to disable hal on mine and so have a few others because hal
doesn't work for us.  I for example ended up with a GUI but no mouse or
keyboard.  So, just because something works for you does not mean it
works for everybody else.  Re-emerging xorg-server with hal disabled
works just fine so I and a few others are not using hal.

I don't know if this will help the OP or not but it is worth a try.

Dale

:-)  :-) 



Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Keith Dart
=== On Sun, 08/16, Dale wrote: ===
 Well, I had to disable hal on mine and so have a few others because
 hal doesn't work for us.  I for example ended up with a GUI but no
 mouse or keyboard.  So, just because something works for you does not
 mean it works for everybody else.  Re-emerging xorg-server with hal
 disabled works just fine so I and a few others are not using hal.

Yes, but my point is that, likewise, just because something doesn't
work for you does not mean it won't work for everybody else. ;-)


 I don't know if this will help the OP or not but it is worth a try.

Try it, but it is probably something else. 



-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Keith Dart
=== On Sun, 08/16, Keith Dart wrote: ===
 Try it, but it is probably something else. 
 

===

BTW, another thing to try is to just comment out any input
configuration in (e.g. for mouse or kbd driver) in your xorg.conf file.
With hal/evdev it is now entirely automatic and having those in your
config can confuse things. 

It's actually kind of nice that the X server config is getting smaller
all the time. :-) 

-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



[gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Moshe Kamensky

* Keith Dart ke...@dartworks.biz [16/08/09 19:00]:
 === On Sun, 08/16, Keith Dart wrote: ===
  Try it, but it is probably something else. 
  
 
 ===
 
 BTW, another thing to try is to just comment out any input
 configuration in (e.g. for mouse or kbd driver) in your xorg.conf file.
 With hal/evdev it is now entirely automatic and having those in your
 config can confuse things. 
 
 It's actually kind of nice that the X server config is getting smaller
 all the time. :-) 

Thanks, but I tried that and it didn't help. On the other hand, I this 
time when I started X the problem is gone, so it seems that the problem 
is a bit random.

Thanks,
Moshe



pgp43oNBOgiz1.pgp
Description: PGP signature


Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Keith Dart
=== On Sun, 08/16, Moshe Kamensky wrote: ===
 Thanks, but I tried that and it didn't help. On the other hand, I
 this time when I started X the problem is gone, so it seems that the
 problem is a bit random.
===

Gotta hate those gremlins with dice. ;-)

If it happens again I have some tools that can determine if the problem
is in the X server, or the Linux kernel input/event subsystem. 

-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Dale
Keith Dart wrote:
 === On Sun, 08/16, Keith Dart wrote: ===
   
 Try it, but it is probably something else. 

 

 ===

 BTW, another thing to try is to just comment out any input
 configuration in (e.g. for mouse or kbd driver) in your xorg.conf file.
 With hal/evdev it is now entirely automatic and having those in your
 config can confuse things. 

 It's actually kind of nice that the X server config is getting smaller
 all the time. :-) 

 -- Keith Dart

   

I just renamed xorg.conf to something else and tried it that way.  It
didn't like that either.  I followed the guide on Gentoo.org and even
tried a couple things people mentioned on this list but it still doesn't
work.  As soon as X comes up, no mouse, no keyboard. 

Dale

:-)  :-) 



[gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread ABCD
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dale wrote:
 I just renamed xorg.conf to something else and tried it that way.  It
 didn't like that either.  I followed the guide on Gentoo.org and even
 tried a couple things people mentioned on this list but it still doesn't
 work.  As soon as X comes up, no mouse, no keyboard. 
 

Is CONFIG_INPUT_EVDEV set to y or m in your kernel config? If not,
then xf86-input-evdev will not work, as you won't have the
/dev/input/event{0,1,...} devices it needs.

- --
ABCD
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqI2i4ACgkQOypDUo0oQOoligCfSF52ExRozYdVLJ7pHnO5W83H
RmoAoN5DQBCop5qXNTlG0y+dyWjUSWj9
=3JW5
-END PGP SIGNATURE-




Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Crístian Viana
once I had a problem like this, and I solved it by adding the following
section to xorg.conf:

Section ServerFlags
   Option AllowEmptyInputfalse
EndSection

it happened earlier this year when I upgraded x11-base/xorg-x11.

-- 
Crístian Deives dos Santos Viana [aka CD1]
Sent from Campinas, SP, Brazil


Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Dale
ABCD wrote:
 Dale wrote:
  I just renamed xorg.conf to something else and tried it that way.  It
  didn't like that either.  I followed the guide on Gentoo.org and even
  tried a couple things people mentioned on this list but it still doesn't
  work.  As soon as X comes up, no mouse, no keyboard.


 Is CONFIG_INPUT_EVDEV set to y or m in your kernel config? If not,
 then xf86-input-evdev will not work, as you won't have the
 /dev/input/event{0,1,...} devices it needs.


Mine is set to build in the kernel.

r...@smoker / # cat /usr/src/linux/.config | grep CONFIG_INPUT_EVDEV
CONFIG_INPUT_EVDEV=y
r...@smoker / #


So, another possible cause dealt with.  Still watching for others tho. 

Dale

:-)  :-) 



Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Dale
Crístian Viana wrote:
 once I had a problem like this, and I solved it by adding the
 following section to xorg.conf:

 Section ServerFlags
Option AllowEmptyInputfalse
 EndSection

 it happened earlier this year when I upgraded x11-base/xorg-x11.

 -- 
 Crístian Deives dos Santos Viana [aka CD1]
 Sent from Campinas, SP, Brazil 

Yea, that does the same as disabling hal tho.  Just faster than
recompiling xorg-server with -hal.

I forgot about doing it that way.  I'm getting to old.  :/

Dale

:-)  :-) 



[gentoo-user] Re: Xorg dropping keyboard events

2009-08-15 Thread Moshe Kamensky
* Stroller strol...@stellar.eclipse.co.uk [14/08/09 22:21]:
 
 On 14 Aug 2009, at 21:26, Moshe Kamensky wrote:
 
  There was a thread with this subject a few months ago, which I have
  deleted
 
 LMGTHFY:
 http://www.google.com/search?ie=utf8oe=utf8q=Xorg%20dropping%20keyboard%20events
 

Well, yes, that's where I found it, but there doesn't seem to be any 
solution there.



pgpiNrc4JKBhK.pgp
Description: PGP signature


Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-15 Thread Dale
Moshe Kamensky wrote:
 * Stroller strol...@stellar.eclipse.co.uk [14/08/09 22:21]:
   
 On 14 Aug 2009, at 21:26, Moshe Kamensky wrote:

 
 There was a thread with this subject a few months ago, which I have
 deleted
   
 LMGTHFY:
 http://www.google.com/search?ie=utf8oe=utf8q=Xorg%20dropping%20keyboard%20events

 

 Well, yes, that's where I found it, but there doesn't seem to be any 
 solution there.

   

Have you tried emerging xorg-server with hal disabled?  That is assuming
you are using the 1.5 or 1.6 version.

Dale

:-)  :-) 



[gentoo-user] Re: Xorg dropping keyboard events

2009-08-15 Thread Moshe Kamensky

* Dale rdalek1...@gmail.com [15/08/09 09:30]:
 
 Have you tried emerging xorg-server with hal disabled?  That is assuming
 you are using the 1.5 or 1.6 version.
 

I'll try that, thanks.



pgpLl0FkYmJuE.pgp
Description: PGP signature


[gentoo-user] Re: Xorg dropping keyboard events?

2009-06-30 Thread Grant Edwards
On 2009-06-30, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
 On 29 Jun, Grant Edwards wrote:

 After recent updates Xorg on several of my machines have
 started dropping keyboard events.  Sometimes it's a keydown
 event -- in which case the keystroke is ignored.  Sometimes
 it's a keyup event -- in which case the key repeats
 indefinitely until another key is pressed.

[...]

 Has anybody else seen this problem pop up recently?

 Yes and No,

 I had similar problems but completely deterministic. When the
 keyboard is handled by hal it produces different keycodes then
 before.

 In my case the PgDn key now generates a code which was
 previously generated by the key right to the right Windows
 key. And in my .Xmodmap I had this code defined as Mode_switch
 which made the key dead in my editor. Try using xev to see
 which codes are generated by the keys which cause you
 problems.

AFAICT, my problem happens with equal frequency for all keys.

 Then look at all places where X11 key codes are redefined i.e.
 xmodmap is called.

The problem isn't that a key produces the wrong result.  The
problem is that sometimes a key will be missed and sometimes
a key will stick until another key is pressed.  It only seems
to happen under heavy load (e.g. when compiling programs), and
it's now happening on multiple machines.

-- 
Grant Edwards   grante Yow! Make me look like
  at   LINDA RONSTADT again!!
   visi.com