- 10 7月, 2007 40 次提交
-
-
由 Hans-Christian Egtvedt 提交于
Adds support for simulating a mouse using GPIO lines. The driver needs an appropriate platform device to be created by architecture code. The driver has been tested on AT32AP7000 microprocessor using the ATSTK1000 development board. Signed-off-by: NHans-Christian Egtvedt <hcegtvedt@atmel.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Implement getkeycode and setkeycode methods for the device so EVIOCGKEYCODE and EVIOCSKEYCODE ioctls will work. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Switch to using input-polldev skeleton instead of implementing polling loop by itself. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Eric Piel 提交于
Add support to wistron_btns for leds that come with the multimedia keys. Mail and wifi leds are supported, on laptops which have them. Depending on the laptop, wifi subsystem may control just the led, or both the led and the wifi card. Wifi led interface is activated only for the former type of laptops, as the latter type is already managed. Leds are controled by the interface in /sys/class/leds. Signed-off-by: NEric Piel <eric.piel@tremplin-utc.net> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Eric Piel 提交于
Reduces the polling frequency from 10 Hz to 2 Hz, which should be less a burden for laptops wrt energy saving. As it is multimedia keys, 500ms (maximum) of latency should be still fine for the user. In order to keep fluent the feeling when the user is pressing several keys in a raw (such as changing the volume), the frequency is increased for a short duration after a key is pressed. Signed-off-by: NEric Piel <eric.piel@tremplin-utc.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rene van Paassen 提交于
Update credits and version number to 2.3 Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rene van Paassen 提交于
Function keys (also called macro keys) code corrected. Using a lastMacro variable to keep track of key currently pressed. This ensures proper resetting when dragging the pen in the drawing area or to another key. Also suppress sending pressure reports when over the macro key area. Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rene van Paassen 提交于
Now echo "some value" > /sys/......./somefile is also acceptable. Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rene van Paassen 提交于
Now the old tool is remembered, and reset when a new tool is selected via the sysfs files. Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rene van Paassen 提交于
To get an on - off reporting for proximity, absolute misc reports are used. The mixture of absolute and relative reports is awkward Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rene van Paassen 提交于
Added warnings to the points where the tablet probe may fail Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rene van Paassen 提交于
Have to use set_bit since some bit values are over 32, and bitwise or won't work on these. To be safe for the future too, use set_bit for all input dev capabilities Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Vytlacil 提交于
Corrections to relative mode, was looking at wrong byte Signed-off-by: NMark Vytlacil <mrv@wi.rr.com> Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rene van Paassen 提交于
Mouse button defines tested the wrong bits, now fixed Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rene van Paassen 提交于
Calculation of proximity bit and of data valid bits were reversed for stylus reports. Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rene van Paassen 提交于
Small fix that corrects the documentation on the report byte format produced by the mouse Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
When setting up input device use an array to list all the buttons instead of setting every bit separately. Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
There is no reason to do that, just tell the compiler that we are dealing with signed values in buffer, that's it. Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Use maps to convert for strings to internal constants and vice versa in aiptek's sysfs attribute methods instead of open-coding it. This results in smaller code that is also easier to maintain. [Rene: fix a typo - stylys instead of stylus] Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
It makes no sense to check for NULL in attribute methods - we do usb_set_intfdata before creating attributes and once attributes have been removed we are guaranteed to not be called. Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Use attribute group to simplify error handling and reduce code. [Rene: add missing NULL to properly terminate aiptek_attributes] Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
They are already exported by input core; there is no need to do it twice. Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Do not try to export via sysfs associated event device - it does not work when evdev is a module that is loaded after aiptek; also it pokes too deply into input core internals. Userspace should rely on udev to set up permanent device name for the tablet. Signed-off-by: NRene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Aristeu Rozanski 提交于
Cortron PS/2 Trackballs (700-0001A) report the 4th button using the 4th bit of the first packet (yes, it breaks the standard PS/2 protocol). This patch adds an extra protocol to generate BTN_SIDE based on the 4th bit. There's no way to detect those trackballs using any kind of special sequence, thus the protocol must be activated explicitely by writing into 'protocol' sysfs attribute: echo -n "cortps" > /sys/devices/platform/i8042/serio1/protocol Signed-off-by: NAristeu Rozanski <arozansk@redhat.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jan Kratochvil 提交于
Implementation is using force feedback support for memoryless devices. Signed-off-by: NJan Kratochvil <honza@jikos.cz> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jan Kratochvil 提交于
Xbox 360 gamepad is slightly different then the previous model so it has its own version of process_packet method. Detection of this new device relies on USB_DEVICE_INTERFACE_PROTOCOL macro. This device got vendor specific subclass so it can't be matched with USB_INTERFACE_INFO and we need only one interface protocol from four availaible. It means USB_DEVICE can't be used either. Added xpad360_btn structure with additional buttons for x360 gamepad. Added xtype into xpad_device structure to distinguish between different types of xbox devices. Signed-off-by: NJan Kratochvil <honza@jikos.cz> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Stefan Richter 提交于
The CPU must not touch the buffer after it was DMA-mapped. Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: NKristian Høgsberg <krh@redhat.com>
-
由 Stefan Richter 提交于
The CPU must not touch the buffer after it was DMA-mapped. Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: NKristian Høgsberg <krh@redhat.com>
-
由 Stefan Richter 提交于
- The CPU must not touch the buffer after it was DMA-mapped. - The size argument of dma_unmap_single(...page_table...) was bogus. - Move a comment closer to the code to which it refers to. Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: NKristian Høgsberg <krh@redhat.com>
-
由 Stefan Richter 提交于
Add rudimentary check for the case that the page table overflows due to merging of s/g elements by the IOMMU. This would have lead to overwriting of arbitrary memory. After this change I expect that an offending command will be unsuccessfully retried until the scsi_device is taken offline by SCSI core. It's a border case and not worth to implement a recovery strategy. Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de> Acked-by: NKristian Høgsberg <krh@redhat.com>
-
由 Stefan Richter 提交于
This is required per SBP-2 clause 5.2. Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de> Acked-by: NKristian Høgsberg <krh@redhat.com>
-
由 Stefan Richter 提交于
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de> Acked-by: NKristian Høgsberg <krh@redhat.com>
-
由 Stefan Richter 提交于
noticed by Jay Fenlason Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de> Acked-by: NKristian Høgsberg <krh@redhat.com>
-
由 Jay Fenlason 提交于
Replace a cast with a container_of(). As long as nobody reorders the structure elements, they do the same thing, but container_of() is more readable. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (added complete_command_orb) Acked-by: NKristian Høgsberg <krh@redhat.com>
-
由 Stefan Richter 提交于
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: NKristian Høgsberg <krh@redhat.com>
-
由 Stefan Richter 提交于
This affects of course only the "soft shutdown" case, e.g. "modprobe -r firewire-sbp2", while it doesn't matter for hot unplug. Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: NKristian Høgsberg <krh@redhat.com>
-
由 Stefan Richter 提交于
This currently only affects one bridge in the hardwired blacklist. I don't own one of those, hence haven't tested it. Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
-
由 Stefan Richter 提交于
cleanup after "firewire: support S100B...S400B and link slower than PHY" Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: NKristian Høgsberg <krh@redhat.com>
-
由 Stefan Richter 提交于
Use a speed probe to determine the speed over 1394b buses and of nodes which report a link speed less than their PHY speed. Log the effective maximum speed of newly created nodes in dmesg. Also, read the config ROM (except bus info block) at the maximum speed rather than S100. This isn't a real optimization though because we still only use quadlet read requests for the entire ROM. The patch also adds support for S1600 and S3200, although such hardware does not exist yet. Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: NKristian Høgsberg <krh@redhat.com>
-