Hi Arjen,
Many thanks for your on-going support on this. It seems to be working
'mostly' fine now. Just a few points:

>> The better option would be to modify the udev/hotplug script and not run
everything as root.

Any pointers on how to do the above? NUT installed from RPM for me so
presumably I can get these scripts by downloading the .tar.gz. What needs
modification in them?

Most of the time, the driver seems to load fine on restart/boot-up. At time
however, it does not seem to load and will not load no matter how many times
I try after. In order to overcome this I have to switch off the PC, switch
off the UPS and then start afresh (switch-on). It therefore seems as though
the USB/Serial connection is 'stuck' at times and needs some sort of reset.
Is this a known issue and/or is there any way I can overcome this?

Thanks,

Joe
P.S. If you need my exact config maybe you want to document this a working
UPS on the NUT page :-).



On Jan 3, 2008 8:17 AM, Arjen de Korte <[EMAIL PROTECTED]> wrote:

> > I also discovered that the log file is getting filled up with these
> > errors:
> >
> > ---------------------
> > Jan  2 22:38:19 www kernel: usb 1-2: usbfs: process 24538 (megatec_usb)
> > did
> > not claim interface 0 before use
> > Jan  2 22:38:19 www kernel: usb 1-2: usbfs: process 24538 (megatec_usb)
> > did
> > not claim interface 0 before use
> > Jan  2 22:38:20 www upsmon[24650]: Poll UPS [EMAIL PROTECTED] failed -
> > Driver not connected
> > Jan  2 22:38:20 www kernel: usb 1-2: usbfs: process 24380 (megatec_usb)
> > did
> > not claim interface 0 before use
> > Jan  2 22:38:20 www kernel: usb 1-2: usbfs: process 24380 (megatec_usb)
> > did
> > not claim interface 0 before use
> > Jan  2 22:38:21 www kernel: usb 1-2: usbfs: process 24538 (megatec_usb)
> > did
> > not claim interface 0 before use
> > Jan  2 22:38:21 www kernel: usb 1-2: usbfs: process 24538 (megatec_usb)
> > did
> > not claim interface 0 before use
> > Jan  2 22:38:22 www kernel: usb 1-2: usbfs: process 24380 (megatec_usb)
> > did
> > not claim interface 0 before use
> > Jan  2 22:38:22 www kernel: usb 1-2: usbfs: process 24380 (megatec_usb)
> > did
> > not claim interface 0 before use
> > -------------------------------
>
> You have multiple instances of the megatec_usb driver running. That
> doesn't work.
>
> > Same thing happens if I use the init script for everything (I added the
> -u
> > root to the script).
>
> The better option would be to modify the udev/hotplug script and not run
> everything as root.
>
> Best regards, Arjen
>
>
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to