Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALPS Touchpad
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1234

PostPosted: Tue Feb 19, 2013 5:08 am    Post subject: Reply with quote

Thanks. This is getting really strange. I all but gave up on this and was about to just return the laptop when I booted into "recovery mode" that grub2 set up for me and the patched driver detects the touch pad but it does not work.

From looking at the grub.cfg the only difference is the added "single" in the boot.

Looking at the alps.c file does anyone know where the debugging stuff is supposed to land? in a file in /sys or in dmesg or??

I get a "stick" which i dont have as well:
Code:
[   27.406398] input: DualPoint Stick as /devices/platform/i8042/serio1/input/input13
[   28.005997] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input14


Code:
xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ DualPoint Stick                           id=11   [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint TouchPad          id=12   [slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse                id=13   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=10   [slave  keyboard (3)]



Code:
cat  /devices/platform/i8042/serio1/input/input14
cat: /devices/platform/i8042/serio1/input/input14: No such file or directory

_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Yamakuzure
Veteran
Veteran


Joined: 21 Jun 2006
Posts: 1389
Location: Bardowick, Germany

PostPosted: Tue Feb 19, 2013 10:29 am    Post subject: Reply with quote

turtles wrote:
Code:
cat  /devices/platform/i8042/serio1/input/input14
cat: /devices/platform/i8042/serio1/input/input14: No such file or directory
You look at the wrong place:
Code:
 # l /sys/devices/platform/i8042/serio1/input/input10/
insgesamt 0
drwxr-xr-x 2 root root    0 19. Feb 11:31 capabilities
lrwxrwxrwx 1 root root    0 19. Feb 11:31 device -> ../../../serio1
drwxr-xr-x 3 root root    0 18. Feb 10:03 event10
drwxr-xr-x 2 root root    0 19. Feb 11:31 id
-r--r--r-- 1 root root 4,0K 19. Feb 11:31 modalias
drwxr-xr-x 3 root root    0 18. Feb 10:03 mouse2
-r--r--r-- 1 root root 4,0K 19. Feb 11:31 name
-r--r--r-- 1 root root 4,0K 19. Feb 11:31 phys
drwxr-xr-x 2 root root    0 19. Feb 11:31 power
-r--r--r-- 1 root root 4,0K 19. Feb 11:31 properties
lrwxrwxrwx 1 root root    0 18. Feb 10:03 subsystem -> ../../../../../../class/input
-rw-r--r-- 1 root root 4,0K 18. Feb 10:03 uevent
-r--r--r-- 1 root root 4,0K 19. Feb 11:31 uniq
From my laptop (an older DELL Latitude E6410 with working ALPS TouchPad)
Code:
 # dmesg | egrep "(Stick|Touch)"
input: DualPoint Stick as /devices/platform/i8042/serio1/input/input9
input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input10

 # egrep "^[^#]+MOUSE" /usr/src/linux/.config
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1440
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=900
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_TRACKPOINT=y

 # xinput
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint TouchPad          id=13   [slave  pointer  (2)]
⎜   ↳ DualPoint Stick                           id=14   [slave  pointer  (2)]
⎜   ↳ Logitech USB-PS/2 Optical Mouse           id=10   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
(...snip...)
Input devices in make.conf: ("mouse" and "keyboard") are superfluous)
Code:
 # grep INPUT /etc/portage/make.conf
INPUT_DEVICES="evdev mouse keyboard synaptics"
And the required InputClass from /etc/X11/xorg.conf (You need this!)
Code:
Section "InputClass"
        Identifier "touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "synaptics"
        Option "LeftEdge"                                       "100"
        Option "RightEdge"                                      "1750"
        Option "TopEdge"                                        "100"
        Option "BottomEdge"                                     "1250"
        Option "FingerLow"                                      "12"
        Option "FingerHigh"                                     "14"
        Option "FingerPress"                                    "127"
        Option "MaxTapTime"                                     "180"
        Option "MaxTapMove"                                     "107"
        Option "MaxDoubleTapTime"                                       "180"
        Option "SingleTapTimeout"                                       "180"
        Option "ClickTime"                                      "100"
        Option "FastTaps"                                       "0"
        Option "EmulateMidButtonTime"                                   "75"
        Option "EmulateTwoFingerMinZ"                                   "139"
        Option "EmulateTwoFingerMinW"                                   "7"
        Option "VertScrollDelta"                                        "44"
        Option "HorizScrollDelta"                                       "44"
        Option "VertEdgeScroll"                                 "1"
        Option "HorizEdgeScroll"                                        "1"
        Option "CornerCoasting"                                 "0"
        Option "VertTwoFingerScroll"                                    "0"
        Option "HorizTwoFingerScroll"                                   "0"
        Option "MinSpeed"                                       "1"
        Option "MaxSpeed"                                       "1.75"
        Option "AccelFactor"                                    "0.0075"
        Option "TrackstickSpeed"                                        "40"
        Option "EdgeMotionMinZ"                                 "14"
        Option "EdgeMotionMaxZ"                                 "79"
        Option "EdgeMotionMinSpeed"                                     "1"
        Option "EdgeMotionMaxSpeed"                                     "195"
        Option "EdgeMotionUseAlways"                                    "0"
        Option "TouchpadOff"                                    "0"
        Option "LockedDrags"                                    "0"
        Option "LockedDragTimeout"                                      "5000"
        Option "RTCornerButton"                                 "0"
        Option "RBCornerButton"                                 "0"
        Option "LTCornerButton"                                 "0"
        Option "LBCornerButton"                                 "0"
        Option "TapButton1"                                     "1"
        Option "TapButton2"                                     "3"
        Option "TapButton3"                                     "2"
        Option "ClickFinger1"                                   "1"
        Option "ClickFinger2"                                   "1"
        Option "ClickFinger3"                                   "1"
        Option "CircularScrolling"                                      "0"
        Option "CircScrollDelta"                                        "0.100007"
        Option "CircScrollTrigger"                                      "0"
        Option "CircularPad"                                    "0"
        Option "PalmDetect"                                     "1"
        Option "PalmMinWidth"                                   "10"
        Option "PalmMinZ"                                       "99"
        Option "CoastingSpeed"                                  "0"
        Option "CoastingFriction"                                       "50"
        Option "CoastingFriction"                                       "50"
        Option "PressureMotionMinZ"                                     "14"
        Option "PressureMotionMaxZ"                                     "79"
        Option "PressureMotionMinFactor"                                        "1"
        Option "PressureMotionMaxFactor"                                        "1"
        Option "GrabEventDevice"                                        "1"
        Option "TapAndDragGesture"                                      "0"
        Option "AreaLeftEdge"                                   "0"
        Option "AreaRightEdge"                                  "0"
        Option "AreaTopEdge"                                    "0"
        Option "AreaBottomEdge"                                 "0"
        Option "SHMConfig" "on"
EndSection
I hope you may find the detail that helps you get your touchpad into a working state. The crux is: Although it is an ALPS touchpad, it is used using the synaptics driver and must be told so first. Without the InputClass section in my xorg.conf, the touchpad is dead, because xorg tries evdev, which can't handle it. (At least this was the case when I added that part.)
_________________
I *do* know that I easily aggravate people due to my condensed writing. Rule of thumb: If I wrote anything that can be understood in two different ways, and one way offends you, then I meant the other! ;)
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5575

