LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Synaptics not working on Slackware 12.2 Custom Kernel (https://www.linuxquestions.org/questions/linux-newbie-8/synaptics-not-working-on-slackware-12-2-custom-kernel-704813/)

RedScare 02-15-2009 08:20 AM

Synaptics not working on Slackware 12.2 Custom Kernel
 
[SOLVED]: http://www.linuxquestions.org/questi...kernel-706845/.
I custom-built my kernel and installed the synaptics drivers. I am on a Dell XPS m1530. My touchpad works fine in kde; it clicks and moves. I cannot get scrolling by moving my finger along the side of the touchpad to work. My understanding is that for this I need to have the synaptics driver working and enabled. I do not know the device to which the touchpad is connected, and /dev/psaux does not exist. I am loading the synaptics module in xorg and I left the mouse device as the default /dev/mouse. Thank you.
Relevant part of xorg:
Code:

  Identifier    "Mouse1"
    Driver        "synaptics"
    Option        "Device" "/dev/mouse"
    Option          "VertEdgeScroll"  "true"
EndSection

EDIT: Please refer below for further logs and information.

Ranguvar 02-16-2009 12:47 AM

Look in /dev/input for other things to try setting Device to.

Also, try using the "imps2" driver. It's worked for me on laptops with touchpads where Synaptics has failed.

RedScare 02-22-2009 11:31 PM

I rebuilt a later kernel (v. 2.6.28.7) with synaptics and evdev built in and psmouse as a module. I then installed the synaptics driver from source. I believe the problem is relatively low-level as my touchpad seems to not be detected as a synaptics one:
Code:

redscare@redscare-laptop:~$ cat /proc/bus/input/devices
I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
S: Sysfs=/devices/virtual/input/input0
U: Uniq=
H: Handlers=mouse0 event0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=120013
B: KEY=8000 0 0 0 0 0 500f 2102002 380307c f810d001 feffffdf ffefffff ffffffff ffffffff
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0001 Version=0000
N: Name="PS/2 Generic Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input2
U: Uniq=
H: Handlers=mouse1 event2
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I know it is a synaptics-capable touchpad as it works as such in Ubuntu. How do I solve this? Thanks.

DidierSpaier 02-23-2009 02:15 AM

My guess is you have a configuration problem in your custom kernel.

Did you try a stock Slackware kernel, as the Synaptic driver is included in all ?
Code:

bash-3.1$ grep SYNAPTIC /boot/config*
config:CONFIG_MOUSE_PS2_SYNAPTICS=y
config-generic-2.6.27.7:CONFIG_MOUSE_PS2_SYNAPTICS=y
config-generic-smp-2.6.27.7-smp:CONFIG_MOUSE_PS2_SYNAPTICS=y
config-huge-2.6.27.7:CONFIG_MOUSE_PS2_SYNAPTICS=y
config-huge-smp-2.6.27.7-smp:CONFIG_MOUSE_PS2_SYNAPTICS=y
bash-3.1$


RedScare 02-23-2009 08:45 AM

I have not yet tried a stock kernel. Here is some interesting/useful output (config-2.6.28.7 is the one I used for my kernel):
Code:

redscare@redscare-laptop:~$ grep SYNAPTIC /boot/config-2.6.28.7
CONFIG_MOUSE_PS2_SYNAPTICS=y
redscare@redscare-laptop:~$ grep MOUSE /boot/config-2.6.28.7
CONFIG_MAC_EMUMOUSEBTN=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1280
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=800
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 is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_USB_IDMOUSE is not set


RedScare 02-23-2009 09:13 AM

Apparently I managed to break the stock kernels, I get no internet and my mouse completely breaks (doesn't move). Renaming those module folders was a bad idea. Installing the synaptics driver from source even though I have it included in the kernel shouldn't break anything, right? My Xorg.0.log might be helpful, it suggests /dev/input/event* is the culprit:
Code:

redscare@redscare-laptop:/var/log$ cat Xorg.0.log (I only show relevant stuff)
...
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
        compiled for 1.4.2, module version = 1.0.99
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.0
...
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 1.4.0.90, module version = 1.3.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.0
...
(II) Synaptics touchpad driver version 1.0.99
Mouse1 no synaptics event device found
(**) Option "Device" "/dev/psaux"
(**) Option "VertEdgeScroll" "true"
Query no Synaptics: 6003C8
(--) Mouse1: no supported touchpad found
...Mouse1 no synaptics event device found
Query no Synaptics: 6003C8
(--) Mouse1: no supported touchpad found
Query no Synaptics: 6003C8
Query no Synaptics: 6003C8
Query no Synaptics: 6003C8---------------------> for each mouse movement, this line added

Thank you.

EDIT: This is an XPS M1530 laptop, if that in any way helps, and I run with kernel boot option i8042.nomux=1.

EDIT: I forgot to mention that I recompiled the kernel with support for /dev/psaux and now use that as my device.

EDIT: [SOLVED]: http://www.linuxquestions.org/questi...kernel-706845/


All times are GMT -5. The time now is 07:13 AM.