search for: shut_dev_handle_t

Displaying 2 results from an estimated 2 matches for "shut_dev_handle_t".

Did you mean: shut_dev_handle_s
2007 Oct 18
1
Belkin w/ Cypress Semi. interface probs
...-110) upsdrv_updateinfo... Waiting for notifications... none (-110) upsdrv_updateinfo... (and so on and on) Checking out the code (2.2.0) I notice that the interrupt read function that is called just prior to the "none" message is basically just a stub, i.e. int shut_interrupt_read(shut_dev_handle_t *dev, int ep, unsigned char *bytes, int size, int timeout) { /* sleep during timeout to slow down a bit... */ sleep(timeout / 1000); /* FIXME: to be written */ return 0; } However, it automatically returns a zero, i.e. success. But the...
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 @@ > upsdebugx(2, "Com...