Can someone give me a push in the right direction with this? I'm trying to
get an upsonic IRT1000 to work on ubuntu 14.04lts using the usb connection.
The most likely drivers (blazer_usb and usbhid-ups) don't seem to recognize
it or I've got the configuration parameters wrong. I've got no idea
what driver it actually wants though there's an old thread that seems to
have got it to work with snmp by adding an snmp card to it.
Thanks for any info,
Klint.
root at merino:/tmp/aaa# uname -a
Linux merino 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux
root at merino:/tmp/aaa# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
root at merino:/tmp/aaa# apt-cache showpkg nut-server
Package: nut-server
Versions:
2.7.1-1ubuntu1
(/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages)
(/var/lib/dpkg/status)
Description Language:
File:
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages
MD5: cf50e3b4416f9edcc4a33c7f641661ef
Description Language: en
File:
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en
MD5: cf50e3b4416f9edcc4a33c7f641661ef
Reverse Depends:
nut-server:i386,nut-server
nut-client:i386,nut-server 2.6.3-1~
nut-client:i386,nut-server 2.6.3-1~
nut-client,nut-server 2.6.3-1~
nut-client,nut-server 2.6.3-1~
nut,nut-server
Dependencies:
2.7.1-1ubuntu1 - libc6 (2 2.15) libnspr4 (18 2:4.9-2~) libnspr4-0d (2 1.8.0.10)
libnss3 (18 2:3.13.4-2~) libnss3-1d (2 3.12.0~1.9b1) libupsclient3 (2 2.7.1)
libusb-0.1-4 (2 2:0.1.12) libwrap0 (2 7.6-4~) init-system-helpers (2 1.13~)
adduser (0 (null)) lsb-base (2 3.0-6) udev (2 136-1) nut-client (5
2.7.1-1ubuntu1) nut-cgi (0 (null)) nut-snmp (0 (null)) nut-ipmi (0 (null))
nut-xml (0 (null)) nut-hal-drivers (0 (null)) nut-hal-drivers:i386 (0 (null))
nut (3 2.6.1-2~) nut:i386 (3 2.6.1-2~) nut (3 2.6.1-2~) nut:i386 (3 2.6.1-2~)
nut-server:i386 (0 (null))
Provides:
2.7.1-1ubuntu1 -
Reverse Provides:
UPS: Upsonic IRT1000 purchased nov 2014
dmesg when it was plugged in
[63001.624088] usb 3-3: USB disconnect, device number 3
[63024.375183] usb 3-3: new low-speed USB device number 7 using xhci_hcd
[63024.375570] usb 3-3: Device not responding to set address.
[63024.579716] usb 3-3: Device not responding to set address.
[63024.783484] usb 3-3: device not accepting address 7, error -71
[63024.895613] usb 3-3: new low-speed USB device number 8 using xhci_hcd
[63024.923396] usb 3-3: New USB device found, idVendor=ffff, idProduct=0000
[63024.923399] usb 3-3: New USB device strings: Mfr=19, Product=1,
SerialNumber=2
[63024.923401] usb 3-3: Product: 010937
[63024.923402] usb 3-3: Manufacturer:
[63024.923403] usb 3-3: SerialNumber:
[63024.923491] usb 3-3: ep 0x81 - rounding interval to 1024 microframes, ep desc
says 1856 microframes
[63024.931544] hid-generic 0003:FFFF:0000.0006: hiddev0,hidraw0: USB HID v10.01
Device [ 010937 ] on
usb-0000:00:14.0-3/input0
lsusb:
Bus 003 Device 008: ID ffff:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0xffff
idProduct 0x0000
bcdDevice 9.37
iManufacturer 19
iProduct 1 010937
iSerial 2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 160mA
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 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 10.01
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 47
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 232
Device Status: 0x0002
(Bus Powered)
Remote Wakeup Enabled
config file
[upsonicRT1000]
#driver=blazer_usb
driver=usbhid-ups
port=auto
vendorid=0xffff
productid=0000
#serial=2
#product="1 010937"
#vendor=19
#explore
desc="UPSonic RT1000"
as blazer_usb
root at merino:/tmp/aaa# /lib/nut/blazer_usb -DDDD -a upsonicRT1000
Network UPS Tools - Megatec/Q1 protocol USB driver 0.10 (2.7.1)
0.000000 debug level is '4'
0.258671 Checking device (1D6B/0003) (004/001)
0.258962 - VendorID: 1d6b
0.258973 - ProductID: 0003
0.258975 - Manufacturer: unknown
0.258977 - Product: unknown
0.258979 - Serial Number: unknown
0.258981 - Bus: 004
0.258983 Trying to match device
0.258991 Device does not match - skipping
0.259151 Checking device (FFFF/0000) (003/008)
0.259177 - VendorID: ffff
0.259180 - ProductID: 0000
0.259182 - Manufacturer: unknown
0.259184 - Product: unknown
0.259186 - Serial Number: unknown
0.259188 - Bus: 003
0.259190 Trying to match device
0.259195 Device does not match - skipping
0.259199 Checking device (0557/2419) (003/006)
0.259205 - VendorID: 0557
0.259207 - ProductID: 2419
0.259209 - Manufacturer: unknown
0.259211 - Product: unknown
0.259213 - Serial Number: unknown
0.259215 - Bus: 003
0.259217 Trying to match device
0.259231 Device does not match - skipping
0.259235 Checking device (0000/0001) (003/005)
0.259241 - VendorID: 0000
0.259243 - ProductID: 0001
0.259245 - Manufacturer: unknown
0.259247 - Product: unknown
0.259249 - Serial Number: unknown
0.259251 - Bus: 003
0.259252 Trying to match device
0.259255 Device does not match - skipping
0.259259 Checking device (1C4F/0002) (003/004)
0.259266 - VendorID: 1c4f
0.259268 - ProductID: 0002
0.259270 - Manufacturer: unknown
0.259271 - Product: unknown
0.259273 - Serial Number: unknown
0.259275 - Bus: 003
0.259277 Trying to match device
0.259279 Device does not match - skipping
0.259282 Checking device (0E8D/1956) (003/002)
0.259288 - VendorID: 0e8d
0.259290 - ProductID: 1956
0.259292 - Manufacturer: unknown
0.259294 - Product: unknown
0.259296 - Serial Number: unknown
0.259298 - Bus: 003
0.259300 Trying to match device
0.259302 Device does not match - skipping
0.259305 Checking device (1D6B/0002) (003/001)
0.259312 - VendorID: 1d6b
0.259314 - ProductID: 0002
0.259316 - Manufacturer: unknown
0.259318 - Product: unknown
0.259319 - Serial Number: unknown
0.259321 - Bus: 003
0.259323 Trying to match device
0.259325 Device does not match - skipping
0.259329 Checking device (8087/8002) (002/002)
0.306907 - VendorID: 8087
0.306915 - ProductID: 8002
0.306917 - Manufacturer: unknown
0.306919 - Product: unknown
0.306920 - Serial Number: unknown
0.306922 - Bus: 002
0.306924 Trying to match device
0.306927 Device does not match - skipping
0.321636 Checking device (1D6B/0002) (002/001)
0.321673 - VendorID: 1d6b
0.321679 - ProductID: 0002
0.321683 - Manufacturer: unknown
0.321687 - Product: unknown
0.321692 - Serial Number: unknown
0.321696 - Bus: 002
0.321700 Trying to match device
0.321707 Device does not match - skipping
0.321818 Checking device (8087/800A) (001/002)
0.370660 - VendorID: 8087
0.370668 - ProductID: 800a
0.370670 - Manufacturer: unknown
0.370672 - Product: unknown
0.370673 - Serial Number: unknown
0.370675 - Bus: 001
0.370677 Trying to match device
0.370680 Device does not match - skipping
0.385633 Checking device (1D6B/0002) (001/001)
0.385652 - VendorID: 1d6b
0.385654 - ProductID: 0002
0.385656 - Manufacturer: unknown
0.385657 - Product: unknown
0.385659 - Serial Number: unknown
0.385661 - Bus: 001
0.385662 Trying to match device
0.385665 Device does not match - skipping
0.385754 No appropriate HID device found
0.385781 No supported devices found. Please check your device
availability with 'lsusb'
and make sure you have an up-to-date version of NUT. If this does not help,
try running the driver with at least 'subdriver', 'vendorid' and
'productid'
options specified. Please refer to the man page for details about these options
(man 8 blazer).
as usbhid-ups
/lib/nut/usbhid-ups -a upsonicRT1000 -DDDD
Network UPS Tools - Generic HID driver 0.38 (2.7.1)
USB communication driver 0.32
0.000000 debug level is '4'
0.000328 upsdrv_initups...
0.260629 Checking device (1D6B/0003) (004/001)
0.260859 - VendorID: 1d6b
0.260869 - ProductID: 0003
0.260871 - Manufacturer: unknown
0.260873 - Product: unknown
0.260875 - Serial Number: unknown
0.260877 - Bus: 004
0.260879 Trying to match device
0.260892 Device does not match - skipping
0.261147 Checking device (FFFF/0000) (003/008)
0.261173 - VendorID: ffff
0.261176 - ProductID: 0000
0.261178 - Manufacturer: unknown
0.261180 - Product: unknown
0.261182 - Serial Number: unknown
0.261184 - Bus: 003
0.261186 Trying to match device
0.261190 Device does not match - skipping
0.261195 Checking device (0557/2419) (003/006)
0.261201 - VendorID: 0557
0.261204 - ProductID: 2419
0.261205 - Manufacturer: unknown
0.261207 - Product: unknown
0.261209 - Serial Number: unknown
0.261211 - Bus: 003
0.261213 Trying to match device
0.261215 Device does not match - skipping
0.261218 Checking device (0000/0001) (003/005)
0.261224 - VendorID: 0000
0.261226 - ProductID: 0001
0.261241 - Manufacturer: unknown
0.261243 - Product: unknown
0.261245 - Serial Number: unknown
0.261246 - Bus: 003
0.261248 Trying to match device
0.261250 Device does not match - skipping
0.261253 Checking device (1C4F/0002) (003/004)
0.261259 - VendorID: 1c4f
0.261261 - ProductID: 0002
0.261263 - Manufacturer: unknown
0.261265 - Product: unknown
0.261267 - Serial Number: unknown
0.261269 - Bus: 003
0.261282 Trying to match device
0.261284 Device does not match - skipping
0.261287 Checking device (0E8D/1956) (003/002)
0.261293 - VendorID: 0e8d
0.261295 - ProductID: 1956
0.261297 - Manufacturer: unknown
0.261299 - Product: unknown
0.261300 - Serial Number: unknown
0.261302 - Bus: 003
0.261304 Trying to match device
0.261306 Device does not match - skipping
0.261322 Checking device (1D6B/0002) (003/001)
0.261328 - VendorID: 1d6b
0.261330 - ProductID: 0002
0.261331 - Manufacturer: unknown
0.261333 - Product: unknown
0.261335 - Serial Number: unknown
0.261336 - Bus: 003
0.261338 Trying to match device
0.261359 Device does not match - skipping
0.261362 Checking device (8087/8002) (002/002)
0.308835 - VendorID: 8087
0.308843 - ProductID: 8002
0.308845 - Manufacturer: unknown
0.308847 - Product: unknown
0.308848 - Serial Number: unknown
0.308850 - Bus: 002
0.308852 Trying to match device
0.308855 Device does not match - skipping
0.323557 Checking device (1D6B/0002) (002/001)
0.323594 - VendorID: 1d6b
0.323600 - ProductID: 0002
0.323604 - Manufacturer: unknown
0.323609 - Product: unknown
0.323613 - Serial Number: unknown
0.323617 - Bus: 002
0.323621 Trying to match device
0.323628 Device does not match - skipping
0.323722 Checking device (8087/800A) (001/002)
0.372562 - VendorID: 8087
0.372602 - ProductID: 800a
0.372627 - Manufacturer: unknown
0.372652 - Product: unknown
0.372677 - Serial Number: unknown
0.372704 - Bus: 001
0.372728 Trying to match device
0.372757 Device does not match - skipping
0.387560 Checking device (1D6B/0002) (001/001)
0.387598 - VendorID: 1d6b
0.387603 - ProductID: 0002
0.387608 - Manufacturer: unknown
0.387612 - Product: unknown
0.387617 - Serial Number: unknown
0.387621 - Bus: 001
0.387625 Trying to match device
0.387633 Device does not match - skipping
0.387737 No appropriate HID device found
0.387749 No matching HID UPS found
--
Klint Gore
Database Manager
Sheep CRC
A.G.B.U.
University of New England
Armidale NSW 2350
Ph: 02 6773 3789
Fax: 02 6773 3266
EMail: kgore4 at une.edu.au<mailto:kgore4 at une.edu.au>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20141112/d0d186c5/attachment-0001.html>