{"id":6,"date":"2005-08-04T13:52:21","date_gmt":"2005-08-04T17:52:21","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/dreamseeker\/2005\/08\/04\/mac-osx-using-a-unix-command-to-l"},"modified":"2006-06-11T17:49:31","modified_gmt":"2006-06-11T21:49:31","slug":"mac-osx-using-a-unix-command-to-look-for-a-kext-file","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/dreamseeker\/2005\/08\/04\/mac-osx-using-a-unix-command-to-look-for-a-kext-file\/","title":{"rendered":"Mac OSX: using a unix command to look for a kext file"},"content":{"rendered":"<p><a name='a8'><\/a><\/p>\n<p>Apple&#8217;s tech help on the usb discussion list helped me out:<\/p>\n<p>I have a kernel extension matching to the IOUSBInterface<br \/>\nof my device and preventing the IOUSBHIDDriver from matching to the<br \/>\ndevice.<\/p>\n<p>To search for it<\/p>\n<p>find \/System\/Library\/Extensions -name &#8220;Info.plist&#8221; -exec grep -H<br \/>\n1155 &#8220;{}&#8221; \\;<\/p>\n<p>This searches all the Info.plist files for one that contains<br \/>\n&#8220;1155&#8221;, the idVendor of the device.  Judging from the IOProbeScore<br \/>\nof 100000 and the values in the ioregistry, the kext in question is<br \/>\ndoing a vendor specific match by specifying idVendor\/idProduct\/<br \/>\nbcdDevice\/bConfigurationValue\/bInterfaceNumber.<\/p>\n<p>The result of the search is<br \/>\n\/System\/Library\/Extensions\/STMicroTestDriver.kext\/Contents\/Info.plist:<br \/>\n1155<\/p>\n<p>When I remove the file STMicroTestDriver.kext, the wild divine can no longer find the device, but HID explorer lists the lightstone along with everything else. <\/p>\n<p>TheWD software needs access to the  device, but without the kext, the HID Driver will open the device and they can&#8217;t open it.  <\/p>\n<p>If the HID driver doesn&#8217;t match to the device, I can&#8217;t use the HID mgr to talk to it.  <\/p>\n<p>So I need to go two incompatible ways. <\/p>\n<p>1 remove the kext file (disabling WD),so I can use HID explorer and matlab<\/p>\n<p>2. keep the kext file in place, and learn to use IOUSBInterfaceInterface calls to talk to the device (as long as the WD driver\/app isn&#8217;t running). So I can send\/receive USB requests.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apple&#8217;s tech help on the usb discussion list helped me out: I have a kernel extension matching to the IOUSBInterface of my device and preventing the IOUSBHIDDriver from matching to the device. To search for it find \/System\/Library\/Extensions -name &#8220;Info.plist&#8221; -exec grep -H 1155 &#8220;{}&#8221; \\; This searches all the Info.plist files for one that [&hellip;]<\/p>\n","protected":false},"author":130,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[616],"tags":[],"class_list":["post-6","post","type-post","status-publish","format-standard","hentry","category-usb"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/dreamseeker\/wp-json\/wp\/v2\/posts\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/dreamseeker\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/dreamseeker\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/dreamseeker\/wp-json\/wp\/v2\/users\/130"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/dreamseeker\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":0,"href":"https:\/\/archive.blogs.harvard.edu\/dreamseeker\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/dreamseeker\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/dreamseeker\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/dreamseeker\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}