Adding event node for Synaptics touchpad
Hi!
I managed to make my synaptics driver work by creating some event nodes in /dev/input, with mknod. After I restarted X, the touchpad worked perfectly with all synaptics functions. After I rebooted, the nodes weren't there anymore, and the synaptics driver wasn't loaded. How do i tell the kernel to create those event nodes at boot-time? Thanks to everyone! |
How are you doing each of these things you are doing? From a command line as root or as a user? List the commands you are using. How and where are you loading the synaptics module?
Brian |
I did everthing as root. First of all, I edited xorg.conf:
I added: Code:
Section "InputDevice" And, in section ServerLayout: Code:
InputDevice "Mouse1" "CorePointer" Code:
(**) |-->Input Device "Synaptics Mouse" In /dev/input there were mice, event0, mouse0, and I added (with mknod) event1. I restarted X (DIDN'T REBOOT!) and the Synaptics driver was loaded correctly by X. Then I rebooted, and the event nodes weren't there anymore! I thought of editing my /etc/rc.d/rc.local (it's loaded at boot-time) in order to run mknod, but I wanted to know if there is a better way to solve this problem. Thanks! |
When I say mknod, i mean:
Code:
# mknod /dev/input/event0 c 13 64 |
If all you need to do was to run the mknod commands and then start X then the best place is to place them in /etc/rc.local. Use the full path to the mknod command when inserted in the rc.local file. Usually in /bin but may differ distro to distro.
Brian |
Thank you, it works now!
|
All times are GMT -5. The time now is 02:42 PM. |