From owner-freebsd-current@FreeBSD.ORG Sat Dec 27 12:48:27 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5677916A4CF; Sat, 27 Dec 2003 12:48:27 -0800 (PST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28C5D43D58; Sat, 27 Dec 2003 12:48:23 -0800 (PST) (envelope-from vahe@khachikyan.de) Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AaLME-0001ua-00; Sat, 27 Dec 2003 21:48:22 +0100 Received: from [217.235.145.224] (helo=workstation) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1AaLME-0008Or-00; Sat, 27 Dec 2003 21:48:22 +0100 Message-ID: <006201c3ccba$c50e54e0$0700010a@workstation> From: "Vahe Khachikyan" To: "FreeBSD Hackers" Date: Sat, 27 Dec 2003 21:48:22 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:923df821be9b8bd3b74174848c904f84 X-Mailman-Approved-At: Sat, 27 Dec 2003 14:53:16 -0800 cc: freebsd-current@freebsd.org Subject: [PATCH] /sys/isa/psm.c Toshiba Sattelite P10 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2003 20:48:27 -0000 I had a problem on my new Toshiba Satellite P10 laptop. -CURRENT system kernel didn't recognize the touchpad. Adding the patch below to /sys/isa/psm.c helps. I just found a similar patch for another toshiba model and found out that on my model the return code from test_aux_port is 3 instead of 2 as in patch mentioned in http://www.geocrawler.com/archives/3/163/2002/2/0/7956812/ I have no idea what is it good for. The only thing I know it works in my case. Probably somebody will find the information helpfull. I can provide additional info on request. --- psm.orig.c Sat Dec 27 21:31:22 2003 +++ psm.c Sat Dec 27 21:30:10 2003 @@ -626,6 +626,7 @@ switch((i = test_aux_port(kbdc))) { case 1: /* ignore this error */ + case 3: /* ignore this error */ case PSM_ACK: if (verbose) log(LOG_DEBUG, "psm%d: strange result for test aux port (%d).\n", @@ -1012,6 +1013,7 @@ */ switch ((i = test_aux_port(sc->kbdc))) { case 1: /* ignore this error */ + case 3: /* ignore this error */ case PSM_ACK: if (verbose) printf("psm%d: strange result for test aux port (%d).\n", Best regards -- Vahe Khachikyan ---