mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Caujolle-Bert <segfault@club-internet.fr>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Alps touchpad probing failure
Date: Thu, 20 Jan 2005 00:23:58 +0100	[thread overview]
Message-ID: <200501200024.01963.segfault@club-internet.fr> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 417 bytes --]

Hi,

 With 2.6.11-rc1 bk6 and bk7 (didn't tried with < bk6), my alps touchpad is no 
more correctly probed, it's recognised as a standard PS/2 mouse.
 So, with this trivial two line patch, everything is working again.

Cheers.
-- 
73's de Daniel "Der Schreckliche", F1RMB.

             -=- Daniel Caujolle-Bert -=- segfault@club-internet.fr -=-
                        -=- http://naboo.homelinux.org -=-

[-- Attachment #1.2: alps.c.diff --]
[-- Type: text/x-diff, Size: 418 bytes --]

--- linux-2.6.11-rc1/drivers/input/mouse/alps.c	2005-01-19 19:43:36.000000000 +0100
+++ linux/drivers/input/mouse/alps.c	2005-01-19 19:34:32.000000000 +0100
@@ -194,6 +194,12 @@
 	int i;
 
 	/*
+	 * Let's clean the stuff.
+	 */
+	if(psmouse_reset(psmouse) < 0)
+	  printk(KERN_ERR "alps reset failed\n");
+
+	/*
 	 * First try "E6 report".
 	 * ALPS should return 0x00,0x00,0x0a or 0x00,0x00,0x64
 	 */

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2005-01-19 23:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-19 23:23 Daniel Caujolle-Bert [this message]
2005-01-20  3:45 ` Dmitry Torokhov
2005-01-20  7:13   ` Daniel Caujolle-Bert
2005-01-20  7:39 ` Juergen Quade

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=200501200024.01963.segfault@club-internet.fr \
    --to=segfault@club-internet.fr \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®