search for: libshut_open

Displaying 5 results from an estimated 5 matches for "libshut_open".

2015 Apr 01
2
mge-shut driver fails almost after every reboot
...ec/nut/mge-shut -DD -a ups-filesrv01 Network UPS Tools - Generic HID driver 0.38 (2.7.2) SHUT communication driver 0.84 Warning: This is an experimental driver. Some features may not function correctly. 0.000000 debug level is '2' 0.000901 upsdrv_initups... 0.000911 libshut_open: using port /dev/cuau0 0.001034 entering shut_synchronise() 0.037281 Communication with UPS established 0.037289 entering shut_get_descriptor(n 01, 18) 0.120208 shut_wait_ack(): ACK received 0.371873 shut_wait_ack(): ACK received 9.504230 shut_wait_ac...
2007 Aug 28
0
[nut-commits] svn commit r1076 - in trunk: . drivers
...megatec_usb.c,tripplite_usb.c,Makefile.am: > - Applied the change above. > > * drivers/usbhid.[ch]: > - The HIDOpenDevice() and HIDCloseDevice() functions no longer exist. > These are replaced by direct calls to the communication subdrivers. > - The driver now gets a callback from libshut_open() and libusb_open() > when a report descriptor has been retrieved from the USB/SHUT device > and parses it and then makes a descision on whether this device is > acceptable or not. If not, the next device that matches will be tried. > > Apologies for the *really* big update, but the...
2015 Apr 02
0
mge-shut driver fails almost after every reboot
...> Network UPS Tools - Generic HID driver 0.38 (2.7.2) > SHUT communication driver 0.84 > Warning: This is an experimental driver. > Some features may not function correctly. > > 0.000000 debug level is '2' > 0.000901 upsdrv_initups... > 0.000911 libshut_open: using port /dev/cuau0 > 0.001034 entering shut_synchronise() > 0.037281 Communication with UPS established > 0.037289 entering shut_get_descriptor(n 01, 18) > 0.120208 shut_wait_ack(): ACK received > 0.371873 shut_wait_ack(): ACK received > 9...
2015 Apr 02
2
mge-shut driver fails almost after every reboot
...- Generic HID driver 0.38 (2.7.2) > SHUT communication driver 0.84 > Warning: This is an experimental driver. > Some features may not function correctly. > > 0.000000 debug level is '2' > 0.000901 upsdrv_initups... > 0.000911 libshut_open: using port /dev/cuau0 > 0.001034 entering shut_synchronise() > 0.037281 Communication with UPS established > 0.037289 entering shut_get_descriptor(n 01, 18) > 0.120208 shut_wait_ack(): ACK received > 0.371873 shut_wait_ack(): AC...
2007 Aug 23
1
[nut-commits] svn commit r1073 - in trunk: . drivers
...=================================================== > --- trunk/drivers/libshut.c (original) > +++ trunk/drivers/libshut.c Thu Aug 23 19:43:41 2007 > @@ -284,7 +284,7 @@ > a linked list of matchers (see libhid.h), and the opened device > must match all of them. */ > int libshut_open(shut_dev_handle_t **sdevp, HIDDevice_t *curDevice, > - HIDDeviceMatcher_t *matcher, unsigned char *ReportDesc, int mode) > + HIDDeviceMatcher_t *matcher, unsigned char *ReportDesc, int *mode) > { > int ret, res; > unsigned char buf[20]; > @@ -311,7 +311,7 @@ > upsd...