PostPosted: Tue Feb 19, 2013 11:41 am    Post subject: Reply with quote

Once again 'Option "SHMConfig" "on"' is obsolete (that is if it still works).
Back to top
View user's profile Send private message
Yamakuzure
Veteran
Veteran


Joined: 21 Jun 2006
Posts: 1389
Location: Bardowick, Germany

PostPosted: Tue Feb 19, 2013 2:48 pm    Post subject: Reply with quote

VoidMage wrote:
Once again 'Option "SHMConfig" "on"' is obsolete (that is if it still works).
Yes, for _using_ the touchpad this option was never needed, I added it to find out good values for xorg.conf by monitoring touchpad events using synclient.
man synclient (1.6.2) wrote:
DESCRIPTION
This program lets you change your Synaptics TouchPad driver for XOrg/XFree86 server parameters while X is running.

For the -m and -h options, SHM must be enabled by setting the option SHMConfig "on" in your XOrg/XFree86 configuration.
(...snip...)
EXAMPLES
To disable EdgeMotionSpeed:

synclient EdgeMotionSpeed=0

To monitor touchpad events (requires SHM):

synclient -m 100
After I finished the configuration, I never bothered to turn it off again.
_________________
I *do* know that I easily aggravate people due to my condensed writing. Rule of thumb: If I wrote anything that can be understood in two different ways, and one way offends you, then I meant the other! ;)
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1234

