execve("/lib/nut/newhidups", ["/lib/nut/newhidups", "-a", "myups", "-D", "-D", "-D", "-D", "-D", "-D", "-D"], [/* 40 vars */]) = 0
brk(0)                                  = 0x25000
uname({sys="Linux", node="slug", ...})  = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001b000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=26289, ...}) = 0
mmap2(NULL, 26289, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40024000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libusb-0.1.so.4", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0h\22\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=28892, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001c000
mmap2(NULL, 60640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4002b000
mprotect(0x40031000, 28672, PROT_NONE)  = 0
mmap2(0x40038000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0x40038000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0T\\\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1136216, ...}) = 0
mmap2(NULL, 1172144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4003a000
mprotect(0x4014b000, 32768, PROT_NONE)  = 0
mmap2(0x40153000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x111) = 0x40153000
mmap2(0x40156000, 8880, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40156000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001d000
syscall_983045(0x4001cc80, 0x4001cc80, 0x6f0, 0x4001d358, 0x4002304c, 0x4002304c, 0, 0x4c, 0xffff5dbc, 0x40023730, 0x40023000, 0xbee7e628, 0, 0xbee7e2ec, 0x8, 0x4000200c, 0x20000010, 0x4001cc80, 0xc444, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0
mprotect(0x40153000, 4096, PROT_READ)   = 0
mprotect(0x40022000, 4096, PROT_READ)   = 0
munmap(0x40024000, 26289)               = 0
brk(0)                                  = 0x25000
brk(0x46000)                            = 0x46000
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001e000
write(1, "Network UPS Tools: 0.28 USB comm"..., 75) = 75
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=26289, ...}) = 0
mmap2(NULL, 26289, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40024000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0,\26\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=33596, ...}) = 0
mmap2(NULL, 65524, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40159000
mprotect(0x40161000, 28672, PROT_NONE)  = 0
mmap2(0x40168000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0x40168000
close(3)                                = 0
munmap(0x40024000, 26289)               = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
connect(3, {sa_family=AF_FILE, path="/dev/log"}, 112) = 0
open("/etc/nut/ups.conf", O_RDONLY)     = 4
fstat64(4, {st_mode=S_IFREG|0640, st_size=3721, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
read(4, "# Network UPS Tools: example ups"..., 4096) = 3721
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x4001f000, 4096)                = 0
write(2, "debug level is \'7\'\n", 19)  = 19
socket(PF_FILE, SOCK_STREAM, 0)         = 4
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 112) = -1 ENOENT (No such file or directory)
close(4)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 112) = -1 ENOENT (No such file or directory)
close(4)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=470, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
read(4, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 470
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x4001f000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=26289, ...}) = 0
mmap2(NULL, 26289, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40024000
close(4)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnss_compat.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0|\r\0\000"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=26308, ...}) = 0
mmap2(NULL, 57940, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x40169000
mprotect(0x4016f000, 28672, PROT_NONE)  = 0
mmap2(0x40176000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x5) = 0x40176000
close(4)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnsl.so.1", O_RDONLY)      = 4
read(4, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0,/\0\0004"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=71444, ...}) = 0
mmap2(NULL, 112216, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x40178000
mprotect(0x40189000, 28672, PROT_NONE)  = 0
mmap2(0x40190000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x10) = 0x40190000
mmap2(0x40192000, 5720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40192000
close(4)                                = 0
mprotect(0x40190000, 4096, PROT_READ)   = 0
mprotect(0x40176000, 4096, PROT_READ)   = 0
munmap(0x40024000, 26289)               = 0
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=26289, ...}) = 0
mmap2(NULL, 26289, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40024000
close(4)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnss_nis.so.2", O_RDONLY)  = 4
read(4, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0X\30\0\000"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=38436, ...}) = 0
mmap2(NULL, 70240, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x40194000
mprotect(0x4019d000, 28672, PROT_NONE)  = 0
mmap2(0x401a4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x8) = 0x401a4000
close(4)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\\\30\0\000"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=38408, ...}) = 0
mmap2(NULL, 70336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x401a6000
mprotect(0x401af000, 28672, PROT_NONE)  = 0
mmap2(0x401b6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x8) = 0x401b6000
close(4)                                = 0
mprotect(0x401b6000, 4096, PROT_READ)   = 0
mprotect(0x401a4000, 4096, PROT_READ)   = 0
munmap(0x40024000, 26289)               = 0
open("/etc/passwd", O_RDONLY)           = 4
fcntl64(4, F_GETFD)                     = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
_llseek(4, 0, [0], SEEK_CUR)            = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=1322, ...}) = 0
mmap2(NULL, 1322, PROT_READ, MAP_SHARED, 4, 0) = 0x4001f000
_llseek(4, 1322, [1322], SEEK_SET)      = 0
munmap(0x4001f000, 1322)                = 0
close(4)                                = 0
geteuid32()                             = 0
getuid32()                              = 0
setresuid32(-1, 0, -1)                  = 0
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 4
read(4, "65536\n", 31)                  = 6
close(4)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 112) = -1 ENOENT (No such file or directory)
close(4)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 112) = -1 ENOENT (No such file or directory)
close(4)                                = 0
open("/etc/group", O_RDONLY)            = 4
fcntl64(4, F_GETFD)                     = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
_llseek(4, 0, [0], SEEK_CUR)            = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=690, ...}) = 0
mmap2(NULL, 690, PROT_READ, MAP_SHARED, 4, 0) = 0x4001f000
_llseek(4, 690, [690], SEEK_SET)        = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=690, ...}) = 0
munmap(0x4001f000, 690)                 = 0
close(4)                                = 0
setgroups32(1, [114])                   = 0
setgid32(114)                           = 0
setuid32(110)                           = 0
chdir("/var/run/nut")                   = 0
rt_sigaction(SIGTERM, {0xaf4c, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0
rt_sigaction(SIGINT, {0xaf4c, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0xaf4c, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0
rt_sigaction(SIGHUP, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=100, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents(4, /* 5 entries */, 4096)      = 80
close(4)                                = 0
open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=100, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents(4, /* 5 entries */, 4096)      = 80
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/003", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents(4, /* 4 entries */, 4096)      = 64
open("/dev/bus/usb/003/002", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/003/002", O_RDONLY)  = 5
ioctl(5, USBDEVFS_CONNECTINFO, 0xbee7d64c) = -1 EPERM (Operation not permitted)
read(5, "\22\1\0\2\0\0\0@\317\4\30\210\10\260\1\2\3\1", 18) = 18
read(5, "\t\2 \0\1\1\4\300", 8)         = 8
read(5, "\5\t\4\0\0\2\10\5P\5\7\5\3\2\0\2\0\7\5\204\2\0\2\0", 24) = 24
close(5)                                = 0
open("/dev/bus/usb/003/001", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/003/001", O_RDONLY)  = 5
ioctl(5, USBDEVFS_CONNECTINFO, 0xbee7d64c) = -1 EPERM (Operation not permitted)
read(5, "\22\1\0\2\t\0\1@\0\0\0\0\6\2\3\2\1\1", 18) = 18
read(5, "\t\2\31\0\1\1\0\340", 8)       = 8
read(5, "\0\t\4\0\0\1\t\0\0\0\7\5\201\3\4\0\f", 17) = 17
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/003/002", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/003/002", O_RDONLY)  = 4
ioctl(4, USBDEVFS_IOCTL, 0xbee7d648)    = -1 EPERM (Operation not permitted)
close(4)                                = 0
open("/dev/bus/usb/003/001", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/003/001", O_RDONLY)  = 4
ioctl(4, USBDEVFS_IOCTL, 0xbee7d648)    = -1 EPERM (Operation not permitted)
close(4)                                = 0
open("/dev/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents(4, /* 3 entries */, 4096)      = 48
open("/dev/bus/usb/001/001", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/001/001", O_RDONLY)  = 5
ioctl(5, USBDEVFS_CONNECTINFO, 0xbee7d64c) = -1 EPERM (Operation not permitted)
read(5, "\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1", 18) = 18
read(5, "\t\2\31\0\1\1\0\340", 8)       = 8
read(5, "\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377", 17) = 17
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/001/001", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/001/001", O_RDONLY)  = 4
ioctl(4, USBDEVFS_IOCTL, 0xbee7d648)    = -1 EPERM (Operation not permitted)
close(4)                                = 0
open("/dev/bus/usb/002", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=1540, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents(4, /* 77 entries */, 4096)     = 1232
open("/dev/bus/usb/002/027", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/027", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/025", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/025", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/024", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/024", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/023", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/023", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/022", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/022", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/020", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/020", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/019", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/019", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/016", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/016", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/014", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/014", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/011", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/011", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/009", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/009", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/008", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/008", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/004", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/004", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/003", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/003", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/125", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/125", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/123", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/123", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/120", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/120", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/118", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/118", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/117", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/117", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/116", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/116", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/112", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/112", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/111", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/111", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/109", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/109", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/108", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/108", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/104", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/104", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/103", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/103", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/099", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/099", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/098", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/098", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/097", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/097", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/096", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/096", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/095", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/095", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/093", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/093", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/092", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/092", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/091", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/091", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/089", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/089", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/079", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/079", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/071", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/071", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/068", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/068", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/067", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/067", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/066", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/066", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/065", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/065", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/064", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/064", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/062", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/062", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/061", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/061", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/060", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/060", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/059", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/059", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/057", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/057", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/056", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/056", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/055", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/055", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/054", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/054", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/053", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/053", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/052", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/052", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/051", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/051", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/050", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/050", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/049", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/049", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/048", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/048", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/047", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/047", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/046", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/046", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/044", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/044", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/043", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/043", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/042", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/042", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/041", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/041", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/040", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/040", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/039", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/039", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/038", O_RDWR)    = 5
ioctl(5, USBDEVFS_CONNECTINFO, 0xbee7d64c) = 0
read(5, "\22\1\20\1\0\0\0\10\35\5\2\0\6\1\3\1\2\1", 18) = 18
read(5, "\t\2\"\0\1\1\0\240", 8)        = 8
read(5, "\f\t\4\0\0\1\3\0\0\0\t!\20\1!\1\"\301\4\7\5\201\3\6\0\n"..., 26) = 26
close(5)                                = 0
open("/dev/bus/usb/002/036", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/036", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/035", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/035", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/034", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/034", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/032", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/032", O_RDONLY)  = 5
ioctl(5, USBDEVFS_CONNECTINFO, 0xbee7d64c) = -1 EPERM (Operation not permitted)
read(5, "\22\1\0\2\0\0\0\10\360\3\4x\0\1\1\2\3\1", 18) = 18
read(5, "\t\2 \0\1\1\0\300", 8)         = 8
read(5, "\1\t\4\0\0\2\7\1\2\0\7\5\1\2@\0\0\7\5\202\2@\0\0", 24) = 24
close(5)                                = 0
open("/dev/bus/usb/002/030", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/030", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/029", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/029", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/026", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/026", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/dev/bus/usb/002/006", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/006", O_RDONLY)  = 5
ioctl(5, USBDEVFS_CONNECTINFO, 0xbee7d64c) = -1 EPERM (Operation not permitted)
read(5, "\22\1\20\1\0\0\0@W\5\10 \0\3\1\2\0\1", 18) = 18
read(5, "\t\2\'\0\1\1\0\240", 8)        = 8
read(5, "2\t\4\0\0\3\377\0\0\0\7\5\201\3\n\0\1\7\5\2\2@\0\0\7\5"..., 31) = 31
close(5)                                = 0
open("/dev/bus/usb/002/002", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/002", O_RDONLY)  = 5
ioctl(5, USBDEVFS_CONNECTINFO, 0xbee7d64c) = -1 EPERM (Operation not permitted)
read(5, "\22\1\1\1\t\0\0\10\343\5\4\6\22\0\0\1\0\1", 18) = 18
read(5, "\t\2\31\0\1\1\0\340", 8)       = 8
read(5, "2\t\4\0\0\1\t\0\0\0\7\5\201\3\1\0\377", 17) = 17
close(5)                                = 0
open("/dev/bus/usb/002/001", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/001", O_RDONLY)  = 5
ioctl(5, USBDEVFS_CONNECTINFO, 0xbee7d64c) = -1 EPERM (Operation not permitted)
read(5, "\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1", 18) = 18
read(5, "\t\2\31\0\1\1\0\340", 8)       = 8
read(5, "\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377", 17) = 17
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/002/038", O_RDWR)    = 4
ioctl(4, USBDEVFS_IOCTL, 0xbee7d648)    = -1 ENOTTY (Inappropriate ioctl for device)
close(4)                                = 0
open("/dev/bus/usb/002/032", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/032", O_RDONLY)  = 4
ioctl(4, USBDEVFS_IOCTL, 0xbee7d648)    = -1 EPERM (Operation not permitted)
close(4)                                = 0
open("/dev/bus/usb/002/006", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/006", O_RDONLY)  = 4
ioctl(4, USBDEVFS_IOCTL, 0xbee7d648)    = -1 EPERM (Operation not permitted)
close(4)                                = 0
open("/dev/bus/usb/002/002", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/002", O_RDONLY)  = 4
ioctl(4, USBDEVFS_IOCTL, 0xbee7d648)    = -1 EPERM (Operation not permitted)
close(4)                                = 0
open("/dev/bus/usb/002/001", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/001", O_RDONLY)  = 4
ioctl(4, USBDEVFS_IOCTL, 0xbee7d648)    = -1 EPERM (Operation not permitted)
close(4)                                = 0
write(2, "Checking device (04CF/8818) (003"..., 38) = 38
open("/dev/bus/usb/003/002", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/003/002", O_RDONLY)  = 4
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = -1 EPERM (Operation not permitted)
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = -1 EPERM (Operation not permitted)
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = -1 EPERM (Operation not permitted)
write(2, "- VendorID: 04cf\n", 17)      = 17
write(2, "- ProductID: 8818\n", 18)     = 18
write(2, "- Manufacturer: unknown\n", 24) = 24
write(2, "- Product: unknown\n", 19)    = 19
write(2, "- Serial Number: unknown\n", 25) = 25
write(2, "- Bus: 003\n", 11)            = 11
write(2, "Trying to match device\n", 23) = 23
write(2, "Device does not match - skipping"..., 33) = 33
close(4)                                = 0
write(2, "Checking device (0000/0000) (003"..., 38) = 38
open("/dev/bus/usb/003/001", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/003/001", O_RDONLY)  = 4
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = -1 EPERM (Operation not permitted)
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = -1 EPERM (Operation not permitted)
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = -1 EPERM (Operation not permitted)
write(2, "- VendorID: 0000\n", 17)      = 17
write(2, "- ProductID: 0000\n", 18)     = 18
write(2, "- Manufacturer: unknown\n", 24) = 24
write(2, "- Product: unknown\n", 19)    = 19
write(2, "- Serial Number: unknown\n", 25) = 25
write(2, "- Bus: 003\n", 11)            = 11
write(2, "Trying to match device\n", 23) = 23
write(2, "Device does not match - skipping"..., 33) = 33
close(4)                                = 0
write(2, "Checking device (0000/0000) (001"..., 38) = 38
open("/dev/bus/usb/001/001", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/001/001", O_RDONLY)  = 4
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = -1 EPERM (Operation not permitted)
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = -1 EPERM (Operation not permitted)
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = -1 EPERM (Operation not permitted)
write(2, "- VendorID: 0000\n", 17)      = 17
write(2, "- ProductID: 0000\n", 18)     = 18
write(2, "- Manufacturer: unknown\n", 24) = 24
write(2, "- Product: unknown\n", 19)    = 19
write(2, "- Serial Number: unknown\n", 25) = 25
write(2, "- Bus: 001\n", 11)            = 11
write(2, "Trying to match device\n", 23) = 23
write(2, "Device does not match - skipping"..., 33) = 33
close(4)                                = 0
write(2, "Checking device (051D/0002) (002"..., 38) = 38
open("/dev/bus/usb/002/038", O_RDWR)    = 4
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = 4
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = 52
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = 4
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = 78
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = 4
ioctl(4, USBDEVFS_CONTROL, 0xbee7d548)  = 30
write(2, "- VendorID: 051d\n", 17)      = 17
write(2, "- ProductID: 0002\n", 18)     = 18
write(2, "- Manufacturer: American Power C"..., 42) = 42
write(2, "- Product: Back-UPS BR  800 FW:9"..., 50) = 50
write(2, "- Serial Number: QB0644134304  \n", 32) = 32
write(2, "- Bus: 002\n", 11)            = 11
write(2, "Trying to match device\n", 23) = 23
write(2, "Device matches\n", 15)        = 15
ioctl(4, USBDEVFS_CLAIMINTERFACE, 0xbee7d688) = 0
ioctl(4, USBDEVFS_SETINTERFACE, 0xbee7d684) = 0
ioctl(4, USBDEVFS_CONTROL, 0xbee7d680)  = 9
write(2, "HID descriptor, method 1: (9 byt"..., 66) = 66
write(2, "i=0, extra[i]=09, extra[i+1]=21\n", 32) = 32
write(2, "HID descriptor, method 2: (9 byt"..., 66) = 66
write(2, "HID descriptor retrieved (Report"..., 44) = 44
ioctl(4, USBDEVFS_CONTROL, 0xbee7d680)  = 1217
write(2, "Report descriptor retrieved (Rep"..., 47) = 47
write(2, "Found HID device\n", 17)      = 17
write(2, "Report Descriptor size = 1217\n", 30) = 30
write(2, "Report Descriptor: (1217 bytes) "..., 74) = 74
write(2, "fe 79 01 75 08 95 01 15 00 26 ff"..., 75) = 75
write(2, "fd 79 03 b1 22 05 85 85 04 09 8f"..., 75) = 75
write(2, "09 8b b1 22 09 2c b1 22 85 0e 09"..., 75) = 75
write(2, "22 09 66 b1 a2 85 10 09 8d b1 22"..., 75) = 75
write(2, "b1 a2 85 09 09 85 75 10 27 ff ff"..., 75) = 75
write(2, "01 10 55 00 81 22 09 68 b1 a2 05"..., 75) = 75
write(2, "13 09 55 75 18 17 ff ff ff ff 27"..., 75) = 75
write(2, "27 64 05 00 00 16 78 00 b1 a2 05"..., 75) = 75
write(2, "d1 f0 00 55 05 b1 22 85 0b 09 30"..., 75) = 75
write(2, "55 00 b1 a2 09 02 a1 02 85 07 05"..., 75) = 75
write(2, "a2 09 45 81 a2 09 45 b1 a2 09 d0"..., 75) = 75
write(2, "09 42 81 a2 09 42 b1 a2 05 84 09"..., 75) = 75
write(2, "a2 05 85 09 43 81 a2 09 43 b1 a2"..., 75) = 75
write(2, "81 a2 09 4b b1 a2 05 84 09 65 81"..., 75) = 75
write(2, "a2 06 86 ff 09 80 81 a2 09 80 b1"..., 75) = 75
write(2, "00 85 16 09 58 75 08 95 01 25 06"..., 75) = 75
write(2, "5a b1 a2 85 1b 09 1a 25 03 b1 a2"..., 75) = 75
write(2, "18 27 ff ff ff 00 b2 a2 01 05 85"..., 75) = 75
write(2, "18 09 66 55 0f b1 a2 85 1a 09 2a"..., 75) = 75
write(2, "a2 85 19 27 ff ff 00 00 15 00 09"..., 75) = 75
write(2, "55 0f b1 a2 85 1f 09 40 67 21 d1"..., 75) = 75
write(2, "06 86 ff 09 24 75 08 16 e9 00 26"..., 75) = 75
write(2, "17 01 00 00 80 27 ff ff ff 7f b2"..., 75) = 75
write(2, "00 27 ff ff 00 00 67 21 d1 f0 00"..., 75) = 75
write(2, "00 67 21 d1 f0 00 55 07 b1 22 06"..., 75) = 75
write(2, "b1 a2 85 22 09 61 25 02 b1 a2 85"..., 75) = 75
write(2, "a2 c0 05 84 09 1c a1 00 85 2c 09"..., 75) = 75
write(2, "85 52 09 44 66 21 d1 55 07 b1 a2"..., 75) = 75
write(2, "30 67 21 d1 f0 00 55 06 b1 a2 85"..., 75) = 75
write(2, "23 09 54 16 84 00 26 8e 00 b1 a2"..., 75) = 75
write(2, "ff 85 25 09 7e 15 00 27 a4 01 00"..., 75) = 75
write(2, "02 00 00 b1 a2 05 84 85 27 09 57"..., 75) = 75
write(2, "85 29 09 55 75 18 17 ff ff ff ff"..., 75) = 75
write(2, "75 08 25 01 b1 a2 85 41 09 7d 75"..., 75) = 75
write(2, "84 85 2e 09 fe 79 05 75 08 15 00"..., 75) = 75
write(2, "22 85 30 09 fd 79 03 b1 22 85 31"..., 75) = 75
write(2, "07 b1 22 06 86 ff 85 37 09 79 79"..., 75) = 75
write(2, "35 09 85 75 10 27 ff ff 00 00 b1"..., 75) = 75
write(2, "ff ff 7f b1 a2 85 3f 09 28 b1 a2"..., 75) = 75
write(2, "09 02 a1 02 85 33 05 85 09 44 75"..., 75) = 75
write(2, "a2 09 45 b1 a2 09 d0 81 a2 09 d0"..., 75) = 75
write(2, "09 42 b1 a2 05 84 09 68 81 a2 09"..., 75) = 75
write(2, "43 81 a2 09 43 b1 a2 05 84 09 73"..., 75) = 75
write(2, "b1 a2 05 84 09 65 81 a2 09 65 b1"..., 75) = 75
write(2, "09 80 81 a2 09 80 b1 a2 95 03 81"..., 75) = 75
write(2, "23 75 10 95 01 15 00 27 ff ff 00"..., 75) = 75
write(2, "84 00 26 8c 00 b1 a2 85 62 09 25"..., 75) = 75
write(2, "01 c0 05 84 09 16 a1 00 85 51 06"..., 75) = 75
write(2, "b1 a2 c0 c0\n", 12)           = 12
write(2, "Detected a UPS: American Power C"..., 81) = 81
write(2, "Using subdriver: APC/CyberPower "..., 40) = 40
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 008400fe\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing iProduct\n", 17)      = 17
write(2, "Looking up iProduct\n", 20)   = 20
write(2, "hid_lookup_usage: found 8400fe\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(008400fe)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727371
write(2, "Report[r]: (2 bytes) => 01 01\n", 30) = 30
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.iProduct,"..., 64) = 64
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 008400ff\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing iSerialNumber\n", 22) = 22
write(2, "Looking up iSerialNumber\n", 25) = 25
write(2, "hid_lookup_usage: found 8400ff\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(008400ff)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727371
write(2, "Report[r]: (2 bytes) => 02 02\n", 30) = 30
write(2, "=>> Before exponent: 2, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 2.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.iSerialNu"..., 69) = 69
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 008400fd\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing iManufacturer\n", 22) = 22
write(2, "Looking up iManufacturer\n", 25) = 25
write(2, "hid_lookup_usage: found 8400fd\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(008400fd)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727371
write(2, "Report[r]: (2 bytes) => 03 03\n", 30) = 30
write(2, "=>> Before exponent: 3, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 3.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.iManufact"..., 69) = 69
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 0085008f\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing iOEMInformation\n", 24) = 24
write(2, "Looking up iOEMInformation\n", 27) = 27
write(2, "hid_lookup_usage: found 85008f\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(0085008f)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727371
write(2, "Report[r]: (2 bytes) => 04 03\n", 30) = 30
write(2, "=>> Before exponent: 3, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 3.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.iOEMInfor"..., 71) = 71
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00850089\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing iDeviceChemistry\n", 25) = 25
write(2, "Looking up iDeviceChemistry\n", 28) = 28
write(2, "hid_lookup_usage: found 850089\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00850089)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727371
write(2, "Report[r]: (2 bytes) => 05 04\n", 30) = 30
write(2, "=>> Before exponent: 4, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 4.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.iDeviceCh"..., 72) = 72
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 0085008b\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing Rechargeable\n", 21)  = 21
write(2, "Looking up Rechargeable\n", 24) = 24
write(2, "hid_lookup_usage: found 85008b\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(0085008b)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727371
write(2, "Report[r]: (3 bytes) => 06 01 02"..., 33) = 33
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.Rechargea"..., 68) = 68
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 0085002c\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing CapacityMode\n", 21)  = 21
write(2, "Looking up CapacityMode\n", 24) = 24
write(2, "hid_lookup_usage: found 85002c\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(0085002c)\n", 19)    = 19
time(NULL)                              = 1187727371
write(2, "=>> Before exponent: 2, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 2.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.CapacityM"..., 68) = 68
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00850083\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing DesignCapacity\n", 23) = 23
write(2, "Looking up DesignCapacity\n", 26) = 26
write(2, "hid_lookup_usage: found 850083\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00850083)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727371
write(2, "Report[r]: (3 bytes) => 0e 64 64"..., 33) = 33
write(2, "=>> Before exponent: 100, 0/0)\n", 31) = 31
write(2, "=>> After conversion: 100.000000"..., 45) = 45
write(2, "Path: UPS.PowerSummary.DesignCap"..., 72) = 72
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00850067\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing FullChargeCapacity\n", 27) = 27
write(2, "Looking up FullChargeCapacity\n", 30) = 30
write(2, "hid_lookup_usage: found 850067\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00850067)\n", 19)    = 19
time(NULL)                              = 1187727371
write(2, "=>> Before exponent: 100, 0/0)\n", 31) = 31
write(2, "=>> After conversion: 100.000000"..., 45) = 45
write(2, "Path: UPS.PowerSummary.FullCharg"..., 76) = 76
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00850066\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing RemainingCapacity\n", 26) = 26
write(2, "Looking up RemainingCapacity\n", 29) = 29
write(2, "hid_lookup_usage: found 850066\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00850066)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727371
write(2, "Report[r]: (2 bytes) => 0c 33\n", 30) = 30
write(2, "=>> Before exponent: 51, 0/0)\n", 30) = 30
write(2, "=>> After conversion: 51.000000 "..., 43) = 43
write(2, "Path: UPS.PowerSummary.Remaining"..., 72) = 72
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00850066\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing RemainingCapacity\n", 26) = 26
write(2, "Looking up RemainingCapacity\n", 29) = 29
write(2, "hid_lookup_usage: found 850066\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00850066)\n", 19)    = 19
time(NULL)                              = 1187727372
write(2, "=>> Before exponent: 51, 0/0)\n", 30) = 30
write(2, "=>> After conversion: 51.000000 "..., 43) = 43
write(2, "Path: UPS.PowerSummary.Remaining"..., 74) = 74
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 0085008d\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing CapacityGranularity1\n", 29) = 29
write(2, "Looking up CapacityGranularity1\n", 32) = 32
write(2, "hid_lookup_usage: found 85008d\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(0085008d)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727372
write(2, "Report[r]: (3 bytes) => 10 01 01"..., 33) = 33
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.CapacityG"..., 76) = 76
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 0085008e\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing CapacityGranularity2\n", 29) = 29
write(2, "Looking up CapacityGranularity2\n", 32) = 32
write(2, "hid_lookup_usage: found 85008e\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(0085008e)\n", 19)    = 19
time(NULL)                              = 1187727372
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.CapacityG"..., 76) = 76
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 0085008c\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing WarningCapacityLimit\n", 29) = 29
write(2, "Looking up WarningCapacityLimit\n", 32) = 32
write(2, "hid_lookup_usage: found 85008c\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(0085008c)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727372
write(2, "Report[r]: (2 bytes) => 0f 32\n", 30) = 30
write(2, "=>> Before exponent: 50, 0/0)\n", 30) = 30
write(2, "=>> After conversion: 50.000000 "..., 43) = 43
write(2, "Path: UPS.PowerSummary.WarningCa"..., 77) = 77
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00850029\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing RemainingCapacityLimit\n", 31) = 31
write(2, "Looking up RemainingCapacityLimi"..., 34) = 34
write(2, "hid_lookup_usage: found 850029\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00850029)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727372
write(2, "Report[r]: (2 bytes) => 11 0a\n", 30) = 30
write(2, "=>> Before exponent: 10, 0/0)\n", 30) = 30
write(2, "=>> After conversion: 10.000000 "..., 43) = 43
write(2, "Path: UPS.PowerSummary.Remaining"..., 79) = 79
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00850085\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing ManufacturerDate\n", 25) = 25
write(2, "Looking up ManufacturerDate\n", 28) = 28
write(2, "hid_lookup_usage: found 850085\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00850085)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727372
write(2, "Report[r]: (3 bytes) => 09 59 35"..., 33) = 33
write(2, "=>> Before exponent: 13657, 0/0)"..., 33) = 33
write(2, "=>> After conversion: 13657.0000"..., 49) = 49
write(2, "Path: UPS.PowerSummary.Manufactu"..., 76) = 76
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00850068\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing RunTimeToEmpty\n", 23) = 23
write(2, "Looking up RunTimeToEmpty\n", 26) = 26
write(2, "hid_lookup_usage: found 850068\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00850068)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727372
write(2, "Report[r]: (3 bytes) => 0d 8a 05"..., 33) = 33
write(2, "=>> Before exponent: 1418, 0/0)\n", 32) = 32
write(2, "=>> After conversion: 1418.00000"..., 47) = 47
write(2, "Path: UPS.PowerSummary.RunTimeTo"..., 71) = 71
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00850068\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing RunTimeToEmpty\n", 23) = 23
write(2, "Looking up RunTimeToEmpty\n", 26) = 26
write(2, "hid_lookup_usage: found 850068\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00850068)\n", 19)    = 19
time(NULL)                              = 1187727372
write(2, "=>> Before exponent: 1418, 0/0)\n", 32) = 32
write(2, "=>> After conversion: 1418.00000"..., 47) = 47
write(2, "Path: UPS.PowerSummary.RunTimeTo"..., 73) = 73
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840057\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing DelayBeforeShutdown\n", 28) = 28
write(2, "Looking up DelayBeforeShutdown\n", 31) = 31
write(2, "hid_lookup_usage: found 840057\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840057)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727372
write(2, "Report[r]: (3 bytes) => 12 ff ff"..., 33) = 33
write(2, "=>> Before exponent: -1, 0/0)\n", 30) = 30
write(2, "=>> After conversion: -1.000000 "..., 43) = 43
write(2, "Path: UPS.PowerSummary.DelayBefo"..., 76) = 76
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840055\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing DelayBeforeReboot\n", 26) = 26
write(2, "Looking up DelayBeforeReboot\n", 29) = 29
write(2, "hid_lookup_usage: found 840055\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840055)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 4
time(NULL)                              = 1187727372
write(2, "Report[r]: (4 bytes) => 13 00 00"..., 36) = 36
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.DelayBefo"..., 73) = 73
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 0085002a\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing RemainingTimeLimit\n", 27) = 27
write(2, "Looking up RemainingTimeLimit\n", 30) = 30
write(2, "hid_lookup_usage: found 85002a\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(0085002a)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727372
write(2, "Report[r]: (3 bytes) => 08 78 00"..., 33) = 33
write(2, "=>> Before exponent: 120, 0/0)\n", 31) = 31
write(2, "=>> After conversion: 120.000000"..., 45) = 45
write(2, "Path: UPS.PowerSummary.Remaining"..., 76) = 76
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840040\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing ConfigVoltage\n", 22) = 22
write(2, "Looking up ConfigVoltage\n", 25) = 25
write(2, "hid_lookup_usage: found 840040\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840040)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727372
write(2, "Report[r]: (3 bytes) => 0a 60 09"..., 33) = 33
write(2, "=>> Before exponent: 2400, 5/7)\n", 32) = 32
write(2, "=>> After conversion: 24.000002 "..., 43) = 43
write(2, "Path: UPS.PowerSummary.ConfigVol"..., 70) = 70
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840030\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing Voltage\n", 16)       = 16
write(2, "Looking up Voltage\n", 19)    = 19
write(2, "hid_lookup_usage: found 840030\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840030)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727372
write(2, "Report[r]: (3 bytes) => 0b 64 0a"..., 33) = 33
write(2, "=>> Before exponent: 2660, 5/7)\n", 32) = 32
write(2, "=>> After conversion: 26.600002 "..., 43) = 43
write(2, "Path: UPS.PowerSummary.Voltage, "..., 64) = 64
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 0084005a\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing AudibleAlarmControl\n", 28) = 28
write(2, "Looking up AudibleAlarmControl\n", 31) = 31
write(2, "hid_lookup_usage: found 84005a\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(0084005a)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727372
write(2, "Report[r]: (2 bytes) => 14 02\n", 30) = 30
write(2, "=>> Before exponent: 2, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 2.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.AudibleAl"..., 75) = 75
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850044\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing Charging\n", 17)      = 17
write(2, "Looking up Charging\n", 20)   = 20
write(2, "hid_lookup_usage: found 850044\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00850044)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727372
write(2, "Report[r]: (3 bytes) => 07 0d 00"..., 33) = 33
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 76) = 76
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850044\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing Charging\n", 17)      = 17
write(2, "Looking up Charging\n", 20)   = 20
write(2, "hid_lookup_usage: found 850044\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00850044)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 78) = 78
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850045\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing Discharging\n", 20)   = 20
write(2, "Looking up Discharging\n", 23) = 23
write(2, "hid_lookup_usage: found 850045\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00850045)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 79) = 79
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850045\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing Discharging\n", 20)   = 20
write(2, "Looking up Discharging\n", 23) = 23
write(2, "hid_lookup_usage: found 850045\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00850045)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 81) = 81
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 008500d0\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ACPresent\n", 18)     = 18
write(2, "Looking up ACPresent\n", 21)  = 21
write(2, "hid_lookup_usage: found 8500d0\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(008500d0)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 77) = 77
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 008500d0\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ACPresent\n", 18)     = 18
write(2, "Looking up ACPresent\n", 21)  = 21
write(2, "hid_lookup_usage: found 8500d0\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(008500d0)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 79) = 79
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 008500d1\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing BatteryPresent\n", 23) = 23
write(2, "Looking up BatteryPresent\n", 26) = 26
write(2, "hid_lookup_usage: found 8500d1\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(008500d1)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 82) = 82
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 008500d1\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing BatteryPresent\n", 23) = 23
write(2, "Looking up BatteryPresent\n", 26) = 26
write(2, "hid_lookup_usage: found 8500d1\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(008500d1)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 84) = 84
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850042\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing BelowRemainingCapacityLi"..., 36) = 36
write(2, "Looking up BelowRemainingCapacit"..., 39) = 39
write(2, "hid_lookup_usage: found 850042\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00850042)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 95) = 95
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850042\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing BelowRemainingCapacityLi"..., 36) = 36
write(2, "Looking up BelowRemainingCapacit"..., 39) = 39
write(2, "hid_lookup_usage: found 850042\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00850042)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 97) = 97
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840068\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ShutdownRequested\n", 26) = 26
write(2, "Looking up ShutdownRequested\n", 29) = 29
write(2, "hid_lookup_usage: found 840068\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00840068)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 85) = 85
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840068\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ShutdownRequested\n", 26) = 26
write(2, "Looking up ShutdownRequested\n", 29) = 29
write(2, "hid_lookup_usage: found 840068\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00840068)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 87) = 87
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840069\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ShutdownImminent\n", 25) = 25
write(2, "Looking up ShutdownImminent\n", 28) = 28
write(2, "hid_lookup_usage: found 840069\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00840069)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 84) = 84
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840069\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ShutdownImminent\n", 25) = 25
write(2, "Looking up ShutdownImminent\n", 28) = 28
write(2, "hid_lookup_usage: found 840069\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00840069)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 86) = 86
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850043\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing RemainingTimeLimitExpire"..., 34) = 34
write(2, "Looking up RemainingTimeLimitExp"..., 37) = 37
write(2, "hid_lookup_usage: found 850043\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00850043)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 93) = 93
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850043\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing RemainingTimeLimitExpire"..., 34) = 34
write(2, "Looking up RemainingTimeLimitExp"..., 37) = 37
write(2, "hid_lookup_usage: found 850043\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00850043)\n", 19)    = 19
time(NULL)                              = 1187727373
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 95) = 95
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840073\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing CommunicationLost\n", 26) = 26
write(2, "Looking up CommunicationLost\n", 29) = 29
write(2, "hid_lookup_usage: found 840073\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00840073)\n", 19)    = 19
time(NULL)                              = 1187727374
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727374
write(2, "Report[r]: (3 bytes) => 07 0d 00"..., 33) = 33
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 85) = 85
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840073\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing CommunicationLost\n", 26) = 26
write(2, "Looking up CommunicationLost\n", 29) = 29
write(2, "hid_lookup_usage: found 840073\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00840073)\n", 19)    = 19
time(NULL)                              = 1187727374
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 87) = 87
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 0085004b\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing NeedReplacement\n", 24) = 24
write(2, "Looking up NeedReplacement\n", 27) = 27
write(2, "hid_lookup_usage: found 85004b\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(0085004b)\n", 19)    = 19
time(NULL)                              = 1187727374
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 83) = 83
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 0085004b\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing NeedReplacement\n", 24) = 24
write(2, "Looking up NeedReplacement\n", 27) = 27
write(2, "hid_lookup_usage: found 85004b\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(0085004b)\n", 19)    = 19
time(NULL)                              = 1187727374
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 85) = 85
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840065\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing Overload\n", 17)      = 17
write(2, "Looking up Overload\n", 20)   = 20
write(2, "hid_lookup_usage: found 840065\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00840065)\n", 19)    = 19
time(NULL)                              = 1187727374
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 76) = 76
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840065\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing Overload\n", 17)      = 17
write(2, "Looking up Overload\n", 20)   = 20
write(2, "hid_lookup_usage: found 840065\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(00840065)\n", 19)    = 19
time(NULL)                              = 1187727374
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 78) = 78
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 008500db\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing VoltageNotRegulated\n", 28) = 28
write(2, "Looking up VoltageNotRegulated\n", 31) = 31
write(2, "hid_lookup_usage: found 8500db\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(008500db)\n", 19)    = 19
time(NULL)                              = 1187727374
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 87) = 87
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 008500db\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing VoltageNotRegulated\n", 28) = 28
write(2, "Looking up VoltageNotRegulated\n", 31) = 31
write(2, "hid_lookup_usage: found 8500db\n", 31) = 31
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(008500db)\n", 19)    = 19
time(NULL)                              = 1187727374
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 89) = 89
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up ff860080\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ff860080\n", 17)      = 17
write(2, "Looking up ff860080\n", 20)   = 20
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(ff860080)\n", 19)    = 19
time(NULL)                              = 1187727374
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 76) = 76
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up ff860080\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ff860080\n", 17)      = 17
write(2, "Looking up ff860080\n", 20)   = 20
write(2, "Path depth = 4\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840024)\n", 19)    = 19
write(2, "2: Usage(00840002)\n", 19)    = 19
write(2, "3: Usage(ff860080)\n", 19)    = 19
time(NULL)                              = 1187727374
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PowerSummary.PresentSt"..., 78) = 78
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing \n", 9)               = 9
write(2, "Looking up \n", 12)           = 12
write(2, " wasn\'t found\n", 14)        = 14
write(2, "Path: UPS.PowerSummary.PresentSt"..., 51) = 51
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing \n", 9)               = 9
write(2, "Looking up \n", 12)           = 12
write(2, " wasn\'t found\n", 14)        = 14
write(2, "Path: UPS.PowerSummary.PresentSt"..., 51) = 51
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing \n", 9)               = 9
write(2, "Looking up \n", 12)           = 12
write(2, " wasn\'t found\n", 14)        = 14
write(2, "Path: UPS.PowerSummary.PresentSt"..., 51) = 51
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing \n", 9)               = 9
write(2, "Looking up \n", 12)           = 12
write(2, " wasn\'t found\n", 14)        = 14
write(2, "Path: UPS.PowerSummary.PresentSt"..., 53) = 53
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing \n", 9)               = 9
write(2, "Looking up \n", 12)           = 12
write(2, " wasn\'t found\n", 14)        = 14
write(2, "Path: UPS.PowerSummary.PresentSt"..., 53) = 53
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840024\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerSummary\n", 21)  = 21
write(2, "Looking up PowerSummary\n", 24) = 24
write(2, "hid_lookup_usage: found 840024\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing \n", 9)               = 9
write(2, "Looking up \n", 12)           = 12
write(2, " wasn\'t found\n", 14)        = 14
write(2, "Path: UPS.PowerSummary.PresentSt"..., 53) = 53
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up 00840058\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing Test\n", 13)          = 13
write(2, "Looking up Test\n", 16)       = 16
write(2, "hid_lookup_usage: found 840058\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(00840058)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727375
write(2, "Report[r]: (2 bytes) => 16 06\n", 30) = 30
write(2, "=>> Before exponent: 6, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 6.000000 ("..., 41) = 41
write(2, "Path: UPS.Battery.Test, Type: In"..., 53) = 53
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up 00840058\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing Test\n", 13)          = 13
write(2, "Looking up Test\n", 16)       = 16
write(2, "hid_lookup_usage: found 840058\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(00840058)\n", 19)    = 19
time(NULL)                              = 1187727375
write(2, "=>> Before exponent: 6, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 6.000000 ("..., 41) = 41
write(2, "Path: UPS.Battery.Test, Type: Fe"..., 55) = 55
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up ff860019\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing APCBattCapBeforeStartup\n", 32) = 32
write(2, "Looking up APCBattCapBeforeStart"..., 35) = 35
write(2, "hid_lookup_usage: found ff860019"..., 33) = 33
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(ff860019)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727375
write(2, "Report[r]: (2 bytes) => 17 00\n", 30) = 30
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.Battery.APCBattCapBefo"..., 74) = 74
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up ff86001a\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing ff86001a\n", 17)      = 17
write(2, "Looking up ff86001a\n", 20)   = 20
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(ff86001a)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727375
write(2, "Report[r]: (2 bytes) => 1b 00\n", 30) = 30
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.Battery.ff86001a, Type"..., 59) = 59
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up ff86001b\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing ff86001b\n", 17)      = 17
write(2, "Looking up ff86001b\n", 20)   = 20
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(ff86001b)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727375
write(2, "Report[r]: (2 bytes) => 1c 00\n", 30) = 30
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.Battery.ff86001b, Type"..., 59) = 59
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up ff860016\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing APCBattReplaceDate\n", 27) = 27
write(2, "Looking up APCBattReplaceDate\n", 30) = 30
write(2, "hid_lookup_usage: found ff860016"..., 33) = 33
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(ff860016)\n", 19)    = 19
mmap2(NULL, 822218752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
brk(0x31078000)                         = 0x46000
mmap2(NULL, 822349824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0xa221a000
munmap(0xa221a000, 942080)              = 0
munmap(0xa2400000, 106496)              = 0
mprotect(0xa2300000, 135168, PROT_READ|PROT_WRITE) = 0
mmap2(NULL, 822218752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
write(2, "Can\'t retrieve Report 69 (12): C"..., 54) = 54
write(2, "Path: UPS.Battery.APCBattReplace"..., 52) = 52
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up 00850085\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing ManufacturerDate\n", 25) = 25
write(2, "Looking up ManufacturerDate\n", 28) = 28
write(2, "hid_lookup_usage: found 850085\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(00850085)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727375
write(2, "Report[r]: (3 bytes) => 15 59 35"..., 33) = 33
write(2, "=>> Before exponent: 13657, 0/0)"..., 33) = 33
write(2, "=>> After conversion: 13657.0000"..., 49) = 49
write(2, "Path: UPS.Battery.ManufacturerDa"..., 71) = 71
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up 00850066\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing RemainingCapacity\n", 26) = 26
write(2, "Looking up RemainingCapacity\n", 29) = 29
write(2, "hid_lookup_usage: found 850066\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(00850066)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727375
write(2, "Report[r]: (3 bytes) => 18 fe 01"..., 33) = 33
write(2, "=>> Before exponent: 510, 255/0)"..., 33) = 33
write(2, "=>> After conversion: inf (21474"..., 47) = 47
write(2, "Path: UPS.Battery.RemainingCapac"..., 63) = 63
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up 0085002a\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing RemainingTimeLimit\n", 27) = 27
write(2, "Looking up RemainingTimeLimit\n", 30) = 30
write(2, "hid_lookup_usage: found 85002a\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(0085002a)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727375
write(2, "Report[r]: (3 bytes) => 1a 78 00"..., 33) = 33
write(2, "=>> Before exponent: 120, 0/0)\n", 31) = 31
write(2, "=>> After conversion: 120.000000"..., 45) = 45
write(2, "Path: UPS.Battery.RemainingTimeL"..., 71) = 71
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up 00850068\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing RunTimeToEmpty\n", 23) = 23
write(2, "Looking up RunTimeToEmpty\n", 26) = 26
write(2, "hid_lookup_usage: found 850068\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(00850068)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727375
write(2, "Report[r]: (3 bytes) => 19 8a 05"..., 33) = 33
write(2, "=>> Before exponent: 1418, 0/0)\n", 32) = 32
write(2, "=>> After conversion: 1418.00000"..., 47) = 47
write(2, "Path: UPS.Battery.RunTimeToEmpty"..., 68) = 68
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up 00840036\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing Temperature\n", 20)   = 20
write(2, "Looking up Temperature\n", 23) = 23
write(2, "hid_lookup_usage: found 840036\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(00840036)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727375
write(2, "Report[r]: (3 bytes) => 1e cf 0b"..., 33) = 33
write(2, "=>> Before exponent: 3023, 255/0"..., 34) = 34
write(2, "=>> After conversion: inf (21474"..., 47) = 47
write(2, "Path: UPS.Battery.Temperature, T"..., 57) = 57
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up 00840040\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing ConfigVoltage\n", 22) = 22
write(2, "Looking up ConfigVoltage\n", 25) = 25
write(2, "hid_lookup_usage: found 840040\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(00840040)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727375
write(2, "Report[r]: (3 bytes) => 1f 60 09"..., 33) = 33
write(2, "=>> Before exponent: 2400, 5/7)\n", 32) = 32
write(2, "=>> After conversion: 24.000002 "..., 43) = 43
write(2, "Path: UPS.Battery.ConfigVoltage,"..., 65) = 65
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up 00840030\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing Voltage\n", 16)       = 16
write(2, "Looking up Voltage\n", 19)    = 19
write(2, "hid_lookup_usage: found 840030\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(00840030)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727375
write(2, "Report[r]: (3 bytes) => 1d 64 0a"..., 33) = 33
write(2, "=>> Before exponent: 2660, 5/7)\n", 32) = 32
write(2, "=>> After conversion: 26.600002 "..., 43) = 43
write(2, "Path: UPS.Battery.Voltage, Type:"..., 59) = 59
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up ff860024\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing ff860024\n", 17)      = 17
write(2, "Looking up ff860024\n", 20)   = 20
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(ff860024)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = -1 EINVAL (Invalid argument)
write(2, "Can\'t retrieve Report 71 (22): I"..., 48) = 48
write(2, "Path: UPS.Battery.ff860024, Type"..., 42) = 42
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840012\n", 20)   = 20
write(2, "Looking up ff860018\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Battery\n", 16)       = 16
write(2, "Looking up Battery\n", 19)    = 19
write(2, "hid_lookup_usage: found 840012\n", 31) = 31
write(2, "parsing ff860018\n", 17)      = 17
write(2, "Looking up ff860018\n", 20)   = 20
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840012)\n", 19)    = 19
write(2, "2: Usage(ff860018)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 5
time(NULL)                              = 1187727376
write(2, "Report[r]: (5 bytes) => 48 02 96"..., 39) = 39
write(2, "=>> Before exponent: -1726835198"..., 39) = 39
write(2, "=>> After conversion: -172683520"..., 61) = 61
write(2, "Path: UPS.Battery.ff860018, Type"..., 69) = 69
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001a\n", 20)   = 20
write(2, "Looking up 00840030\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Input\n", 14)         = 14
write(2, "Looking up Input\n", 17)      = 17
write(2, "hid_lookup_usage: found 84001a\n", 31) = 31
write(2, "parsing Voltage\n", 16)       = 16
write(2, "Looking up Voltage\n", 19)    = 19
write(2, "hid_lookup_usage: found 840030\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001a)\n", 19)    = 19
write(2, "2: Usage(00840030)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727376
write(2, "Report[r]: (3 bytes) => 20 92 04"..., 33) = 33
write(2, "=>> Before exponent: 1170, 6/7)\n", 32) = 32
write(2, "=>> After conversion: 117.000000"..., 45) = 45
write(2, "Path: UPS.Input.Voltage, Type: F"..., 58) = 58
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001a\n", 20)   = 20
write(2, "Looking up 00840040\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Input\n", 14)         = 14
write(2, "Looking up Input\n", 17)      = 17
write(2, "hid_lookup_usage: found 84001a\n", 31) = 31
write(2, "parsing ConfigVoltage\n", 22) = 22
write(2, "Looking up ConfigVoltage\n", 25) = 25
write(2, "hid_lookup_usage: found 840040\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001a)\n", 19)    = 19
write(2, "2: Usage(00840040)\n", 19)    = 19
mmap2(NULL, 33570816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x711d9000
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = -1 EINVAL (Invalid argument)
write(2, "Can\'t retrieve Report 70 (22): I"..., 48) = 48
write(2, "Path: UPS.Input.ConfigVoltage, T"..., 45) = 45
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001a\n", 20)   = 20
write(2, "Looking up ff860052\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Input\n", 14)         = 14
write(2, "Looking up Input\n", 17)      = 17
write(2, "hid_lookup_usage: found 84001a\n", 31) = 31
write(2, "parsing ff860052\n", 17)      = 17
write(2, "Looking up ff860052\n", 20)   = 20
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001a)\n", 19)    = 19
write(2, "2: Usage(ff860052)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727379
write(2, "Report[r]: (2 bytes) => 21 08\n", 30) = 30
write(2, "=>> Before exponent: 8, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 8.000000 ("..., 41) = 41
write(2, "Path: UPS.Input.ff860052, Type: "..., 57) = 57
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001a\n", 20)   = 20
write(2, "Looking up ff860061\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Input\n", 14)         = 14
write(2, "Looking up Input\n", 17)      = 17
write(2, "hid_lookup_usage: found 84001a\n", 31) = 31
write(2, "parsing ff860061\n", 17)      = 17
write(2, "Looking up ff860061\n", 20)   = 20
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001a)\n", 19)    = 19
write(2, "2: Usage(ff860061)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727379
write(2, "Report[r]: (2 bytes) => 22 02\n", 30) = 30
write(2, "=>> Before exponent: 2, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 2.000000 ("..., 41) = 41
write(2, "Path: UPS.Input.ff860061, Type: "..., 57) = 57
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001a\n", 20)   = 20
write(2, "Looking up ff860024\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Input\n", 14)         = 14
write(2, "Looking up Input\n", 17)      = 17
write(2, "hid_lookup_usage: found 84001a\n", 31) = 31
write(2, "parsing ff860024\n", 17)      = 17
write(2, "Looking up ff860024\n", 20)   = 20
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001a)\n", 19)    = 19
write(2, "2: Usage(ff860024)\n", 19)    = 19
mmap2(NULL, 33570816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x731dd000
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = -1 EINVAL (Invalid argument)
write(2, "Can\'t retrieve Report 66 (22): I"..., 48) = 48
write(2, "Path: UPS.Input.ff860024, Type: "..., 40) = 40
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up 00840035\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing PercentLoad\n", 20)   = 20
write(2, "Looking up PercentLoad\n", 23) = 23
write(2, "hid_lookup_usage: found 840035\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(00840035)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727383
write(2, "Report[r]: (3 bytes) => 2c d2 00"..., 33) = 33
write(2, "=>> Before exponent: 210, 255/0)"..., 33) = 33
write(2, "=>> After conversion: inf (21474"..., 47) = 47
write(2, "Path: UPS.Output.PercentLoad, Ty"..., 56) = 56
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up 00840044\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing ConfigActivePower\n", 26) = 26
write(2, "Looking up ConfigActivePower\n", 29) = 29
write(2, "hid_lookup_usage: found 840044\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(00840044)\n", 19)    = 19
mmap2(NULL, 33570816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x751e1000
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = -1 EINVAL (Invalid argument)
write(2, "Can\'t retrieve Report 82 (22): I"..., 48) = 48
write(2, "Path: UPS.Output.ConfigActivePow"..., 50) = 50
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up 00840032\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing Frequency\n", 18)     = 18
write(2, "Looking up Frequency\n", 21)  = 21
write(2, "hid_lookup_usage: found 840032\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(00840032)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727387
write(2, "Report[r]: (3 bytes) => 2a 70 17"..., 33) = 33
write(2, "=>> Before exponent: 6000, 254/0"..., 34) = 34
write(2, "=>> After conversion: inf (21474"..., 47) = 47
write(2, "Path: UPS.Output.Frequency, Type"..., 54) = 54
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up 00840030\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing Voltage\n", 16)       = 16
write(2, "Looking up Voltage\n", 19)    = 19
write(2, "hid_lookup_usage: found 840030\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(00840030)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727387
write(2, "Report[r]: (3 bytes) => 2b b0 04"..., 33) = 33
write(2, "=>> Before exponent: 1200, 6/7)\n", 32) = 32
write(2, "=>> After conversion: 120.000000"..., 45) = 45
write(2, "Path: UPS.Output.Voltage, Type: "..., 59) = 59
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up 00840040\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing ConfigVoltage\n", 22) = 22
write(2, "Looking up ConfigVoltage\n", 25) = 25
write(2, "hid_lookup_usage: found 840040\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(00840040)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727387
write(2, "Report[r]: (3 bytes) => 2d 78 00"..., 33) = 33
write(2, "=>> Before exponent: 120, 7/7)\n", 31) = 31
write(2, "=>> After conversion: 120.000000"..., 45) = 45
write(2, "Path: UPS.Output.ConfigVoltage, "..., 65) = 65
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up 00840054\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing HighVoltageTransfer\n", 28) = 28
write(2, "Looking up HighVoltageTransfer\n", 31) = 31
write(2, "hid_lookup_usage: found 840054\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(00840054)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727387
write(2, "Report[r]: (3 bytes) => 23 8a 00"..., 33) = 33
write(2, "=>> Before exponent: 138, 7/7)\n", 31) = 31
write(2, "=>> After conversion: 138.000000"..., 45) = 45
write(2, "Path: UPS.Output.HighVoltageTran"..., 71) = 71
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up 00840053\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing LowVoltageTransfer\n", 27) = 27
write(2, "Looking up LowVoltageTransfer\n", 30) = 30
write(2, "hid_lookup_usage: found 840053\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(00840053)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727387
write(2, "Report[r]: (3 bytes) => 24 61 00"..., 33) = 33
write(2, "=>> Before exponent: 97, 7/7)\n", 30) = 30
write(2, "=>> After conversion: 97.000000 "..., 43) = 43
write(2, "Path: UPS.Output.LowVoltageTrans"..., 69) = 69
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up ff86007e\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing APCDelayBeforeStartup\n", 30) = 30
write(2, "Looking up APCDelayBeforeStartup"..., 33) = 33
write(2, "hid_lookup_usage: found ff86007e"..., 33) = 33
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(ff86007e)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727387
write(2, "Report[r]: (3 bytes) => 25 00 00"..., 33) = 33
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.Output.APCDelayBeforeS"..., 71) = 71
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up ff860076\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing APCShutdownAfterDelay\n", 30) = 30
write(2, "Looking up APCShutdownAfterDelay"..., 33) = 33
write(2, "hid_lookup_usage: found ff860076"..., 33) = 33
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(ff860076)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727387
write(2, "Report[r]: (3 bytes) => 26 00 00"..., 33) = 33
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.Output.APCShutdownAfte"..., 71) = 71
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up 00840057\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing DelayBeforeShutdown\n", 28) = 28
write(2, "Looking up DelayBeforeShutdown\n", 31) = 31
write(2, "hid_lookup_usage: found 840057\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(00840057)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727387
write(2, "Report[r]: (3 bytes) => 27 ff ff"..., 33) = 33
write(2, "=>> Before exponent: -1, 0/0)\n", 30) = 30
write(2, "=>> After conversion: -1.000000 "..., 43) = 43
write(2, "Path: UPS.Output.DelayBeforeShut"..., 70) = 70
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up 00840056\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing DelayBeforeStartup\n", 27) = 27
write(2, "Looking up DelayBeforeStartup\n", 30) = 30
write(2, "hid_lookup_usage: found 840056\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(00840056)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727387
write(2, "Report[r]: (3 bytes) => 28 00 00"..., 33) = 33
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.Output.DelayBeforeStar"..., 68) = 68
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up 00840055\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing DelayBeforeReboot\n", 26) = 26
write(2, "Looking up DelayBeforeReboot\n", 29) = 29
write(2, "hid_lookup_usage: found 840055\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(00840055)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 4
time(NULL)                              = 1187727387
write(2, "Report[r]: (4 bytes) => 29 00 00"..., 36) = 36
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.Output.DelayBeforeRebo"..., 67) = 67
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up ff86007c\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing APCForceShutdown\n", 25) = 25
write(2, "Looking up APCForceShutdown\n", 28) = 28
write(2, "hid_lookup_usage: found ff86007c"..., 33) = 33
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(ff86007c)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727387
write(2, "Report[r]: (2 bytes) => 40 00\n", 30) = 30
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.Output.APCForceShutdow"..., 66) = 66
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084001c\n", 20)   = 20
write(2, "Looking up ff86007d\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing Output\n", 15)        = 15
write(2, "Looking up Output\n", 18)     = 18
write(2, "hid_lookup_usage: found 84001c\n", 31) = 31
write(2, "parsing APCDelayBeforeShutdown\n", 31) = 31
write(2, "Looking up APCDelayBeforeShutdow"..., 34) = 34
write(2, "hid_lookup_usage: found ff86007d"..., 33) = 33
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084001c)\n", 19)    = 19
write(2, "2: Usage(ff86007d)\n", 19)    = 19
mmap2(NULL, 822218752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
mmap2(NULL, 822218752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
brk(0x31078000)                         = 0x46000
mmap2(NULL, 822349824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
write(2, "Can\'t retrieve Report 65 (12): C"..., 54) = 54
write(2, "Path: UPS.Output.APCDelayBeforeS"..., 55) = 55
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 008400fe\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing iProduct\n", 17)      = 17
write(2, "Looking up iProduct\n", 20)   = 20
write(2, "hid_lookup_usage: found 8400fe\n", 31) = 31
write(2, "Path depth = 2\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(008400fe)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727387
write(2, "Report[r]: (2 bytes) => 2e 05\n", 30) = 30
write(2, "=>> Before exponent: 5, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 5.000000 ("..., 41) = 41
write(2, "Path: UPS.iProduct, Type: Featur"..., 51) = 51
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 008400ff\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing iSerialNumber\n", 22) = 22
write(2, "Looking up iSerialNumber\n", 25) = 25
write(2, "hid_lookup_usage: found 8400ff\n", 31) = 31
write(2, "Path depth = 2\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(008400ff)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727387
write(2, "Report[r]: (2 bytes) => 2f 02\n", 30) = 30
write(2, "=>> Before exponent: 2, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 2.000000 ("..., 41) = 41
write(2, "Path: UPS.iSerialNumber, Type: F"..., 56) = 56
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 008400fd\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing iManufacturer\n", 22) = 22
write(2, "Looking up iManufacturer\n", 25) = 25
write(2, "hid_lookup_usage: found 8400fd\n", 31) = 31
write(2, "Path depth = 2\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(008400fd)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727387
write(2, "Report[r]: (2 bytes) => 30 03\n", 30) = 30
write(2, "=>> Before exponent: 3, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 3.000000 ("..., 41) = 41
write(2, "Path: UPS.iManufacturer, Type: F"..., 56) = 56
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840001\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing iName\n", 14)         = 14
write(2, "Looking up iName\n", 17)      = 17
write(2, "hid_lookup_usage: found 840001\n", 31) = 31
write(2, "Path depth = 2\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840001)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727388
write(2, "Report[r]: (2 bytes) => 31 06\n", 30) = 30
write(2, "=>> Before exponent: 6, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 6.000000 ("..., 41) = 41
write(2, "Path: UPS.iName, Type: Feature, "..., 48) = 48
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up ff860042\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing APC_UPS_FirmwareRevision"..., 33) = 33
write(2, "Looking up APC_UPS_FirmwareRevis"..., 36) = 36
write(2, "hid_lookup_usage: found ff860042"..., 33) = 33
write(2, "Path depth = 2\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(ff860042)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727388
write(2, "Report[r]: (2 bytes) => 34 07\n", 30) = 30
write(2, "=>> Before exponent: 7, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 7.000000 ("..., 41) = 41
write(2, "Path: UPS.APC_UPS_FirmwareRevisi"..., 67) = 67
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up ff860079\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing APC_USB_FirmwareRevision"..., 33) = 33
write(2, "Looking up APC_USB_FirmwareRevis"..., 36) = 36
write(2, "hid_lookup_usage: found ff860079"..., 33) = 33
write(2, "Path depth = 2\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(ff860079)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727388
write(2, "Report[r]: (2 bytes) => 37 08\n", 30) = 30
write(2, "=>> Before exponent: 8, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 8.000000 ("..., 41) = 41
write(2, "Path: UPS.APC_USB_FirmwareRevisi"..., 67) = 67
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up ff860072\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing APCPanelTest\n", 21)  = 21
write(2, "Looking up APCPanelTest\n", 24) = 24
write(2, "hid_lookup_usage: found ff860072"..., 33) = 33
write(2, "Path depth = 2\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(ff860072)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727388
write(2, "Report[r]: (2 bytes) => 32 00\n", 30) = 30
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.APCPanelTest, Type: Fe"..., 55) = 55
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00850085\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing ManufacturerDate\n", 25) = 25
write(2, "Looking up ManufacturerDate\n", 28) = 28
write(2, "hid_lookup_usage: found 850085\n", 31) = 31
write(2, "Path depth = 2\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00850085)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727388
write(2, "Report[r]: (3 bytes) => 35 59 35"..., 33) = 33
write(2, "=>> Before exponent: 13657, 0/0)"..., 33) = 33
write(2, "=>> After conversion: 13657.0000"..., 49) = 49
write(2, "Path: UPS.ManufacturerDate, Type"..., 63) = 63
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up ff860027\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing ff860027\n", 17)      = 17
write(2, "Looking up ff860027\n", 20)   = 20
write(2, "Path depth = 2\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(ff860027)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 5
time(NULL)                              = 1187727388
write(2, "Report[r]: (5 bytes) => 3e 00 00"..., 39) = 39
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.ff860027, Type: Featur"..., 51) = 51
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up ff860028\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing ff860028\n", 17)      = 17
write(2, "Looking up ff860028\n", 20)   = 20
write(2, "Path depth = 2\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(ff860028)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 5
time(NULL)                              = 1187727388
write(2, "Report[r]: (5 bytes) => 3f 00 00"..., 39) = 39
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.ff860028, Type: Featur"..., 51) = 51
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 0084005a\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing AudibleAlarmControl\n", 28) = 28
write(2, "Looking up AudibleAlarmControl\n", 31) = 31
write(2, "hid_lookup_usage: found 84005a\n", 31) = 31
write(2, "Path depth = 2\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(0084005a)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 2
time(NULL)                              = 1187727388
write(2, "Report[r]: (2 bytes) => 36 02\n", 30) = 30
write(2, "=>> Before exponent: 2, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 2.000000 ("..., 41) = 41
write(2, "Path: UPS.AudibleAlarmControl, T"..., 62) = 62
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850044\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing Charging\n", 17)      = 17
write(2, "Looking up Charging\n", 20)   = 20
write(2, "hid_lookup_usage: found 850044\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00850044)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727388
write(2, "Report[r]: (3 bytes) => 33 0d 00"..., 33) = 33
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Charging"..., 63) = 63
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850044\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing Charging\n", 17)      = 17
write(2, "Looking up Charging\n", 20)   = 20
write(2, "hid_lookup_usage: found 850044\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00850044)\n", 19)    = 19
time(NULL)                              = 1187727388
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Charging"..., 65) = 65
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850045\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing Discharging\n", 20)   = 20
write(2, "Looking up Discharging\n", 23) = 23
write(2, "hid_lookup_usage: found 850045\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00850045)\n", 19)    = 19
time(NULL)                              = 1187727388
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Discharg"..., 66) = 66
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850045\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing Discharging\n", 20)   = 20
write(2, "Looking up Discharging\n", 23) = 23
write(2, "hid_lookup_usage: found 850045\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00850045)\n", 19)    = 19
time(NULL)                              = 1187727388
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Discharg"..., 68) = 68
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 008500d0\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ACPresent\n", 18)     = 18
write(2, "Looking up ACPresent\n", 21)  = 21
write(2, "hid_lookup_usage: found 8500d0\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(008500d0)\n", 19)    = 19
time(NULL)                              = 1187727388
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.ACPresen"..., 64) = 64
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 008500d0\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ACPresent\n", 18)     = 18
write(2, "Looking up ACPresent\n", 21)  = 21
write(2, "hid_lookup_usage: found 8500d0\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(008500d0)\n", 19)    = 19
time(NULL)                              = 1187727388
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.ACPresen"..., 66) = 66
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 008500d1\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing BatteryPresent\n", 23) = 23
write(2, "Looking up BatteryPresent\n", 26) = 26
write(2, "hid_lookup_usage: found 8500d1\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(008500d1)\n", 19)    = 19
time(NULL)                              = 1187727388
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.BatteryP"..., 69) = 69
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 008500d1\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing BatteryPresent\n", 23) = 23
write(2, "Looking up BatteryPresent\n", 26) = 26
write(2, "hid_lookup_usage: found 8500d1\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(008500d1)\n", 19)    = 19
time(NULL)                              = 1187727388
write(2, "=>> Before exponent: 1, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 1.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.BatteryP"..., 71) = 71
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850042\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing BelowRemainingCapacityLi"..., 36) = 36
write(2, "Looking up BelowRemainingCapacit"..., 39) = 39
write(2, "hid_lookup_usage: found 850042\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00850042)\n", 19)    = 19
time(NULL)                              = 1187727388
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.BelowRem"..., 82) = 82
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850042\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing BelowRemainingCapacityLi"..., 36) = 36
write(2, "Looking up BelowRemainingCapacit"..., 39) = 39
write(2, "hid_lookup_usage: found 850042\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00850042)\n", 19)    = 19
time(NULL)                              = 1187727388
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.BelowRem"..., 84) = 84
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840068\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ShutdownRequested\n", 26) = 26
write(2, "Looking up ShutdownRequested\n", 29) = 29
write(2, "hid_lookup_usage: found 840068\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00840068)\n", 19)    = 19
time(NULL)                              = 1187727388
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Shutdown"..., 72) = 72
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840068\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ShutdownRequested\n", 26) = 26
write(2, "Looking up ShutdownRequested\n", 29) = 29
write(2, "hid_lookup_usage: found 840068\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00840068)\n", 19)    = 19
time(NULL)                              = 1187727388
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Shutdown"..., 74) = 74
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840069\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ShutdownImminent\n", 25) = 25
write(2, "Looking up ShutdownImminent\n", 28) = 28
write(2, "hid_lookup_usage: found 840069\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00840069)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Shutdown"..., 71) = 71
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840069\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ShutdownImminent\n", 25) = 25
write(2, "Looking up ShutdownImminent\n", 28) = 28
write(2, "hid_lookup_usage: found 840069\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00840069)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Shutdown"..., 73) = 73
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850043\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing RemainingTimeLimitExpire"..., 34) = 34
write(2, "Looking up RemainingTimeLimitExp"..., 37) = 37
write(2, "hid_lookup_usage: found 850043\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00850043)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Remainin"..., 80) = 80
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00850043\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing RemainingTimeLimitExpire"..., 34) = 34
write(2, "Looking up RemainingTimeLimitExp"..., 37) = 37
write(2, "hid_lookup_usage: found 850043\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00850043)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Remainin"..., 82) = 82
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840073\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing CommunicationLost\n", 26) = 26
write(2, "Looking up CommunicationLost\n", 29) = 29
write(2, "hid_lookup_usage: found 840073\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00840073)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Communic"..., 72) = 72
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840073\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing CommunicationLost\n", 26) = 26
write(2, "Looking up CommunicationLost\n", 29) = 29
write(2, "hid_lookup_usage: found 840073\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00840073)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Communic"..., 74) = 74
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 0085004b\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing NeedReplacement\n", 24) = 24
write(2, "Looking up NeedReplacement\n", 27) = 27
write(2, "hid_lookup_usage: found 85004b\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(0085004b)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.NeedRepl"..., 70) = 70
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 0085004b\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing NeedReplacement\n", 24) = 24
write(2, "Looking up NeedReplacement\n", 27) = 27
write(2, "hid_lookup_usage: found 85004b\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(0085004b)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.NeedRepl"..., 72) = 72
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840065\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing Overload\n", 17)      = 17
write(2, "Looking up Overload\n", 20)   = 20
write(2, "hid_lookup_usage: found 840065\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00840065)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Overload"..., 63) = 63
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 00840065\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing Overload\n", 17)      = 17
write(2, "Looking up Overload\n", 20)   = 20
write(2, "hid_lookup_usage: found 840065\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(00840065)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.Overload"..., 65) = 65
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 008500db\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing VoltageNotRegulated\n", 28) = 28
write(2, "Looking up VoltageNotRegulated\n", 31) = 31
write(2, "hid_lookup_usage: found 8500db\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(008500db)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.VoltageN"..., 74) = 74
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up 008500db\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing VoltageNotRegulated\n", 28) = 28
write(2, "Looking up VoltageNotRegulated\n", 31) = 31
write(2, "hid_lookup_usage: found 8500db\n", 31) = 31
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(008500db)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.VoltageN"..., 76) = 76
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up ff860080\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ff860080\n", 17)      = 17
write(2, "Looking up ff860080\n", 20)   = 20
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(ff860080)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.ff860080"..., 63) = 63
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "Looking up ff860080\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing ff860080\n", 17)      = 17
write(2, "Looking up ff860080\n", 20)   = 20
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840002)\n", 19)    = 19
write(2, "2: Usage(ff860080)\n", 19)    = 19
time(NULL)                              = 1187727389
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.PresentStatus.ff860080"..., 65) = 65
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing \n", 9)               = 9
write(2, "Looking up \n", 12)           = 12
write(2, " wasn\'t found\n", 14)        = 14
write(2, "Path: UPS.PresentStatus., Type: "..., 38) = 38
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing \n", 9)               = 9
write(2, "Looking up \n", 12)           = 12
write(2, " wasn\'t found\n", 14)        = 14
write(2, "Path: UPS.PresentStatus., Type: "..., 38) = 38
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing \n", 9)               = 9
write(2, "Looking up \n", 12)           = 12
write(2, " wasn\'t found\n", 14)        = 14
write(2, "Path: UPS.PresentStatus., Type: "..., 38) = 38
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing \n", 9)               = 9
write(2, "Looking up \n", 12)           = 12
write(2, " wasn\'t found\n", 14)        = 14
write(2, "Path: UPS.PresentStatus., Type: "..., 40) = 40
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing \n", 9)               = 9
write(2, "Looking up \n", 12)           = 12
write(2, " wasn\'t found\n", 14)        = 14
write(2, "Path: UPS.PresentStatus., Type: "..., 40) = 40
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840002\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PresentStatus\n", 22) = 22
write(2, "Looking up PresentStatus\n", 25) = 25
write(2, "hid_lookup_usage: found 840002\n", 31) = 31
write(2, "parsing \n", 9)               = 9
write(2, "Looking up \n", 12)           = 12
write(2, " wasn\'t found\n", 14)        = 14
write(2, "Path: UPS.PresentStatus., Type: "..., 40) = 40
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up ff860001\n", 20)   = 20
write(2, "Looking up ff860023\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing ff860001\n", 17)      = 17
write(2, "Looking up ff860001\n", 20)   = 20
write(2, "parsing ff860023\n", 17)      = 17
write(2, "Looking up ff860023\n", 20)   = 20
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(ff860001)\n", 19)    = 19
write(2, "2: Usage(ff860023)\n", 19)    = 19
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = 3
time(NULL)                              = 1187727390
write(2, "Report[r]: (3 bytes) => 60 00 00"..., 33) = 33
write(2, "=>> Before exponent: 0, 0/0)\n", 29) = 29
write(2, "=>> After conversion: 0.000000 ("..., 41) = 41
write(2, "Path: UPS.ff860001.ff860023, Typ"..., 60) = 60
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up ff860001\n", 20)   = 20
write(2, "Looking up ff860026\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing ff860001\n", 17)      = 17
write(2, "Looking up ff860001\n", 20)   = 20
write(2, "parsing ff860026\n", 17)      = 17
write(2, "Looking up ff860026\n", 20)   = 20
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(ff860001)\n", 19)    = 19
write(2, "2: Usage(ff860026)\n", 19)    = 19
mmap2(NULL, 805441536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
mmap2(NULL, 805441536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
brk(0x30078000)                         = 0x46000
mmap2(NULL, 805572608, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
write(2, "Can\'t retrieve Report 97 (12): C"..., 54) = 54
write(2, "Path: UPS.ff860001.ff860026, Typ"..., 43) = 43
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up ff860001\n", 20)   = 20
write(2, "Looking up ff860025\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing ff860001\n", 17)      = 17
write(2, "Looking up ff860001\n", 20)   = 20
write(2, "parsing ff860025\n", 17)      = 17
write(2, "Looking up ff860025\n", 20)   = 20
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(ff860001)\n", 19)    = 19
write(2, "2: Usage(ff860025)\n", 19)    = 19
mmap2(NULL, 33570816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x771e5000
write(2, "Entering libusb_get_report\n", 27) = 27
ioctl(4, USBDEVFS_CONTROL, 0xbee7e5f0)  = -1 EINVAL (Invalid argument)
write(2, "Can\'t retrieve Report 98 (22): I"..., 48) = 48
write(2, "Path: UPS.ff860001.ff860025, Typ"..., 43) = 43
write(2, "entering path_to_string()\n", 26) = 26
write(2, "Looking up 00840004\n", 20)   = 20
write(2, "Looking up 00840016\n", 20)   = 20
write(2, "Looking up ff860024\n", 20)   = 20
write(2, "entering string_to_path()\n", 26) = 26
write(2, "parsing UPS\n", 12)           = 12
write(2, "Looking up UPS\n", 15)        = 15
write(2, "hid_lookup_usage: found 840004\n", 31) = 31
write(2, "parsing PowerConverter\n", 23) = 23
write(2, "Looking up PowerConverter\n", 26) = 26
write(2, "hid_lookup_usage: found 840016\n", 31) = 31
write(2, "parsing ff860024\n", 17)      = 17
write(2, "Looking up ff860024\n", 20)   = 20
write(2, "Path depth = 3\n", 15)        = 15
write(2, "0: Usage(00840004)\n", 19)    = 19
write(2, "1: Usage(00840016)\n", 19)    = 19
write(2, "2: Usage(ff860024)\n", 19)    = 19
mmap2(NULL, 822218752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
mmap2(NULL, 822218752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
brk(0x31078000)                         = 0x46000
mmap2(NULL, 822349824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
write(2, "Can\'t retrieve Report 81 (12): C"..., 54) = 54
write(2, "Path: UPS.PowerConverter.ff86002"..., 49) = 49
--- SIGINT (Interrupt) @ 0 (0) ---
sigreturn()                             = ? (mask now [XFSZ VTALRM PROF WINCH IO PWR SYS RTMIN])
--- SIGINT (Interrupt) @ 0 (0) ---
sigreturn()                             = ? (mask now [XFSZ VTALRM PROF WINCH IO PWR SYS RTMIN])
write(2, "entering identify_ups(0x051d, 0x"..., 39) = 39
write(2, "upsdrv_updateinfo...\n", 21)  = 21
time(NULL)                              = 1187727393
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 5
unlink("/var/run/nut/myups")            = -1 ENOENT (No such file or directory)
umask(07)                               = 022
bind(5, {sa_family=AF_FILE, path="/var/run/nut/myups"}, 112) = 0
chmod("/var/run/nut/myups", 0660)       = 0
listen(5, 16)                           = 0
write(2, "dstate_init: sock /var/run/nut/m"..., 50) = 50
write(2, "Signal 2: exiting\n", 18)     = 18
write(2, "Closing device\n", 15)        = 15
close(4)                                = 0
unlink("/var/run/nut/newhidups-myups.pid") = -1 ENOENT (No such file or directory)
--- SIGINT (Interrupt) @ 0 (0) ---
sigreturn()                             = ? (mask now [HUP QUIT ABRT BUS USR1 PIPE ALRM TERM CONT STOP TSTP TTOU VTALRM PROF WINCH PWR SYS])
close(5)                                = 0
unlink("/var/run/nut/myups")            = 0
io_submit(0, 0, 0 <unfinished ... exit status 0>
