* PROBLEM: laptop touchpad on linux-2.6.0-test4
@ 2003-09-02 3:50 Chris Peterson
2003-09-02 4:05 ` Dmitry Torokhov
0 siblings, 1 reply; 4+ messages in thread
From: Chris Peterson @ 2003-09-02 3:50 UTC (permalink / raw)
To: linux-kernel
I upgraded a working Redhat 9 installation (linux-2.4.20) to
linux-2.6.0-test4. I can boot and start X and Gnome successfully.
Unfortunately, my laptop's touchpad and mouse "joystick" do not work. My
laptop is a Dell Latitude C400. I have not tried an external mouse because
my laptop does not have an external mouse port.
Using Google, I've found some LKML threads about problems with the Synaptics
touchpad driver and the evdev kernel module, but the threads end before a
verified solution ("it works now. thanks!") is posted. Is there a known fix
for this touchpad problem?
thanks,
chris
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: PROBLEM: laptop touchpad on linux-2.6.0-test4 2003-09-02 3:50 PROBLEM: laptop touchpad on linux-2.6.0-test4 Chris Peterson @ 2003-09-02 4:05 ` Dmitry Torokhov 0 siblings, 0 replies; 4+ messages in thread From: Dmitry Torokhov @ 2003-09-02 4:05 UTC (permalink / raw) To: Chris Peterson, linux-kernel On Monday 01 September 2003 10:50 pm, Chris Peterson wrote: > I upgraded a working Redhat 9 installation (linux-2.4.20) to > linux-2.6.0-test4. I can boot and start X and Gnome successfully. > Unfortunately, my laptop's touchpad and mouse "joystick" do not work. My > laptop is a Dell Latitude C400. I have not tried an external mouse because > my laptop does not have an external mouse port. > > Using Google, I've found some LKML threads about problems with the > Synaptics touchpad driver and the evdev kernel module, but the threads end > before a verified solution ("it works now. thanks!") is posted. Is there a > known fix for this touchpad problem? > Please see: http://w1.894.telia.com/~u89404340/touchpad/index.html for a new XFree driver and bunch for extra kernel patches needed to make track stick work http://geocities.com/dt_or/gpm/gpm.html for updated version of GPM Dmitry ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <rauV.61c.9@gated-at.bofh.it>]
[parent not found: <raEA.6jw.17@gated-at.bofh.it>]
* Re: PROBLEM: laptop touchpad on linux-2.6.0-test4 [not found] ` <raEA.6jw.17@gated-at.bofh.it> @ 2003-09-04 20:30 ` Michael Schierl [not found] ` <200309042031.h84KVKH8001507@mx1-ipltin.ipltin.ameritech.net> 1 sibling, 0 replies; 4+ messages in thread From: Michael Schierl @ 2003-09-04 20:30 UTC (permalink / raw) To: Dmitry Torokhov; +Cc: linux-kernel On Tue, 02 Sep 2003 06:10:12 +0200, in linux.kernel you wrote: >http://geocities.com/dt_or/gpm/gpm.html for updated version of GPM Hmm, I downloaded gpm-1.20.1, unpacked it, applied the patches (tried it both with the cumulative one and with the single ones), ran autoconf && ./configure && make and got: [...] gcc -I/usr/src/gpm/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/usr/local/etc\"" -DSBINDIR="\"/usr/local/sbin\"" -g -O2 -c -o prog/mouse-test.o prog/mouse-test.c prog/mouse-test.c: In function `main': prog/mouse-test.c:285: parse error before `struct' prog/mouse-test.c:337: `opt' undeclared (first use in this function) prog/mouse-test.c:337: (Each undeclared identifier is reported only once prog/mouse-test.c:337: for each function it appears in.) prog/mouse-test.c:394: `mdev' undeclared (first use in this function) prog/mouse-test.c:553: warning: value computed is not used prog/mouse-test.c:606: warning: value computed is not used prog/mouse-test.c:655: warning: value computed is not used make[1]: *** [prog/mouse-test.o] Error 1 make[1]: Leaving directory `/usr/src/gpm/gpm-1.20.1/src' make: *** [do-all] Error 1 Any ideas what I did wrong? Michael -- "New" PGP Key! User ID: Michael Schierl <schierlm@gmx.de> Key ID: 0x58B48CDD Size: 2048 Created: 26.03.2002 Fingerprint: 68CE B807 E315 D14B 7461 5539 C90F 7CC8 http://home.arcor.de/mschierlm/mschierlm.asc ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <200309042031.h84KVKH8001507@mx1-ipltin.ipltin.ameritech.net>]
* Re: PROBLEM: laptop touchpad on linux-2.6.0-test4 [not found] ` <200309042031.h84KVKH8001507@mx1-ipltin.ipltin.ameritech.net> @ 2003-09-04 22:58 ` Dmitry Torokhov 0 siblings, 0 replies; 4+ messages in thread From: Dmitry Torokhov @ 2003-09-04 22:58 UTC (permalink / raw) To: schierlm, Michael Schierl; +Cc: linux-kernel On Thursday 04 September 2003 03:30 pm, Michael Schierl wrote: > On Tue, 02 Sep 2003 06:10:12 +0200, in linux.kernel you wrote: > >http://geocities.com/dt_or/gpm/gpm.html for updated version of GPM > > Hmm, I downloaded gpm-1.20.1, unpacked it, applied the patches (tried > it both with the cumulative one and with the single ones), ran > > autoconf && ./configure && make > > and got: > > [...] > gcc -I/usr/src/gpm/gpm-1.20.1/src -DHAVE_CONFIG_H -include > headers/config.h -Wall -DSYSCONFDIR="\"/usr/local/etc\"" > -DSBINDIR="\"/usr/local/sbin\"" -g -O2 -c -o prog/mouse-test.o > prog/mouse-test.c > prog/mouse-test.c: In function `main': > prog/mouse-test.c:285: parse error before `struct' > prog/mouse-test.c:337: `opt' undeclared (first use in this function) > prog/mouse-test.c:337: (Each undeclared identifier is reported only > once > prog/mouse-test.c:337: for each function it appears in.) > prog/mouse-test.c:394: `mdev' undeclared (first use in this function) > prog/mouse-test.c:553: warning: value computed is not used > prog/mouse-test.c:606: warning: value computed is not used > prog/mouse-test.c:655: warning: value computed is not used > make[1]: *** [prog/mouse-test.o] Error 1 > make[1]: Leaving directory `/usr/src/gpm/gpm-1.20.1/src' > make: *** [do-all] Error 1 > > Any ideas what I did wrong? > > Michael What GCC version? I think the problem is because of declaration after statements which is allowed in newer standard. Please try the patch below, I will update the web page later tonight. Dmitry diff -urN --exclude-from=/usr/src/exclude gpm-1.20.1/src/gpm.c gpm/src/gpm.c --- gpm-1.20.1/src/gpm.c 2003-09-03 00:52:32.000000000 -0500 +++ gpm/src/gpm.c 2003-09-03 22:34:43.000000000 -0500 @@ -225,9 +225,9 @@ /* selection used 1-based coordinates, so do I */ /* * 1.05: only one margin is current. Y takes priority over X. - * The i variable is how much margin is allowed. "m" is which one is there. */ + event->margin = 0; if (event->y > console.max_y) { event->y = console.max_y + extent; diff -urN --exclude-from=/usr/src/exclude gpm-1.20.1/src/prog/mouse-test.c gpm/src/prog/mouse-test.c --- gpm-1.20.1/src/prog/mouse-test.c 2003-09-03 00:52:32.000000000 -0500 +++ gpm/src/prog/mouse-test.c 2003-09-04 17:53:05.000000000 -0500 @@ -280,11 +280,11 @@ int pending, maxfd; int trial, readamount,packetsize,got; int baudtab[4]={1200,9600,4800,2400}; -#define BAUD(i) (baudtab[(i)%4]) - consolename = Gpm_get_console(); struct miceopt opt = {0}; struct micedev mdev = {0}; +#define BAUD(i) (baudtab[(i)%4]) + consolename = Gpm_get_console(); if (!isatty(fileno(stdin))) { fprintf(stderr,"%s: stdin: not a tty\n",argv[0]); exit(1); ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-04 22:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-02 3:50 PROBLEM: laptop touchpad on linux-2.6.0-test4 Chris Peterson
2003-09-02 4:05 ` Dmitry Torokhov
[not found] <rauV.61c.9@gated-at.bofh.it>
[not found] ` <raEA.6jw.17@gated-at.bofh.it>
2003-09-04 20:30 ` Michael Schierl
[not found] ` <200309042031.h84KVKH8001507@mx1-ipltin.ipltin.ameritech.net>
2003-09-04 22:58 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox