Displaying 3 results from an estimated 3 matches for "hiddev_ev".
2005 Dec 28
2
(no subject)
...onds, so it's pretty annoying. My "fix" is to just
comment out those messages. Here's the patch, which is pretty simple:
--- hidups.c 2005-12-22 06:40:27.000000000 -0800
+++ new/hidups.c 2005-12-27 21:26:02.000000000 -0800
@@ -115,8 +115,12 @@ static void parse_event(struct hiddev_ev
/* x86 page == ups-specific, ignore these for now */
if ((ev->hid & 0x860000) == 0x860000) {
+ /* This warning repeats every 5 seconds, and things
+ work fine without it, so I've commented it out...
+
upslogx(LOG_INFO, &q...
2017 Mar 11
2
[nut-upsuser] Copeland Engineering Dockmaster
...cumentation/hid/hiddev.txt
https://www.kernel.org/doc/Documentation/hid/hidraw.txt
In both cases, "cat" is triggering the "read()" operation in each driver.
> In its basic mode, the hiddev will make these individual
> usage changes available to the reader using a struct hiddev_event:
>
> struct hiddev_event {
> unsigned hid;
> signed int value;
> };
I think the "hid" value in the hiddev output is one of "ffa000a6" or "ffa000a7", but byte-swapped (still i686, right?) and hexdump-swapped to &qu...
2005 Oct 18
2
usb doesn't build on mac os x (10.4)
...#39;find_application':
hidups.c:97: error: 'HIDIOCAPPLICATION' undeclared (first use in this
function)
hidups.c:97: error: (Each undeclared identifier is reported only once
hidups.c:97: error: for each function it appears in.)
hidups.c: At top level:
hidups.c:104: warning: 'struct hiddev_event' declared inside
parameter list
hidups.c:104: warning: its scope is only this definition or
declaration, which is probably not what you want
hidups.c: In function 'parse_event':
hidups.c:110: error: dereferencing pointer to incomplete type
hidups.c:112: error: dereferencing point...