Many thanks for that; I seem to be getting somewhere :-): ---------------- [EMAIL PROTECTED] www]# /sbin/upsdrvctl -DD -u root start Network UPS Tools - UPS driver controller 2.2.0- Starting UPS: myups exec: /sbin/megatec_usb -a myups Network UPS Tools 2.2.0- - Megatec protocol driver 1.5.4 [megatec_usb] Carlos Rodrigues (c) 2003-2007
Serial-over-USB transport layer for Megatec protocol driver [megatec_usb] Megatec protocol UPS detected [UNITEK Alph1200Sx A1]. ----------------- The driver seems to load fine from the above, however upsd now seems a no-go: [EMAIL PROTECTED] ups]# /usr/sbin/upsd Network UPS Tools upsd 2.2.0- not listening on 0.0.0.0 port 3493 ------------------ If I try: [EMAIL PROTECTED] ups]# /usr/bin/upsc [EMAIL PROTECTED] ups.status Error: Driver not connected 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 ------------------------------- Same thing happens if I use the init script for everything (I added the -u root to the script). Thanks, Joe On Jan 2, 2008 8:54 PM, Arjen de Korte <[EMAIL PROTECTED]> wrote: > Joseph Borg wrote: > > > The strange thing is that this fails really fast...it's as though it's > > not even trying to detect the ups.... > > No, it won't. You need to pass the '-u root' option, since the > hotplug/udev rules are not setup for this VID:PID combination. Until > then, you'll have to tell the driver to run as root, otherwise it will > drop privileges and will never be able to claim the port. > > Best regards, Arjen >
_______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

