Hi again,<br><br><div><span class="gmail_quote">2006/1/13, Patrick Agrain <<a href="mailto:patrick.agrain@alcatel.fr">patrick.agrain@alcatel.fr</a>>:</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>>Hi Patrick<br>><br>>Happy new year too, and pleased to see the move to newhidups.<br>><br>>Your problem sits in the kernel version (2.4.17).<br>>To take advantage of the driver unbind feature of newhidups / libusb,
<br>>which permits to unbind linux hiddev, and to take the hand on the device,<br>>you either need to switch to 2.4.22, or to blacklist MGE units in the<br>>linuw hid stack...<br>><br>>That's why the claiming is failing.
<br>>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 0x0463
<br>#define USB_DEVICE_ID_MGE_UPS 0xffff<br>#define USB_DEVICE_ID_MGE_UPS1 0x0001<br>- 2 entries in hid_blacklist:<br> { USB_VENDOR_ID_MGE, USB_DEVICE_ID_MGE_UPS, HID_QUIRK_IGNORE },<br> { 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&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>