LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   synaptic touchpad in HPmini 210 netbook (https://www.linuxquestions.org/questions/debian-26/synaptic-touchpad-in-hpmini-210-netbook-841883/)

skipperx 11-02-2010 07:26 AM

synaptic touchpad in HPmini 210 netbook
 
Hello:

I am trying to make it work in a fresh Squeeze install. After installation, only the left mouse works. It seems mouse driver and not synaptics is loaded. I checked the package manager and saw xserver-xorg-input-synaptics packaged installed.

How do I load the synaptics driver and how do I verify I have it? I would like to make sure that before playing with the options.

Thank you.

radiodee1 11-02-2010 08:07 AM

do you have an xorg.conf file? Mine looks like this (at least in part, anyway):

Code:


...snip...
Section "InputDevice"
        Identifier        "Synaptics Touchpad"
        Driver                "synaptics"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "auto-dev"
        Option                "HorizScrollDelta"        "0"
        Option                "TapButton1"                "1"
        Option                "SpecialScrollAreaRight"        "true"
EndSection

...snip...
 
Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
        InputDevice        "Synaptics Touchpad"
EndSection

I've left a lot out, and only included the sections for Synaptics Touchpad, but maybe you get the idea. Hope this helps. I have a regular usb mouse too, and that one has it's own InputDevice section that I didn't include. It's called, not surprisingly, "Configured Mouse".

skipperx 11-02-2010 08:30 AM

Thank you for getting back. If I understand correctly these are "configurations". Aren't they? What loads the driver?

radiodee1 11-02-2010 08:33 AM

Quote:

Originally Posted by skipperx (Post 4146800)
...I checked the package manager and saw xserver-xorg-input-synaptics packaged installed.

How do I load the synaptics driver and how do I verify I have it? I would like to make sure that before playing with the options.

Thank you.

I think the package being on your system is a sign that the driver is there. Someone correct me if I'm wrong.

skipperx 11-02-2010 08:38 AM

Yes, I agree the driver or at least a driver is in the system. But is it being used? Because

"lsmod" tells me that psmouse module is loaded and being used. When I removed it with "modprobe -r psmouse" the touchpad stopped working, ie the mouse driver is no longer used or loaded, but it is still available in the system. I can load it again with "modprobe psmouse" and it will work again, well only the left click as before.

So how do we know a synaptic driver is loaded/used?

radiodee1 11-02-2010 12:30 PM

if I 'lsmod' 'mouse' I don't get anything that has to do with synaptics. If I 'lsmod' 'syn' I get nothing. If you 'man' 'synaptics' there's no mention of a module there at all. If you look in the contents of the xserver-xorg-input-synaptics package there's no '.ko' file (I don't see one, maybe I missed it.) Maybe someone else can chime in here.

skipperx 11-02-2010 03:30 PM

So, when you do
lsmod|grep mouse
do you still get psmouse even though your synaptics seems to be driving the touchpad?

Please bear with me. I am just trying to understand how things work.

radiodee1 11-03-2010 03:20 AM

Quote:

Originally Posted by skipperx (Post 4147300)
So, when you do
lsmod|grep mouse
do you still get psmouse even though your synaptics seems to be driving the touchpad?
...

yep, but that's just my experience. The two work simultaneously. I can use the mouse and the pad at the same time. BTW, how did your squeeze install go? were there any problems?

skipperx 11-03-2010 07:38 AM

It seems that way. I also checked my Dell notebook with Lenny which has a synaptic touchpad. I had the same results with lsmod. It seems psmouse module has to be loaded for the pad to work.

It seems I have to set synclient variables to make it work properly. I would like to know how to stop the jumpy cursor and enable the right mouse button.

I tried to get the xorg.conf once. The xorg.conf file i got from -configure was not complete i think. It would not work properly so I stopped using it. What is the minimum I need in xorg.conf to work so I can try your xorg settings for the touchpad?

Do you have the same netbook? Is your cursor jumpy?

I partitioned the drive with Gparted on a stick first. i had to try to get the netinstall on a stick. I used Unetbootin with a slight modification. Once I got the working stick it went through smoothly from beginning to the end.

radiodee1 11-03-2010 07:51 AM

I don't have a netbook at all. I have a Dell Inspiron 1521 that runs squeeze with a few packages from sid and that I compiled myself. It has a synaptics touchpad and a usb mouse attached. I don't have any problem with either one. I do use an xorg.conf file, and have since I installed debian a while ago. I've never had to re-install on this machine. I guess my advice is to work on that xorg.conf file, and then when you've got it working add a "InputDevice" section for a synaptics mouse, and then modify the server layout so that it includes your new section. If that doesn't work, at least you're satisfied that you've created a good xorg.conf file. If it helps any I'll repost my listing from above with the important parts in another color if I can.

Code:

...snip...
Section "InputDevice"
        Identifier        "Synaptics Touchpad"
        Driver                "synaptics"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "auto-dev"
        Option                "HorizScrollDelta"        "0"
        Option                "TapButton1"                "1"
        Option                "SpecialScrollAreaRight"        "true"
EndSection


...snip...
 
Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
        InputDevice        "Synaptics Touchpad"
EndSection

Oh, "TapButton1" may not be necessary. I believe you can get all the options for the xorg.conf file with 'man synaptics'.

radiodee1 11-03-2010 07:59 AM

read this maybe

http://ubuntuforums.org/showthread.php?t=1388164

it deals with the trackpad problem. No xorg.conf necessary.

skipperx 11-03-2010 12:18 PM

I have tried that. The psmouse thing for the right mouse sort of worked with the very jumpy cursor. When i tried the other one, the system did not recognize the variable "JumpyCursorThreshold". I don't see that variable when I did synclient -l either. So did not work.

i reran Xorg -configure and here is the entire fresh xorg.conf file.

Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath  "/usr/lib/xorg/modules"
        FontPath    "/usr/share/fonts/X11/misc"
        FontPath    "/usr/share/fonts/X11/cyrillic"
        FontPath    "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath    "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath    "/usr/share/fonts/X11/Type1"
        FontPath    "/usr/share/fonts/X11/100dpi"
        FontPath    "/usr/share/fonts/X11/75dpi"
        FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath    "built-ins"
EndSection

Section "Module"
        Load  "record"
        Load  "dri2"
        Load  "dri"
        Load  "extmod"
        Load  "dbe"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option    "AccelMethod"                # [<str>]
        #Option    "DRI"                        # [<bool>]
        #Option    "ColorKey"                  # <i>
        #Option    "VideoKey"                  # <i>
        #Option    "FallbackDebug"              # [<bool>]
        #Option    "Tiling"                    # [<bool>]
        #Option    "Shadow"                    # [<bool>]
        #Option    "SwapbuffersWait"            # [<bool>]
        #Option    "XvMC"                      # [<bool>]
        #Option    "XvPreferOverlay"            # [<bool>]
        #Option    "DebugFlushBatches"          # [<bool>]
        #Option    "DebugFlushCaches"          # [<bool>]
        #Option    "DebugWait"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName  "N10 Family Integrated Graphics Controller"
        BusID      "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Does it give any clues?

It does not look like the touchpad is recognized correctly. I did not see any syn* in /dev/input folder either.

radiodee1 11-03-2010 01:47 PM

All I'm saying is to try this. Maybe it won't work. Maybe it'll be some slight improvement...
Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics Touchpad"
EndSection

Section "Files"
        ModulePath  "/usr/lib/xorg/modules"
        FontPath    "/usr/share/fonts/X11/misc"
        FontPath    "/usr/share/fonts/X11/cyrillic"
        FontPath    "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath    "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath    "/usr/share/fonts/X11/Type1"
        FontPath    "/usr/share/fonts/X11/100dpi"
        FontPath    "/usr/share/fonts/X11/75dpi"
        FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath    "built-ins"
EndSection

Section "Module"
        Load  "record"
        Load  "dri2"
        Load  "dri"
        Load  "extmod"
        Load  "dbe"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
        Identifier        "Synaptics Touchpad"
        Driver                "synaptics"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "auto-dev"
        Option                "HorizScrollDelta"        "0"
        Option                "TapButton1"                "1"
        Option                "SpecialScrollAreaRight"        "true"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option    "AccelMethod"                # [<str>]
        #Option    "DRI"                        # [<bool>]
        #Option    "ColorKey"                  # <i>
        #Option    "VideoKey"                  # <i>
        #Option    "FallbackDebug"              # [<bool>]
        #Option    "Tiling"                    # [<bool>]
        #Option    "Shadow"                    # [<bool>]
        #Option    "SwapbuffersWait"            # [<bool>]
        #Option    "XvMC"                      # [<bool>]
        #Option    "XvPreferOverlay"            # [<bool>]
        #Option    "DebugFlushBatches"          # [<bool>]
        #Option    "DebugFlushCaches"          # [<bool>]
        #Option    "DebugWait"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName  "N10 Family Integrated Graphics Controller"
        BusID      "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection


radiodee1 11-03-2010 03:19 PM

I was re-reading the instructions for the modprobe Ubuntu link.

http://ubuntuforums.org/showthread.php?t=1388164

I remember seeing somewhere that the contents of '/etc/modprobe.d/' had to end in '.conf' now. So I was thinking, maybe try this:

Code:

$ su
type password
# echo options psmouse proto=exps > /etc/modprobe.d/psmouse.conf
# reboot

maybe that will work better than having that file named 'psmouse.modprobe'

skipperx 11-03-2010 06:48 PM

I tried my new xorg.conf and no change. Tried your xorg.conf and no x. Tried the modprobe thing and got the right mouse and got the right mouse and lost the vert right edge scroll which is not the end of the world. But it leaves me with a very jumpy cursor which could sense where my palm is from about an inch away and moves it all over the place. I thought I would slow it down my tweaking the syncient. Then I got this
Code:

$ synclient list
Couldn't find synaptics properties. No synaptics driver loaded?

So it seems now mouse driver is taking over. Interesting. Anyway to make it less jumpy?

OH I also got the kernel failure on reboot which I saw before when I tried this a few days ago. It does not seem to be causing anything really.


All times are GMT -5. The time now is 05:08 PM.