[Nut-upsuser] usbhid-ups not finding CyberPower PP1100 on Fedora 16

Don Lewis dl-nut at catspoiler.org
Wed Jul 25 13:11:04 UTC 2012


On 25 Jul, Charles Lepple wrote:
> On Jul 25, 2012, at 1:22 AM, Don Lewis wrote:
> 
>> If I unplug the USB cable and plug it back in, usbhid-ups stops working
>> until I start and stop pwrstatd.
> 
> Hm, that's a pleasant surprise.

It wasn't something that I initially expected.  I mostly just tried
running pwrstatd to see if the hardware was working correctly.

> There is probably something in the initialization dance in pwrstatd
> that we could replicate in usbhid-ups.  Are you familiar with strace
> or ltrace?

Yup.

> Just for reference, can you run 'lsusb -v' again (probably as root)
> after starting and stopping pwrstatd, then starting and stopping 
> usbhid-ups? It sounds silly, but I'm hoping that pwrstatd will kick
> the UPS into gear, and usbhid-ups will tell the kernel to get out of
> the way so that we can see something other than "** UNAVAILABLE **"
> for the Report Descriptor section.
> 
> Even if you can use the start-and-stop pwrstatd trick, all of the
> values reported by the usbhid-ups debug messages are in the
> vendor-specific 0xFF00 range, and so we would need to create
> mappings between them and the NUT variable names. (Note that
> pwrstatd says your computer is on utility power, but nut says
> "OB" - on battery.)

I hadn't noticed that ...

Ok, here are the results:

[unplug UPS USB cable and reconnect]
Bus 006 Device 004: ID 0764:0005 Cyber Power System, Inc. Cyber Power UPS
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0764 Cyber Power System, Inc.
  idProduct          0x0005 Cyber Power UPS
  bcdDevice            4.00
  iManufacturer           3
  iProduct                1
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               20mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode           33 US
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      90
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0xffff
  Self Powered
  Remote Wakeup Enabled
  Test Mode
  Debug Mode

[run usbhid-ups]
   0.000000     debug level is '4'
   0.001592     upsdrv_initups...
   0.229969     Checking device (05E3/0608) (001/002)
   0.230091     Failed to open device, skipping. (Permission denied)
   0.230103     Checking device (2040/4903) (001/003)
   0.230121     Failed to open device, skipping. (Permission denied)
   0.230130     Checking device (1D6B/0002) (001/001)
   0.230145     Failed to open device, skipping. (Permission denied)
   0.230154     Checking device (046D/C501) (001/004)
   0.230168     Failed to open device, skipping. (Permission denied)
   0.230177     Checking device (0471/0815) (001/005)
   0.230192     Failed to open device, skipping. (Permission denied)
   0.230200     Checking device (0472/0065) (005/002)
   0.230215     Failed to open device, skipping. (Permission denied)
   0.230223     Checking device (1D6B/0001) (005/001)
   0.230238     Failed to open device, skipping. (Permission denied)
   0.230246     Checking device (0472/0065) (005/003)
   0.230260     Failed to open device, skipping. (Permission denied)
   0.230269     Checking device (0764/0005) (006/004)
   2.236128     - VendorID: 0764
   2.236161     - ProductID: 0005
   2.236168     - Manufacturer: unknown
   2.236174     - Product: unknown
   2.236180     - Serial Number: unknown
   2.236186     - Bus: 006
   2.236191     Trying to match device
   2.236230     Device matches
   2.236259     failed to claim USB device: Device or resource busy
   2.237538     detached kernel driver from USB device...
   2.241088     HID descriptor too short (expected 8, got 0)
   2.241125     i=0, extra[i]=09, extra[i+1]=21
   2.241149     HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 01 22 5a 00
   2.241157     HID descriptor length 90
   6.244026     Unable to get Report descriptor: Connection timed out
   6.244111     Checking device (1D6B/0001) (006/001)
   6.244148     Failed to open device, skipping. (Permission denied)
   6.244166     Checking device (1D6B/0002) (002/001)
   6.244188     Failed to open device, skipping. (Permission denied)
   6.244197     Checking device (1D6B/0001) (003/001)
   6.244212     Failed to open device, skipping. (Permission denied)
   6.244220     Checking device (1D6B/0001) (004/001)
   6.244235     Failed to open device, skipping. (Permission denied)
   6.244243     Checking device (1D6B/0001) (007/001)
   6.244258     Failed to open device, skipping. (Permission denied)
   6.244265     No appropriate HID device found
Network UPS Tools - Generic HID driver 0.37 (2.6.4)
USB communication driver 0.31
   6.244277     No matching HID UPS found

[run lspci again]
Bus 006 Device 004: ID 0764:0005 Cyber Power System, Inc. Cyber Power UPS
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0764 Cyber Power System, Inc.
  idProduct          0x0005 Cyber Power UPS
  bcdDevice            4.00
  iManufacturer           3
  iProduct                1
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               20mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode           33 US
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      90
          Warning: incomplete report descriptor
          Report Descriptor: (length is 7)
            Item(Main  ): (null), data=none
            Item(Main  ): (null), data= [ 0x00 ] 0
            Item(Main  ): (null), data=none
            Item(Main  ): (null), data=none
            Item(Main  ): (null), data=none
            Item(Main  ): (null), data=none
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0xffff
  Self Powered
  Remote Wakeup Enabled
  Test Mode
  Debug Mode

[strace pwrstatd from the point where it starts interacting with the
UPS]
open("/dev/bus/usb/006/004", O_RDWR)    = 7
write(5, "\1", 1)                       = 1
read(4, "\1", 1)                        = 1
ioctl(7, SNDRV_CTL_IOCTL_ELEM_READ or USBDEVFS_IOCTL or USBDEVFS_IOCTL32, 0x7fff1ebbfc30) = -1 ENODATA (No data available)
ioctl(7, USBDEVFS_SETCONFIGURATION, 0x7fff1ebbfc4c) = 0
ioctl(7, USBDEVFS_CLAIMINTERFACE, 0x7fff1ebbfc2c) = 0
ioctl(7, USBDEVFS_SETINTERFACE, 0x7fff1ebbfc40) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379515, 681304000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbfa88) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379515, 683851000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbfa98) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379515, 685632000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379515, 687627000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379515, 690023000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf838) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379515, 697646000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379515, 721944000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=6, revents=POLLIN}])
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_DISCARDURB, 0x20a9580) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 224711000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 226467000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 228501000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 230711000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 232447000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf838) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 233500000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 273699000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 297778000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 321507000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 345487000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 369517000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 393499000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 409499000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 411438000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 413526000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 415643000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 417543000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf838) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 425439000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 441544000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 457514000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=6, revents=POLLIN}])
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_DISCARDURB, 0x20a9580) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 960727000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 962599000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 964408000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 966620000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 968400000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf838) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379516, 969374000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 1638000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 25518000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 57389000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 81511000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 105574000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 129689000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 153481000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 155536000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 157536000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 159476000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 161414000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf848) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 169610000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 201401000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 225431000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 249417000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 273407000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 297394000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 321374000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 353403000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 377512000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 385430000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 387430000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 389432000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 391587000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 393430000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf848) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 401403000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 441376000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 465400000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 489615000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 513495000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 515384000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 517476000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 519413000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 521415000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf848) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 529563000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 569414000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 593420000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 617523000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 619415000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 621429000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 623442000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 625414000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf848) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 633380000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf868) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 665425000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 667404000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
open("/var/pwrstatd.dev", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f025d564000
write(8, "dev_type=2\nprotocol=2\nmodel_name"..., 118) = 118
close(8)                                = 0
munmap(0x7f025d564000, 4096)            = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
open("/var/log/pwrstatd.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=609, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f025d564000
write(8, "2012/07/25 05:39:06 AM\tCommunica"..., 53) = 53
close(8)                                = 0
munmap(0x7f025d564000, 4096)            = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 671241000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf9c8) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 672395000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf9d8) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 674470000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf998) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 681357000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf9b8) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 729876000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf9b8) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 745553000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf9c8) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379517, 747368000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf9d8) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
select(4, [3], [], [], {3, 0})          = 0 (Timeout)
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379520, 754557000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379520, 756315000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf898) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379520, 758270000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379520, 761253000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379520, 785634000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=6, revents=POLLIN}])
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_DISCARDURB, 0x20a9580) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 288555000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 290320000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf898) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 292298000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 294288000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf898) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 296303000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 297262000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 345341000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 369343000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 393276000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 425302000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 449604000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 465271000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 481255000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 483240000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf898) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 485236000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 487236000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf898) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 489300000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf858) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 497282000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379521, 521485000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=6, revents=POLLIN}])
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_DISCARDURB, 0x20a9580) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf878) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(7, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x20a9580) = 0
timerfd_settime(6, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={379522, 24376000}}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLOUT}], 3, 60000) = 1 ([{fd=7, revents=POLLOUT}])
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff1ebbf888) = 0

