summaryrefslogtreecommitdiff
path: root/drivers/usb/hid.h
AgeCommit message (Collapse)Author
2002-04-03USBGreg Kroah-Hartman
moved files to different subdirectories to make try to make sense of the current mess, and to allow usb client drivers to integrate into the tree easier.
2002-04-03USB HID driverGreg Kroah-Hartman
removed CONFIG_USB_HIDDEV #ifdefs in the driver.
2002-03-16USB HID driverVojtech Pavlik
Workaround for the ATEN switches
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-11[PATCH] Update of USB input drivers to the latest versionsVojtech Pavlik
Now that the input core changes have made it into 2.5 I can finally update the USB input drivers to their latest versions. Here is a patch that does that. In detail: HID driver: Fix a bug in descriptor parsing (array/variable), namely visible with Logitech new joysticks and mice Fix bugs in logical/physical min/max parsing Fix bugs in exponent parsing Remove workaround for low-speed devices with >8 byte reports, fix this in a correct way (bigger irq request) Untangle some code (fetc_item()) Implement asynchronous input/output/feature report reading and writing Implement (hopefully) proper locking in the above Implement support for devices with an output endpoint Add some support functions for force feedback support currently in development Add entries to the debug dump code, including FF and exponents Add more mappings into the hid-input interface Cleanups here and there usbkbd driver: Make LED URBS use GFP_ATOMIC, they'll be called from a completion handler Remove dependency on hid.h usbmouse driver: Just conversion to the new input core, minor cleanups wacom driver: Just conversion to the new input core.
2002-02-05v2.5.1.9 -> v2.5.1.10Linus Torvalds
- Kai Germaschewski: ISDN updates - Al Viro: start moving buffer cache indexing to "struct block_device *" - Greg KH: USB update - Russell King: fix up some ARM merge issues - Ingo Molnar: scalable scheduler
2002-02-04v2.5.0.7 -> v2.5.0.8Linus Torvalds
- Greg KH: USB updates - Jens Axboe: more bio updates - Christoph Rohland: fix up proper shmat semantics
2002-02-04v2.4.14.4 -> v2.4.14.5Linus Torvalds
- Greg KH: enable hotplug driver support - Andrea Arcangeli: remove bogus sanity check - David Mosberger: /proc/cpuinfo and scsi scatter-gather for ia64 - David Hinds: 16-bit pcmcia network driver updates/cleanups - Hugh Dickins: remove some stale code from VM - David Miller: /proc/cpuinfo for sparc, sparc fork bug fix, network fixes, warning fixes - Peter Braam: intermezzo update - Greg KH: USB updates - Ivan Kokshaysky: /proc/cpuinfo for alpha - David Woodhouse: jffs2 - remove dead code, remove gcc3 warning - Hugh Dickins: fix kiobuf page allocation/deallocation
2002-02-04v2.4.14.2 -> v2.4.14.3Linus Torvalds
- Alan Cox: more driver merging - Al Viro: make ext2 group allocation more readable
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
2002-02-04v2.4.3.4 -> v2.4.3.5Linus Torvalds
- Mike Phillips: olympic driver update - Alan Cox: continued resyncing (lots of small stuff, big NTFS merge from Anton) - Martin Dalecki: cleanup (remove unused and unnecessary get_hardblocksize) - Chris Mason: fix potential reiserfs journal overflow - Jeff Garzik: network driver updates - David Miller: sparc fixes, some network cleanups
2002-02-04v2.4.1.2 -> v2.4.1.3Linus Torvalds
- Jens: better ordering of requests when unable to merge - Neil Brown: make md work as a module again (we cannot autodetect in modules, not enough background information) - Neil Brown: raid5 SMP locking cleanups - Neil Brown: nfsd: handle Irix NFS clients named pipe behavior and dentry leak fix - maestro3 shutdown fix - fix dcache hash calculation that could cause bad hashes under certain circumstances (Dean Gaudet) - David Miller: networking and sparc updates - Jeff Garzik: include file cleanups - Andy Grover: ACPI update - Coda-fs error return fixes - rth: alpha Jensen update
2002-02-04Import changesetLinus Torvalds