public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dtor_core@ameritech.net>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux-kernel@vger.kernel.org,
	Marc Koschewski <marc@osknowledge.org>,
	Ed Tomlinson <tomlins@cam.org>
Subject: Re: psmouse unusable in -mm series (was: 2.6.15-rc1-mm2 unsusable on DELL Inspiron 8200, 2.6.15-rc1 works fine)
Date: Fri, 25 Nov 2005 23:50:27 -0500	[thread overview]
Message-ID: <200511252350.28129.dtor_core@ameritech.net> (raw)
In-Reply-To: <200511252254.53128.dtor_core@ameritech.net>

On Friday 25 November 2005 22:54, Dmitry Torokhov wrote:
> > Actually, it works on the console (ie with gpm), but X is unable to use it,
> > apparently.  However it used to be, at least on 2.6.14-git9 (this is the latest
> > non-mm kernel I've been able to test quickly on this box).
> >
> 
> Rafael,
> 
> does reverting the following patch makes touchpad work?

Or, try dropping this patch on top of -mm.

-- 
Dmitry

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---

 drivers/input/evdev.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Index: work/drivers/input/evdev.c
===================================================================
--- work.orig/drivers/input/evdev.c
+++ work/drivers/input/evdev.c
@@ -205,11 +205,11 @@ static int evdev_event_to_user(const cha
 		compat_event.code = event->code;
 		compat_event.value = event->value;
 
-		if (copy_to_user(&compat_event, buffer, sizeof(struct input_event_compat)))
+		if (copy_to_user(buffer, &compat_event, sizeof(struct input_event_compat)))
 			return -EFAULT;
 
 	} else {
-		if (copy_to_user(event, buffer, sizeof(struct input_event)))
+		if (copy_to_user(buffer, event, sizeof(struct input_event)))
 			return -EFAULT;
 	}
 

  reply	other threads:[~2005-11-26  4:50 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-18 18:29 2.6.15-rc1-mm2 unsusable on DELL Inspiron 8200, 2.6.15-rc1 works fine Marc Koschewski
2005-11-18 19:28 ` Hugh Dickins
2005-11-19  0:31   ` Marc Koschewski
2005-11-19  3:07 ` Dmitry Torokhov
2005-11-20 17:14   ` Marc Koschewski
2005-11-22  3:43     ` Dmitry Torokhov
2005-11-22 10:14       ` Marc Koschewski
2005-11-23 19:57       ` psmouse unusable in -mm series (was: 2.6.15-rc1-mm2 unsusable on DELL Inspiron 8200, 2.6.15-rc1 works fine) Marc Koschewski
2005-11-24  2:29         ` Ed Tomlinson
2005-11-24  4:41           ` Dmitry Torokhov
2005-11-24  8:41           ` Marc Koschewski
2005-11-24 12:17             ` Ed Tomlinson
2005-11-24 12:44               ` Marc Koschewski
2005-11-24 20:23                 ` Rafael J. Wysocki
2005-11-24 21:20                   ` Rafael J. Wysocki
2005-11-25  8:22                     ` Vojtech Pavlik
2005-11-25 13:50                       ` Marc Koschewski
2005-11-25 21:16                       ` Rafael J. Wysocki
2005-11-25 21:41                         ` Dmitry Torokhov
2005-11-26  3:54                     ` Dmitry Torokhov
2005-11-26  4:50                       ` Dmitry Torokhov [this message]
2005-11-26 17:28                         ` Rafael J. Wysocki
2005-11-28  6:01                           ` Dmitry Torokhov
2005-11-25 13:53                   ` Marc Koschewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200511252350.28129.dtor_core@ameritech.net \
    --to=dtor_core@ameritech.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc@osknowledge.org \
    --cc=rjw@sisk.pl \
    --cc=tomlins@cam.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox