I got my touchpad working as a mouse only with a different driver, wanted to give these a shot, because the accidental touching is very annoying with typing. and I got no scroll or other features. tried driver and well the versions both 3.5 and 3.8 only work intermittently. seems to just quite after a while
5/9/14 8:41:24.000 PM kernel: ELAN Touchpad v3.8 Copyright (c) EMlyDinEsH (OSXLatitude) 2012-2014.
5/9/14 8:41:24.000 PM kernel: ETD :: Detecting the touchpad........
5/9/14 8:41:24.000 PM kernel: ETD :: Touchpad set to default state.
5/9/14 8:41:24.000 PM kernel: No interval found for . Using 8000000
5/9/14 8:41:24.000 PM kernel: ETD :: ELAN touchpad found, Hardware version 3 (Firmware version 0x450f00).
5/9/14 8:41:25.000 PM kernel: ETD :: Touchpad enabled.
5/9/14 8:42:43.000 PM kernel: IOSurface: buffer allocation size is zero
5/9/14 9:16:47.000 PM kernel: ELAN Touchpad v3.8 Copyright (c) EMlyDinEsH (OSXLatitude) 2012-2014.
5/9/14 9:16:47.000 PM kernel: ETD :: Detecting the touchpad........
5/9/14 9:16:47.000 PM kernel: ETD :: Touchpad set to default state.
5/9/14 9:16:52.000 PM kernel: ETD :: Touchpad enabled.
5/9/14 9:17:13.000 PM kernel: CODE SIGNING: cs_invalid_page(0x1000): p=181[GoogleSoftwareUp] clearing CS_VALID
5/9/14 9:17:17.000 PM kernel: IOSurface: buffer allocation size is zero
5/9/14 9:17:18.000 PM kernel: IOSurface: buffer allocation size is zero
5/9/14 9:17:22.000 PM kernel: nspace-handler-set-snapshot-time: 1399695443
5/9/14 9:23:26.000 PM kernel: Resetting IOCatalogue.
5/9/14 9:26:03.000 PM kernel: nspace-handler-set-snapshot-time: 1399695964
5/9/14 9:27:01.000 PM kernel: nspace-handler-set-snapshot-time: 1399696022
5/9/14 9:27:02.000 PM kernel: IOSurface: buffer allocation size is zero
then with the 3.5 driver this happens seems to work a little better but then craps out as well
5/9/14 9:32:36.000 PM kernel: ELAN Touchpad v3.5 Copyright (c) EMlyDinEsH (OSXLatitude) 2012-2014.
5/9/14 9:32:36.000 PM kernel: ETD :: Initializing driver...
5/9/14 9:32:36.000 PM kernel: ETD :: Debug Level value 0
5/9/14 9:32:36.000 PM kernel: ETD :: Probing hardware...
5/9/14 9:32:36.000 PM kernel: ETD :: Detecting the touchpad........
5/9/14 9:32:36.000 PM kernel: Previous Shutdown Cause: 3
5/9/14 9:32:36.000 PM kernel: Controller: Intel Cougar Point (vendor ID: 8086, device ID: 1c20)
5/9/14 9:32:36.000 PM kernel: ETD :: Elantech version query result 0x45, 0x0f, 0x00.
5/9/14 9:32:36.000 PM kernel: ETD :: Touchpad firmware Version 4525824.
5/9/14 9:32:36.000 PM kernel: ETD :: Elantech touchpad found, Assuming hardware version 3 (with firmware version 0x450f00).
5/9/14 9:32:36.000 PM kernel: No interval found for . Using 8000000
5/9/14 9:32:36.000 PM kernel: ETD :: Starting driver...
5/9/14 9:32:36.000 PM kernel: ETD :: MouseInformation { 0x20, 0x03, 0xc8 }
5/9/14 9:32:36.000 PM kernel: ETD :: Touchpad Pointer DPI 1600.
5/9/14 9:32:36.000 PM kernel: ETD :: Synaptics capabilities query result 0x08, 0x16, 0x0a.
5/9/14 9:32:36.000 PM kernel: ETD :: Trying to put the touchpad into Absolute mode...
5/9/14 9:32:36.000 PM kernel: Transcript Offline - Buffer Pool Allocate [181000] failed
5/9/14 9:32:37.000 PM kernel: ETD :: Successfully placed the touchpad into Absolute mode.
5/9/14 9:32:37.000 PM kernel: ETD :: Setting the touchpad range...
5/9/14 9:32:37.000 PM kernel: ETD :: Touchpad ranges are X_min 0 Y_min 0 X_max 2320 Y_max 928, CenterX 1160, CenterY 464.
5/9/14 9:32:37.000 PM kernel: ETD :: Packet Size 6.
5/9/14 9:32:37.000 PM kernel: ETD :: Touchpad enabled.
5/9/14 9:32:38.630 PM com.apple.pfctl: No ALTQ support in kernel
btw the line kernel: IOSurface: buffer allocation size is zero happens with the other driver as well, but in that case it doesn't cause it to quit working, but in case of your driver it seems to coincide with it quitting working.
Hope this info helps you with the driver writing and tells you maybe what is going on here.
terramir