PostPosted: Tue Feb 19, 2013 5:11 pm    Post subject: Reply with quote

Thanks for your help Yamakuzure.
I suspect something is buggy with my kernel patch because the touch pad does not reliably show up when I boot.
I have added your config to my xorg.conf.d/ and run your egreps.

The path I was trying to remember is /dev/input/mouse0 and /dev/input/mouse1 /dev/input/mouse2 when I can get the psmouse module to detect the touchpad I have the 3 mouse "files" when I cant I only get /dev/input/mouse0.
If i
Code:
cat /dev/input/mouse0
I can get all kinds of strange characters when I move the usb mouse
when I can get psmouse to load and detect the touchpad the usb mouse moves to /dev/input/mouse2
Code:
cat /dev/input/mouse0
then does nothing and mouse2 has the strange chars.
I am under the impression that if the kernel driver for the alps is working correctly I should get funny characters from
Code:
cat /dev/input/mouse0
or mouse1 when I use the touchpad.
In the random case when I can get the touchpad to showup like when I booted single user I dont get anything from those device files.
From reading that guys patch alps.c he is using acpi to detect the touchpad type so perhaps it is something I am missing under acpi?

I cant find any debugging output for the module yet.

The funny thing is I only have one kernel installed on here so its not like the module could be loading from a different version.
Code:
ls /lib/modules/
3.6.11-gentoo


Code:
egrep "^[^#]+MOUSE" /usr/src/linux/.config
CONFIG_MAC_EMUMOUSEBTN=m
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
CONFIG_MOUSE_PS2_ELANTECH=y
CONFIG_MOUSE_PS2_SENTELIC=y
CONFIG_MOUSE_PS2_TOUCHKIT=y
CONFIG_MOUSE_SERIAL=m
CONFIG_MOUSE_APPLETOUCH

Code:
grep INPUT /etc/portage/make.conf
INPUT_DEVICES=" keyboard mouse evdev synaptics"

_________________
Donate to Gentoo
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5575

PostPosted: Tue Feb 19, 2013 5:14 pm    Post subject: Reply with quote

IIRC, since xorg-server 1.6, input properties exported by the server are enough for synclient.

@turtles: does your Xorg log confirm synaptics driver is being loaded ?
Also, cat-ing /dev/input/ nodes doesn't need to work for the devices to work.
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1234

PostPosted: Wed Feb 20, 2013 4:00 am    Post subject: Reply with quote

VoidMage wrote:
IIRC, since xorg-server 1.6, input properties exported by the server are enough for synclient.

@turtles: does your Xorg log confirm synaptics driver is being loaded ?
Also, cat-ing /dev/input/ nodes doesn't need to work for the devices to work.


Thanks interesting
I liked the /dev/input/ nodes for debugging.
Code:
  26.572] (**) DualPoint Stick: (accel) keeping acceleration scheme 1
