Re: [Nut-upsuser] Fry's Electronics UPS...

2015-04-23 Thread Charles Lepple
On Apr 23, 2015, at 1:16 PM, James Hammond  wrote:

> I am running Ubuntu 14.04 and using NUT version 2.73 installed from apt-get 
> package.

Hmm, the version below says 2.7.1, not 2.7.3.

> Driver debug output:
> 
> root@unifi:/lib/nut# ./blazer_usb -DD -a nutdev1
> Network UPS Tools - Megatec/Q1 protocol USB driver 0.10 (2.7.1)
> 

To get the drivers hyouko mentioned on Ubuntu, the easiest way might be to use 
a PPA:

https://launchpad.net/~clepple/+archive/ubuntu/nut

(the strange version number in the PPA is because the packages were built from 
Git just before the official 2.7.3 tarball was released.)

-- 
Charles Lepple
clepple@gmail




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


Re: [Nut-upsuser] Fry's Electronics UPS...

2015-04-23 Thread hyo...@gmail.com
2015-04-23 19:16 GMT+02:00 James Hammond :
> #lsusb
>
> Bus 001 Device 003: ID 0001: Fry's Electronics

[...]

>   iManufacturer   1 ATCL FOR UPS
>   iProduct1 ATCL FOR UPS
>   iSerial 1 ATCL FOR UPS

[...]

> root@unifi:/lib/nut# ./blazer_usb -DD -a nutdev1
> Network UPS Tools - Megatec/Q1 protocol USB driver 0.10 (2.7.1)
>0.00 debug level is '2'

[...]

>0.244816 Checking device (0001/) (001/003)
>0.244939 - VendorID: 0001
>0.244961 - ProductID: 
>0.244973 - Manufacturer: unknown
>0.244984 - Product: unknown
>0.244992 - Serial Number: unknown
>0.245003 - Bus: 001
>0.245015 Trying to match device
>0.245134 Device does not match - skipping

What happened to the iManufacturer/iProduct/iSerialNumber strings?
Try removing the 'product'/'serial'/'vendor'/'bus' lines from here:

> [nutdev1]
> driver = "blazer_usb"
> port = "auto"
> vendorid = "0001"
> productid = ""
> product = "ATCL FOR UPS"
> serial = "ATCL FOR UPS"
> vendor = "ATCL FOR UPS"
> bus = "001"

