#11
|
||||
|
||||
Quote:
Download and try the new version I just posted, it will work better... If you after this still find it too slow set in the Apple trackpad prefpane the speed to max (then it really flies). Hope this helps you out... |
#12
|
|||
|
|||
Hi, there.
I've got Sony VAIO VPC F12M with ALPS touchpad and SnowLeopard 10.6.5 on-board. and some issues I've got - sources did not compile because of this function clock_get_uptime(&now), thats not supported on this kernel (for debug version) - I can compile it, but Touchpad kext do not load automatically. When I load manually, it's register in IOreg tree but no reaction any touchpad actions. |
#13
|
||||
|
||||
Quote:
It should work then. There is no need to recompile as the VoodooPS2Controller.kext contains everything you need. |
#14
|
|||
|
|||
that's I did as a first step, but no success.
may be this will clear something: Code:
1/4/11 1:11:20 PM kernel VoodooPS2SynapticsTouchPad loaded 1/4/11 1:11:20 PM kernel ApplePS2Trackpad: ALPS GlidePoint v4.115 1/4/11 1:11:23 PM WindowServer[73] Unable to open IOHIDSystem (0xe00002bd) 1/4/11 1:11:23 PM loginwindow[28] Login Window Started Security Agent 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDDefaultParameters Value: ?? 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDClickTime Value: 500000000 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDClickSpace Value: ?? 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDKeyRepeat Value: 83333333 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDInitialKeyRepeat Value: 500000000 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDScrollAcceleration Value: 20480 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDPointerButtonMode Value: 2 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDF12EjectDelay Value: 250 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDSlowKeysDelay Value: 0 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDStickyKeysDisabled Value: 0 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDStickyKeysOn Value: 0 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDStickyKeysShiftToggles Value: 0 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDMouseKeysOptionToggles Value: 0 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDFKeyMode Value: 0 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDClickSpace Value: ?? 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDClickTime Value: 500000000 1/4/11 1:11:24 PM kernel ApplePS2ALPSGlidePoint: Dictionary Object: HIDDefaultParameters Value: ?? 1/4/11 1:11:24 PM kernel virtual bool IOHIDEventSystemUserClient::initWithTask(task*, void*, UInt32): Client task not privileged to open IOHIDSystem for mapping memory |
#15
|
|||
|
|||
Quote:
I actually set my speed a little lower than the max and use the Mouse Acceleration Preference Pane to fine-tune the responsiveness of my trackpad. It's a great little utility. http://triq.net/articles/mouse-accel...-pane-mac-os-x It would be nice if I could compile the sources for myself. Vako, what did you adjust to get it to compile? |
#16
|
|||
|
|||
Quote:
anyway, that was regarding clock_get_uptime () |
#17
|
|||
|
|||
Help
Hello! First of all congratulations for your job and thank you for sharing, thanks to people like you dummies like me can dive into hackintosh world (almost) without drowning.
I'm trying to setup a Compaq C700 machine with Snow Leopard, and one of my pending issues to fix is the touchpad, it's not acting like one because not even tap works (for sure two finger scrolling doesn't work either, but this could be considered as "nice to have" in front of the tapping issue) Everything was working when the machine run OsX 10.5.x... Ok, so I've tried your kext and I've noticed (happily) that the keyboard is acting as a full spanish layout laptop keyboard, which is new for me, as some minor key mismatching I got used to live with appeared in the past... but bad news is, I don't have any response from trackpad. As far as I know, it's an ALPS model. Could you give me some help? I'll send youa ll the information you require for the purpose. I've got a silly doubt, I've used the files in "build/Release" folder, even if it doesn't say "Snow Leopard" (no folder says so) Am I right? Once again, a thousand thanks. Regards. |
#18
|
|||
|
|||
I got those sources to compile
I finally was able to get the sources to compile. Would be better to #include it in a different file, but I tested this & it builds and runs. Answer came from following this thread:
http://lists.apple.com/archives/darw.../msg00059.html It won't compile for Tiger now, but will for Leopard and SL. Add the following code at the end of these files: ./VoodooPS2Keyboard/VoodooPS2Keyboard.h ./VoodooPS2Mouse/VoodooPS2Mouse.h ./VoodooPS2Trackpad/VoodooPS2ALPSGlidePoint.h ./VoodooPS2Trackpad/VoodooPS2SentelicFSP.h ./VoodooPS2Trackpad/VoodooPS2SynapticsTouchPad.h Code:
#ifdef ADD_ABSOLUTETIME #define AsUInt64(x) (x) #else static inline const UInt64& AsUInt64(const AbsoluteTime& rhs) { return reinterpret_cast<const uint64_t&>(rhs); } static inline UInt64& AsUInt64(AbsoluteTime& rhs) { return reinterpret_cast<uint64_t&>(rhs); } static inline void absolutetime_to_nanoseconds(const AbsoluteTime& abs, UInt64* ns) { absolutetime_to_nanoseconds(AsUInt64(abs), ns); } static inline void nanoseconds_to_absolutetime(UInt64 ns, AbsoluteTime* abs) { nanoseconds_to_absolutetime(ns, reinterpret_cast<uint64_t*>(abs)); } static inline void clock_get_uptime(AbsoluteTime* abs) { clock_get_uptime(reinterpret_cast<uint64_t*>(abs)); } static inline void ADD_ABSOLUTETIME(AbsoluteTime* time, const AbsoluteTime* offset) { *reinterpret_cast<uint64_t*>(time) += *reinterpret_cast<const uint64_t*>(offset); } static inline void SUB_ABSOLUTETIME(AbsoluteTime* time, const AbsoluteTime* offset) { *reinterpret_cast<uint64_t*>(time) -= *reinterpret_cast<const uint64_t*>(offset); } static inline int64_t CMP_ABSOLUTETIME(const AbsoluteTime* lhs, const AbsoluteTime* rhs) { return (*reinterpret_cast<const uint64_t*>(lhs) - *reinterpret_cast<const uint64_t*>(rhs)); } #endif /* ADD_ABSOLUTETIME */ Last edited by kidslow; 01-16-2011 at 02:17 AM. |
#19
|
|||
|
|||
There is a more elegant way to fix the issue with uint64 than my header file mess. Found from the first link here. I also did finally figure out how to make my preferences save properly. Still not able to get tapping to work on the trackpad, but that is the next thing to tackle.
Andy, can you incorporate some of these other patches back into your sources? http://www.insanelymac.com/forum/ind...post&p=1623714 Code:
// from clock_get_uptime(&now); // to clock_get_uptime((uint64_t *)&now); Code:
- NSString *tmp1, *tmp2; - f=fopen ([tmp2=[NSHomeDirectory() stringByAppendingString:tmp1 - = [NSString stringWithCString: "/Library/Preferences/org.voodoo.SynapticsTouchpad.plist"]] UTF8String], "rb"); - CFRelease(tmp1); - CFRelease(tmp2); + //There was no AutoreleasePool, here is the allocation and init + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + + NSString *tmp1, *tmp2; + + //NSStrings Allocation and Initialization + tmp1 = [[NSString alloc] initWithCString:"/Library/Preferences/org.voodoo.SynapticsTouchpad.plist"]; + tmp2 = [[NSString alloc] init]; + tmp2 = [NSHomeDirectory() stringByAppendingString:tmp1]; + + f=fopen ([tmp2 UTF8String], "rb"); + + //We release the AutoreleasePool, this also releases tmp1 and tmp2 + [pool release]; |
#20
|
|||
|
|||
First of all, hello all. This is my first post.
I have a synaptics touchpad, which is recognized as an alps, the result is that the correct drivers are not loaded and the I can't use it. Someone found that in the id sequence it returns 0x02 instead of the expected 0x47 and that results in the touchpad not to be recognized as a synaptics. Code:
void ApplePS2Mouse::interruptOccurred(UInt8 data) // PS2InterruptAction { // // This will be invoked automatically from our device when asynchronous mouse // needs to be delivered. Process the mouse data. Do NOT send any BLOCKING // commands to our device in this context. // // We ignore all bytes until we see the start of a packet, otherwise the mouse // packets may get out of sequence and things will get very confusing. // if (_packetByteCount == 0 && ((data == kSC_Acknowledge) || !(data & 0x08))) { IOLog("%s: Unexpected data from PS/2 controller.\n", getName()); return; } I mean, it is using voodooPS2mouse.kext instead, because the driver is not loaded properly, due to the synaptic trackpad is recognized as ALPS. The behaviour is pretty good, but when it wakes from sleep, there is an erratic movement from trackpad and I have the following in the kernel.log: - ApplePS2mouse: unexpected data received from PS2 controller. - ApplePS2controller: timed out on mouse input stream. Someone could take a look on it. By the way my trackpad is a Synaptic (ID: SYN0166, ID COMPATIBLES: SYN0100, SYN0002, PNP0F13). The computer is a 8540w. Here is a thread: http://forum.voodooprojects.org/inde...ic,1803.0.html Cheers. 💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers. |