Re: [Nut-upsuser] Plexus 800VA UPS on ReadyNAS Duo

2012-09-05 Thread Arnaud Quette
Hi

2012/8/19 Rojo Alvarez, Álex alex.r...@ikusi.com

  Hi,
 these are the new tests keeping langid_fix = 0x4095 and changing
 subdrivers as you told me.


sorry, wrong copy/paste on my side.
the base comment was good (first thing, 0x409 seems to be the one to
select), but not the provided config.

can you please test it again with langid_fix = 0x409?

cheers,
Arnaud
-- 
Linux / Unix / Opensource Engineering Expert - Eaton -
http://opensource.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.fr
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Plexus 800VA UPS on ReadyNAS Duo

2012-08-17 Thread Arnaud Quette
2012/8/15 Rojo Alvarez, Álex alex.r...@ikusi.com

  Hi again,

  I've tried two different langid_fix settings with krauler subdriver and
 this is what has happened:


  

  [UPS]
 driver = blazer_usb
 vendorid = 0001
 productid = 
 port = auto
 subdriver = krauler
 langid_fix = 0x4095

  sweethome:/etc/nut#  /lib/nut/blazer_usb -a UPS -u root -DDD
 Network UPS Tools - Megatec/Q1 protocol USB driver 0.08 (2.6.4)
0.00 debug level is '3'
0.000655 language ID workaround enabled (using '0x4095')
0.169315 Checking device (1D6B/0001) (005/001)
0.169369 - VendorID: 1d6b
0.169376 - ProductID: 0001
0.169381 - Manufacturer: Linux 3.2.0-2-amd64 uhci_hcd
0.169386 - Product: UHCI Host Controller
0.169391 - Serial Number: :00:10.3
0.169396 - Bus: 005
0.169401 Trying to match device
0.169416 Device does not match - skipping
0.169425 Checking device (1D6B/0001) (004/001)
0.169447 - VendorID: 1d6b
0.169453 - ProductID: 0001
0.169458 - Manufacturer: Linux 3.2.0-2-amd64 uhci_hcd
0.169463 - Product: UHCI Host Controller
0.169468 - Serial Number: :00:10.2
0.169473 - Bus: 004
0.169478 Trying to match device
0.169484 Device does not match - skipping
0.169491 Checking device (1D6B/0001) (003/001)
0.169512 - VendorID: 1d6b
0.169517 - ProductID: 0001
0.169522 - Manufacturer: Linux 3.2.0-2-amd64 uhci_hcd
0.169528 - Product: UHCI Host Controller
0.169532 - Serial Number: :00:10.1
0.169538 - Bus: 003
0.169542 Trying to match device
0.169548 Device does not match - skipping
0.169555 Checking device (0001/) (002/005)
0.206690 - VendorID: 0001
0.206702 - ProductID: 
0.206707 - Manufacturer: ATCL FOR UPS
0.206712 - Product: ATCL FOR UPS
0.206717 - Serial Number: ATCL FOR UPS
0.206722 - Bus: 002
0.206726 Trying to match device
0.206765 Device matches
0.219692 First supported language ID: 0x409 (please report to the NUT
 maintainer!)


first thing, 0x409 seems to be the one to select.


0.219716 Trying megatec protocol...
0.219722 send: Q1
 (...)


2nd, whatever protocol we try, we always send Q1, and it fails!


  Is there any other option I could try?


keep langid_fix = 0x4095, and try other subdrivers.
send back your outputs, in compressed form as usual.
also export USB_DEBUG=3 before launching the driver.
I'd like to see the detailed behavior here.

cheers,
Arnaud (on holidays for 3 weeks, now...)
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Plexus 800VA UPS on ReadyNAS Duo

2012-08-14 Thread Arnaud Quette
2012/8/13 Rojo Alvarez, Álex alex.r...@ikusi.com

 Hi, this is the output of the command you asked for. THANKS

 sweethome:~# lsusb -v -d0001:
 (...)


try again with subdriver=krauler and langid_fix in ups.conf:
http://www.networkupstools.org/docs/man/blazer.html

cheers,
Arno
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Plexus 800VA UPS on ReadyNAS Duo

2012-08-14 Thread Rojo Alvarez , Álex
Hi again,

