You are not logged in.

#1 2010-10-14 19:53:05

RyDeRgr
Member
From: Greece, Chalkidiki
Registered: 2008-04-11
Posts: 12

NUT & Ups config

Hi there,

I had Arch 1+ years ago and left it after an hdd fail.

Got a new hdds recently and found a lil'bit of time and re-installed Arch in the same machine 2 weeks ago.

I wanted to configure NUT with my ups as I had is before... UPS is a Mustek PowerMust 600 USB and it's using (it was using) the megatec_usb driver.

Made the ups.conf with "port = auto" and " driver = megatec_usb " as before and wanted to start the driver first for a test.

So:

[root@blender ~]# /usr/bin/upsdrvctl start
Network UPS Tools - UPS driver controller 2.4.3
Network UPS Tools - Megatec protocol driver 1.6 (2.4.3)
Serial-over-USB transport layer 0.10
libusb_get_interrupt: could not claim interface 0: Device or resource busy
libusb_get_interrupt: error submitting URB: Device or resource busy
libusb_get_interrupt: error submitting URB: Device or resource busy
libusb_get_interrupt: error submitting URB: Device or resource busy
libusb_set_report: error sending control message: Device or resource busy
ser_send_pace: Device detached? (error -1: error sending control message: Device or resource busy)
Successfully reconnected
libusb_get_interrupt: error submitting URB: Device or resource busy
libusb_get_interrupt: error submitting URB: Device or resource busy
libusb_set_report: error sending control message: Device or resource busy
ser_send_pace: Device detached? (error -1: error sending control message: Device or resource busy)
Successfully reconnected
libusb_get_interrupt: could not claim interface 0: Device or resource busy
libusb_get_interrupt: error submitting URB: Device or resource busy
libusb_get_interrupt: error submitting URB: Device or resource busy
libusb_set_report: error sending control message: Device or resource busy
ser_send_pace: Device detached? (error -1: error sending control message: Device or resource busy)
Successfully reconnected
libusb_get_interrupt: could not claim interface 0: Device or resource busy
libusb_get_interrupt: error submitting URB: Device or resource busy
Megatec protocol UPS not detected.
Driver failed to start (exit status=1)

and it stops.


On the first time it showed to me "megatec protocol ups detected" (as it was saying in the past) then started showing the libusb things and finished with "NOT detected".

looking around in dmesg after I plugged the USB of the UPS:

usb 5-2: new low speed USB device using uhci_hcd and address 4
generic-usb 0003:0665:5161.0006: hiddev0,hidraw0: USB HID v1.00 Device [Cypress Semiconductor USB to Serial] on usb-0000:00:1a.2-2/input0

and then, after the "upsdrvctl start" command:

usb 5-2: usbfs: process 4466 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4466 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4466 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4990 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4990 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4990 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4990 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4466 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4466 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4466 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4990 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4990 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4990 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4466 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4466 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4466 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4990 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4990 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4990 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4466 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4466 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4466 (megatec_usb) did not claim interface 0 before use
usb 5-2: usbfs: process 4990 (megatec_usb) did not claim interface 0 before use

I can't imagine where the problem is, maybe in permissions?


Do you know a solution?

Thanks.


Arch x86-64 | KDE

Offline

Board footer

Powered by FluxBB