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

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
klessou
n00b
n00b


Joined: 02 Sep 2006
Posts: 40

PostPosted: Sun Apr 01, 2007 3:16 pm    Post subject: Crazy Macbook Touchpad Reply with quote

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
View user's profile Send private message
loopx
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2787
Location: Belgium / Liège

PostPosted: Sun Apr 01, 2007 11:41 pm    Post subject: Reply with quote

Check your device in /dev/input/eventX

My event1 has changed to event4 :lol:


Now, it will work fine ;)
_________________
Mon MediaWiki perso : http://pix-mania.dyndns.org
Back to top
View user's profile Send private message
klessou
n00b
n00b


Joined: 02 Sep 2006
Posts: 40

PostPosted: Mon Apr 02, 2007 2:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
dtor
Guru
Guru


Joined: 19 Jan 2004
Posts: 461
Location: Indiana, USA

PostPosted: Fri Apr 06, 2007 7:30 pm    Post subject: Reply with quote

Just use protocol "auto-dev" and let the driver locate current event device.
_________________
Dmitry
Back to top
View user's profile Send private message
klessou
n00b
n00b


Joined: 02 Sep 2006
Posts: 40

PostPosted: Sun Apr 08, 2007 11:54 am    Post subject: Reply with quote

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
View user's profile Send private message
dtor
Guru
Guru


Joined: 19 Jan 2004
Posts: 461
Location: Indiana, USA

PostPosted: Mon Apr 09, 2007 5:03 am    Post subject: Reply with quote

You need to load appletouch module.
_________________
Dmitry
Back to top
View user's profile Send private message
klessou
n00b
n00b


Joined: 02 Sep 2006
Posts: 40

PostPosted: Mon Apr 09, 2007 3:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
dtor
Guru
Guru


Joined: 19 Jan 2004
Posts: 461
Location: Indiana, USA

PostPosted: Mon Apr 09, 2007 3:35 pm    Post subject: Reply with quote

pb_fnmode option was moved from usbhid module to hid module.
_________________
Dmitry
Back to top
View user's profile Send private message
klessou
n00b
n00b


Joined: 02 Sep 2006
Posts: 40

PostPosted: Thu May 03, 2007 7:09 pm    Post subject: Reply with quote

How to specifie this option into /etc/modules.d/touchpad ?
Back to top
View user's profile Send private message
dtor
Guru
Guru


Joined: 19 Jan 2004
Posts: 461
Location: Indiana, USA

PostPosted: Thu May 03, 2007 7:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
klessou
n00b
n00b


Joined: 02 Sep 2006
Posts: 40

PostPosted: Fri May 04, 2007 4:14 pm    Post subject: Reply with quote

A good solution is also to add this line into local.start :

echo -n 0x02 > /sys/module/hid/parameters/pb_fnmode
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
Page 1 of 1

 
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