Jump to content

New TouchPad driver for E6520 / ALPS


bpedman

Recommended Posts

Just looked at some things on google and looks like the E5430 actually has a different model. It's identifier is 0x73, 0x03, 0x0a, also the protocol version is v4 instead of v3 like the one I have. So as it stands right now it won't work.

 

However, I am trying to get it working for all the different protocol versions...a complete port of the alps driver in linux. Give me a few days or so and I might have something for you to try out.

Link to comment
Share on other sites

Yeah, just your kext loading:
Marks-MacBook-Pro:~ mdriedger$ find /Extra/Extensions -name '*PS2*'
Marks-MacBook-Pro:~ mdriedger$ find /System/Library/Extensions -name '*PS2*'
/System/Library/Extensions/VoodooPS2Controller.kext
/System/Library/Extensions/VoodooPS2Controller.kext/Contents/MacOS/VoodooPS2Controller
/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext
/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/MacOS/VoodooPS2Keyboard
/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext.dSYM
/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext.dSYM/Contents/Resources/DWARF/VoodooPS2Keyboard
/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Mouse.kext
/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Mouse.kext/Contents/MacOS/VoodooPS2Mouse
/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Mouse.kext.dSYM
/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Mouse.kext.dSYM/Contents/Resources/DWARF/VoodooPS2Mouse
/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext
/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext/Contents/MacOS/VoodooPS2Trackpad
/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext.dSYM
/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext.dSYM/Contents/Resources/DWARF/VoodooPS2Trackpad

 

 

And when running the debug version, you are correct in the model, as I found these lines:

 

2013-05-14 7:44:08.000 PM kernel[0]: E7 report: [73 03 0a]
2013-05-14 7:44:08.000 PM kernel[0]: E7: { 0x73, 0x03, 0x0a } E6: { 0x00, 0x00, 0x64 }
2013-05-14 7:44:08.000 PM kernel[0]: Discovered touchpad version: 0x7331
2013-05-14 7:44:08.000 PM kernel[0]: ALPS Device? no
2013-05-14 7:44:08.000 PM kernel[0]: ApplePS2ALPSGlidePoint::probe leaving.
 

If you think there is a possibility to get this touchpad working better, that is fantastic. As it stands right now, it is usable, but either 2 finger scrolling or edge scrolling would be great!

 

Thanks

Link to comment
Share on other sites

 

So, some questions:

- What version of OSX are you running?

 

- Run the following 2 commands in a terminal:

find /System/Library/Extensions -name '*PS2*'

find /Extra/Extensions -name '*PS2*'

And paste the output..This is to make sure that no other PS2 kexts are there including the AppleACPIPS2Nub and ApplePS2Controller which should not exist anywhere...sometimes those kexts get left over either in /E/E or in /S/L/E/myHack.kext/PlugIns

- Did it not work at all? Or just no side-scrolling or whatever?

 

Also, I have noticed at other times that sometimes the kexts don't get refreshed properly until after a couple reboots...but it may have been my own fault...should be OK as long as you use myHack and run a quick fix or just regenerate the kext cache

 

I'm running 10.8.3. I had an older VoodooPS2Controller lurking around in /S/L/E/myHack.kext, but i purged it and it still does not work. Not working meaning no reaction from either trackpad or trackpad at all.

 

Here's what i found in system.log after loading the debug version:

