search for: cablepow

Displaying 2 results from an estimated 2 matches for "cablepow".

Did you mean: cableok
2011 Apr 14
1
Patch to support GE EP series
Hi, recently I got a GE EP6000R UPS. At first I feared it's not supported at all, but after digging in I found out that it's supported by the 'blazer' driver. The UPS has both RS232 and USB connection. To use the RS232 connection, I had to use the 'cablepower = none' as the UPS is using only RX, TX and GND pins. So my 'usp.conf' was a bit like that: > [myups] > driver = blazer_ser > port = /dev/ttyS0 > cablepower = none > desc = "Local UPS" To use the USB connection required a bit...
2011 Oct 03
2
patch: Replace many usleep and some sleep calls with nanosleep
...rs/blazer_ser.c =================================================================== --- a/drivers/blazer_ser.c 2011-05-31 13:36:49.000000000 +0300 +++ b/drivers/blazer_ser.c 2011-08-17 00:40:17.000000000 +0300 @@ -179,7 +179,7 @@ void upsdrv_initups(void) /* * Allow some time to settle for the cablepower */ - usleep(100000); + struct timespec delay = {0, 100e6}; nanosleep(&delay, NULL); #endif blazer_initups(); } Index: b/drivers/isbmex.c =================================================================== --- a/drivers/isbmex.c 2011-08-17 00:40:17.000000000 +0300 +++ b/drivers/isbmex.c...