Re: [Nut-upsuser] NUT upgrade to 2.6.0 in Gentoo with Liebert UPS

2011-04-05 Thread Arjen de Korte

Citeren Francesco Talamona francesco.talam...@know.eu:


I have a 64 bit Gentoo, with a Liebert UPS. The last NUT working version
was sys-power/nut-2.4.1-r1 (I also tried sys-power/nut-2.4.3-r2 but
downgraded, don't remember the reason).


[...]


I don't know what else I can try, I simply don't understand what's going
on. Donwgrade isn't a good option because nut-2.4.1-r1 is no more in the
portage tree: it isn't impossible to install, but I prefer to make the
new one work.


What on earth are you trying to do? I see you're trying out both  
serial (liebert) and USB (usbhid-ups) connected drivers, without  
reference of which one worked in an earlier version. I also see that  
you're attempting to run multiple driver instances in parallel (most  
likely, unintentionally) for the same UPS. This is never a good idea.  
Always make sure that when you're trying things out, the leftovers  
from earlier experiments are stopped.


Since the VID:PID combination of your UPS is not supported (not even  
in the development version), I suspect you've used the serial driver  
before. If that's the case it should still work, but most likely not  
if you connect the USB interface at the same time (in many cases,  
devices with both serial and USB share a lot of interface hardware  
internally). Chances are that your UPS might also work through USB,  
but I have never seen that before.


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


Re: [Nut-upsuser] Cyberpower CP850PFCLCD 120% battery charge

2011-04-05 Thread Arjen de Korte

Citeren Justin Ellison jus...@techadvise.com:


Attached is a -DDD log of the driver.


Did you look at it before sending it? If not, look now... :-)

We need the output of both stdout and stderr:

/path/to/usbhid-ups -DDD -a upsname  CyberPower_CP850.log 21

The first 30 seconds worth of output should be enough.


If you need anything else, let me know.


See above.

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


[Nut-upsuser] GE EP series UPS

2011-04-05 Thread Danilo Godec
Hi,

I just got two new UPS's - GE EP6000R. These have both RS232 and USB
connection.

As far as I could detect these are not supported by NUT. However, they
provide some Linux software and as long as these UPS's are not in
production (another week or so) I could 'play' with them to try to get
some protocol information.

Though I would need some pointers on how to do it... Mind you I'm no
programmer so I won't be able to create an actual driver.

So - what's a good way to 'sniff' RS232 data sent to and from UPS?


  Regards, Danilo




-- 
Danilo Godec, sistemska podpora / system administration

Predlog! Obiscite prenovljeno spletno stran www.agenda.si 

ODPRTA KODA IN LINUX 
STORITVE : POSLOVNE RESITVE : UPRAVLJANJE IT : INFRASTRUKTURA IT : 
IZOBRAZEVANJE : PROGRAMSKA OPREMA 

Visit our updated web page at www.agenda.si 

OPEN SOURCE AND LINUX 
SERVICES : BUSINESS SOLUTIONS : IT MANAGEMENT : IT INFRASTRUCTURE : TRAINING : 
SOFTWARE 


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


Re: [Nut-upsuser] GE EP series UPS

2011-04-05 Thread Danilo Godec
This is what 'lsusb -v' shows:

 Bus 002 Device 002: ID 14f0:00c9 
 Device Descriptor:
   bLength18
   bDescriptorType 1
   bcdUSB   1.10
   bDeviceClass0 (Defined at Interface level)
   bDeviceSubClass 0
   bDeviceProtocol 0
   bMaxPacketSize0 8
   idVendor   0x14f0
   idProduct  0x00c9
   bcdDevice0.00
   iManufacturer   3 GE
   iProduct1 GE EP series UPS
   iSerial 0
   bNumConfigurations  1
   Configuration Descriptor:
 bLength 9
 bDescriptorType 2
 wTotalLength   34
 bNumInterfaces  1
 bConfigurationValue 1
 iConfiguration  0
 bmAttributes 0xa0
   (Bus Powered)
   Remote Wakeup
 MaxPower  200mA
 Interface Descriptor:
   bLength 9
   bDescriptorType 4
   bInterfaceNumber0
   bAlternateSetting   0
   bNumEndpoints   1
   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  27
  Report Descriptors:
** UNAVAILABLE **
   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
 Device Status: 0x

  Danilo



On 04/05/2011 12:33 PM, Arjen de Korte wrote:
 Citeren Danilo Godec danilo.go...@agenda.si:

 I just got two new UPS's - GE EP6000R. These have both RS232 and USB
 connection.

 As far as I could detect these are not supported by NUT. However, they
 provide some Linux software and as long as these UPS's are not in
 production (another week or so) I could 'play' with them to try to get
 some protocol information.

 The first thing to do is to check the VID:PID combination that is
 reported by 'lsusb -v'. Chances are that these units are already
 supported through one of the generic drivers we have. Even if you
 intend to use the serial port, this is useful as in many cases the USB
 support is just a build in USB to serial converter and the device uses
 a serial protocol.

 Best regards, Arjen


-- 
Danilo Godec, sistemska podpora / system administration

Predlog! Obiscite prenovljeno spletno stran www.agenda.si 

ODPRTA KODA IN LINUX 
STORITVE : POSLOVNE RESITVE : UPRAVLJANJE IT : INFRASTRUKTURA IT : 
IZOBRAZEVANJE : PROGRAMSKA OPREMA 

Visit our updated web page at www.agenda.si 

OPEN SOURCE AND LINUX 
SERVICES : BUSINESS SOLUTIONS : IT MANAGEMENT : IT INFRASTRUCTURE : TRAINING : 
SOFTWARE 


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