I've tried two different langid_fix settings with krauler subdriver and this is 
what has happened:




[UPS]
driver = blazer_usb
vendorid = 0001
productid = 
port = auto
subdriver = krauler
langid_fix = 0x4095

sweethome:/etc/nut#  /lib/nut/blazer_usb -a UPS -u root -DDD
Network UPS Tools - Megatec/Q1 protocol USB driver 0.08 (2.6.4)
   0.00 debug level is '3'
   0.000655 language ID workaround enabled (using '0x4095')
   0.169315 Checking device (1D6B/0001) (005/001)
   0.169369 - VendorID: 1d6b
   0.169376 - ProductID: 0001
   0.169381 - Manufacturer: Linux 3.2.0-2-amd64 uhci_hcd
   0.169386 - Product: UHCI Host Controller
   0.169391 - Serial Number: :00:10.3
   0.169396 - Bus: 005
   0.169401 Trying to match device
   0.169416 Device does not match - skipping
   0.169425 Checking device (1D6B/0001) (004/001)
   0.169447 - VendorID: 1d6b
   0.169453 - ProductID: 0001
   0.169458 - Manufacturer: Linux 3.2.0-2-amd64 uhci_hcd
   0.169463 - Product: UHCI Host Controller
   0.169468 - Serial Number: :00:10.2
   0.169473 - Bus: 004
   0.169478 Trying to match device
   0.169484 Device does not match - skipping
   0.169491 Checking device (1D6B/0001) (003/001)
   0.169512 - VendorID: 1d6b
   0.169517 - ProductID: 0001
   0.169522 - Manufacturer: Linux 3.2.0-2-amd64 uhci_hcd
   0.169528 - Product: UHCI Host Controller
   0.169532 - Serial Number: :00:10.1
   0.169538 - Bus: 003
   0.169542 Trying to match device
   0.169548 Device does not match - skipping
   0.169555 Checking device (0001/) (002/005)
   0.206690 - VendorID: 0001
   0.206702 - ProductID: 
   0.206707 - Manufacturer: ATCL FOR UPS
   0.206712 - Product: ATCL FOR UPS
   0.206717 - Serial Number: ATCL FOR UPS
   0.206722 - Bus: 002
   0.206726 Trying to match device
   0.206765 Device matches
   0.219692 First supported language ID: 0x409 (please report to the NUT 
maintainer!)
   0.219716 Trying megatec protocol...
   0.219722 send: Q1
   0.222708 read: error sending control message: Broken pipe
   0.225691 Stall condition cleared
   0.225700 blazer_status: short reply
   0.225705 Status read 1 failed
   0.225710 send: Q1
   0.228696 read: error sending control message: Broken pipe
   0.231691 Stall condition cleared
   0.231699 blazer_status: short reply
   0.231704 Status read 2 failed
   0.231709 send: Q1
   0.234695 read: error sending control message: Broken pipe
   0.236690 Stall condition cleared
   0.236699 blazer_status: short reply
   0.236704 Status read 3 failed
   0.236709 Trying mustek protocol...
   0.236714 send: QS
   0.236719 read: QS
   0.236729 blazer_status: short reply
   0.236734 Status read 1 failed
   0.236739 send: QS
   0.236743 read: QS
   0.236748 blazer_status: short reply
   0.236753 Status read 2 failed
   0.236758 send: QS
   0.236762 read: QS
   0.236767 blazer_status: short reply
   0.236772 Status read 3 failed
   0.236777 Trying megatec/old protocol...
   0.236782 send: D
   0.236787 read: D
   0.236791 blazer_status: short reply
   0.236796 Status read 1 failed
   0.236801 send: D
   0.236806 read: D
   0.236810 blazer_status: short reply
   0.236816 Status read 2 failed
   0.236820 send: D
   0.236825 read: D
   0.236830 blazer_status: short reply
   0.236835 Status read 3 failed
   0.236839 Trying zinto protocol...
   0.236844 send: Q1
   0.239696 read: error sending control message: Broken pipe
   0.242691 Stall condition cleared
   0.242699 blazer_status: short reply
   0.242704 Status read 1 failed
   0.242709 send: Q1
   0.244695 read: error sending control message: Broken pipe
   0.247691 Stall condition cleared
   0.247699 blazer_status: short reply
   0.247704 Status read 2 failed
   0.247709 send: Q1
   0.250695 read: error sending control message: Broken pipe
   0.252693 Stall condition cleared
   0.252702 blazer_status: short reply
   0.252707 Status read 3 failed
   0.252712 No supported UPS detected





