Skip to content

Commit

Permalink
Fixed multiple PS2/SMBus devices attaching (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
1Revenger1 authored Oct 13, 2024
1 parent f381400 commit 7350e3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
VoodooPS2 Changelog
============================
#### v2.3.7
- Fixed multiple PS2/SMBus devices attaching

#### v2.3.6
- Lowered macOS requirements to 10.10
- Added PS/2 stub driver for better VoodooRMI compatibility
Expand Down
4 changes: 4 additions & 0 deletions VoodooPS2Trackpad/VoodooPS2SynapticsTouchPad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ IOService* ApplePS2SynapticsTouchPad::probe(IOService * provider, SInt32 * score
dictionary->setObject("Clickpad", _cont_caps.one_btn_clickpad ?
kOSBooleanTrue : kOSBooleanFalse);
ApplePS2SmbusDevice *smbus = ApplePS2SmbusDevice::withReset(true, dictionary, 0x2C);

// gIOMatchCategoryKey is necessary to prevent multiple services attaching to the PS2 device
if (smbus)
smbus->setProperty(gIOMatchCategoryKey, getProperty(gIOMatchCategoryKey));
OSSafeReleaseNULL(dictionary);
return smbus;
}
Expand Down

0 comments on commit 7350e3e

Please sign in to comment.