May 15 15:16:27 localhost kernel[0]: ApplePS2Controller: oldCommandByte = 44
May 15 15:16:27 localhost kernel[0]: ApplePS2Controller: newCommandByte = 45
May 15 15:16:27 localhost kernel[0]: ApplePS2Keyboard::start leaving.
May 15 15:16:27 localhost kernel[0]: E7 report: [73 02 64]
May 15 15:16:27 localhost kernel[0]: E7: { 0x73, 0x02, 0x64 } E6: { 0x00, 0x00, 0x64 }
May 15 15:16:27 localhost kernel[0]: Discovered touchpad version: 0x7326
May 15 15:16:27 localhost kernel[0]: ALPS Device? yes
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint: ALPS model 0x73,0x02,0x64
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint::probe leaving.
May 15 15:16:27 localhost kernel[0]: VoodooPS2Mouse Version 1.8.3 loaded...
May 15 15:16:27 localhost kernel[0]: ApplePS2Mouse::probe entered...
May 15 15:16:27 localhost kernel[0]: ApplePS2Mouse::probe leaving.
May 15 15:16:27 localhost kernel[0]: Initializing TouchPad hardware...this may take a second.
May 15 15:16:27 localhost kernel[0]: enter command mode start
May 15 15:16:27 localhost kernel[0]: No interval found for . Using 8000000
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint EC Report: { 0x88, 0x07, 0x9d }
May 15 15:16:27 localhost kernel[0]: enter command mode exit
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:27 --- last message repeated 2 times ---
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x64]
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint read reg result: { 0x00, 0x08, 0x80 }
May 15 15:16:27 localhost kernel[0]: Looks like there is a trackstick
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:27 --- last message repeated 2 times ---
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x64]
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint read reg result: { 0x00, 0x08, 0x80 }
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x64]
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf6, 0x00]
May 15 15:16:27 localhost kernel[0]: exit command mode start
May 15 15:16:27 localhost kernel[0]: exit command mode exit
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint trackstick E7 report: [0x64, 0x42, 0x00]
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0xc8]
:
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0xc8]
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x14]
May 15 15:16:27 localhost kernel[0]: Sent magic E6 sequence
May 15 15:16:27 localhost kernel[0]: enter command mode start
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint EC Report: { 0x88, 0x07, 0x9d }
May 15 15:16:27 localhost kernel[0]: enter command mode exit
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:27 --- last message repeated 2 times ---
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x64]
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint read reg result: { 0x00, 0x08, 0x81 }
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x64]
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:27 localhost kernel[0]: start absolute mode v3
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:27 localhost airportd[26]: _processDLILEvent: en1 attached (down)
May 15 15:16:28 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:28 --- last message repeated 1 time ---
May 15 15:16:28 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x14]
May 15 15:16:28 localhost kernel[0]: ApplePS2ALPSGlidePoint read reg result: { 0x00, 0x04, 0x00 }
May 15 15:16:28 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:28 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x3c]
May 15 15:16:28 localhost kernel[0]: now setting a bunch of regs
May 15 15:16:28 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]

It would be awesome if we could get this to work...

Link to comment
Share on other sites

And when running the debug version, you are correct in the model, as I found these lines:

 

2013-05-14 7:44:08.000 PM kernel[0]: E7 report: [73 03 0a]
2013-05-14 7:44:08.000 PM kernel[0]: E7: { 0x73, 0x03, 0x0a } E6: { 0x00, 0x00, 0x64 }
2013-05-14 7:44:08.000 PM kernel[0]: Discovered touchpad version: 0x7331
2013-05-14 7:44:08.000 PM kernel[0]: ALPS Device? no
2013-05-14 7:44:08.000 PM kernel[0]: ApplePS2ALPSGlidePoint::probe leaving.
 

If you think there is a possibility to get this touchpad working better, that is fantastic. As it stands right now, it is usable, but either 2 finger scrolling or edge scrolling would be great!

 

Thanks

 

 

Yeah, I will definitely see what I can do...hopefully just a few days...

 

 

I'm running 10.8.3. I had an older VoodooPS2Controller lurking around in /S/L/E/myHack.kext, but i purged it and it still does not work. Not working meaning no reaction from either trackpad or trackpad at all.

 

Here's what i found in system.log after loading the debug version:

