<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><span class="Apple-style-span" style="font-family: monospace; "><div>Ron Garret <<a href="mailto:ron@flownet.com">ron@flownet.com</a>> wrote:</div></span></div><br><blockquote type="cite"><div>I want to talk to a USB device from CCL, and to do that I need to invoke IOKit.  Unfortunately, the IOKit headers are not included in the standard distribution so I tried to build them myself.  To do that, I needed to build ffigen, which I tried to do by following the instructions here:<br></div></blockquote></div><br><div>Have you tried using HIDAPI?</div><div><a href="https://github.com/3b/cl-hidapi">https://github.com/3b/cl-hidapi</a></div><div><br></div><div>We got HID to work some time ago. Not sure if it was this library or if we wrote our own. As best I remember, it took some effort but it didn't require any IOKit stuff, and it worked from CCL on Linux.</div><div><br></div><div>-SS</div></body></html>