IOKit frameworks hardcode /System/Library/Extensions for plugins

Originator:d235j.1
Number:rdar://18824332 Date Originated:30-Oct-2014 10:46 AM
Status:Open Resolved:
Product:OS X SDK Product Version:10.10
Classification:Serious Bug Reproducible:Always
 
Summary:
The public Force Feedback API, which is implemented by ForceFeedback.framework, hardcodes the /System/Library/Extensions path for force feedback plugins, rather than using the path of the kext that contains the plugin. This is a major issue because kexts must now be installed in /Library/Extensions.

A cursory overview using grep and strings indicates that it is highly other frameworks also hardcode /System/Library/Extensions.

Steps to Reproduce:
1. Install a force-feedback compatible joystick driver that goes in /Library/Extensions.
2. Expect force feedback to work.

Expected Results:
Expect force feedback to work.

Actual Results:
Force feedback does not operate.

Version:
10.10 14A389

Notes:
I tested using the open-source 360Controller driver at https://github.com/d235j/360Controller/tree/yosCodeSign. I have attached a build signed by one of the project collaborators. This does require an Xbox 360 controller to test; the installed preference pane should trigger force feedback when the left and right triggers are pressed.

Configuration:
Mac OS 10.10, when the kext is installed into /Library/Extensions.

Attachments:
'Install360Controller0.14beta2.pkg' was successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!