Hi Arjen,<br>Many thanks for your on-going support on this. It seems to be working 'mostly' fine now. Just a few points:<br><br>>> The better option would be to modify the udev/hotplug script and not run<br>everything as root.
<br><br>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?<br><br>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?
<br><br>Thanks,<br><br>Joe<br>P.S. If you need my exact config maybe you want to document this a working UPS on the NUT page :-).<br><br><br><br><div class="gmail_quote">On Jan 3, 2008 8:17 AM, Arjen de Korte <<a href="mailto:nut+users@de-korte.org">
nut+users@de-korte.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">> I also discovered that the log file is getting filled up with these
<br>> errors:<br>><br>> ---------------------<br>> Jan 2 22:38:19 www kernel: usb 1-2: usbfs: process 24538 (megatec_usb)<br>> did<br>> not claim interface 0 before use<br>> Jan 2 22:38:19 www kernel: usb 1-2: usbfs: process 24538 (megatec_usb)
<br>> did<br>> not claim interface 0 before use<br>> Jan 2 22:38:20 www upsmon[24650]: Poll UPS [myups@localhost] failed -<br>> Driver not connected<br>> Jan 2 22:38:20 www kernel: usb 1-2: usbfs: process 24380 (megatec_usb)
<br>> did<br>> not claim interface 0 before use<br>> Jan 2 22:38:20 www kernel: usb 1-2: usbfs: process 24380 (megatec_usb)<br>> did<br>> not claim interface 0 before use<br>> Jan 2 22:38:21 www kernel: usb 1-2: usbfs: process 24538 (megatec_usb)
<br>> did<br>> not claim interface 0 before use<br>> Jan 2 22:38:21 www kernel: usb 1-2: usbfs: process 24538 (megatec_usb)<br>> did<br>> not claim interface 0 before use<br>> Jan 2 22:38:22 www kernel: usb 1-2: usbfs: process 24380 (megatec_usb)
<br>> did<br>> not claim interface 0 before use<br>> Jan 2 22:38:22 www kernel: usb 1-2: usbfs: process 24380 (megatec_usb)<br>> did<br>> not claim interface 0 before use<br>> -------------------------------
<br><br></div></div>You have multiple instances of the megatec_usb driver running. That<br>doesn't work.<br><div class="Ih2E3d"><br>> Same thing happens if I use the init script for everything (I added the -u<br>> root to the script).
<br><br></div>The better option would be to modify the udev/hotplug script and not run<br>everything as root.<br><br>Best regards, Arjen<br><br></blockquote></div><br>