Elan Touchpad Driver
Started by Cavendish Qi, Aug 28 2012 01:26 PM
Development Driver ASUS Laptop Elan 10.8 10.7
78 replies to this topic
#21
Posted 30 August 2012 - 08:07 PM
Hi!, Doesn´t work on Vaio VPCEHM0E
#22
Posted 31 August 2012 - 12:05 AM
@Cavendish Qi
about alps touchpad
this alps multitouch kext isnt complete it makes some alps devices to work on intellimouse mode
not on absolute mode
and this driver is old and when developed there was no good driver under lunix was developed
now there is good driver under lunix but no one continued developing it
i am not programing this is the bad thing
you can find alps driver under alps.c on lunix kernel
i hope you help on this also
about alps touchpad
this alps multitouch kext isnt complete it makes some alps devices to work on intellimouse mode
not on absolute mode
and this driver is old and when developed there was no good driver under lunix was developed
now there is good driver under lunix but no one continued developing it
i am not programing this is the bad thing
you can find alps driver under alps.c on lunix kernel
i hope you help on this also
#23
Posted 31 August 2012 - 05:09 AM
Aug 30 09:37:34 localhost kernel[0]: [ApplePS2ElanTrackpad] init
Aug 30 09:37:34 localhost kernel[0]: [ApplePS2ElanTrackpad] probe
Aug 30 09:37:34 localhost kernel[0]: [ApplePS2ElanTrackpad] Elantech magic knock: [ 0x3c, 0x03, 0x00 ]
Aug 30 09:37:34 localhost kernel[0]: [ApplePS2ElanTrackpad] Elantech version query result : [ 0x45, 0x0f, 0x01 ]
Aug 30 09:37:34 localhost kernel[0]: [ApplePS2ElanTrackpad] assuming hardware version 3 (with firmware version 0x450f01)
Aug 30 09:37:34 localhost kernel[0]: [ApplePS2ElanTrackpad] Synaptics capabilities query result 0x78, 0x15, 0x0c.
Aug 30 09:37:34 localhost kernel[0]: [ApplePS2ElanTrackpad] Touchpad range query result 0, 0, 2508, 1320, 0.
Aug 30 09:37:34 localhost kernel[0]: [ApplePS2ElanTrackpad] pktsize result 6.
Aug 30 09:37:34 localhost kernel[0]: [ApplePS2ElanTrackpad] it's ok by now.
but the trackpad does no move. kext is loaded.
samsung 300e4a-bd1
#24
Posted 31 August 2012 - 07:13 AM
Mohamed Khairy, on 31 August 2012 - 12:05 AM, said:
@Cavendish Qi
about alps touchpad
..:
you can find alps driver under alps.c on lunix kernel
i hope you help on this also
about alps touchpad
..:
you can find alps driver under alps.c on lunix kernel
i hope you help on this also
This thread is to develop a plugin for the Elan.
And yes we will be looking up Linux driver, which by the way works perfect for me.
We would love if you could help us with this.
#25
Posted 31 August 2012 - 08:15 AM
i know that this is for Elan
i tried many time to find a programmer to continue developing for alps
but failed with that
so hope if Cavendish Qi can continue develop it with Elan OR after finishing this project
i tried many time to find a programmer to continue developing for alps
but failed with that
so hope if Cavendish Qi can continue develop it with Elan OR after finishing this project
#26
Posted 31 August 2012 - 03:12 PM
samsung np300e5a-s0cit 10.7.4
But trackpad does not works . . .
Aug 31 16:32:25 MacBook-Pro-di-gurzo kernel[0]: [ApplePS2ElanTrackpad] init Aug 31 16:32:25 MacBook-Pro-di-gurzo kernel[0]: [ApplePS2ElanTrackpad] probe Aug 31 16:32:25 MacBook-Pro-di-gurzo kernel[0]: [ApplePS2ElanTrackpad] Elantech magic knock: [ 0x3c, 0x03, 0x00 ] Aug 31 16:32:25 MacBook-Pro-di-gurzo kernel[0]: [ApplePS2ElanTrackpad] Elantech version query result : [ 0x35, 0x0f, 0x00 ] Aug 31 16:32:25 MacBook-Pro-di-gurzo kernel[0]: [ApplePS2ElanTrackpad] assuming hardware version 3 (with firmware version 0x350f00) Aug 31 16:32:25 MacBook-Pro-di-gurzo kernel[0]: [ApplePS2ElanTrackpad] Synaptics capabilities query result 0x08, 0x17, 0x0c. Aug 31 16:32:25 MacBook-Pro-di-gurzo kernel[0]: [ApplePS2ElanTrackpad] Touchpad range query result 0, 0, 2940, 1400, 0. Aug 31 16:32:25 MacBook-Pro-di-gurzo kernel[0]: [ApplePS2ElanTrackpad] pktsize result 6. Aug 31 16:32:25 MacBook-Pro-di-gurzo kernel[0]: [ApplePS2ElanTrackpad] it's ok by now.
But trackpad does not works . . .
#27
Posted 31 August 2012 - 03:23 PM
#28
Posted 31 August 2012 - 04:46 PM
bigwiz, on 31 August 2012 - 03:23 PM, said:
I must be doing something wrong since every one else gets some kind of output in the system log but me. Have you changed the info.plist on the Kext or Plugins?
Source from gits wont compile on my xcode 4.4 (just 1 warnig about utf but ...)
I used this kext (as is) from the main post through kexthelper
ApplePS2Controller-10.7build.kext.zipThat show the presence of the trackpad in kernel log but it doesn't works
Maybe I'm doing something wrong . .
#29
Posted 31 August 2012 - 05:02 PM
gurzo, on 31 August 2012 - 04:46 PM, said:
Source from gits wont compile on my xcode 4.4 (just 1 warnig about utf but ...)
...
I used this kext (as is) from the main post through kexthelper
...
That show the presence of the trackpad in kernel log but it doesn't works
...
Maybe I'm doing something wrong . .
...
I used this kext (as is) from the main post through kexthelper
...
That show the presence of the trackpad in kernel log but it doesn't works
...
Maybe I'm doing something wrong . .
The objective of the first test is only to get the output shown above and the systems information from everybody that tests.
Logged in to my Ubuntu and got the information bellow from it. --> https://gist.github.com/3614112
I don't have all gestures in Ubuntu. I have the 2 finger tap and scroll.
#30
Posted 02 September 2012 - 05:33 PM
Finally got something out of the kext, but needed to go to my baddly installed 10.8:
Sep 2 18:20:46 asusintosh kernel[0]: [ApplePS2ElanTrackpad] init Sep 2 18:20:46 asusintosh kernel[0]: [ApplePS2ElanTrackpad] probe Sep 2 18:20:46 asusintosh kernel[0]: [ApplePS2ElanTrackpad] Elantech magic knock: [ 0x3c, 0x03, 0x00 ]... and that's it. Nothing more then this.
#31
Posted 03 September 2012 - 10:17 PM
pacovedder, on 30 August 2012 - 08:07 PM, said:
Hi!, Doesn´t work on Vaio VPCEHM0E
Hi, pacovedder,
I have never heard elan on Sony Vaio, are you sure about it?
mendietinha, on 31 August 2012 - 05:09 AM, said:
......
but the trackpad does no move. kext is loaded.
samsung 300e4a-bd1
but the trackpad does no move. kext is loaded.
samsung 300e4a-bd1
gurzo, on 31 August 2012 - 03:12 PM, said:
samsung np300e5a-s0cit 10.7.4
.....
But trackpad does not works . . .
.....
But trackpad does not works . . .
Hi, mendietinha and gurzo,
Glad to see elan on Samsung laptops, pls keep trying, thanks.
Mohamed Khairy, on 31 August 2012 - 08:15 AM, said:
i know that this is for Elan
i tried many time to find a programmer to continue developing for alps
but failed with that
so hope if Cavendish Qi can continue develop it with Elan OR after finishing this project
i tried many time to find a programmer to continue developing for alps
but failed with that
so hope if Cavendish Qi can continue develop it with Elan OR after finishing this project
Let me try to finish this task at first, thanks.
Just backed from a boat trip with family and friends families, very tired yesterday.
It looks like I got some data from touchpad tonight, hope I can try more tomorrow.
#32
Posted 03 September 2012 - 10:25 PM
Cavendish Qi, on 03 September 2012 - 10:17 PM, said:
Hi, pacovedder,
I have never heard elan on Sony Vaio, are you sure about it?
Hi, mendietinha and gurzo,
Glad to see elan on Samsung laptops, pls keep trying, thanks.
Let me try to finish this task at first, thanks.
Just backed from a boat trip with family and friends families, very tired yesterday.
It looks like I got some data from touchpad tonight, hope I can try more tomorrow.
I have never heard elan on Sony Vaio, are you sure about it?
Hi, mendietinha and gurzo,
Glad to see elan on Samsung laptops, pls keep trying, thanks.
Let me try to finish this task at first, thanks.
Just backed from a boat trip with family and friends families, very tired yesterday.
It looks like I got some data from touchpad tonight, hope I can try more tomorrow.
this will be the greatest victory on my hackintosh history. never so hard to make it work.
let's go!
#33
Posted 04 September 2012 - 01:16 AM
oh, and my elan have 2 buttons, in windows works with 2, 3 and 4 fingers. zoom, rotate, scroll, pinch etc. just like the trackpad of those unibody macbooks.
#34
Posted 04 September 2012 - 10:59 AM
There was a file in the kernel source with the information about the Elantech touchpad that describes what we needed to get febug info http://kernel.org/do...ut/elantech.txt and his is the site for the identified user that submited the driver to the kernel.org http://arjan.opmeer.net/elantech/.
Here is what i've done: set the driver in debug mode. Saved the system tail into a text file. Posted the file at https://gist.github.com/3620057. After each #### you will find the debug output.
For instance, for the "#### Elantech debug level 2 - 1, 2, 3, 4 Finger swipe up" comment I issued the tail command and then:
Here are the commands I issued in Ubuntu to get the debug:
Here is what i've done: set the driver in debug mode. Saved the system tail into a text file. Posted the file at https://gist.github.com/3620057. After each #### you will find the debug output.
For instance, for the "#### Elantech debug level 2 - 1, 2, 3, 4 Finger swipe up" comment I issued the tail command and then:
- Pressed one finger to the touchpad, moved the finger up touching the touchpad and lift it up;
- Pressed two fingers to the touchpad, moved the fingers up touching the touchpad and lift it up.
- Pressed tree fingers to the touchpad, moved the fingers up touching the touchpad and lift it up; &
- Pressed four fingers to the touchpad, moved the fingers up touching the touchpad and lift it up.
Here are the commands I issued in Ubuntu to get the debug:
echo "#### Elantecn Debug level 2 (Debug)" >> elantech-moreinfo.txt echo 0x2 | sudo tee /sys/bus/serio/drivers/psmouse/serio4/debug echo "#### synclient output" >> elantech-moreinfo.txt synclient >> elantech-moreinfo.txt echo "#### xinput output" >> elantech-moreinfo.txt xinput >> elantech-moreinfo.txt echo "#### xinput list-props 13" >> elantech-moreinfo.txt xinput list-props 13 >> elantech-moreinfo.txt echo "#### xinput test motion output" >> elantech-moreinfo.txt xinput test 13 >> elantech-moreinfo.txt echo "#### xinput test double tap output" >> elantech-moreinfo.txt xinput test 13 >> elantech-moreinfo.txt echo "#### Elantech debug level 2" >> elantech-moreinfo.txt tail -f /var/log/syslog >> elantech-moreinfo.txt echo "#### Elantech debug level 2 - 1, 2, 3, 4 Finger tap" >> elantech-moreinfo.txt tail -f /var/log/syslog >> elantech-moreinfo.txt echo "#### Elantech debug level 2 - 1, 2, 3, 4 Finger swipe up" >> elantech-moreinfo.txt tail -f /var/log/syslog >> elantech-moreinfo.txt echo "#### Elantech debug level 2 - 1, 2, 3, 4 Finger swipe down" >> elantech-moreinfo.txt tail -f /var/log/syslog >> elantech-moreinfo.txt echo "#### Elantech debug level 2 - 1, 2, 3, 4 Finger swipe left" >> elantech-moreinfo.txt tail -f /var/log/syslog >> elantech-moreinfo.txt echo "#### Elantech debug level 2 - 1, 2, 3, 4 Finger swipe right" >> elantech-moreinfo.txt tail -f /var/log/syslog >> elantech-moreinfo.txt echo "#### Elantecn Debug level 1 (default)" >> elantech-moreinfo.txt echo 0x1 | sudo tee /sys/bus/serio/drivers/psmouse/serio4/debug
#35
Posted 04 September 2012 - 12:12 PM
bigwiz, on 04 September 2012 - 10:59 AM, said:
There was a file in the kernel source with the information about the Elantech touchpad that describes what we needed to get febug info http://kernel.org/do...ut/elantech.txt and his is the site for the identified user that submited the driver to the kernel.org http://arjan.opmeer.net/elantech/.
Here is what i've done: set the driver in debug mode. Saved the system tail into a text file. Posted the file at https://gist.github.com/3620057. After each #### you will find the debug output.
.....
Here is what i've done: set the driver in debug mode. Saved the system tail into a text file. Posted the file at https://gist.github.com/3620057. After each #### you will find the debug output.
.....
Thanks a lot. It means I could get debug output very easily like above steps.
#36
Posted 04 September 2012 - 01:29 PM
i will help you as soon as i get my laptop boot correctly with mac os x ml
i have elan ps/2 touch pad
model samsung 300E4A-S0ESA
i have elan ps/2 touch pad
model samsung 300E4A-S0ESA
#37
Posted 04 September 2012 - 03:17 PM
#38
Posted 04 September 2012 - 09:02 PM
For v3 hardware, on my laptop, I output sth in the log(in top post), for example, left button click, right button click, 1 finger tap.
2 fingers tap and 3 fingers tap will cause kernel crash or no response, need to reboot
But now I don't know how to report those events to osx, need more reading. But can't find any useful documentation from apple, at least about IOHIPointing and etc.
Maybe need to read some code in IOHIDFamily, http://opensource.ap....6/IOHIDFamily/
BTW, for v3, it's only full functional with 1 finger(with 1 packet) and 2 fingers(with 2 packet), for 3 fingers, the data is only 1 packet, only report the center point for 3 fingers, then it's some kind of fake.
For v4, it should be full functional with maximum 5 fingers.
2 fingers tap and 3 fingers tap will cause kernel crash or no response, need to reboot
But now I don't know how to report those events to osx, need more reading. But can't find any useful documentation from apple, at least about IOHIPointing and etc.
Maybe need to read some code in IOHIDFamily, http://opensource.ap....6/IOHIDFamily/
BTW, for v3, it's only full functional with 1 finger(with 1 packet) and 2 fingers(with 2 packet), for 3 fingers, the data is only 1 packet, only report the center point for 3 fingers, then it's some kind of fake.
For v4, it should be full functional with maximum 5 fingers.
#39
Posted 04 September 2012 - 10:03 PM
Added left and right mouse press to debug info https://gist.github.com/3620057
#40
Posted 05 September 2012 - 04:21 AM
thanks cavandish for your work:
here is log and screen shut from my trackpad prefpane(its from your previuse release )
Untitled.rtf 8.24K
11 downloads
Untitled.png 67.16K
81 downloads
here is log and screen shut from my trackpad prefpane(its from your previuse release )
Untitled.rtf 8.24K
11 downloads
Untitled.png 67.16K
81 downloads
Also tagged with one or more of these keywords: Development, Driver, ASUS, Laptop, Elan, 10.8, 10.7
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account