Then try again.
(I'm not expecting it to work but.. who knows..)

> Is there anything else I can try or just forget it?

It could work with drivers 'nutdrv_atcl_usb' (available since NUT
version 2.7.2) or with 'nutdrv_qx' (since 2.7.3).

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


[Nut-upsuser] Fry's Electronics UPS...

2015-04-23 Thread James Hammond
Hello,
I am trying to get a "no-brand" (LMS DATA, model no LMSP1200RI) UPS to work 
with NUT.
I now realise I should have checked compatibility with NUT before purchase. My 
other UPS (APC) works perfectly.
Anyway, I have spent a good day trying to get this thing working.
#lsusb
Bus 001 Device 003: ID 0001: Fry's ElectronicsDevice Descriptor:  bLength   
 18  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 9bDescriptorType   
  2wTotalLength   41bNumInterfaces  1
bConfigurationValue 1iConfiguration  0bmAttributes 
0xe0  Self Powered  Remote WakeupMaxPower   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  0HID Device Descriptor:  bLength
 9  bDescriptorType33  bcdHID   
1.11  bCountryCode0 Not supported  bNumDescriptors  
   1  bDescriptorType34 Report  wDescriptorLength   
   32 Report Descriptors:   ** UNAVAILABLE **  Endpoint 
Descriptor:bLength 7bDescriptorType 5   
 bEndpointAddress 0x81  EP 1 INbmAttributes3
  Transfer TypeInterrupt  Synch Type   None 
 Usage Type   DatawMaxPacketSize 0x0008  1x 8 bytes 
   bInterval  10  Endpoint Descriptor:bLength   
  7bDescriptorType 5bEndpointAddress 0x02  
EP 2 OUTbmAttributes3  Transfer Type
Interrupt  Synch Type   None  Usage Type
   DatawMaxPacketSize 0x0008  1x 8 bytesbInterval   
   10Device Status: 0x  (Bus Powered)
Which doesnt give much useful information.
I managed to get nut-scanner to work and got this output:
[nutdev1]driver = "blazer_usb"port = "auto"vendorid = 
"0001"productid = ""product = "ATCL FOR UPS"serial 
= "ATCL FOR UPS"vendor = "ATCL FOR UPS"bus = "001"
I am running Ubuntu 14.04 and using NUT version 2.73 installed from apt-get 
package.
Driver debug output:
root@unifi:/lib/nut# ./blazer_usb -DD -a nutdev1Network UPS Tools - Megatec/Q1 
protocol USB driver 0.10 (2.7.1)   0.00 debug level is '2'   0.153584   
  Checking device (8087/0024) (002/002)   0.229221 - VendorID: 8087   
0.229281 - ProductID: 0024   0.229294 - Manufacturer: unknown   
0.229304 - Product: unknown   0.229313 - Serial Number: unknown   
0.229322 - Bus: 002   0.229330 Trying to match device   0.229426 
Device does not match - skipping   0.244415 Checking device (1D6B/0002) 
(002/001)   0.244575 - VendorID: 1d6b   0.244593 - ProductID: 0002   
0.244603 - Manufacturer: unknown   0.244611 - Product: unknown   
0.244619 - Serial Number: unknown   0.244627 - Bus: 002   0.244635 
Trying to match device   0.244652 Device does not match - skipping   
0.244816 Checking device (0001/) (001/003)   0.244939 - VendorID: 
0001   0.244961 - ProductID:    0.244973 - Manufacturer: unknown   
0.244984 - Product: unknown   0.244992 - Serial Number: unknown   
0.245003 - Bus: 001   0.245015 Trying to match device   0.245134 
Device does not match - skipping   0.245177 Checking device (8087/0024) 
(001/002)   0.245227 - VendorID: 8087   0.245247 - ProductID: 0024   
0.245260 - Manufacturer: unknown   0.245271 - Product: unknown   
0.245283 - Serial Number: unknown   0.245292 - Bus: 001   0.245302 
Trying to match device   0.245323 Device does not match - skipping   
0.245350 Checking device (1D6B/0002) (001/001)   0.245407 - VendorID: 
1d6b   0.245425 - ProductID: 0002   0.245437 - Manufacturer: unknown   
0.245448 - Product: unknown   0.245460 - Serial Number: unknown   
0.245471 - Bus: 001   0.245483 Trying to match device   0.245499 
Device does not match - skipping   0.245520 No appropriate HID device found 
  0.245547 No

Re: [Nut-upsuser] Network UPS Tools version 2.7.3 released

2015-04-23 Thread Arnaud Quette
Hi Dan

2015-04-22 13:03 GMT+02:00 Dan Craciun :

>  Congratulations!
>
> You might want to modify the date on the homepage. Right now it says:
>
> April 16, *2014*: NUT 2.7.3 released
>

Thanks for pointing that, not a thorough enough review.
I've just fixed it.

cheers,
Arno


>
> On 4/22/2015 12:44 PM, Arnaud Quette wrote:
>  Network UPS Tools version 2.7.3 has been released:
> http://www.networkupstools.org
>
> Direct access:
> - Download: http://www.networkupstools.org/source/2.7/nut-2.7.3.tar.gz
> - News: http://www.networkupstools.org/source/2.7/new-2.7.3.txt
> - ChangeLog: http://www.networkupstools.org/source/2.7/ChangeLog
>
>  Please note that, with this release, the Device Dumps Library is now
> available online:
> http://www.networkupstools.org/ddl/
>
>  Deserved thanks to Daniele and Charles
>
> Arno & the NUT team
>
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser