<br><br><div class="gmail_quote">2009/9/3 Charles Lepple <span dir="ltr">&lt;<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sep 3, 2009, at 9:22 AM, Arnaud Quette wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The codeless kext stuff is not too complicated - we could probably<br>
generate them the same way as the udev configuration files. The only<br>
trick is that the USB VID, PID, bConfigurationValue, bInterfaceNumber<br>
and bcdDevice values need to be included, in decimal (and the latter<br>
probably needs to be extracted from lsusb output that users have<br>
posted to the mailing lists).<br>
<br>
isn&#39;t there some joker for the b* (like &quot;*&quot; meaning any value)?<br>
</blockquote>
<br></div>
I&#39;ll have to check, but see below.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
having the option to match so specifically is nice, but I find strange to be forced to do that!<br>
</blockquote>
<br></div>
The problem is that you have to be more specific than the general HID class drivers. There is a &quot;matching score&quot; that the codeless kext has to beat in order to allow libusb to claim the device/interface. Wildcards do not increase the score as much as specific values.<br>
</blockquote><div><br>yup, but do you think there will be other higher values (ie that matches better than nut)?<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Now, if we were using a cross-platform HID library... but I digress :-)<br>
</blockquote></div><br>;-)<br><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>
Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br><br>