Hi.

Dev version seems to work fine.

$ sudo ./blazer_usb -DDD -u root -a sven_blazer
Network UPS Tools - Megatec/Q1 protocol USB driver 0.03 (2.6.1-3126)
   0.000000     debug level is '3'
   0.260154     Checking device (FFFF/0000) (009/002)
   0.304526     - VendorID: ffff
   0.304540     - ProductID: 0000
   0.304544     - Manufacturer:                      
   0.304547     - Product: 010937               
   0.304551     - Serial Number:           
   0.304553     - Bus: 009
   0.304556     Trying to match device
   0.304564     Device matches
   0.310532     Trying megatec protocol...
   0.310542     send: Q1
   0.559511     read: (235.6 140.0 202.0 013 50.0 27.5 30.0 00101000
   0.559569     Status read in 1 tries
   0.559573     Supported UPS detected with megatec protocol
   0.559577     send: F
   0.691518     read: #220.0 000 024.0 50.0
   0.691533     blazer_rating: short reply
   0.691537     Rating read 1 failed
   0.691541     send: F
   0.823518     read: #220.0 000 024.0 50.0
   0.823533     blazer_rating: short reply
   0.823537     Rating read 2 failed
   0.823542     send: F
   0.955517     read: #220.0 000 024.0 50.0
   0.955532     blazer_rating: short reply
   0.955536     Rating read 3 failed
   0.955540     Rating information unavailable
   0.955544     send: I
   1.162504     read: #                           VT12094S  
   1.162530     blazer_vendor: short reply
   1.162540     Vendor information read 1 failed
   1.162549     send: I
   1.370511     read: #                           VT12094S  
   1.370526     blazer_vendor: short reply
   1.370530     Vendor information read 2 failed
   1.370534     send: I
   1.578531     read: #                           VT12094S  
   1.578547     blazer_vendor: short reply
   1.578551     Vendor information read 3 failed
   1.578554     Vendor information unavailable
   1.578558     Battery runtime will not be calculated (runtimecal not set)
   1.578573     send: Q1
   2.071496     read: (235.6 140.0 202.0 013 50.0 27.5 30.0 00101000
   2.082049     dstate_init: sock /var/state/ups/blazer_usb-sven_blazer open on 
fd 5
   2.082067     send: Q1
   2.329488     read: (235.6 140.0 202.0 013 50.0 27.5 30.0 00101000
   4.083874     send: Q1
   4.331460     read: (235.6 140.0 202.0 013 50.0 27.5 30.0 00101000
   6.084631     send: Q1

Here is the output from 2.4.3.

$ sudo /lib/nut/blazer_usb -DDD -u root -a sven_blazer
Network UPS Tools - Megatec/Q1 protocol USB driver 0.03 (2.4.3)
   0.000000     debug level is '3'
   0.251628     Checking device (FFFF/0000) (009/002)
   0.296171     - VendorID: ffff
   0.296185     - ProductID: 0000
   0.296189     - Manufacturer:                      
   0.296192     - Product: 010937               
   0.296195     - Serial Number:           
   0.296198     - Bus: 009
   0.296201     Trying to match device
   0.296205     Device matches
   0.296223     failed to claim USB device: could not claim interface 0: Device 
or resource busy
   0.296236     detached kernel driver from USB device...
   0.302181     Trying megatec protocol...
   0.302192     send: Q1
   0.550161     blazer_status: short reply
   0.550177     Status read 1 failed
   0.550181     send: Q1
   0.798163     blazer_status: short reply
   0.798180     Status read 2 failed
   0.798185     send: Q1
   1.047158     blazer_status: short reply
   1.047173     Status read 3 failed
   1.047177     Trying mustek protocol...
   1.047181     send: QS
   1.047185     read: QS
   1.047188     blazer_status: short reply
   1.047191     Status read 1 failed
   1.047194     send: QS
   1.047196     read: QS
   1.047199     blazer_status: short reply
   1.047202     Status read 2 failed
   1.047204     send: QS
   1.047207     read: QS
   1.047210     blazer_status: short reply
   1.047213     Status read 3 failed
   1.047215     Trying megatec/old protocol...
   1.047218     send: D
   1.047221     read: D
   1.047224     blazer_status: short reply
   1.047226     Status read 1 failed
   1.047229     send: D
   1.047232     read: D
   1.047234     blazer_status: short reply
   1.047237     Status read 2 failed
   1.047240     send: D
   1.047242     read: D
   1.047245     blazer_status: short reply
   1.047248     Status read 3 failed
   1.047251     No supported UPS detected

Best regards, Vlad

----- Original Message -----
From:  "Arjen de Korte" <nut+us...@de-korte.org>
To: nut-upsuser@lists.alioth.debian.org
Sent: 01.07.2011 00:17:01
Subject: Re: [Nut-upsuser] Sven Power Pro 1000+

>  Citeren Vlad <n...@wolf.umail.net>:
>  
>  > I'll try to install dev version and see whether it
>  works.
>  > What kind of diagnostic info would you need?
>  > USB ID of my device is FFFF:0000.
>  
>  Could you also try the blazer_usb driver from nut-2.4.3
>  (the same  
>  version as the megatec_usb driver that worked for you)?
>  
>       /path/to/blazer_usb -DDD -u root -a upsname
>  
>  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/cgi-bin/mailman/listinfo/n
>  ut-upsuser
>  
>  



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

Reply via email to