Jump to content

Elan Touchpad Driver

Development Driver ASUS Laptop Elan 10.8 10.7

  • Please log in to reply
79 replies to this topic

#21
pacovedder

pacovedder

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:Spain
Hi!, Doesn´t work on Vaio VPCEHM0E

#22
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,142 posts
  • Gender:Male
@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 :)

#23
mendietinha

mendietinha

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 325 posts
  • Gender:Male
  • Interests:full hackintosh.
here same thing:


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
bigwiz

bigwiz

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts

@Cavendish Qi
about alps touchpad
..:
you can find alps driver under alps.c on lunix kernel

i hope you help on this also :)

Thanks, but this is not about the ALPS pluggin for the PS2 controller.

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
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,142 posts
  • Gender:Male
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

#26
gurzo

gurzo

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
samsung np300e5a-s0cit 10.7.4

[codebox]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.[/codebox]

But trackpad does not works . . . :glare:

#27
bigwiz

bigwiz

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts

samsung np300e5a-s0cit 10.7.4
But trackpad does not works . . . :glare:


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?

#28
gurzo

gurzo

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

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
Posted Image ApplePS2Controller-10.7build.kext.zip
That show the presence of the trackpad in kernel log but it doesn't works

Maybe I'm doing something wrong . .

#29
bigwiz

bigwiz

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts

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 compiled the Git code, and got the Elan Trackpad pluggin from inside the kext to use and also tried with the one in the thread, but didn't get anything on System log.

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
bigwiz

bigwiz

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts
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
Cavendish Qi

Cavendish Qi

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
  • Gender:Male

Hi!, Doesn´t work on Vaio VPCEHM0E


Hi, pacovedder,

I have never heard elan on Sony Vaio, are you sure about it?

......

but the trackpad does no move. kext is loaded.

samsung 300e4a-bd1


samsung np300e5a-s0cit 10.7.4
.....

But trackpad does not works . . . :glare:


Hi, mendietinha and gurzo,

Glad to see elan on Samsung laptops, pls keep trying, thanks.

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


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
mendietinha

mendietinha

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 325 posts
  • Gender:Male
  • Interests:full hackintosh.

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.


this will be the greatest victory on my hackintosh history. never so hard to make it work.

let's go!

#33
mendietinha

mendietinha

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 325 posts
  • Gender:Male
  • Interests:full hackintosh.
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
bigwiz

bigwiz

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts
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:
  • 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.
... and so on.

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
Cavendish Qi

Cavendish Qi

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
  • Gender:Male

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.

.....


Thanks a lot. It means I could get debug output very easily like above steps.

#36
sniper9911

sniper9911

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 posts
  • Gender:Male
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

#37
bigwiz

bigwiz

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts

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

That would be nice. We need more programmers in this effort. :)

#38
Cavendish Qi

Cavendish Qi

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
  • Gender:Male
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.

#39
bigwiz

bigwiz

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts
Added left and right mouse press to debug info https://gist.github.com/3620057

#40
Cyrus the Great

Cyrus the Great

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 276 posts
  • Gender:Male
  • Location:tehran
thanks cavandish for your work:
here is log and screen shut from my trackpad prefpane(its from your previuse release )
Attached File  Untitled.rtf   8.24KB   12 downloads
Attached File  Untitled.png   67.16KB   85 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

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy