mouse / pad on laptop

Getting your soundcard to work, using Debian on non-i386 hardware, etc

mouse / pad on laptop

Postby mark » 2004-07-16 08:01

Hello folks,

I just installed debian (unstable) on my laptop.
But I can't use my USB mouse and the pad isn't working correctly to:
When I had gentoo installed I could tick on the pad which gave the same effect as clicking on a mouse button. this function is gone.

Do I have to recompile the kernel (2.6.7) or do I need to edit the XFree86 config file to get the USB mouse working and get full functionality of the pad back?


Thanks in advance!

mark
mark
 
Posts: 37
Joined: 2004-02-15 22:28

Postby DomCleal » 2004-09-14 22:09

You don't say what type of laptop you have, or even better, what type of touchpad. Nevertheless, I'll assume it's a Synaptic touchpad (pretty common in my experience).

For a Synaptics touchpad, you'll need the xfree86-driver-synaptics package. My memory's a little hazy on how it's configured, but it should automatically set XFree86 to use it. Again, you're not very specific about your problem, whether the touchpad isn't working all of the time, or just when the USB mouse is plugged in etc.

On my laptop, so I can use both the touchpad and USB mouse, I have both InputDevice sections in my XFree86 config file - one for touchpad (driver=synaptics, identifier=touchpad) and one for the USB mouse (driver=mouse, identifier=usbmouse). Then in the ServerLayout section, you have something like....

Code: Select all
Section "ServerLayout"
    Identifier    "Default Layout"
    Screen    "Default Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "touchpad" "CorePointer"
    InputDevice    "usbmouse" "SendCoreEvents"
EndSection


You can see I've listed both the touchpad and usbmouse input devices, with the USB mouse listed as "SendCoreEvents". This means that the touchpad is the primary device, and the USB mouse works in conjuction with it. You can't/shouldn't set both to CorePointer otherwise it just doesn't work.

If it is a Synaptics touchpad, you might find the qsynaptics package useful - it's a nice Qt interface to change various settings.

HTH.
Dominic
DomCleal
 
Posts: 4
Joined: 2004-09-14 21:24
Location: UK

Postby aigarius » 2004-09-15 09:45

synaptics driver is needed to turn on the advancd eatures of the touchpad, like tap-to-click or scroll areas.
you need to modify you /etc/X11/XFConfig86-4 file according to /usr/share/doc/xfree-driver-synaptics/README

It also helps to set the mouse device to /dev/input/mice so you can easily use any USB/PS2 mouse that you can plug in.

a word of warning: most synaptic touchpads work incorrectly with PS/2 mices, so, if you need an external mouse, use USB.
Last edited by aigarius on 2004-09-15 11:35, edited 1 time in total.
aigarius
Debian Developer
Debian Developer
 
Posts: 6
Joined: 2004-09-14 21:52
Location: Riga, Latvia

Postby DomCleal » 2004-09-15 11:22

Yep, my Synaptics touchpad comes up as a PS/2 device, so it wouldn't surprise me if they conflicted.
Dominic
DomCleal
 
Posts: 4
Joined: 2004-09-14 21:24
Location: UK


Return to Hardware

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable