Re: [Nut-upsuser] tracing a problem with newhidups

2006-07-13 Thread Arnaud Quette
Hi Rodrigo,2006/7/13, Rodrigo Ventura <[EMAIL PROTECTED]>: On Friday 07 July 2006 20:42, Arnaud Quette wrote:> > Assuming that MxPS means max packet size, it seems to be 8, which is> > lower than 20, and therefore it looks like the EINVAL error comes from> > there. Am I going in the right direction

Re: [Nut-upsuser] tracing a problem with newhidups

2006-07-13 Thread Rodrigo Ventura
On Friday 07 July 2006 20:42, Arnaud Quette wrote: > > Assuming that MxPS means max packet size, it seems to be 8, which is > > lower than 20, and therefore it looks like the EINVAL error comes from > > there. Am I going in the right direction this time? > > your guess seems right. > The best to va

Re: [Nut-upsuser] tracing a problem with newhidups

2006-07-07 Thread Arnaud Quette
Hi Rodrigo,2006/7/7, Rodrigo Ventura <[EMAIL PROTECTED]>: On Thursday 06 July 2006 20:15, Arnaud Quette wrote:> a good try, and amount of effort.> Sadly, notifications are on the PIPE_INTERRUPTOk, let's do it again.HIDGetEvents() calls libusb_get_interrupt() with size=20 (hardcoded), which calls us

Re: [Nut-upsuser] tracing a problem with newhidups

2006-07-07 Thread Rodrigo Ventura
On Thursday 06 July 2006 20:15, Arnaud Quette wrote: > a good try, and amount of effort. > Sadly, notifications are on the PIPE_INTERRUPT Ok, let's do it again. HIDGetEvents() calls libusb_get_interrupt() with size=20 (hardcoded), which calls usb_interrupt_read(), then usb_urb_transfer(), which

Re: [Nut-upsuser] tracing a problem with newhidups

2006-07-06 Thread Arnaud Quette
Hi Rodrigo,2006/7/6, Rodrigo Ventura <[EMAIL PROTECTED]>: Hi. I'm having trouble with nut-2.0.3 on a linux kernel 2.4.32 machine and aMGE Evolution 3000. The problem is that I'm getting the following message,repeatidly, on dmesg:usbdevfs: usb_submit_urb returned -22 (-22 means -EINVAL)I traced the

[Nut-upsuser] tracing a problem with newhidups

2006-07-06 Thread Rodrigo Ventura
Hi. I'm having trouble with nut-2.0.3 on a linux kernel 2.4.32 machine and a MGE Evolution 3000. The problem is that I'm getting the following message, repeatidly, on dmesg: usbdevfs: usb_submit_urb returned -22 (-22 means -EINVAL) I traced the problem with newhidups -DD auto and found ou