Jump to content

Refined ALPS TouchPad driver


Dr. Hurt

Recommended Posts

I've tried several other drivers, but hadn't found any that worked.  While composing this I tried to track down the ones I had tried, just so I could let you know and ran across this one.    It seems to work. :-P  I haven't done much testing at all... just enough to see that I can move the pointer, 2-finger scroll works and the touchpad prefs pane seems to work.

 

That said, I'd be nice to use a version with a little more known about it... like the source is available. :-)  So, if you're willing to add support for my system, I'll do whatever I can to help.

 

I'm not sure what you mean by "default profile".   If you can explain that a bit, I can try some tests.

 

PS. Here's a couple of the others I tried that do NOT work:

  • rehabman 2015-1029 (works, but not 2-finger scroll)
  • bpedman v7 (doens't work - can't even move the pointer)

There were a few others that behaved the same as the bpedman version and appeared to be based on one of the bpedman versions.  I'll be happy to provide links to the specific posts where I found them if you like.

Link to comment
Share on other sites

Hi Dr.Hurt

 

Great thread :thumbsup:

 

I'am Vostro 3360 user with alps touchpad. With any Rehabman build, my touchpad identified as :

 

ID E7=0x73 0x03 0x50 EC=0x73 0x02 0x02

 

SInce there were many build here and I'am a little confuse which one to use ( I don't know what version my alps), I try to pull your git and build with latest sdk. Unlike others, your code have no error on build (like bpedman/sontrg)

The result are:

11/4/15 11:09:11.000 PM kernel[0]: VoodooPS2TouchPad Version 2.8.15 loaded...
11/4/15 11:09:11.401 PM com.apple.xpc.launchd[1]: (com.apple.autofsd) This service is defined to be constantly running and is inherently inefficient.
11/4/15 11:09:11.000 PM kernel[0]: VoodooPS2Trackpad: Identify TouchPad command returned incorrect byte 2 (of 3): 0x00
11/4/15 11:09:11.000 PM kernel[0]: VoodooPS2TouchPad Version 2.8.15 loaded...
11/4/15 11:09:11.000 PM kernel[0]: ApplePS2Controller: Timed out on mouse input stream.
11/4/15 11:09:11.600 PM hidd[92]: Successfully opened the IOHIDSession
11/4/15 11:09:11.000 PM kernel[0]: ApplePS2Controller: Timed out on mouse input stream.
11/4/15 11:09:11.000 PM kernel[0]: Found an ALPS V5 TouchPad...
11/4/15 11:09:11.000 PM kernel[0]: No interval found for . Using 8000000
11/4/15 11:09:11.000 PM kernel[0]: ACPISensors (TZ00): started
11/4/15 11:09:11.000 PM kernel[0]: ApplePS2Controller: Timed out on mouse input stream.
11/4/15 11:09:11.000 PM kernel[0]: ApplePS2Controller: Timed out on mouse input stream.
11/4/15 11:09:11.000 PM kernel[0]: Found an ALPS V5 TouchPad...
11/4/15 11:09:11.000 PM kernel[0]: PTIDSensors: started
11/4/15 11:09:11.000 PM kernel[0]: ALPS TouchPad Successfully Initialized

The strange is, trackpad pref pane show, but I can't use the trackpad (move pointer, tap, click, etc).

Any sugestion which build I could use?

Link to comment
Share on other sites

Sory typo, I mean I can't use the trackpad, even the built in trackpad prefpane showed.

 

I'll try your attachment and give report here.

 

edited :

Tried, and the result are same with my build with latest SDK.

Log filled with ApplePS2Keyboard sending key (beside initalizing at begining)

Link to comment
Share on other sites

@ Dr Hurt:

 

I just tried the new v5 (Release) and got the same results as v4 - in my case that means I see the pointer near the upper left of the screen, but I can't move it with the trackpad.

 

I retried with the Debug version and then tailed /var/log/system.log to see if there were any debug messages, but there were not.   If I press on a keyboard key, I see messages like this:

ApplePS2Keyboard: sending key 36=3c down
ApplePS2Keyboard: sending key 36=3c up

But nothing when I try to move the pointer with the trackpad.   I don't have a mouse connected so didn't try that.

 

Relevant info from dmesg:

