[Nut-upsdev] Bug#462468: nut: megatec_usb ups not detected since 2.2.1 update anymore

Arnaud Quette aquette.dev at gmail.com
Fri Jan 25 14:23:38 UTC 2008


2008/1/25, Carlos Rodrigues <carlos.efr at mail.telepac.pt>:
> On Jan 25, 2008 9:37 AM, Arnaud Quette <aquette.dev at gmail.com> wrote:
> > > [pid 23913] ioctl(4, USBDEVFS_REAPURBNDELAY, 0xbfac4d18) = -1 EAGAIN (Resource temporarily unavailable)
> > > [pid 23913] select(5, NULL, [4], NULL, {0, 1000}) = 0 (Timeout)
> > > [pid 23913] gettimeofday({1201220631, 708379}, NULL) = 0
> > > [pid 23913] ioctl(4, USBDEVFS_REAPURBNDELAY, 0xbfac4d18) = -1 EAGAIN (Resource temporarily unavailable)
> > > [pid 23913] select(5, NULL, [4], NULL, {0, 1000}) = 0 (Timeout)
> > > [pid 23913] gettimeofday({1201220631, 712517}, NULL) = 0
> > > [pid 23913] ioctl(4, USBDEVFS_REAPURBNDELAY, 0xbfac4d18) = -1 EAGAIN (Resource temporarily unavailable)
> > > [pid 23913] ioctl(4, USBDEVFS_DISCARDURB, 0xbfac4cd4) = 0
> > > [pid 23913] ioctl(4, USBDEVFS_REAPURB, 0xbfac4d18) = 0
> > > [pid 23913] write(2, "Megatec protocol UPS not detecte"..., 35Megatec protocol UPS not detected.
> >
> > @Carlos: can you give us a bit of light about this?
>
> Looks like something USB specific. Maybe a permissions issue.

that's still our #1 problem, though the udev script in 2.2.1 takes
care of bus=={usb,usb_device} and the nut package restarts udev at
postinst, just to be sure that if the UPS was already plugged in, we
would still apply the rule...

so, nothing too big from the trunk backport on your side?

well, let's wait for the feedback and see.

thanks,
Arnaud
-- 
Linux / Unix Expert R&D - MGE Office Protection Systems - http://www.mgeops.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/



More information about the Nut-upsdev mailing list