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
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
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
;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
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
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).
>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
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
>[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
>