View previous topic :: View next topic |
Author |
Message |
klessou n00b
Joined: 02 Sep 2006 Posts: 40
|
Posted: Sun Apr 01, 2007 3:16 pm Post subject: Crazy Macbook Touchpad |
|
|
My touchpad doesn't work,
When I put my finger on the touchpad, the cursor move Vertically.
When I click, the cursor move Horizontally.
And I have got this mistake :
(EE) Synaptics Touchpad no synaptics touchpad detected and no repeater device
(EE) Synaptics Touchpad Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "Synaptics Touchpad" |
|
Back to top |
|
|
loopx Advocate
Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Sun Apr 01, 2007 11:41 pm Post subject: |
|
|
Check your device in /dev/input/eventX
My event1 has changed to event4
Now, it will work fine _________________ Mon MediaWiki perso : http://pix-mania.dyndns.org |
|
Back to top |
|
|
klessou n00b
Joined: 02 Sep 2006 Posts: 40
|
Posted: Mon Apr 02, 2007 2:33 pm Post subject: |
|
|
It doesn't work for me.
My xorg.conf
Code: |
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
#Option "CorePointer"
#Option "SendCoreEvents" "true"
#Option "Device" ""
Option "Device" "/dev/input/mouse1
#Option "Device" "/dev/input/appletouchpad"
Option "Protocol" "/dev/input/event5"
#Option "Protocol" "auto-dev"
Option "LeftEdge" "100"
Option "RightEdge" "1120"
Option "TopEdge" "50"
Option "BottomEdge" "310"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "MaxDoubleTapTime" "180"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "50"
Option "MinSpeed" "0.79"
Option "MaxSpeed" "0.88"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
#Option "SHMConfig" "true"
Option "VertTwoFingerScroll" "1"
Option "HorizTwoFingerScroll" "1"
Option "TapButton2" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
EndSection |
Now I have got this message :
Code: | (--) Synaptics Touchpad auto-dev sets device to /dev/input/event5
(**) Option "Device" "/dev/input/event5"
(--) Synaptics Touchpad touchpad found
(II) Configured Mouse: ps2EnableDataReporting: succeeded
ProcXCloseDevice to close or not ? |
But the cursor doesn't move
In my /dev/input :
Code: | ls -la /dev/input/by-id/usb-Apple_Computer_Apple_Internal_Keyboard_._Trackpad-*
lrwxrwxrwx 1 root root 9 avr 2 13:01 /dev/input/by-id/usb-Apple_Computer_Apple_Internal_Keyboard_._Trackpad-event-kbd -> ../event6
lrwxrwxrwx 1 root root 9 avr 2 13:01 /dev/input/by-id/usb-Apple_Computer_Apple_Internal_Keyboard_._Trackpad-event-mouse -> ../event5
lrwxrwxrwx 1 root root 9 avr 2 13:01 /dev/input/by-id/usb-Apple_Computer_Apple_Internal_Keyboard_._Trackpad-mouse -> ../mouse1 |
|
|
Back to top |
|
|
dtor Guru
Joined: 19 Jan 2004 Posts: 461 Location: Indiana, USA
|
Posted: Fri Apr 06, 2007 7:30 pm Post subject: |
|
|
Just use protocol "auto-dev" and let the driver locate current event device. _________________ Dmitry |
|
Back to top |
|
|
klessou n00b
Joined: 02 Sep 2006 Posts: 40
|
Posted: Sun Apr 08, 2007 11:54 am Post subject: |
|
|
I have got another mistake with usbhid :
Code: | modprobe usbhid
FATAL: Error inserting usbhid (/lib/modules/2.6.21-rc5/kernel/drivers/usb/input/usbhid.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error running install command for usbhid
|
dmesg :
Code: | usbhid: Unknown parameter `pb_fnmode' |
|
|
Back to top |
|
|
dtor Guru
Joined: 19 Jan 2004 Posts: 461 Location: Indiana, USA
|
Posted: Mon Apr 09, 2007 5:03 am Post subject: |
|
|
You need to load appletouch module. _________________ Dmitry |
|
Back to top |
|
|
klessou n00b
Joined: 02 Sep 2006 Posts: 40
|
Posted: Mon Apr 09, 2007 3:25 pm Post subject: |
|
|
I think it's not the problem because :
Code: | # rmmod appletouch; rmmod usbhid; modprobe appletouch; sleep 2; modprobe usbhid --ignore-install pb_fnmode=2
FATAL: Error inserting usbhid (/lib/modules/2.6.21-rc5/kernel/drivers/usb/input/usbhid.ko): Unknown symbol in module, or unknown parameter (see dmesg) |
When I change /etc/modules.d/touchpad like this :
Code: | install usbhid /sbin/modprobe appletouch && sleep 2 && /sbin/modprobe --ignore-install usbhid
|
the touchpad works
But without pb_fnmode option :-/ |
|
Back to top |
|
|
dtor Guru
Joined: 19 Jan 2004 Posts: 461 Location: Indiana, USA
|
Posted: Mon Apr 09, 2007 3:35 pm Post subject: |
|
|
pb_fnmode option was moved from usbhid module to hid module. _________________ Dmitry |
|
Back to top |
|
|
klessou n00b
Joined: 02 Sep 2006 Posts: 40
|
Posted: Thu May 03, 2007 7:09 pm Post subject: |
|
|
How to specifie this option into /etc/modules.d/touchpad ? |
|
Back to top |
|
|
dtor Guru
Joined: 19 Jan 2004 Posts: 461 Location: Indiana, USA
|
Posted: Thu May 03, 2007 7:20 pm Post subject: |
|
|
Not sure about format of /etc/modules.d/touchpad but in /etc/modprobe.conf it goes like "options hid pb_fnmode=2". That's if hid is a module, otherwise add hid.pb_fnmode=2 to the kernel command line. _________________ Dmitry |
|
Back to top |
|
|
klessou n00b
Joined: 02 Sep 2006 Posts: 40
|
Posted: Fri May 04, 2007 4:14 pm Post subject: |
|
|
A good solution is also to add this line into local.start :
echo -n 0x02 > /sys/module/hid/parameters/pb_fnmode |
|
Back to top |
|
|
|