Last active
December 25, 2015 12:29
-
-
Save ao-kenji/6977174 to your computer and use it in GitHub Desktop.
A trial of OpenBSD/amd64 with OMRON UPS BY35S, using nut (Network UPS Tools; http://www.networkupstools.org/).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% sudo /usr/local/bin/blazer_usb -DDDDD -a by35s | |
Network UPS Tools - Megatec/Q1 protocol USB driver 0.09 (2.6.5) | |
0.000000 send_to_all: SETINFO driver.parameter.port "auto" | |
0.000084 send_to_all: SETINFO driver.parameter.vendorid "0590" | |
0.000096 send_to_all: SETINFO driver.parameter.productid "0080" | |
0.000108 send_to_all: SETINFO driver.parameter.subdriver "ippon" | |
0.000148 debug level is '5' | |
0.000740 No appropriate HID device found | |
0.000763 No supported devices found. Please check your device availability with 'lsusb' | |
and make sure you have an up-to-date version of NUT. If this does not help, | |
try running the driver with at least 'subdriver', 'vendorid' and 'productid' | |
options specified. Please refer to the man page for details about these options | |
(man 8 blazer). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% sudo ./blazer_usb -DDDD -a by35s | |
We trust you have received the usual lecture from the local System | |
Administrator. It usually boils down to these three things: | |
#1) Respect the privacy of others. | |
#2) Think before you type. | |
#3) With great power comes great responsibility. | |
Password: | |
Network UPS Tools - Megatec/Q1 protocol USB driver 0.09 (2.6.5) | |
0.000000 debug level is '4' | |
0.170689 Checking device (10DE/0000) (000/001) | |
0.171042 - VendorID: 10de | |
0.171050 - ProductID: 0000 | |
0.171057 - Manufacturer: NVIDIA | |
0.171064 - Product: EHCI root hub | |
0.171070 - Serial Number: unknown | |
0.171076 - Bus: 000 | |
0.171083 Trying to match device | |
0.171098 Device does not match - skipping | |
0.171138 Checking device (10DE/0000) (001/001) | |
0.171215 - VendorID: 10de | |
0.171223 - ProductID: 0000 | |
0.171229 - Manufacturer: NVIDIA | |
0.171235 - Product: OHCI root hub | |
0.171242 - Serial Number: unknown | |
0.171248 - Bus: 001 | |
0.171254 Trying to match device | |
0.171262 Device does not match - skipping | |
0.171281 Checking device (1774/1001) (001/002) | |
0.178683 - VendorID: 1774 | |
0.178790 - ProductID: 1001 | |
0.178797 - Manufacturer: Strawberry Linux Co.,Ltd. | |
0.178803 - Product: unknown | |
0.178810 - Serial Number: unknown | |
0.178816 - Bus: 001 | |
0.178822 Trying to match device | |
0.178831 Device does not match - skipping | |
0.178854 Checking device (056E/5004) (001/003) | |
0.186673 - VendorID: 056e | |
0.186777 - ProductID: 5004 | |
0.186784 - Manufacturer: Prolific Technology Inc. | |
0.186791 - Product: USB-Serial Controller | |
0.186797 - Serial Number: unknown | |
0.186804 - Bus: 001 | |
0.186810 Trying to match device | |
0.186819 Device does not match - skipping | |
0.186840 Checking device (0590/0080) (001/004) | |
0.204672 - VendorID: 0590 | |
0.204781 - ProductID: 0080 | |
0.204788 - Manufacturer: OMRON | |
0.204795 - Product: BY35S | |
0.204801 - Serial Number: unknown | |
0.204807 - Bus: 001 | |
0.204814 Trying to match device | |
0.204830 Device matches | |
0.207703 Trying megatec protocol... | |
0.210685 send: Q1 | |
0.265673 read: (103.8 1 | |
0.265774 blazer_status: short reply | |
0.265782 Status read 1 failed | |
0.458659 send: Q1 | |
0.458773 read: 01.2 104.0 030 60.0 13.6 43.4 00101000 | |
0.458782 blazer_status: invalid start character [30] | |
0.458789 Status read 2 failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment