diff --git a/VoodooRMI/Functions/F03.cpp b/VoodooRMI/Functions/F03.cpp index 512e07c..7b8ff87 100644 --- a/VoodooRMI/Functions/F03.cpp +++ b/VoodooRMI/Functions/F03.cpp @@ -273,11 +273,6 @@ void F03::initPS2() if (error) IOLogError("Failed to set resolution: %d", error); - error = ps2Command(NULL, PS2_CMD_SETSCALE21); -// error = ps2Command(NULL, PS2_CMD_SETSCALE11); - if (error) - IOLogError("Failed to set scale: %d", error); - // TODO: Actually set this - my trackpoint does not respond to this ~ 1Rev UInt8 rate[1] = {100}; error = ps2Command(rate, PS2_CMD_SETRATE); diff --git a/VoodooRMI/Transports/SMBus/RMISMBus.cpp b/VoodooRMI/Transports/SMBus/RMISMBus.cpp index d152ea1..99288fe 100644 --- a/VoodooRMI/Transports/SMBus/RMISMBus.cpp +++ b/VoodooRMI/Transports/SMBus/RMISMBus.cpp @@ -278,7 +278,7 @@ IOReturn RMISMBus::setPowerState(unsigned long whichState, IOService* whatDevice if (whatDevice != this) return kIOPMAckImplied; - if (whichState == 0) { + if (whichState == RMI_POWER_OFF) { messageClient(kIOMessageRMI4Sleep, bus); } else { // Put trackpad in SMBus mode again