linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* evdev regression on macbook with 2.6.33-rc5
@ 2010-01-23 18:53 Guillaume Chazarain
  2010-01-24  9:30 ` Dmitry Torokhov
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Chazarain @ 2010-01-23 18:53 UTC (permalink / raw)
  To: ajax, dtor, LKML, linux-input

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

Hi,

Since 2.6.33-rc5, the keyboard on my MacBookPro 3,1 stopped working
when using X.
It works fine in console mode, but in X, pressing keys does not have
any effect until I hit the touchpad or an USB mouse and then all the
keystrokes are delivered.
I'm using the nvidia proprietary drivers on Ubuntu 9.10 x86_64
(config.gz and dmesg.gz attached).

A git bisection found this commit as the culprit and reverting it
indeed fixes the problem:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=30a589fde0162aa4dac7c69803aeee8fbe8d1b82

commit 30a589fde0162aa4dac7c69803aeee8fbe8d1b82
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Jan 5 17:56:04 2010 -0800

    Input: evdev - be less aggressive about sending SIGIO notifies

Thanks.

-- 
Guillaume

[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 15306 bytes --]

[-- Attachment #3: dmesg.gz --]
[-- Type: application/x-gzip, Size: 11094 bytes --]

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

* Re: evdev regression on macbook with 2.6.33-rc5
  2010-01-23 18:53 evdev regression on macbook with 2.6.33-rc5 Guillaume Chazarain
@ 2010-01-24  9:30 ` Dmitry Torokhov
  2010-01-25 22:49   ` Guillaume Chazarain
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Torokhov @ 2010-01-24  9:30 UTC (permalink / raw)
  To: Guillaume Chazarain; +Cc: ajax, LKML, linux-input

Hi Guillaume,

On Sat, Jan 23, 2010 at 07:53:58PM +0100, Guillaume Chazarain wrote:
> Hi,
> 
> Since 2.6.33-rc5, the keyboard on my MacBookPro 3,1 stopped working
> when using X.
> It works fine in console mode, but in X, pressing keys does not have
> any effect until I hit the touchpad or an USB mouse and then all the
> keystrokes are delivered.
> I'm using the nvidia proprietary drivers on Ubuntu 9.10 x86_64
> (config.gz and dmesg.gz attached).
> 
> A git bisection found this commit as the culprit and reverting it
> indeed fixes the problem:
> 
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=30a589fde0162aa4dac7c69803aeee8fbe8d1b82
> 
> commit 30a589fde0162aa4dac7c69803aeee8fbe8d1b82
> Author: Adam Jackson <ajax@redhat.com>
> Date:   Tue Jan 5 17:56:04 2010 -0800
> 
>     Input: evdev - be less aggressive about sending SIGIO notifies
> 
> Thanks.
> 


DOes the same behavior happens when you try using 'evtest' utility while
in console? Also, do you have external USB keyboard by any chance and if
you do does it exibit the same problem?

Thanks.

-- 
Dmitry

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

* Re: evdev regression on macbook with 2.6.33-rc5
  2010-01-24  9:30 ` Dmitry Torokhov
@ 2010-01-25 22:49   ` Guillaume Chazarain
  2010-01-25 23:25     ` Dmitry Torokhov
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Chazarain @ 2010-01-25 22:49 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: ajax, LKML, linux-input

On Sun, Jan 24, 2010 at 10:30 AM, Dmitry Torokhov
<dmitry.torokhov@gmail.com> wrote:
> DOes the same behavior happens when you try using 'evtest' utility while
> in console?

Hi Dmitry,

While struggling to make evtest show keyboard events, I discovered
that the problem is an incompatibility with mouseemu
(http://packages.ubuntu.com/karmic/mouseemu) as killing it makes the
keyboard work fine.

So, with mouseemu running, evtest won't print any event at all even if
I move the mouse, and when mouseemu is off everything works fine and
evtest prints the expected events.

> Also, do you have external USB keyboard by any chance and if
> you do does it exibit the same problem?

Yup, I get the exact same behaviour with an external USB keyboard and
mouseemu running: keystrokes being delivered only when I finally move
the mouse or the trackpad.

Cheers.

-- 
Guillaume

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

* Re: evdev regression on macbook with 2.6.33-rc5
  2010-01-25 22:49   ` Guillaume Chazarain
@ 2010-01-25 23:25     ` Dmitry Torokhov
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2010-01-25 23:25 UTC (permalink / raw)
  To: Guillaume Chazarain; +Cc: ajax, LKML, linux-input

On Mon, Jan 25, 2010 at 11:49:20PM +0100, Guillaume Chazarain wrote:
> On Sun, Jan 24, 2010 at 10:30 AM, Dmitry Torokhov
> <dmitry.torokhov@gmail.com> wrote:
> > DOes the same behavior happens when you try using 'evtest' utility while
> > in console?
> 
> Hi Dmitry,
> 
> While struggling to make evtest show keyboard events, I discovered
> that the problem is an incompatibility with mouseemu
> (http://packages.ubuntu.com/karmic/mouseemu) as killing it makes the
> keyboard work fine.
> 
> So, with mouseemu running, evtest won't print any event at all even if
> I move the mouse, and when mouseemu is off everything works fine and
> evtest prints the expected events.
> 

Ah, well, I checked out the sources for this fine specimen. Oh man...
Then we have Debian guys adding their perls to keyboard handler:

++	if (inp.type != EV_KEY && inp.type != EV_REP)
++		return;

Obviously EV_SYN is completely useless message. And who cares about
keyboards with scroll wheels, volume sliders, etc, right?

This package either needs lots of love or it just needs to die...

-- 
Dmitry

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

end of thread, other threads:[~2010-01-25 23:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-23 18:53 evdev regression on macbook with 2.6.33-rc5 Guillaume Chazarain
2010-01-24  9:30 ` Dmitry Torokhov
2010-01-25 22:49   ` Guillaume Chazarain
2010-01-25 23:25     ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).