[run pwrstat -status]
The UPS information shows as following:

	Properties:
		Model Name................... PP1100
		Firmware Number.............. 1.610
		Rating Voltage............... 120 V
		Rating Power................. 700 Watt(1100 VA)

	Current UPS status:
		State........................ Normal
		Power Supply by.............. Utility Power
		Utility Voltage.............. 119 V
		Output Voltage............... 119 V
		Utility Frequency............ 60.0 Hz
		Battery Capacity............. 100 %
		Remaining Runtime............ 35 min.
		Load......................... 231 Watt(33 %)
		Line Interaction............. None
		Test Result.................. Unknown
		Last Power Event............. None

[what strace pwrstatd shows when polled by pwrstat -status]
ioctl(7, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fff6532fe28) = 0
timerfd_settime(6, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
select(4, [3], [], [], {3, 0})          = 1 (in [3], left {2, 759521})
accept(3, {sa_family=AF_FILE, NULL}, [2]) = 8
select(9, [3 8], [], [], {3, 759521})   = 1 (in [8], left {3, 759510})
recvfrom(8, "STATUS\n\n", 511, 0, NULL, NULL) = 8
select(9, [3 8], [8], [], {3, 759510})  = 1 (out [8], left {3, 759503})
sendto(8, "STATUS\nstate=0\nmodel_name=PP1100"..., 361, 0, NULL, 0) = 361
select(9, [3 8], [], [], {3, 759503})   = 1 (in [8], left {3, 759084})
recvfrom(8, "", 511, 0, NULL, NULL)     = 0
close(8)                                = 0
select(4, [3], [], [], {3, 759084})     = 0 (Timeout)

[lspci -v after the above]
Bus 006 Device 004: ID 0764:0005 Cyber Power System, Inc. Cyber Power UPS
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0764 Cyber Power System, Inc.
  idProduct          0x0005 Cyber Power UPS
  bcdDevice            4.00
  iManufacturer           3 Cyber Power System
  iProduct                1 CPS RS232 USB BRIDGE for UPS
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               20mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode           33 US
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      90
          Report Descriptor: (length is 90)
            Item(Global): Usage Page, data= [ 0x01 0xff ] 65281
                            (null)
            Item(Local ): Usage, data= [ 0x1d ] 29
                            (null)
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x04 ] 4
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Local ): Usage, data= [ 0x02 ] 2
                            (null)
            Item(Main  ): Feature, data= [ 0x82 ] 130
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x08 ] 8
            Item(Local ): Usage, data= [ 0x0d ] 13
                            (null)
            Item(Local ): Usage, data= [ 0x0b ] 11
                            (null)
            Item(Local ): Usage, data= [ 0x0a ] 10
                            (null)
            Item(Local ): Usage, data= [ 0x0c ] 12
                            (null)
            Item(Local ): Usage, data= [ 0x08 ] 8
                            (null)
            Item(Local ): Usage, data= [ 0x09 ] 9
                            (null)
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Local ): Usage, data= [ 0x07 ] 7
                            (null)
            Item(Main  ): Feature, data= [ 0x82 ] 130
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Global): Logical Minimum, data= [ 0x01 ] 1
            Item(Global): Logical Maximum, data= [ 0x07 ] 7
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Local ): Usage, data= [ 0x16 ] 22
                            (null)
            Item(Main  ): Input, data= [ 0x82 ] 130
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Global): Logical Minimum, data= [ 0x01 ] 1
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Count, data= [ 0x07 ] 7
            Item(Local ): Usage, data= [ 0x18 ] 24
                            (null)
            Item(Main  ): Input, data= [ 0x82 ] 130
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Global): Logical Minimum, data= [ 0x01 ] 1
            Item(Global): Logical Maximum, data= [ 0x07 ] 7
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Local ): Usage, data= [ 0x15 ] 21
                            (null)
            Item(Main  ): Output, data= [ 0x82 ] 130
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Count, data= [ 0x07 ] 7
            Item(Local ): Usage, data= [ 0x17 ] 23
                            (null)
            Item(Main  ): Output, data= [ 0x82 ] 130
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Main  ): End Collection, data=none
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)


[run usbhid-ups again]
   0.000000     debug level is '4'
   0.001728     upsdrv_initups...
   0.240623     Checking device (05E3/0608) (001/002)
   0.240724     Failed to open device, skipping. (Permission denied)
   0.240743     Checking device (2040/4903) (001/003)
   0.240762     Failed to open device, skipping. (Permission denied)
   0.240771     Checking device (1D6B/0002) (001/001)
   0.240787     Failed to open device, skipping. (Permission denied)
   0.240795     Checking device (046D/C501) (001/004)
   0.240810     Failed to open device, skipping. (Permission denied)
   0.240818     Checking device (0471/0815) (001/005)
   0.240834     Failed to open device, skipping. (Permission denied)
   0.240842     Checking device (0472/0065) (005/002)
   0.240857     Failed to open device, skipping. (Permission denied)
   0.240865     Checking device (1D6B/0001) (005/001)
   0.240879     Failed to open device, skipping. (Permission denied)
   0.240887     Checking device (0472/0065) (005/003)
   0.240902     Failed to open device, skipping. (Permission denied)
   0.240911     Checking device (0764/0005) (006/004)
   0.251474     - VendorID: 0764
   0.251494     - ProductID: 0005
   0.251500     - Manufacturer: Cyber Power System
   0.251507     - Product: CPS RS232 USB BRIDGE for UPS
   0.251513     - Serial Number: unknown
   0.251519     - Bus: 006
   0.251525     Trying to match device
   0.251557     Device matches
   0.259490     HID descriptor, method 1: (9 bytes) => 09 21 10 01 21 01 22 5a 00
   0.259511     i=0, extra[i]=09, extra[i+1]=21
   0.259524     HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 01 22 5a 00
   0.259530     HID descriptor length 90
   0.264479     Report Descriptor size = 90
   0.264508     Report Descriptor: (90 bytes) => 06 01 ff 09 1d a1 01 15 00 25 04 75 08 95
   0.264531      01 09 02 b1 82 15 00 25 01 75 01 95 08 09 0d 09 0b 09 0a 09 0c 09 08 09 09
   0.264554      09 01 09 07 b1 82 15 01 25 07 75 08 95 01 09 16 81 82 15 01 26 ff 00 95 07
   0.264575      09 18 81 82 15 01 25 07 95 01 09 15 91 82 15 00 26 ff 00 95 07 09 17 91 82
   0.264592      c0
   0.264739     Using subdriver: CyberPower HID 0.3
   0.264762     Entering libusb_get_report
   0.266482     Report[get]: (2 bytes) => 01 0f
   0.266520     Path: ff01001d.ff010002, Type: Feature, ReportID: 0x00, Offset: 0, Size: 8, Value: 4
   0.266531     Report[buf]: (2 bytes) => 01 0f
   0.266545     Path: ff01001d.ff01000d, Type: Feature, ReportID: 0x00, Offset: 0, Size: 1, Value: 1
   0.266554     Report[buf]: (2 bytes) => 01 0f
   0.266566     Path: ff01001d.ff01000b, Type: Feature, ReportID: 0x00, Offset: 0, Size: 1, Value: 1
   0.266574     Report[buf]: (2 bytes) => 01 0f
   0.266586     Path: ff01001d.ff01000a, Type: Feature, ReportID: 0x00, Offset: 0, Size: 1, Value: 1
   0.266594     Report[buf]: (2 bytes) => 01 0f
   0.266607     Path: ff01001d.ff01000c, Type: Feature, ReportID: 0x00, Offset: 0, Size: 1, Value: 1
   0.266615     Report[buf]: (2 bytes) => 01 0f
   0.266627     Path: ff01001d.ff010008, Type: Feature, ReportID: 0x00, Offset: 0, Size: 1, Value: 1
   0.266635     Report[buf]: (2 bytes) => 01 0f
   0.266648     Path: ff01001d.ff010009, Type: Feature, ReportID: 0x00, Offset: 0, Size: 1, Value: 1
   0.266657     Report[buf]: (2 bytes) => 01 0f
   0.266669     Path: ff01001d.ff010001, Type: Feature, ReportID: 0x00, Offset: 0, Size: 1, Value: 1
   0.266677     Report[buf]: (2 bytes) => 01 0f
   0.266689     Path: ff01001d.ff010007, Type: Feature, ReportID: 0x00, Offset: 0, Size: 1, Value: 1
   0.266697     Report[buf]: (2 bytes) => 01 0f
   0.266709     Path: ff01001d.ff010016, Type: Input, ReportID: 0x00, Offset: 0, Size: 8, Value: 7
   0.266718     Report[buf]: (2 bytes) => 01 0f
   0.266735     Path: ff01001d.ff010018, Type: Input, ReportID: 0x00, Offset: 0, Size: 8, Value: 15
   0.266743     Report[buf]: (2 bytes) => 01 0f
   0.266756     Path: ff01001d.ff010015, Type: Output, ReportID: 0x00, Offset: 0, Size: 8, Value: 7
   0.266765     Report[buf]: (2 bytes) => 01 0f
   0.266778     Path: ff01001d.ff010017, Type: Output, ReportID: 0x00, Offset: 0, Size: 8, Value: 15
