[linux-usb-devel] Can't manage device reconnexion

2005-04-11 Thread arnaud . quette
Hi there, I'm trying to finish the new NUT [1] driver for USB/HID UPSs, based on libusb, but I'm facing a last problem: I frequently (seems more with latest kernels / libusb) device disconnexion upon power failure! I got the message: "hub : port X disabled by hub (EMI?) re-enabling..." And all my

[linux-usb-devel] Réf. : Re: hiddev patch : disable hiddev support for MGE UPSs

2003-12-22 Thread arnaud . quette
On Tue, Dec 16, 2003 at 09:29:39AM +0100, [EMAIL PROTECTED] wrote: > > > Hi folks, > > following my recent posts on libusb-devel and hidups, here's > a patch to disable hiddev support for MGE UPSs. It only > declares VID/PID as QUIRK_IGNORE in hid-core's blacklist. > This simply prevent hiddev to

[linux-usb-devel] hiddev patch : disable hiddev support for MGE UPSs

2003-12-16 Thread arnaud . quette
Hi folks, following my recent posts on libusb-devel and hidups, here's a patch to disable hiddev support for MGE UPSs. It only declares VID/PID as QUIRK_IGNORE in hid-core's blacklist. This simply prevent hiddev to be loaded when plugging an MGE UPS. As always, due to my brain damaged Notes mai

[linux-usb-devel] Réf. : [linux-usb-devel] report ID in HID SET_REPORT (APC BackUPS CS)

2003-04-03 Thread arnaud . quette
;size + 7) >> 3); } hid->outhead = (hid->outhead + 1) & (HID_CONTROL_FIFO_SIZE - 1); ... I'll try this and report it back ASAP. If you test it too, I'm also interested in having feedback. Regards, Arnaud Quette Unix / Linux Development res

[linux-usb-devel] USB / HID, SHUT protocol (for Ellipse models) and MGE UPS SYSTEMS

2003-03-06 Thread arnaud . quette
Dear USB / HID and UPS developers and users, Rejoice: MGE UPS SYSTEMS is continuing to support the OpenSource Community by releasing its Human Interface Devices (HID) Parser under GNU General Public License ! This one will allows to achieve several aims such as creating a library to fully suppo

[linux-usb-devel] [PATCH] 2.4.20-pre11: hiddev collection tree management

2002-10-29 Thread arnaud . quette
The following patch from Paul Stewart (<[EMAIL PROTECTED]>) add two ioctl flags for managing objects tree of complex HID devices. Those two ioctl are: - HIDIOCGCOLLECTIONINDEX - HIDIOCGCOLLECTIONINFO This is needed to avoid problems with redondant HID objects (eg multiple outlets for an UPS).

[linux-usb-devel] Réf. : [linux-usb-devel] Re: [PATCH] drivers/usb/input/hiddev.c: fix hiddev_connect issue when CONFIG_USB_DYNAMIC_MINORS not enabled

2002-10-25 Thread arnaud . quette
>Doh, good catch. This had been reported previously with the scanner >driver. I'll apply your patch, thanks. Want to make one up for the >other callers of usb_register_dev()? :) I took a quick look at other callers (maybe need some reread by those drivers repective authors): - class/usblp.c

[linux-usb-devel] [PATCH] drivers/usb/input/hiddev.c: fix hiddev_connect issue whenCONFIG_USB_DYNAMIC_MINORS not enabled

2002-10-23 Thread arnaud . quette
The following one line patch (against 2.5.44) fixes an index problem when connecting a new hiddev device, when kernel isn't compiled with CONFIG_USB_DYNAMIC_MINORS. Previous attempt to open hiddev device terminated with an ENODEV error. Note that this fix works with either dynamic minors flag ena

[linux-usb-devel] Réf. : Re: [linux-usb-devel] USB problems with MGE UPSs : control queue full AND hcd_unlink _urb fail -22

2002-09-17 Thread arnaud . quette
>[pressed SEND too soon ] Hi David and thanks for your answer, >David Brownell wrote: >>> Sep 4 16:18:37 pc-dev kernel: hid-core.c: usb_submit_urb(ctrl) failed >>> Sep 4 16:18:37 pc-dev kernel: hid-core.c: control queue full >>> Sep 4 16:18:37 pc-dev kernel: hid-core.c: control queue full >