Hi Sven, 2008/1/25, Sven Koch <[EMAIL PROTECTED]>: > Package: nut > Version: 2.2.1-1 > Severity: normal > > I am using a Mustec PowerMust 1000 USB, connected with a USB cable to > the PC. > > With nut 2.2.0-2.1 everything works without problems - but since the > 2.2.1-1 update the "upsdrvctl start" from the init script just fails, > executing the command manually outputs that it can't find a Megatec > Protocol UPS. > > Straceing it there is a loop of: > > ... > [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. > ) = 35 > > > I'm back to 2.2.0-2.1 for now. > > If you have further questions or something for me to test please mail, > I can play with it as it is only my home server. > > Greetings, > Haegar > > > > -- System Information: > Debian Release: lenny/sid > APT prefers oldstable > APT policy: (500, 'oldstable'), (500, 'unstable'), (1, 'experimental') > Architecture: i386 (i686) > > Kernel: Linux 2.6.20-sdinet41-tokamak (SMP w/2 CPU cores) > Locale: LANG=C, LC_CTYPE=de_DE.ISO-8859-1 (charmap=ISO-8859-1) > Shell: /bin/sh linked to /bin/bash > > Versions of packages nut depends on: > ii adduser 3.105 add and remove users and groups > ii debconf 1.5.18 Debian configuration management > sy > ii libc6 2.7-6 GNU C Library: Shared libraries > ii libusb-0.1-4 2:0.1.12-9 userspace USB programming library > ii lsb-base 3.1-24 Linux Standard Base 3.1 init > scrip > ii udev 0.114-2 /dev/ and hotplug management > daemo > > nut recommends no packages.
can you reinstall 2.2.1 and post the following: - lsusb - ls -lR /dev/bus/usb - megatec_usb -DDDDD -a upsname @Carlos: can you give us a bit of light about this? 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/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]