[UPS]
driver = blazer_usb
vendorid = 0001
productid = 
port = auto
subdriver = krauler
langid_fix = 0x409


sweethome:/etc/nut#  /lib/nut/blazer_usb -a UPS -u root -DDD
Network UPS Tools - Megatec/Q1 protocol USB driver 0.08 (2.6.4)
   0.00 debug level is '3'
   0.000703 language ID workaround enabled (using '0x409')
   0.170975 Checking device (1D6B/0001) (005/001)
   0.171053 - VendorID: 1d6b
   0.171059 - ProductID: 0001
   0.171064 - Manufacturer: Linux 3.2.0-2-amd64 uhci_hcd
   0.171069 - Product: UHCI Host Controller
   0.171074 - Serial Number: :00:10.3
   0.171079 - Bus: 005
   0.171084 Trying to match device
   0.171104 Device does not match - skipping
   0.171114 Checking device (1D6B/0001) (004/001)
   0.171137 - VendorID: 1d6b
   0.171143 - ProductID: 0001
   0.171148 - Manufacturer: Linux 3.2.0-2-amd64 uhci_hcd
   0.171153 - Product: UHCI Host Controller
   0.171157 - Serial Number: :00:10.2
   

Re: [Nut-upsuser] Plexus 800VA UPS on ReadyNAS Duo

2012-08-13 Thread Rojo Alvarez , Álex
Hi, this is the output of the command you asked for. THANKS

sweethome:~# lsusb -v -d0001:

Bus 002 Device 005: ID 0001: Fry's Electronics 
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize0 8
  idVendor   0x0001 Fry's Electronics
  idProduct  0x 
  bcdDevice0.00
  iManufacturer   1 ATCL FOR UPS
  iProduct1 ATCL FOR UPS
  iSerial 1 ATCL FOR UPS
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   41
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0xe0
  Self Powered
  Remote Wakeup
MaxPower   98mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  0 No Subclass
  bInterfaceProtocol  0 None
  iInterface  0 
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   1.11
  bCountryCode0 Not supported
  bNumDescriptors 1
  bDescriptorType34 Report
  wDescriptorLength  32
  Report Descriptor: (length is 32)
Item(Global): Usage Page, data= [ 0xa0 0xff ] 65440
(null)
Item(Local ): Usage, data= [ 0x01 ] 1
(null)
Item(Main  ): Collection, data= [ 0x01 ] 1
Application
Item(Local ): Usage, data= [ 0x03 ] 3
(null)
Item(Global): Logical Minimum, data= [ 0x00 ] 0
Item(Global): Logical Maximum, data= [ 0x01 ] 1
Item(Global): Report Size, data= [ 0x08 ] 8
Item(Global): Report Count, data= [ 0x08 ] 8
Item(Main  ): Input, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile 
Bitfield
Item(Local ): Usage, data= [ 0x04 ] 4
(null)
Item(Global): Logical Minimum, data= [ 0x00 ] 0
Item(Global): Logical Maximum, data= [ 0x01 ] 1
Item(Global): Report Size, data= [ 0x08 ] 8
Item(Global): Report Count, data= [ 0x08 ] 8
Item(Main  ): Output, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile 
Bitfield
Item(Main  ): End Collection, data=none
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0008  1x 8 bytes
bInterval  10
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02  EP 2 OUT
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0008  1x 8 bytes
bInterval  10
Device Status: 0x
  (Bus Powered)




On 13/08/2012, at 15:00, Arnaud Quette wrote:

 lsusb -v -d0001:


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Plexus 800VA UPS on ReadyNAS Duo

2012-08-08 Thread Rojo Alvarez , Álex
Hi,
i've got similar problem with an OVISLINK 1000VA UPS on Debian.

I've tried to connect with it using different drivers and this is what I get 
with each of them:


[UPS]
driver = blazer_usb
vendorid = 0001
productid = 
port = auto
subdriver = phoenix

