Hi again,<br><br><div><span class="gmail_quote">2006/1/13, Patrick Agrain &lt;<a href="mailto:patrick.agrain@alcatel.fr">patrick.agrain@alcatel.fr</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
At 09:24 13/01/2006, Arnaud Quette wrote:<br>&gt;Hi Patrick<br>&gt;<br>&gt;Happy new year too, and pleased to see the move to newhidups.<br>&gt;<br>&gt;Your problem sits in the kernel version (2.4.17).<br>&gt;To take advantage of the driver unbind feature of newhidups / libusb,
<br>&gt;which permits to unbind linux hiddev, and to take the hand on the device,<br>&gt;you either need to switch to 2.4.22, or to blacklist MGE units in the<br>&gt;linuw hid stack...<br>&gt;<br>&gt;That's why the claiming is failing.
<br>&gt;I can find back my old patch, or rebuild one for you, so that you can go on.<br><br>Thank you Arnaud for this hint.<br><br>I'm affraid that switching to another kernel version is far far away for my<br>managers ;-)
<br>I will blacklist the MGE to avoid the hid driver to be waken up.<br><br>If you find again your patch, I will be pleased to get it.<br></blockquote></div><br>I've quickly taken a look, and I can't find the patch.<br>So here are some info to do it yourself (from a 
2.6 tree, so must be adapted to 2.4):<br>* the file to modify is named hid-core.c, and should be in drivers/usb/input/<br clear="all">* you need to add:<br>- those defines:<br>#define USB_VENDOR_ID_MGE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0463
<br>#define USB_DEVICE_ID_MGE_UPS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0xffff<br>#define USB_DEVICE_ID_MGE_UPS1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0001<br>- 2 entries in hid_blacklist:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { USB_VENDOR_ID_MGE, USB_DEVICE_ID_MGE_UPS, HID_QUIRK_IGNORE },<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { USB_VENDOR_ID_MGE, USB_DEVICE_ID_MGE_UPS1, HID_QUIRK_IGNORE },
<br><br>And that should be good. Don't hesitate to ping me back if not.<br><br>Arnaud<br>-- <br>Linux / Unix Expert - MGE UPS SYSTEMS - R&amp;D Dpt<br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">
http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://people.debian.org/~aquette/">http://people.debian.org/~aquette/</a><br>OpenSource Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/
</a>