May 15 15:16:27 localhost kernel[0]: ApplePS2Controller: oldCommandByte = 44
May 15 15:16:27 localhost kernel[0]: ApplePS2Controller: newCommandByte = 45
May 15 15:16:27 localhost kernel[0]: ApplePS2Keyboard::start leaving.
May 15 15:16:27 localhost kernel[0]: E7 report: [73 02 64]
May 15 15:16:27 localhost kernel[0]: E7: { 0x73, 0x02, 0x64 } E6: { 0x00, 0x00, 0x64 }
May 15 15:16:27 localhost kernel[0]: Discovered touchpad version: 0x7326
May 15 15:16:27 localhost kernel[0]: ALPS Device? yes
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint: ALPS model 0x73,0x02,0x64
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint::probe leaving.
May 15 15:16:27 localhost kernel[0]: VoodooPS2Mouse Version 1.8.3 loaded...
May 15 15:16:27 localhost kernel[0]: ApplePS2Mouse::probe entered...
May 15 15:16:27 localhost kernel[0]: ApplePS2Mouse::probe leaving.
May 15 15:16:27 localhost kernel[0]: Initializing TouchPad hardware...this may take a second.
May 15 15:16:27 localhost kernel[0]: enter command mode start
May 15 15:16:27 localhost kernel[0]: No interval found for . Using 8000000
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint EC Report: { 0x88, 0x07, 0x9d }
May 15 15:16:27 localhost kernel[0]: enter command mode exit
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:27 --- last message repeated 2 times ---
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x64]
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint read reg result: { 0x00, 0x08, 0x80 }
May 15 15:16:27 localhost kernel[0]: Looks like there is a trackstick
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:27 --- last message repeated 2 times ---
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x64]
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint read reg result: { 0x00, 0x08, 0x80 }
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x64]
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf6, 0x00]
May 15 15:16:27 localhost kernel[0]: exit command mode start
May 15 15:16:27 localhost kernel[0]: exit command mode exit
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint trackstick E7 report: [0x64, 0x42, 0x00]
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0xc8]
:
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0xc8]
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x14]
May 15 15:16:27 localhost kernel[0]: Sent magic E6 sequence
May 15 15:16:27 localhost kernel[0]: enter command mode start
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint EC Report: { 0x88, 0x07, 0x9d }
May 15 15:16:27 localhost kernel[0]: enter command mode exit
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:27 --- last message repeated 2 times ---
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x64]
May 15 15:16:27 localhost kernel[0]: ApplePS2ALPSGlidePoint read reg result: { 0x00, 0x08, 0x81 }
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x64]
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:27 localhost kernel[0]: start absolute mode v3
May 15 15:16:27 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:27 localhost airportd[26]: _processDLILEvent: en1 attached (down)
May 15 15:16:28 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:28 --- last message repeated 1 time ---
May 15 15:16:28 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x14]
May 15 15:16:28 localhost kernel[0]: ApplePS2ALPSGlidePoint read reg result: { 0x00, 0x04, 0x00 }
May 15 15:16:28 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]
May 15 15:16:28 localhost kernel[0]: sendNibble: sending command and param: [0xf3, 0x3c]
May 15 15:16:28 localhost kernel[0]: now setting a bunch of regs
May 15 15:16:28 localhost kernel[0]: sendNibble: sending command and param: [0xf0, 0x00]

It would be awesome if we could get this to work...

 

Those log lines are exactly what I get with my touchpad...everything looks good there from what I can tell. Even the command mode response (the line with ApplePS2ALPSGlidePoint EC Report) is the same which means it is definitely the exact same model.

 

Could you open up a terminal once you login with the debug version (i.e. use a USB mouse if you have to) and run 'tail -f /var/log/system.log' and then try to make some movements on the touchpad and see if anything shows up there?

Link to comment
Share on other sites

Strange! I get nothing, just debug messages from the keyboard when I stroke a key. The touchpad is just numb.

 

Hmm. Do you happen to have another mouse plugged in...I just remembered that I think the VoodooPS2Daemon will disable the touchpad if another mouse is plugged in.

 

If that does not help, could you attach the whole system.log file from bootup to login?

Link to comment
Share on other sites

Hmm. Do you happen to have another mouse plugged in...I just remembered that I think the VoodooPS2Daemon will disable the touchpad if another mouse is plugged in.

 

If that does not help, could you attach the whole system.log file from bootup to login?

 

Nope. Normally i have a magic trackpad connected, but I tried booting up while having it switched off - still nothing. Thanks for looking into this...!

Link to comment
Share on other sites

OK everybody, I did a major rework of the driver to be as close to the Linux v3.9 driver as possible. It supports a lot more models now, though it is still lacking protocol v1/v2 support. I need to figure out how exactly to process the info from those.

 

olvidalo, it would be great if you could try out this new version and see if it works for you.

 

driedger, try out this new version and see if it works, though I am afraid it may still not work. I did not see your signature listed in the v3.9 driver. However, there is a chance that if your command mode response matches some things it checks for it may work...

 

Let me know what you guys find, it is working for me.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...