Synaptics not working on Dell XPS M1530, Slackware 12.2 custom kernel
[SOLVED] Check #12 by me
I custom-built my kernel (v. 2.6.28.7) on a Slackware 12.2 system (NOTE: I unfortunately cannot check the stock kernels as I have broken them), including psmouse as a module and including synaptics and evdev, and installed the synaptics drivers from source. 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 (NOTE: I had synaptics working under Ubuntu). I am loading the synaptics module in xorg. Relevant part of xorg: Code:
Identifier "Mouse1" Code:
edscare@redscare-laptop:~$ cat /proc/bus/input/devices Code:
redscare@redscare-laptop:~$ grep SYNAPTIC /boot/config-2.6.28.7 Code:
redscare@redscare-laptop:/var/log$ cat Xorg.0.log (I only show relevant stuff) |
Let's try make that simpler.
First reinstall stock kernels, that's easy. If you have slackpkg installed (that should be the case if you made a full install), type following commands: slackpkg update slackpkg reinstall kernel Then accept all proposed updates (will take some time but won't hurt) Before that, if it's the first time you use slackpkg, 'uncomment' one (and only one) URL in /etc/slackpkg/mirrors. -- Or if you have the DVD at hand you could do this: cd /mnt/dvd upgradepkg --install-new --reinstall slackare/d/kernel*tgz slackware/a/kernel*tgz slackware/k/kernel*tgz -- Then try your touchpad. PS1 Yes, it can hurt if you install a new kernel module and one is already installed for the same driver. PS2 Please don't make two threads for the same issue. Rule of thumb: if ain't broken, don't fix it ;) EDIT -- command 'upgradepkg' was mispelled 'ugrade' |
Thank you. If I do reinstall the kernel by that method, will I lose my custom compiled kernel along with the source (v. 2.6.28.7)? Also, including the synaptics driver in the kernel is equivalent to installing it from source? Are they the same driver?
|
1) You won't loose anything, unless you gave your kernel or kernel-source the same name as the stock kernels, which is highly improbable (kernel version number is always included in kernel and kernel source names in Slackware packages).
2) Building and installing the kernel drivers from source will be equivalent to using the ones included in the kernel _if_and_only_if_ you use the _very_same_version_, and use the same compilation options. To make sure of that you can make a diff of the respective source files (synaptics.c and synaptics.h) and a diff of the respective Makefiles -- but then, what can you do with that information ? So, let me repeat myself: go with the stock kernel and the included module, and check if that works first -- unless you really prefer to replace something which works with something which doesn't. As we say in French: why make things simple when they could be complicated ;) Cheers, |
I will soon try to replace the stock kernels, but I have another question. Installing the Synaptics drivers from source places files into /usr/lib/xorg/modules. Kernel compilation doesn't affect this directory to the best of my knowledge. So wouldn't it be necessary to install the Synaptics from source?
Thanks again. |
Well I tried the old kernel, and that didn't help or really change anything. My new /proc/bus/input/devices (I don't really think the changes are relevant; I purposely did not include the webcam in my custom kernel):
Code:
redscare@redscare-laptop:~$ cat /proc/bus/input/devices |
I started using the synaptic touch pad mouse with slackware 10. I did not need any special driver. But there was some that you could do. I found I made the pad work with every thing by editing the xorg. I am not sure what is going on here.
But after reading what Linus had to say about the cursor and the kernel told me they were already built into the kernel. so I did this also. Quote:
|
RedScare, keep in mind that you really need two drivers for your touchpad:
- the kernel driver; - the X (or Xorg, in our case) driver. I think that Drakeo is right: your problem has nothing to do with the kernel driver, but is a matter of configuring the Xorg driver at run time (no need to re compile it). the 'man synaptics' command will tell you (a lot!) more. In this manual '34' should read " (double quote) character. That's the way Xorg manual is written. Side note: I read long manual pages in konqueror, it's easier: type #synaptics or man:synaptics in the address bar. To know how-to use your touchpad in console mode, read /usr/doc/gpm-1.20.1/README.synaptics. |
That is what I did, I am sorry for not being clear--I installed the synaptics Xorg driver manually (xf86). It is unlikely that the synaptics driver itself is malfunctioning as indicated by Xorg.0.log errors and my output from /proc/bus/input/devices, but with detection of the mousepad as a synaptics-capable one.
Thank you, and please help me. |
-- Sorry, duplicate post --
|
I do not think that a "bad" synaptics Xorg driver is in concern. Anyhow a synaptics Xorg driver is of course included in Slackware.
But may be some udev rules cause the issue, or the psmouse kernel-module claim the device before the synaptics kernel driver (though it could be surprising as synptics is built-in and psmouse is a module). I say that because on my laptop the touchpad (which works like a mouse) uses the psmouse module. First check with 'lsmod' which module is loaded for your touchpad. Guess it is psmouse. If it is the case I would try this: 1) blacklist the psmouse module: add a line with 'blacklist psmouse' (without the quotes, of course) at the end of /etc/modprobe.d/blacklist 2) reboot and see what happens Or you can reconfigure your kernel with CONFIG_MOUSE_PS2_SYNAPTICS=m (e.g., as a module, not built-in), still blacklist psmouse, try to 'modprobe synaptics' and see what you get. And/or you could try not to include any MOUSE_PS2_xx driver, but MOUSE_PS2_SYNAPTICS. Not sure I shed some light, I'm running out of ideas :scratch: PS did you read the docs I pointed to ? |
I read the docs you referred me to, yes. I've finally solved this myself though, by adding the boot parameter i8042.reset to my boot parameters (i8042.nomux=1). Now my /proc/bus/input/devices is (shows that my alps touchpad is being detected):
Code:
bash-3.1# cat /proc/bus/input/devices Code:
Section InputDevice Didier, the psmouse module can be loaded with a synaptics mouse. |
Quote:
I'm happy you end up with a fine tuned touch pad. :cool: |
Thank you very much for all your help.
|
All times are GMT -5. The time now is 08:09 AM. |