sweethome:~# /lib/nut/blazer_usb -a UPS -u root -DDD
Network UPS Tools - Megatec/Q1 protocol USB driver 0.08 (2.6.4)
   0.00 debug level is '3'
   0.171290 Checking device (1D6B/0001) (005/001)
   0.171346 - VendorID: 1d6b
   0.171353 - ProductID: 0001
   0.171358 - Manufacturer: Linux 3.2.0-2-amd64 uhci_hcd
   0.171363 - Product: UHCI Host Controller
   0.171368 - Serial Number: :00:10.3
   0.171372 - Bus: 005
   0.171377 Trying to match device
   0.171390 Device does not match - skipping
   0.171400 Checking device (1D6B/0001) (004/001)
   0.171420 - VendorID: 1d6b
   0.171426 - ProductID: 0001
   0.171431 - Manufacturer: Linux 3.2.0-2-amd64 uhci_hcd
   0.171436 - Product: UHCI Host Controller
   0.171441 - Serial Number: :00:10.2
   0.171446 - Bus: 004
   0.171450 Trying to match device
   0.171456 Device does not match - skipping
   0.171463 Checking device (1D6B/0001) (003/001)
   0.171482 - VendorID: 1d6b
   0.171488 - ProductID: 0001
   0.171493 - Manufacturer: Linux 3.2.0-2-amd64 uhci_hcd
   0.171497 - Product: UHCI Host Controller
   0.171502 - Serial Number: :00:10.1
   0.171507 - Bus: 003
   0.171511 Trying to match device
   0.171517 Device does not match - skipping
   0.171524 Checking device (0001/) (002/005)
   0.209728 - VendorID: 0001
   0.209738 - ProductID: 
   0.209743 - Manufacturer: ATCL FOR UPS
   0.209747 - Product: ATCL FOR UPS
   0.209752 - Serial Number: ATCL FOR UPS
   0.209756 - Bus: 002
   0.209761 Trying to match device
   0.209802 Device matches
   0.218750 Trying megatec protocol...
   2.011770 flush: No error
   2.015287 send: Q1
   3.059778 read: No error
   3.059984 blazer_status: short reply
   3.060090 Status read 1 failed
   4.107789 flush: No error
   4.111775 send: Q1
   5.163801 read: No error
   5.164007 blazer_status: short reply
   5.164116 Status read 2 failed
   6.211812 flush: No error
   6.215799 send: Q1
   7.259823 read: No error
   7.260021 blazer_status: short reply
   7.260129 Status read 3 failed
   7.260224 Trying mustek protocol...
   8.307832 flush: No error
   8.311822 send: QS
   9.355847 read: No error
   9.356053 blazer_status: short reply
   9.356168 Status read 1 failed
  10.403860 flush: No error
  10.407846 send: QS
  11.451870 read: No error
  11.452069 blazer_status: short reply
  11.452177 Status read 2 failed
  12.499880 flush: No error
  12.503868 send: QS
  13.547892 read: No error
  13.548090 blazer_status: short reply
  13.548198 Status read 3 failed
  13.548295 Trying megatec/old protocol...
  14.595901 flush: No error
  14.599892 send: D
  15.651914 read: No error
  15.652110 blazer_status: short reply
  15.652219 Status read 1 failed
  16.699927 flush: No error
  16.703915 send: D
  17.747941 read: No error
  17.748138 blazer_status: short reply
  17.748252 Status read 2 failed
  18.795947 flush: No error
  18.799938 send: D
  19.843961 read: No error
  19.844147 blazer_status: short reply
  19.844255 Status read 3 failed
  19.844350 Trying zinto protocol...
  20.891970 flush: No error
  20.895962 send: Q1
  21.939989 read: No error
  21.940197 blazer_status: short reply
  21.940307 Status read 1 failed
  22.988001 flush: No error
  22.991986 send: Q1
  24.036013 read: No error
  24.036220 blazer_status: short reply
  24.036329 Status read 2 failed
  25.084022 flush: No error
  25.088009 send: Q1
  26.132034 read: No error
  26.132245 blazer_status: short reply
  26.132354 Status read 3 failed
  26.132451 No supported UPS detected

--

[UPS]
driver = blazer_usb
vendorid = 0001
productid = 
port = auto
subdriver = cypress 


sweethome:~# /lib/nut/blazer_usb -a UPS -u root -DDD
Network UPS Tools - Megatec/Q1 protocol USB driver 0.08 (2.6.4)
   0.00 debug level is '3'
   0.171948 Checking device (1D6B/0001) (005/001)
   0.171999 - VendorID: 1d6b
   0.172005 - ProductID: 0001
   0.172010 - Manufacturer: Linux 3.2.0-2-amd64 uhci_hcd
   0.172015 - Product: UHCI Host Controller
   0.172020 - Serial Number: :00:10.3
   0.172025 - Bus: 005
   0.172029 Trying to match device
   0.172044 Device does not match - 

[Nut-upsuser] Plexus 800VA UPS on ReadyNAS Duo

2011-02-08 Thread Mike Barber
Hi

I Bought a cheap Plexus 800VA UPS from ebuyer :
http://www.ebuyer.com/product/240319 to use with my Netgear ReadyNAS duo.

Initial version of NUT was very old and NAS didn't detect it although in the
NAS log it said UPS Disconnected. Syslog did send the following :

Jan 25 12:46:36 nas-27lfc kernel: usb 1-1: new low speed USB device using
uhci_hcd and address 2
Jan 25 12:46:37 nas-27lfc kernel: usb 1-1: configuration #1 chosen from 1
choice
Jan 25 12:46:39 nas-27lfc kernel: usbcore: registered new driver hiddev
Jan 25 12:46:39 nas-27lfc kernel: hiddev96: USB HID v1.11 Device [ATCL FOR
UPS ATCL FOR UPS] on usb-:00:
17.0-1
Jan 25 12:46:39 nas-27lfc kernel: usbcore: registered new driver usbhid
Jan 25 12:46:39 nas-27lfc kernel: drivers/usb/input/hid-core.c: v2.6:USB HID
core driver

Installed 2.4.1 using apt and installed in place of initial version

Found various web documents detailing that blazer_usb would probably be the
driver to use.

using usb.conf :

[UPS]
driver = blazer_usb
port = auto

and running the driver in debug mode gives the following :

nas:/etc/nut# /lib/nut/blazer_usb -a UPS -u root -DDD
Network UPS Tools - Megatec/Q1 protocol USB driver 0.03 (2.4.1)
debug level is '3'
Checking device (/) (003/001)
- VendorID: 
- ProductID: 
- Manufacturer: Linux 2.6.17.14ReadyNAS ehci_hcd
- Product: EHCI Host Controller
- Serial Number: :00:17.2
- Bus: 003
Trying to match device
Device does not match - skipping
Checking device (/) (002/001)
- VendorID: 
- ProductID: 
- Manufacturer: Linux 2.6.17.14ReadyNAS uhci_hcd
- Product: UHCI Host Controller
- Serial Number: :00:17.1
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (0001/) (001/003)
- VendorID: 0001
- ProductID: 
- Manufacturer: ATCL FOR UPS
- Product: ATCL FOR UPS
- Serial Number: ATCL FOR UPS
- Bus: 001
Trying to match device
Device matches
failed to claim USB device: could not claim interface 0: Device or resource
busy
detached kernel driver from USB device...
Trying megatec protocol...
send: Q1
read: error sending control message: Broken pipe
blazer_status: short reply
Status read 1 failed
send: Q1
read: error sending control message: Broken pipe
blazer_status: short reply
Status read 2 failed
send: Q1
read: error sending control message: Broken pipe
blazer_status: short reply
Status read 3 failed
Trying mustek protocol...
send: QS
read: QS
blazer_status: short reply
Status read 1 failed
send: QS
read: QS
blazer_status: short reply
Status read 2 failed
send: QS
read: QS
blazer_status: short reply
Status read 3 failed
Trying megatec/old protocol...
send: D
read: D
blazer_status: short reply
Status read 1 failed
send: D
read: D
blazer_status: short reply
Status read 2 failed
send: D
read: D
blazer_status: short reply
Status read 3 failed
No supported UPS detected

lsusb gives :

nas:/etc/nut# lsusb
Bus 003 Device 001: ID :
Bus 002 Device 001: ID :
Bus 001 Device 003: ID 0001: Fry's Electronics
Bus 001 Device 001: ID :

I also tried the usbhid-ups driver in explore mode as some people seemed to
think that may work

[UPS]
driver = usbhid-ups
vendorid = 0001
productid = 
desc = Plexus 800VA USB
port = auto
explore

nas:/etc/nut# /lib/nut/usbhid-ups -a UPS -u root -DDD
Network UPS Tools - Generic HID driver 0.34 (2.4.1)
USB communication driver 0.31
debug level is '3'
upsdrv_initups...
Checking device (/) (003/001)
- VendorID: 
- ProductID: 
- Manufacturer: Linux 2.6.17.14ReadyNAS ehci_hcd
- Product: EHCI Host Controller
- Serial Number: :00:17.2
- Bus: 003
Trying to match device
Device does not match - skipping
Checking device (/) (002/001)
- VendorID: 
- ProductID: 
- Manufacturer: Linux 2.6.17.14ReadyNAS uhci_hcd
- Product: UHCI Host Controller
- Serial Number: :00:17.1
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (0001/) (001/003)
- VendorID: 0001
- ProductID: 
- Manufacturer: ATCL FOR UPS
- Product: ATCL FOR UPS
- Serial Number: ATCL FOR UPS
- Bus: 001
Trying to match device
Device matches
HID descriptor, method 1: (9 bytes) = 09 21 11 01 00 01 22 20 00
HID descriptor, method 2: (9 bytes) = 09 21 11 01 00 01 22 20 00
HID descriptor length 32
Report Descriptor size = 32
Report Descriptor: (32 bytes) = 06 a0 ff 09 01 a1 01 09 03 15 00 25 01 75
 08 95 08 81 02 09 04 15 00 25 01 75 08 95 08 91 02 c0
Using subdriver: EXPLORE HID 0.1
Can't retrieve Report 0: Broken pipe
Path: ffa1.ffa3, Type: Input, ReportID: 0x00, Offset: 0, Size: 8
Can't retrieve Report 0: Broken pipe
Path: ffa1.ffa4, Type: Output, ReportID: 0x00, Offset: 0, Size: 8
Report descriptor retrieved (Reportlen = 32)
Found HID device
Detected a UPS: ATCL FOR UPS/ATCL FOR UPS
upsdrv_initinfo...
upsdrv_updateinfo...
file_report_buffer: expected 0 bytes, but got 128!
Report[err]: (128 bytes) = 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
 01 00 00 00 00 00 00 00 01 00 

Re: [Nut-upsuser] Plexus 800VA UPS on ReadyNAS Duo

2011-02-08 Thread Arjen de Korte

Citeren Mike Barber badpa...@googlemail.com:


Installed 2.4.1 using apt and installed in place of initial version

Found various web documents detailing that blazer_usb would probably be the
driver to use.

using usb.conf :

[UPS]
driver = blazer_usb
port = auto

and running the driver in debug mode gives the following :


[...]


Checking device (0001/) (001/003)
- VendorID: 0001
- ProductID: 
- Manufacturer: ATCL FOR UPS
- Product: ATCL FOR UPS
- Serial Number: ATCL FOR UPS


The VendorID / ProductID combination is bogus. The manufacturer of the  
UPS was too cheap to apply for a real USB ID and made one up. This  
means that this will give us no clue how to communicate with this  
device based on this information. A few years ago we ran into this  
combination for the first time and at that time we found out how to  
talk to that particular device. However, this doesn't mean that yours  
will work in the same way (it may be something completely different,  
there is no way to tell).


There is a very small chance that one of the other subdrivers in  
blazer_usb is able to talk to device. You'll have to help finding it  
by specifying 'vendorid', 'productid' and 'subdriver' in ups.conf. See  
'man 8 blazer' for more information. If this also fails to detect your  
UPS you're basically out of luck. Unless *you* can provide us with the  
protocol this device uses (ask the vendor, manufacturer, reverse  
engineer it, whatever), we can't support it in NUT.



using Blazer_usb on 2.6 gives virtually the same output as 2.4.1


You'll definitely need to use this one for the above to have any  
chance of success. Good luck.


Best regards, Arjen
--
Please keep list traffic on the list (off-list replies will be rejected)


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser