ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

 
Start a new topic Add Reply
> Capturing Trackpad Init Sequence In Windows
aikidoka25
post Dec 10 2010, 01:07 AM
Post #1
i have this alps trackpad on HP Mini 311 and windows driver which has vertical scrolling and multi touch functionalities.

now i want to know how the driver initializes the hardware, so these features can be implemented into OS X.

is there any way to do this?

i tried to use bus hound, but it only gives me the response from the trackpad, i could not see init sequence.
well, perhaps either i don't know how to use bus hound, thats why i am opening a thread here asking for any insights.
MacBookMini 311-1000, 1 + Kingston 2GB, HP BCM94322, OCZSSD2-1VTX120G, 10.6.8 i386, Chameleon RC5 Meklort's rev 747 (info)
GigaMacPro GA-EX58-UD5, Core™ i7-920 2.66GHz Bloomfield, Corsair XMS3 6x2GB, Sapphire ATI HD4870 1GB, 10.8.2 x86_64, Chameleon 2.0 rev 1997 (info)
Slice
post Dec 23 2010, 02:11 PM
Post #2
QUOTE (aikidoka25 @ Dec 10 2010, 05:07 AM) *
i have this alps trackpad on HP Mini 311 and windows driver which has vertical scrolling and multi touch functionalities.

now i want to know how the driver initializes the hardware, so these features can be implemented into OS X.

is there any way to do this?

i tried to use bus hound, but it only gives me the response from the trackpad, i could not see init sequence.
well, perhaps either i don't know how to use bus hound, thats why i am opening a thread here asking for any insights.

For me the simplest way is to set additional IOLog into trackpad driver to see what values at the input of the driver.
But, you think that the hardware response is different with different initialization?
I also have ALPS trackpad and I never see vertical scrolling events.
May be found Linux driver sources? Is it capable of these features?
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
aikidoka25
post Dec 23 2010, 02:39 PM
Post #3
QUOTE (Slice @ Dec 23 2010, 09:11 AM) *
For me the simplest way is to set additional IOLog into trackpad driver to see what values at the input of the driver.
But, you think that the hardware response is different with different initialization?
I also have ALPS trackpad and I never see vertical scrolling events.
May be found Linux driver sources? Is it capable of these features?


The ALPS trackpad in HP Mini 311 even can do 2 fingers scrolling, on Windows using Toshiba driver.
The current PS2 driver in OSX relies on absolute mode, however the known init sequence is not working, the trackpad just freeze.

The same situation on Linux, however I found a guy captured the init sequence using virtual box and his wits.
I am going to test those sequences in OSX and see how it goes.

Slice,
Could you advise me the best way to test the kext? I mean I don't really like to reboot the unit just to test, unless there is no other choice.
I know kextload/kextunload but sometimes the kext cannot be unloaded.

If you have the same version of trackpad, the link is below, it is quite long, you can go directly to post #133
https://bugs.launchpad.net/ubuntu/lucid/+so...25?comments=all

This post has been edited by aikidoka25: Dec 23 2010, 02:42 PM
MacBookMini 311-1000, 1 + Kingston 2GB, HP BCM94322, OCZSSD2-1VTX120G, 10.6.8 i386, Chameleon RC5 Meklort's rev 747 (info)
GigaMacPro GA-EX58-UD5, Core™ i7-920 2.66GHz Bloomfield, Corsair XMS3 6x2GB, Sapphire ATI HD4870 1GB, 10.8.2 x86_64, Chameleon 2.0 rev 1997 (info)
Slice
post Dec 24 2010, 12:09 PM
Post #4
OK, I'll look the sequence and think about it's implementing into ApplePS2Trackpad.

About testing.
You can insert IOLog into kext as much as you need and then start into Single User Mode.
Thus you can kextload the kext, and if no panic then touch trackpad and look hexadigits output from IOLogs. I think it is fastest way to debug touchpad.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
Slice
post Dec 28 2010, 02:40 PM
Post #5
Some news here
http://www.insanelymac.com/forum/index.php...40639&st=0#
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
aikidoka25
post Dec 29 2010, 07:36 PM
Post #6
QUOTE (Slice @ Dec 28 2010, 10:40 AM) *


slice, thank you for the information, i will check and report the result after i returned from vacation.

MacBookMini 311-1000, 1 + Kingston 2GB, HP BCM94322, OCZSSD2-1VTX120G, 10.6.8 i386, Chameleon RC5 Meklort's rev 747 (info)
GigaMacPro GA-EX58-UD5, Core™ i7-920 2.66GHz Bloomfield, Corsair XMS3 6x2GB, Sapphire ATI HD4870 1GB, 10.8.2 x86_64, Chameleon 2.0 rev 1997 (info)

Add Reply Start a new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: