summaryrefslogtreecommitdiff
path: root/include/linux/hiddev.h
AgeCommit message (Collapse)Author
2005-02-09input: Fix a code example in a comment in hiddev.cjbj1@ultraemail.net
From: Jens B. Jorgensen <jbj1@ultraemail.net> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2004-09-07[PATCH] input: Eliminate hiddev.h dependency on hid.hAdam Kropelin
hiddev.h needs hid.h but doesn't include it. Since hid.h is private anyway just eliminate the need for it it in the first place. Signed-off-by: Adam Kropelin <akropel1@rochester.rr.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-01-26input: Add a new ioctl to hiddev, which allows multiple usages toJames Lamanna
be set in a single request. Also fixes sizes of fields in hiddev structs to use _uXX types.
2003-09-03[USB]: hiddev_exit() can no longer be __exit, called from init code now.David S. Miller
2003-02-12input: Get rid of the kbd_pt_regs variable, and instead pass theVojtech Pavlik
value all the way from an interrupt handler to keyboard.c that can display it.
2002-11-13[PATCH] HID patches for MGE UPSDavid Brownell
I thought I'd send the results of some experimentation of mine getting an MGE UPS (Evolution) to talk to 2.5 ... basically it behaved after some patches, though the "hidups" driver didn't. They're all attached: - "hiddev-1.patch" ... The default queue size was so small that this low-speed device couldn't queue up about 110 control requests (that many reports to check!) during init. - "hiddev-2.patch" ... Makes hid debug output more useful by (a) making it compile again; (b) adding lots of "Power Device" and "Battery System" reports, and putting all that data into the readonly data section; (c) actually printing the usage strings, if they're known; (d) printing a message when neither input nor hiddev claim the device ... likely something's wrong, like someone didn't configure in input subsystem or hiddev support. - "hiddev-3.patch" ... Teaches hiddev to expose the physical ID just like the input event framework does. Useful to help sort out which UPS is which, so you won't power down the wrong set of servers by accident.
2002-07-15[PATCH] A cleanup of Paul's 2.5 hiddev update.Vojtech Pavlik
Get rid of #ifdefs in hid-core again. (For you, Greg.) Move the uref generation code from hid-core to hiddev to make things cleaner.
2002-07-15[PATCH] Updates for hiddev by Paul StewartVojtech Pavlik
I've merged a patch Paul Stewart sent me some time ago, which should make life easier for the guys writing UPS daemons.
2002-03-27USB hiddev interfacePaul Stewart
updated the version number due the previous changes
2002-03-22[PATCH] Re: [PATCH] hiddev code and docs cleanupPaul Stewart
I took some time to clean up the code a little, and to add the new calls to the documentation. See patch below. -- Paul
2002-03-16USB Urefs for hid-core/hiddevPaul Stewart
I've written a patch Vojtech and I discussed for enhancing the hiddev code to optionally provide more detailed output on read(). The old functionality is still supported by default, and in situations where HID usage codes are unique across reports, the old method is still preferable due to its terseness. The new method provides the ability to determine exactly which value has changed, in cases where the HID usage codes are not unique. It also provides a means to optionally receive notification when input reports are received from the device, whether or not any of the values in the report have changed. The details of the changes are as follows: - All current code behaves identically - A new ioctl pair HIDIOCGFLAG/HIDIOCSFLAG gets and clears flags on the hiddev device. - If you set the flag HIDDEV_FLAG_UREF, the read() call switches from reading hiddev_event structures to hiddev_usage_ref structures. The change takes effect immediately, even to already queued events that haven't been read() yet. Here's an example of enabling FLAG_UREF: { int flag = HIDDEV_FLAG_UREF; if (ioctl(fd, HIDIOCSFLAG, &flag) != 0) { perror("ioctl"); exit(1); } } - With the HIDDEV_FLAG_REPORT set (which is only allowed if HIDDEV_FLAG_UREF is also set), there is a special uref that will be read() in addition to the ones corresponding to changes in the device state: when uref.field_index is set to HID_FIELD_INDEX_NONE, this uref is a notification that the report referred to by report_type and report_id has been received from the device. This can be useful in situations when the notification of the arrival of a report is useful even if there is no change in state.
2002-02-04v2.4.9.8 -> v2.4.9.9Linus Torvalds
- Greg KH: start migration to new "min()/max()" - Roman Zippel: move affs over to "min()/max()". - Vojtech Pavlik: VIA update (make sure not to IRQ-unmask a vt82c576) - Jan Kara: quota bug-fix (don't decrement quota for non-counted inode) - Anton Altaparmakov: more NTFS updates - Al Viro: make nosuid/noexec/nodev be per-mount flags, not per-filesystem - Alan Cox: merge input/joystick layer differences, driver and alpha merge - Keith Owens: scsi Makefile cleanup - Trond Myklebust: fix oopsable race in locking code - Jean Tourrilhes: IrDA update