Network UPS Tools - Generic HID driver 0.37 (2.6.4)
USB communication driver 0.31
   0.266816     Report descriptor retrieved (Reportlen = 90)
   0.266829     Found HID device
   0.266836     Detected a UPS: Cyber Power System/CPS RS232 USB BRIDGE for UPS
   0.266874     string_to_path: depth = 3
   0.266917     string_to_path: depth = 3
   0.266942     string_to_path: depth = 3
   0.266962     string_to_path: depth = 3
   0.266984     string_to_path: depth = 3
   0.267007     string_to_path: depth = 3
   0.267027     string_to_path: depth = 3
   0.267040     string_to_path: depth = 3
   0.267053     string_to_path: depth = 3
   0.267065     string_to_path: depth = 3
   0.267080     string_to_path: depth = 3
   0.267095     string_to_path: depth = 3
   0.267107     string_to_path: depth = 3
   0.267122     string_to_path: depth = 3
   0.267136     string_to_path: depth = 3
   0.267149     string_to_path: depth = 3
   0.267163     string_to_path: depth = 3
   0.267176     string_to_path: depth = 3
   0.267205     string_to_path: depth = 4
   0.267229     string_to_path: depth = 4
   0.267251     string_to_path: depth = 4
   0.267273     string_to_path: depth = 4
   0.267342     string_to_path: depth = 4
   0.267365     string_to_path: depth = 4
   0.267380     string_to_path: depth = 3
   0.267395     string_to_path: depth = 3
   0.267407     string_to_path: depth = 3
   0.267418     string_to_path: depth = 3
   0.267442     string_to_path: depth = 3
   0.267455     string_to_path: depth = 3
   0.267467     string_to_path: depth = 3
   0.267479     string_to_path: depth = 3
   0.267492     string_to_path: depth = 3
   0.267505     string_to_path: depth = 3
   0.267518     string_to_path: depth = 3
   0.267532     string_to_path: depth = 3
   0.267545     string_to_path: depth = 3
   0.267558     string_to_path: depth = 3
   0.267571     string_to_path: depth = 3
   0.267588     string_to_path: depth = 3
   0.267603     string_to_path: depth = 3
   0.267618     string_to_path: depth = 3
   0.267633     string_to_path: depth = 3
   0.267648     string_to_path: depth = 3
   0.267662     find_nut_info: unknown info type: load.off.delay
   0.267674     find_nut_info: unknown info type: load.on.delay
   0.267685     find_nut_info: unknown info type: load.off.delay
   0.267707     upsdrv_initinfo...
   0.267733     upsdrv_updateinfo...
   0.520505     libusb_get_interrupt: Connection timed out
   0.520535     Got 0 HID objects...
   0.520545     Quick update...
   0.521046     dstate_init: sock /var/run/nut/usbhid-ups-mythups open on fd 8
   0.521086     upsdrv_updateinfo...
   0.773517     libusb_get_interrupt: Connection timed out
   0.773556     Got 0 HID objects...
   0.773567     Quick update...
   2.524487     upsdrv_updateinfo...
   2.777428     libusb_get_interrupt: Connection timed out
   2.777468     Got 0 HID objects...
   2.777479     Quick update...
   4.528440     upsdrv_updateinfo...
   4.781350     libusb_get_interrupt: Connection timed out
   4.781391     Got 0 HID objects...
   4.781401     Quick update...
   6.532387     upsdrv_updateinfo...
   6.785261     libusb_get_interrupt: Connection timed out
   6.785298     Got 0 HID objects...
   6.785309     Quick update...
   8.536314     upsdrv_updateinfo...
   8.789193     libusb_get_interrupt: Connection timed out
   8.789232     Got 0 HID objects...
   8.789243     Quick update...
  10.540264     upsdrv_updateinfo...
  10.793116     libusb_get_interrupt: Connection timed out
  10.793152     Got 0 HID objects...
  10.793163     Quick update...



> Thanks for your debugging efforts,

Thanks for your help! 




More information about the Nut-upsuser mailing list