On 24 Jan 2011, at 14:18, Charles Lepple wrote:

> On Jan 23, 2011, at 2:16 PM, Paul Banks wrote:
> 
>> $ ./blazer_usb -a rupert -DDDDD -u root
> 
> ^ If this is in a non-root shell, this won't work.

Charles, thanks for clarifying.

As I mentioned I was initially working in a root shel but came up against 
errors I couldn't find any reference to anywhere.

It was only whilst composing my post here that I thought to try it as a 
non-root user in case that had been an assumed step in any instructions I'd 
followed.

OK, so disregarding the permissions (which I can assume if not fine are at 
least a separate issue), can anyone make any recommendations about where I 
should go from here: (note root shell)

# ./blazer_usb -DDDDD -a rupert -u root
Network UPS Tools - Megatec/Q1 protocol USB driver 0.03 (2.6.0)
   0.000000     send_to_all: SETINFO driver.parameter.port "auto"
   0.003137     debug level is '5'
   0.023508     Checking device (0001/0000) (003/006)
   0.030542     - VendorID: 0001
   0.032742     - ProductID: 0000
   0.035366     - Manufacturer: ATCL FOR UPS
   0.037801     - Product: ATCL FOR UPS
   0.040178     - Serial Number: ATCL FOR UPS
   0.042693     - Bus: 003
   0.045032     Trying to match device
   0.047385     Device matches
   0.065112     send_to_all: SETINFO ups.vendorid "0001"
   0.067529     send_to_all: SETINFO ups.productid "0000"
   0.070556     send_to_all: SETINFO device.type "ups"
   0.072796     send_to_all: SETINFO driver.version "2.6.0"
   0.075564     send_to_all: SETINFO driver.version.internal "0.03"
   0.078335     send_to_all: SETINFO driver.name "blazer_usb"
   0.081055     Trying megatec protocol...
   0.083423     send: Q1
   0.087710     read: error sending control message: Broken pipe
   0.091693     Stall condition cleared
   0.094179     blazer_status: short reply
   0.096664     Status read 1 failed
   0.099547     send: Q1
   0.103623     read: error sending control message: Broken pipe
   0.106326     Stall condition cleared
   0.108771     blazer_status: short reply
   0.111610     Status read 2 failed
   0.114070     send: Q1
   0.118025     read: error sending control message: Broken pipe
   0.121712     Stall condition cleared
   0.124013     blazer_status: short reply
   0.126304     Status read 3 failed
   0.128969     Trying mustek protocol...
   0.131854     send: QS
   0.134344     read: QS
   0.136835     blazer_status: short reply
   0.139482     Status read 1 failed
   0.141970     send: QS
   0.144155     read: QS
   0.146496     blazer_status: short reply
   0.148775     Status read 2 failed
   0.151226     send: QS
   0.153406     read: QS
   0.155615     blazer_status: short reply
   0.158165     Status read 3 failed
   0.160564     Trying megatec/old protocol...
   0.162959     send: D
   0.164992     read: D
   0.167053     blazer_status: short reply
   0.168869     Status read 1 failed
   0.171206     send: D
   0.173712     read: D
   0.176037     blazer_status: short reply
   0.178380     Status read 2 failed
   0.180818     send: D
   0.183006     read: D
   0.185347     blazer_status: short reply
   0.187743     Status read 3 failed
   0.190084     No supported UPS detected

Help is much appreciated!
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to