Skip to content
Browse files

Adding osx one time setup instructions

  • Loading branch information...
1 parent e4c0292 commit 0a5b11e075d28b73842f17dd814af79771b5961f @dherbst dherbst committed Dec 13, 2010
Showing with 86 additions and 1 deletion.
  1. +12 −1 Makefile
  2. +7 −0 README.markdown
  3. +51 −0 osx/wmr100.kext/Contents/Info.plist
  4. +16 −0 osx/wmr100.kext/Contents/version.plist
View
13 Makefile
@@ -4,4 +4,15 @@ LDFLAGS += `pkg-config libhid --libs`
wmr100: wmr100.c
clean:
- -rm wmr100
+ -rm wmr100
+
+
+setup_osx:
+ sudo cp -r osx/wmr100.kext /System/Library/Extensions/wmr100.kext
+ sudo kextload -vt /System/Library/Extensions/wmr100.kext
+ sudo touch /System/Library/Extensions
+
+unsetup_osx:
+ sudo rm -r -i /System/Library/Extensions/wmr100.kext
+ sudo touch /System/Library/Extensions
+ echo Please reboot for changes to take effect.
View
7 README.markdown
@@ -37,6 +37,13 @@ Run 'make'.
To install, copy wmr100 to your path.
+*One time install for osx*
+To keep the default HIDManager from taking the wmr100, run this once: `make setup_osx`
+If you want to use different software to read the wmr100 device, you should undo this by running
+`make unsetup_osx` and then reboot so that the HIDManager will take control of the device again.
+
+
+
Usage
-----
View
51 osx/wmr100.kext/Contents/Info.plist
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>OSBundleLibraries</key>
+ <dict>
+ <key>com.apple.iokit.IOUSBFamily</key>
+ <string>1.8</string>
+ <key>com.apple.kernel.libkern</key>
+ <string>6.0</string>
+ </dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleGetInfoString</key>
+ <string>WMR100a USB Device</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.oregonscientific.wmr100a</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>wmr100a USB Device</string>
+ <key>CFBundlePackageType</key>
+ <string>KEXT</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0.0</string>
+ <key>IOKitPersonalities</key>
+ <dict>
+ <key>Device Driver</key>
+ <dict>
+ <key>CFBundleIdentifier</key>
+ <string>com.apple.kernel.iokit</string>
+ <key>IOClass</key>
+ <string>IOService</string>
+ <key>IOProviderClass</key>
+ <string>IOUSBInterface</string>
+ <key>idProduct</key>
+ <integer>51713</integer>
+ <key>idVendor</key>
+ <integer>4062</integer>
+ <key>bConfigurationValue</key>
+ <integer>1</integer>
+ <key>bInterfaceNumber</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>OSBundleRequired</key>
+ <string>Local-Root</string>
+</dict>
+</plist>
View
16 osx/wmr100.kext/Contents/version.plist
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>BuildVersion</key>
+ <string>1253</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.5.0</string>
+ <key>CFBundleVersion</key>
+ <string>1.5.0</string>
+ <key>ProjectName</key>
+ <string>wmr100</string>
+ <key>SourceVersion</key>
+ <string>1500003</string>
+</dict>
+</plist>

0 comments on commit 0a5b11e

Please sign in to comment.
Something went wrong with that request. Please try again.