<div class="gmail_quote"><div>Hi,</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div>Hi Nicu,<br><br></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying to generate a skeleton driver with usbhid-ups and<br>
gen-usbhid-subdriver but the output seems to be incorrect. Same<br>
behavior with stable 2.6.5, so I guess there is something wrong with<br>
data coming out of device.<br></blockquote></div><div><br>the firmware of your UPS is indeed very buggy.<br>but there was also a bug in the gen-usbhid-usbdriver script:<br>it has not been updated since the timestamp prefix were added to the driver debug traces...<br>
<br>I've just fixed it in the trunk, r3770:<br><a href="http://trac.networkupstools.org/projects/nut/changeset/3770" target="_blank">http://trac.networkupstools.org/projects/nut/changeset/3770</a></div></div></blockquote>
<div><br></div><div>In the mean time I got the firmware source and tried to clean/add some missing entries but there are still issues. I have a partially working driver that I'll post in a few days for comments.</div>
<div><br></div><div>Thanks,</div><div>Nicu Pavel</div></div><br><div><br></div>