Hi,
Sometime ago I asked the question about getting nut to run on my iMac as
I was having trouble getting the USB driver to behave with OS X. The
same driver under LINUX is fine. It was suggested that the better option
might be to run nut on a Rasberry PI instead and monitor the nut daemon
from the iMac.
Well I have bought a Rasberry PI, I have other things planned for it. I
have installed nut 2.7.4-5. The blazer_usb driver detects the UPS so far
so good. What I have noticed though is that the kernel is continuously
(re)detecting the UPS on the USB port. I tried the USB attached to an
Ubuntu VM as I see the same issue.
I realise that this is a LINUX issue rather than a NUT issue but I was
hoping that someone using NUT may have experienced a similar issue with
a similar type of UPS.
raspberrypi (pi) /etc/udev/rules.d $ uname -a
Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019
armv7l GNU/Linux
I have read suggestions about modifying UDEV rules and changing the USB
cable. I've tried another cable. The UDEV rule file that ships with NUT
appears to contain a record for this UPS
raspberrypi (pi) /etc/udev/rules.d $ grep "0665" 62-nut-usbups.rules
ATTR{idVendor}=="0665", ATTR{idProduct}=="5161",
MODE="664", GROUP="nut"
dmesg
May 2 15:49:11 raspberrypi blazer_usb[869]: Communications with UPS
re-established
May 2 15:49:43 raspberrypi kernel: [ 2850.472465] usb 1-1.1.3: usbfs:
USBDEVFS_CONTROL failed cmd blazer_usb rqt 33 rq 9 len 8 ret -110
May 2 15:49:47 raspberrypi kernel: [ 2854.552768] usb 1-1.1.3: USB
disconnect, device number 77
May 2 15:49:48 raspberrypi blazer_usb[869]: Communications with UPS
lost: status read failed!
May 2 15:49:48 raspberrypi kernel: [ 2855.372424] usb 1-1.1.3: new
low-speed USB device number 78 using dwc_otg
May 2 15:49:48 raspberrypi kernel: [ 2855.521291] usb 1-1.1.3: New USB
device found, idVendor=0665, idProduct=5161
May 2 15:49:48 raspberrypi kernel: [ 2855.521306] usb 1-1.1.3: New USB
device strings: Mfr=1, Product=2, SerialNumber=0
May 2 15:49:48 raspberrypi kernel: [ 2855.521316] usb 1-1.1.3: Product:
USB to Serial
May 2 15:49:48 raspberrypi kernel: [ 2855.521324] usb 1-1.1.3:
Manufacturer: INNO TECH
May 2 15:49:48 raspberrypi kernel: [ 2855.535313] hid-generic
0003:0665:5161.004A: hiddev96,hidraw0: USB HID v1.00 Device [INNO TECH
USB to Serial] on usb-3f980000.usb-1.1.3/input0
lsusb -v
Bus 001 Device 084: ID 0665:5161 Cypress Semiconductor USB to Serial
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0665 Cypress Semiconductor
idProduct 0x5161 USB to Serial
bcdDevice 0.02
iManufacturer 1 INNO TECH
iProduct 2 USB to Serial
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 3 20100813
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 4 Sample HID
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 27
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Device Status: 0x0000
(Bus Powered)
Can anyone point me in the correct direction?
Thanks
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ,-_|\ Walter HILL
/ \ email: hill(at)ieee(dot)org
\_,-._/
v
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL:
<http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20190502/10b30f6a/attachment.sig>