ApplePS2Controller::start entered...
SMC: successfully initialized
ApplePS2Controller: initial commandByte = 47
mcache: 4 CPU(s), 64 bytes CPU cache line size
mbinit: done [96 MB total pool size, (64/32) split]
[ PCI configuration begin ]
console relocated to 0xf80000000
[ PCI configuration end, bridges 7, devices 12 ]
PXSX cannot assert wake from D3cold
rooting via boot-uuid from /chosen: 13C81462-38B5-3C8E-9BCE-6209503804F6
com.apple.AppleFSCompressionTypeZlib kmod start
com.apple.AppleFSCompressionTypeDataless kmod start
com.apple.AppleFSCompressionTypeZlib load succeeded
com.apple.AppleFSCompressionTypeDataless load succeeded
AppleIntelCPUPowerManagementClient: ready
Ethernet [RealtekRTL8100]: Warning: PCIe ASPM enabled.
Ethernet [RealtekRTL8100]: EEE support enabled.
Ethernet [RealtekRTL8100]: TCP/IPv4 segmentation offload enabled.
Ethernet [RealtekRTL8100]: TCP/IPv6 checksum offload enabled.
Ethernet [RealtekRTL8100]: Using interrupt mitigate value 0x0.
Ethernet [RealtekRTL8100]: RTL8105E: (Chipset 11) at 0xffffff810d915000, 18: 3:73:81:b8:6e
ApplePS2Controller: new commandByte = 44
ApplePS2Controller::start leaving.
ApplePS2Keyboard: Swipe Up: { 003b, 0037, 007e, 107e, 1037, 103b, }
ApplePS2Keyboard: Swipe Down: { 003b, 0037, 007d, 107d, 1037, 103b, }
ApplePS2Keyboard: Swipe Left: { 003b, 0037, 007b, 107b, 1037, 103b, }
ApplePS2Keyboard: Swipe Right: { 003b, 0037, 007c, 107c, 1037, 103b, }
ApplePS2Keyboard: Swipe 4 Up: { 003b, 003a, 007e, 107e, 103a, 103b, }
ApplePS2Keyboard: Swipe 4 Down: { 003b, 003a, 007d, 107d, 103a, 103b, }
ApplePS2Keyboard: Swipe 4 Left: { 003b, 003a, 007b, 107b, 103a, 103b, }
ApplePS2Keyboard: Swipe 4 Right: { 003b, 003a, 007c, 107c, 103a, 103b, }
ApplePS2Keyboard::probe entered...
VoodooPS2TouchPad Version 2.8.15 loaded...
ApplePS2SynapticsTouchPad::probe entered...
ApplePS2Keyboard::probe leaving.
ApplePS2Keyboard::start entered...
VoodooPS2Trackpad: Identify bytes = { 0x0, 0x0, 0x64 }
VoodooPS2Trackpad: Identify TouchPad command returned incorrect byte 2 (of 3): 0x00
ApplePS2SynapticsTouchPad::probe leaving.
ApplePS2SentelicFSP::probe entered...
ApplePS2SentelicFSP::probe leaving.
VoodooPS2TouchPad Version 2.8.15 loaded...
ApplePS2ALPSGlidePoint::probe entered...
ApplePS2Controller: oldCommandByte = 44
ApplePS2Controller: setCommandByte for keyboard interrupt install
e6 report: [0x00 0x00 0x64]
e7 report: [0x73 0x03 0x50]
ApplePS2Controller: oldCommandByte = 44
ApplePS2Controller: newCommandByte = 45
ApplePS2Keyboard::start leaving.
ec report: [0x73 0x01 0x0d]
exit command mode
Found an ALPS V5 TouchPad...
ApplePS2ALPSGlidePoint::probe leaving.
VoodooPS2Mouse Version 2.8.15 loaded...
ApplePS2Mouse::probe entered...
ApplePS2Mouse::probe leaving.
No interval found for . Using 8000000
USBF:    1.559    AppleUSBXHCI::CreateRootHubDevice  Bus 14 already taken
ApplePS2Controller: Timed out on mouse input stream.
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
ApplePS2Controller: Timed out on mouse input stream.
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@1F,2/AppleIntelPchSeriesAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/WDC WD3200BEKT-75PVMT0 Media/IOGUIDPartitionScheme/Yosemite@2
e6 report: [0x00 0x00 0x64]
BSD root: disk0s2, major 1, minor 2
e7 report: [0x73 0x03 0x50]
ec report: [0x73 0x01 0x0d]
exit command mode
Found an ALPS V5 TouchPad...
ALPS TouchPad Successfully Initialized
ApplePS2Controller: setCommandByte for mouse interrupt install
ApplePS2Controller: oldCommandByte = 45
ApplePS2Controller: newCommandByte = 47

PS.  In case this has any bearing, here's my "install procedure":

  • sudo rm -rf /System/Library/Extensions/VoodooPS2Controller.kext
  • sudo cp -r VoodooPS2Controller.kext /System/Library/Extensions/
  • sudo touch /System/Library/Extensions
  • sudo kextcache -v -u /
  • sudo shutdown -r now

For the "Release" version I did NOT copy the *.dSYM directories.  For the "Debug" I did.

 

I have not installed VoodooPS2Daemon, org.rehabman.voodoo.driver.Daemon.plist, synapticsconfigload, org.voodoo.driver.synapticsconfigload.plist or VoodooPS2synapticsPane.prefPane.

 

My system does not (and never did) have AppleACPIPS2Nub.kext or ApplePS2Controller.kext.

Link to comment
Share on other sites

here is the same!

i have a hp 14-r052br!

the kext recognize as an alps v5, it successfully initiate, but the cursor didnt move!

 

i attached the only kext that worked with these touchpad!

i didnt remember where i get it!

i think its an old kext that you made "Dr. Hurt". or not!

its different from the others voodoops2controller.kext. it has an ALPSMultitouch.kext in the plugins folder!

but it has lags and now with 10.11.2, it works but appeared so many bugs!

 

if you could fix the kext, it will be great!

thanks for all the work!

 

edit:

i found this source (dont know if its the same kext):

https://github.com/AppleLife/VoodooPS2/tree/master/ALPSMultitouch

VoodooPS2Controller.kext.zip

Link to comment
Share on other sites

I think I'll be rebasing this driver when I have time.

 

I'll be posting a clean compile of sontrg's latest code for you guys to test so that we can ensure a working base.

 

From there, I'll be gradually re-adding the Linux 4.2 code and updating default profile.

 

My current driver has been messed with too much that debugging is a nightmare.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...