[    26.572] (**) DualPoint Stick: (accel) acceleration profile 0
[    26.572] (**) DualPoint Stick: (accel) acceleration factor: 2.000
[    26.572] (**) DualPoint Stick: (accel) acceleration threshold: 4
[    27.172] (II) config/udev: Adding input device AlpsPS/2 ALPS DualPoint TouchPad (/dev/input/mouse2)
[    27.172] (**) AlpsPS/2 ALPS DualPoint TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    27.172] (II) config/udev: Adding input device AlpsPS/2 ALPS DualPoint TouchPad (/dev/input/event15)
[    27.172] (**) AlpsPS/2 ALPS DualPoint TouchPad: Applying InputClass "evdev touchpad catchall"
[    27.172] (**) AlpsPS/2 ALPS DualPoint TouchPad: Applying InputClass "touchpad catchall"
[    27.172] (**) AlpsPS/2 ALPS DualPoint TouchPad: Applying InputClass "Default clickpad buttons"
[    27.172] (II) LoadModule: "synaptics"
[    27.172] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[    27.212] (II) Module synaptics: vendor="X.Org Foundation"
[    27.212]    compiled for 1.13.1, module version = 1.6.2
[    27.212]    Module class: X.Org XInput Driver
[    27.212]    ABI class: X.Org XInput driver, version 18.0
[    27.212] (II) Using input driver 'synaptics' for 'AlpsPS/2 ALPS DualPoint TouchPad'
[    27.212] (**) AlpsPS/2 ALPS DualPoint TouchPad: always reports core events
[    27.212] (**) Option "Device" "/dev/input/event15"
[    27.231] (II) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: ignoring touch events for semi-multitouch device
[    27.231] (--) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: x-axis range 0 - 2000
[    27.231] (--) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: y-axis range 0 - 1400
[    27.231] (--) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: pressure range 0 - 127
[    27.231] (II) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: device does not report finger width.
[    27.231] (--) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: buttons: left right middle double triple
[    27.231] (--) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: Vendor 0x2 Product 0x8
[    27.231] (--) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: invalid finger width range.  defaulting to 0 - 15
[    27.231] (--) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: touchpad found
[    27.231] (**) AlpsPS/2 ALPS DualPoint TouchPad: always reports core events
[    27.244] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input15/event15"
[    27.244] (II) XINPUT: Adding extended input device "AlpsPS/2 ALPS DualPoint TouchPad" (type: TOUCHPAD, id 13)
[    27.244] (**) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    27.244] (**) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: MaxSpeed is now 1.75
[    27.244] (**) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: AccelFactor is now 0.082
[    27.244] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) keeping acceleration scheme 1
[    27.244] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) acceleration profile 1
[    27.244] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) acceleration factor: 2.000
[    27.244] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) acceleration threshold: 4
[    27.244] (--) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: touchpad found

_________________
Donate to Gentoo
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5575

PostPosted: Wed Feb 20, 2013 8:12 am    Post subject: Reply with quote

Pastebin the whole log - this snippet shows only that the touchpad is detected and the correct driver is used.
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1234

PostPosted: Wed Feb 20, 2013 6:04 pm    Post subject: Reply with quote

Here it is:
http://pastebin.com/n1wnuXPT
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5575

PostPosted: Thu Feb 21, 2013 12:11 am    Post subject: Reply with quote

OK, according to the log, your touchpad is detected and works fine.

So:
- what exactly doesn't work ?
- what exactly did you put into configuration files and where did you put them ?
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1234

PostPosted: Sun Mar 10, 2013 2:15 am    Post subject: Reply with quote

VoidMage wrote:
OK, according to the log, your touchpad is detected and works fine.

So:
- what exactly doesn't work ?
- what exactly did you put into configuration files and where did you put them ?

Thanks for your continued interest

The touchpad is completely dead in X and on the console with those logs.
I can use a usb mouse fine in X and console (no X with gpm)

I generally run with no xorg.conf.
I put a few test files in /etc/X11/xorg.conf.d trying combinations of loading synaptics and turning this on and off
Code:
#Section "InputClass"
#        Identifier "touchpad ignore duplicates"
#        MatchIsTouchpad "on"
#        MatchOS "Linux"
#        MatchDevicePath "/dev/input/mouse*"
#        Option "Ignore" "on"
#EndSection


I saw there is somthing of a default file in /usr/share/X11/xorg.conf.d
I have about given up since I keep getting erratic results
some times I see the touchpad show up as /dev/input/event15 and sometimes not at all.

I am currently messing around with this version http://www.dahetral.com/public-download/psmouse-alps-1.3.tbz/view
However I suspect an earlier version worked

And I still cant find where that debugging data is for psmouse kernel module since I dont get any in dmesg
thanks again
turtle
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Yuriy Skvortsov
n00b
n00b


Joined: 30 Dec 2012
Posts: 29
Location: Odessa, Ukraine

PostPosted: Sun Mar 10, 2013 1:26 pm    Post subject: Reply with quote

I've just tried to build alps-1.3 with 3.7.9 kernel and it didn't work:
Code:

 make[1]: Nothing to be done for `all'.
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: Nothing to be done for `relocs'.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
make[3]: `arch/x86/realmode/rm/realmode.bin' is up to date.
  CC      drivers/input/mouse/alps.o
drivers/input/mouse/alps.c: In function ‘alps_set_abs_params_mt’:
drivers/input/mouse/alps.c:1818:2: error: implicit declaration of function ‘__input_mt_init_slots’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [drivers/input/mouse/alps.o] Error 1
make[2]: *** [drivers/input/mouse] Error 2
make[1]: *** [drivers/input] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [drivers] Error 2


I've also sent a message to dahetral.com, just in case.
Back to top
View user's profile Send private message
Yuriy Skvortsov
n00b
n00b


Joined: 30 Dec 2012
Posts: 29
Location: Odessa, Ukraine

PostPosted: Mon Mar 11, 2013 5:04 pm    Post subject: Reply with quote

Ok, here I've got an answer for my message to Dahetral:
Quote:

The interface to input_mt_init_slots changed in the 3.5 kernel. We made
the interface conditional in psmouse.h and wrapped it inside
__input_mt_init_slots. Make sure you are using the psmouse.h in the 1.3
dlkm. It sounds like you are picking up another one.


Gonna test it..
Back to top
View user's profile Send private message
Yamakuzure
Veteran
Veteran


Joined: 21 Jun 2006
Posts: 1389
Location: Bardowick, Germany

PostPosted: Fri Mar 15, 2013 1:35 pm    Post subject: Reply with quote

turtles wrote:
VoidMage wrote:
OK, according to the log, your touchpad is detected and works fine.

So:
- what exactly doesn't work ?
- what exactly did you put into configuration files and where did you put them ?

Thanks for your continued interest

The touchpad is completely dead in X and on the console with those logs.
I can use a usb mouse fine in X and console (no X with gpm)
Youd do not have, by any chance, a program (like "synaptiks") running that actually turns the touchpad off when a mouse is plugged in?
_________________
I *do* know that I easily aggravate people due to my condensed writing. Rule of thumb: If I wrote anything that can be understood in two different ways, and one way offends you, then I meant the other! ;)
Back to top
View user's profile Send private message
itzamnaaj
n00b
n00b


Joined: 22 Mar 2013
Posts: 1

PostPosted: Fri Mar 22, 2013 3:04 am    Post subject: dell inspiron 17r se with working alps touchpad Reply with quote

hy turtles and all other,

here is the way i got my alps toutchpad running on my "Dell Inspiron 17R Special Edition".
try exactly these steps and show what happens.

1. install 3.6 kernel (works not with 3.7 for me)
2. copy alps.c and alps.h (to kernel directory) from this site "http://www.dahetral.com/public-download" use "psmouse-alps-dst-0.4"
3. compile kernel and modules
4. install xorg-x11 not only xorg-server
5. install xf86-input-synaptics driver: U NEED THIS
6. create xorg.conf in etc/X11/ U NEED THIS / here is my config, thanks Yamakuzure.

Code:

Section "Module"
   Load         "glx"
EndSection

Section "Files"
    ModulePath "/usr/lib64/xorg/modules"
    ModulePath "/usr/lib64/xorg/modules/extensions"
    ModulePath "/usr/lib64/opengl/xorg-x11"
    ModulePath "/usr/lib64/opengl/xorg-x11/extensions"
EndSection

Section "InputClass"
        Identifier "touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "synaptics"
        Option "LeftEdge"                                       "100"
        Option "RightEdge"                                      "1200"
        Option "TopEdge"                                        "100"
        Option "BottomEdge"                                     "800"
        Option "FingerLow"                                      "12"
        Option "FingerHigh"                                     "14"
        Option "FingerPress"                                    "127"
        Option "MaxTapTime"                                     "180"
        Option "MaxTapMove"                                     "107"
        Option "MaxDoubleTapTime"                               "180"
        Option "SingleTapTimeout"                               "180"
        Option "ClickTime"                                      "100"
        Option "FastTaps"                                       "on"
        Option "EmulateMidButtonTime"                           "75"
        Option "EmulateTwoFingerMinZ"                           "139"
        Option "EmulateTwoFingerMinW"                           "7"
        Option "VertScrollDelta"                                "44"
        Option "HorizScrollDelta"                               "44"
        Option "VertEdgeScroll"                                 "on"
        Option "HorizEdgeScroll"                                "on"
        Option "CornerCoasting"                                 "0"
        Option "VertTwoFingerScroll"                            "on"
        Option "HorizTwoFingerScroll"                           "on"
        Option "MinSpeed"                                       "1"
        Option "MaxSpeed"                                       "1.75"
        Option "AccelFactor"                                    "0.0075"
        Option "TrackstickSpeed"                                "40"
        Option "EdgeMotionMinZ"                                 "14"
        Option "EdgeMotionMaxZ"                                 "79"
        Option "EdgeMotionMinSpeed"                             "200"
        Option "EdgeMotionMaxSpeed"                             "200"
        Option "EdgeMotionUseAlways"                            "0"
        Option "TouchpadOff"                                    "0"
        Option "LockedDrags"                                    "0"
        Option "LockedDragTimeout"                              "5000"
        Option "RTCornerButton"                                 "0"
        Option "RBCornerButton"                                 "0"
        Option "LTCornerButton"                                 "0"
        Option "LBCornerButton"                                 "0"
        Option "TapButton1"                                     "1"
        Option "TapButton2"                                     "3"
        Option "TapButton3"                                     "2"
        Option "ClickFinger1"                                   "1"
        Option "ClickFinger2"                                   "1"
        Option "ClickFinger3"                                   "1"
        Option "CircularScrolling"                              "0"
        Option "CircScrollDelta"                                "0.100007"
        Option "CircScrollTrigger"                              "0"
        Option "CircularPad"                                    "0"
        Option "PalmDetect"                                     "1"
        Option "PalmMinWidth"                                   "10"
        Option "PalmMinZ"                                       "99"
        Option "CoastingSpeed"                                  "0"
        Option "CoastingFriction"                               "50"
        Option "CoastingFriction"                               "50"
        Option "PressureMotionMinZ"                             "14"
        Option "PressureMotionMaxZ"                             "79"
        Option "PressureMotionMinFactor"                        "1"
        Option "PressureMotionMaxFactor"                        "1"
        Option "GrabEventDevice"                                "1"
        Option "TapAndDragGesture"                              "1"
        Option "AreaLeftEdge"                                   "0"
        Option "AreaRightEdge"                                  "0"
        Option "AreaTopEdge"                                    "0"
        Option "AreaBottomEdge"                                 "0"
        Option "SHMConfig" "on"
EndSection


8. only gnome users: disable mouse plugin in dconf, it overwrites the xorg.conf settings

now i can scroll on the right edge with one finger, whith two fingers vertical and horizontal, rightmouseclick whith two fingers and multitouch zoom.

good luck and sorry for my bad english, i must learn russian in school. ;)

by itzamnaaj
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1234

PostPosted: Fri Mar 22, 2013 6:38 pm    Post subject: Reply with quote

Thanks again such a funny project for a new laptop. better than not having video drivers.

I managed to get the alps touchpad working only in X on my Dell E5430 with psmouse-alps-1.3.tbz just using the alps.c and alps.h with kernel 3.6.11.
I think I tried it with the whole directory and it did not work.

I did a progression of xconfigs but It really did not matter until I got this in dmesg:
Code:
dmesg | grep input
[   24.145928] input: PS/2 Mouse as /devices/platform/i8042/serio1/input/input13
[   24.158018] input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input14
[  669.868299] psmouse serio1: GlidePoint at isa0060/serio1/input0 lost sync at byte 6
[  669.878613] psmouse serio1: GlidePoint at isa0060/serio1/input0 - driver resynced.
[  669.961065] psmouse serio1: GlidePoint at isa0060/serio1/input0 lost sync at byte 6
[  669.970398] psmouse serio1: GlidePoint at isa0060/serio1/input0 - driver resynced.
[  714.645448] psmouse serio1: GlidePoint at isa0060/serio1/input0 lost sync at byte 6
[  714.655735] psmouse serio1: GlidePoint at isa0060/serio1/input0 - driver resynced.


Checking kdm.log
Code:
grep 'EE' /var/log/kdm.log
(not in Xorg.0.log) I found errors like this:

Code:
(EE) BUG: triggered 'if (inSignalContext)'
(EE) BUG: /var/tmp/portage/x11-base/xorg-server-1.13.1/work/xorg-server-1.13.1/os/log.c:484 in LogVMessageVerb()
(EE) Warning: attempting to log data in a signal unsafe manner while in signal context.
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x588d26]
(EE) 1: /usr/bin/X (LogVMessageVerb+0x165) [0x5938d5]
(EE) 2: /usr/bin/X (xf86MsgVerb+0x8a) [0x484daa]
(EE) 3: /usr/lib64/xorg/modules/input/synaptics_drv.so (0x7f481027e000+0x805d) [0x7f481028605d]
(EE) 4: /usr/lib64/xorg/modules/input/synaptics_drv.so (0x7f481027e000+0xd658) [0x7f481028b658]
(EE) 5: /usr/bin/X (0x400000+0x782f7) [0x4782f7]
(EE) 6: /usr/bin/X (0x400000+0xa13c4) [0x4a13c4]
(EE) 7: /lib64/libpthread.so.0 (0x7f4813ec3000+0x10460) [0x7f4813ed3460]
(EE) 8: /lib64/libc.so.6 (__select+0x13) [0x7f4812c1e213]
(EE) 9: /usr/bin/X (WaitForSomething+0x190) [0x586530]
(EE) 10: /usr/bin/X (0x400000+0x3ada1) [0x43ada1]
(EE) 11: /usr/bin/X (0x400000+0x29d5a) [0x429d5a]
(EE) 12: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f4812b5b4bd]
(EE) 13: /usr/bin/X (0x400000+0x2a09d) [0x42a09d]


And you were correct in that even now alps.c works in dmesg I dont get the garbled data in
Code:
cat /dev/input/event14 
like you used to with
Code:
cat /dev/input/mouse0

Which is sad since I think it breaks gpm and I still dont have a touchpad in console when X is not running or when I CTRL + ALT + F1 to a new tty.
However my usb mouse works in the console.

The pertinent stuff from X was I have a config dir not a xorg.conf
/etc/X11/xorg.conf.d/91-synaptics.conf
That file name has to have a number higher than 50 since and ends in .conf
There is a /usr/share/X11/xorg.conf.d/50-synaptics.conf
That X parses them in order.
My current working config without the options section:
Code:

#Section "Module"
#       Load    "synaptics"
#EndSection

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
EndSection

Section "InputClass"
        Identifier "touchpad ignore duplicates"
        MatchIsTouchpad "on"
        MatchOS "Linux"
        MatchDevicePath "/dev/input/mouse*"
        Option "Ignore" "on"
EndSection

I think the ignore section should be broken out and above the options

Hope this helps some one else[/code]
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 467

PostPosted: Tue Apr 16, 2013 11:34 am    Post subject: Reply with quote

I bought an Asus N56DP and it appears to have the same issue. I don't really care about the advanced trackpad features as I mostly use the keyboard (ratpoison, screen, etc). Can I disable trackpad while typing, or will that only when when the trackpad is using the synaptics driver? I did try touchfreeze and it appeared to require synaptics.

Although I might just disable the trackpad completely until it works with a recent kernel. I'm not giving up the latest xf86-video-ati drivers for this.

EDIT: Worked around by assigning a key to disable/enable the trackpad:

Code:

xinput set-prop "PS/2 Generic Mouse" "Device Enabled" 0 # Change to "1" to re-enable



See this link for more detail: http://unix.stackexchange.com/questions/4469/disable-mouse-not-touchpad-in-xorg-while-idle
Back to top
View user's profile Send private message
onndsd
n00b
n00b


Joined: 05 Jun 2010
Posts: 32

PostPosted: Wed Apr 17, 2013 8:51 pm    Post subject: Reply with quote

I have the same problem with the touchpad of my Dell Latitude e6530. It would be great if an official patch is released by the gentoo-sources developers. The Fedora developers released a patch for their kernel (https://bugzilla.redhat.com/show_bug.cgi?id=812111#c131).
Back to top
View user's profile Send private message
kilua
n00b
n00b


Joined: 22 May 2006
Posts: 17

PostPosted: Wed Jul 17, 2013 6:27 pm    Post subject: Reply with quote

I had the same issues with a Dell Inspiron 15R SE (7520) and setting

Code:
CONFIG_MOUSE_PS2_ELANTECH=y


in the kernel's .config file (gentoo-sources-3.8.13) fixed the problem. Now dmesg shows the touchpad and X picked it transparently. The idea comes from this thread.
Back to top
View user's profile Send private message
trustlix
n00b
n00b


Joined: 25 May 2004
Posts: 21
Location: Brazil

PostPosted: Tue Aug 06, 2013 2:03 am    Post subject: Reply with quote

kilua wrote:
I had the same issues with a Dell Inspiron 15R SE (7520) and setting

Code:
CONFIG_MOUSE_PS2_ELANTECH=y


in the kernel's .config file (gentoo-sources-3.8.13) fixed the problem. Now dmesg shows the touchpad and X picked it transparently. The idea comes from this thread.


Worked like a charm on my Asus S46C :D
Back to top
View user's profile Send private message
Eong
n00b
n00b


Joined: 22 Jan 2007
Posts: 9

PostPosted: Sun Oct 27, 2013 10:27 am    Post subject: Reply with quote

kilua wrote:
I had the same issues with a Dell Inspiron 15R SE (7520) and setting

Code:
CONFIG_MOUSE_PS2_ELANTECH=y


in the kernel's .config file (gentoo-sources-3.8.13) fixed the problem. Now dmesg shows the touchpad and X picked it transparently. The idea comes from this thread.


This makes the touchpad "working" , but not working properly on my E7440.
I'm using the psmouse-alps-1.3-alt.tbz with linux 3.11.6 , copy the alps.c and alps.h to the kernel directory, compile it , it works fine. Two fingers scroll also works, not perfect but usable.
By the way, you may need to change the "__input_mt_init_slots" to "input_mt_init_slots" if compile errors.
Great thanks to the author Kevin Cernekee!!
Back to top
View user's profile Send private message
Yuriy Skvortsov
n00b
n00b


Joined: 30 Dec 2012
Posts: 29
Location: Odessa, Ukraine

PostPosted: Tue Feb 25, 2014 11:11 pm    Post subject: Reply with quote

As mentioned earlier, just copying alps.c and alps.h from daetheral tgz does not solve the problem for kernels >3.7. The fix was initially to pull also psmouse.h that contained the extra
Code:

#include <linux/version.h>

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0)
#define __input_mt_init_slots      input_mt_init_slots
#else
#define __input_mt_init_slots(x,y,z)   input_mt_init_slots(x,y)
#endif

But as for now with kernel 3.10.25 the exchange of psmouse.h does not work anymore. What works instead is simply adding a line
Code:
#define __input_mt_init_slots      input_mt_init_slots

to the top of original psmouse.h

This is almost same as Eong mentioned in the previous post/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum