New Posts  All Forums:Forum Nav:

Trackpad - HELP

post #1 of 10
Thread Starter 
Anyone out there use their trackpad successfully under Linux? If so, what driver and what gpm settings do you use for it?

I've searched the forum here with no luck. The impression I get from searching on google is that trackpads are usually standard ps2 mice, but going that route has not gotten me anywhere so far.

I have mousedev and input loaded as modules and I know they are being used because if I don't load those modules, then gpm won't start at all (it says /dev/mouse doesn't exist.) With those modules loaded gpm doesn't complain, but it also doesn't do anything.

Starting gpm with a type of either 'imps2' or 'exps2' actually causes a white block to appear in the middle of the console, which I believe is the mouse pointer. But it doesn't move if I touch the trackpad, and as soon as I press any key on the keyboard, the block disappears. None of the other gpm types cause any noticeable change, and many of them are clearly wrong (cause error messages).

I've tried recompiling my kernel with mouse support built in but I seem to have all kinds of other problems there. Seems to me it should be possible to use a standard prebuilt kernel that comes with all the modules. (I hope)

Machine: Sager 4760
Distro: Slackware 9.0 'bare.i' install

ANY help is greatly appreciated...
post #2 of 10
Thread Starter 
BTW it seems that the various Sagers all use different models of trackpad... or at least, the 4760 uses a different model than the others...

According to Sager's Hardware Compare Table:

4760: ALPS

5670: Synaptics TM41PDG351-1

8887: Synaptics

I have no idea if that should make any difference whatsoever

- a frustrated Ratha
post #3 of 10
are you trying to make the mouse work with gpm, or with x? i don't recommend having x use gpm; x works a lot better with its own input drivers.

are you just using the touchpad, or are you using the touchpad and a usb mouse at the same time?

the touchpad should use just 'ps2.' i don't really know how the devices are set up in slackware, or if you're even using devfs... but for me, the touchpad is the same device as the external ps/2 port, '/dev/misc/psaux.' usb mice, on the other hand, which are set up by usbdevfs, are '/dev/input/mice.' if you're using devfsd, you might want to check your devfsd.conf to see which devices are being registered as which nodes.

or, another way to make sure that the device is correct - cat the device, e.g. 'cat /dev/psaux' or something. if strange characters appear when you move the mouse, that means the device is connected to the mouse properly.

the disappearing mouse cursor is a feature - when you're typing, gpm will get the cursor out of your way until you move the mouse again.

you can also try using gpm with the verbosity level increased, with the -V flag. so something like '/usr/sbin/gpm -m device -t type -V5'. (verbosity ranges from 1 to 5).

honestly, i wouldn't use gpm, period. it's not nearly as good as native input for X; the only thing it is useful for is mousing on the console, which i don't really see the point of. i only use it on a very limited basis when i'm using graphical links2 through the framebuffer without X. but whatever floats your goat...

if you have an alps touchpad, then you just can't use the synaptics-specific driver for x. generic mouse support is exactly the same.
post #4 of 10
Thread Starter 
Rock and ROLL baby! That was it - /dev/psaux. gpm (and x) worked immediately with that.

sheesh... why did I websearch and flail uselessly for hours and never find a reference mentioning /dev/psaux? Maybe I'm dense.

Thanks!!!!!
post #5 of 10
Thread Starter 
Oops - Now, when I shut down X, it hangs the whole machine just like before when I had gpm running and tried to start X.
post #6 of 10
it took me a while to find out that psaux was the right device; i wouldn't have guessed that the touchpad was linked to the auxiliary ps2 port.

why do you need gpm? like what programs do you use in the console that would facilitate the need for a mouse? or are you having X use it?

gpm is outdated; it doesn't even support z-axis mapping for a mouse wheel.

i'm not sure, but linux may not like the fact that there are two different programs, x and gpm, vying for control of the mouse. i know that my computer freezes if i have two different video drivers loaded for the same card (ati and drm). then again, i have gpm running in the background and x runs fine... i'll have to look into that.
post #7 of 10
Try the TPConfig driver for X this worked for me with Synaptic and the website states their drivers work with the Alps 'Glidepad'. Alps TPConfig Driver

If you have a synaptics pad I suggest using the TuxMobil drivers.
tuxmobil synaptics driver
post #8 of 10
tpconfig is not a driver; it's a command-line utility to configure various aspects of touchpads, like tap time and length, tapmode, etc. you would still need a driver like gpm or x's mouse driver.

that said, ratha, you may want to give tpconfig a shot anyway, because i don't know enough from this end to tell you what's wrong with your gpm. who knows, you might get lucky.

the tuxmobil synaptics driver is an x driver; gpm doesn't use external drivers.
post #9 of 10
Thread Starter 
Thank you both. xiphux, i'm not still trying to use gpm, as soon as I learned from you that X has its own mouse driver I had no plans on using gpm anymore. The problem with X hanging on shutdown was just because gpm must have left something residual after I had killed it. Once I removed gpm from the startup sequence and rebooted, X now launches and quits without a problem. Trackpad mouse works fine.

I checked out tpconfig, but from the help files it seems that the only feature enabled for ALPS touchpads is the ability to disable the tap-click feature. I'm glad to know how to disable that if I ever want to get rid of it. Thanks.

OK: got mouse, check... got the right screen resolution, check... now on to see what else I can break...
post #10 of 10
I had the same problem. For some reason, I felt I had to have a mouse from the console, so I had gpm loading at boot. After I learned enough commands and got xdm working I quickly took it out.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's