16 May, 2007
1 commit
-
stuff that does select USB should depend on USB_ARCH_HAS_HCD, or we'll
end up with unbuildable configs.Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
12 May, 2007
1 commit
-
When exporting input device bitmaps via compat_ioctl on BIG_ENDIAN
platforms evdev calculates data size incorrectly. This causes buffer
overflow if user specifies buffer smaller than maxlen.Signed-off-by: Kenichi Nagai
Signed-off-by: Dmitry Torokhov
Signed-off-by: Linus Torvalds
11 May, 2007
1 commit
-
drivers/input/misc/ixp4xx-beeper.c: In function 'ixp4xx_spkr_event':
drivers/input/misc/ixp4xx-beeper.c:54: error: 'input_dev' undeclared (first use in this function)
drivers/input/misc/ixp4xx-beeper.c:54: error: (Each undeclared identifier is reported only once
drivers/input/misc/ixp4xx-beeper.c:54: error: for each function it appears in.)Signed-off-by: Frederik Deweerdt
Acked-by: Dmitry Torokhov
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
10 May, 2007
1 commit
-
Disable some more menus in the configuration files that are of no
interest to a s390 machine.Signed-off-by: Martin Schwidefsky
09 May, 2007
2 commits
-
* master.kernel.org:/pub/scm/linux/kernel/git/dtor/input:
Input: move USB miscellaneous devices under drivers/input/misc
Input: move USB mice under drivers/input/mouse
Input: move USB gamepads under drivers/input/joystick
Input: move USB touchscreens under drivers/input/touchscreen
Input: move USB tablets under drivers/input/tablet
Input: i8042 - fix AUX port detection with some chips
Input: aaed2000_kbd - convert to use polldev library
Input: drivers/usb/input - usb_buffer_free() cleanup
Input: synaptics - don't complain about failed resets
Input: pull input.h into uinpit.h
Input: drivers/usb/input - fix sparse warnings (signedness)
Input: evdev - fix some sparse warnings (signedness, shadowing)
Input: drivers/joystick - fix various sparse warnings
Input: force feedback - make sure effect is present before playing -
Remove includes of where it is not used/needed.
Suggested by Al Viro.Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc,
sparc64, and arm (all 59 defconfigs).Signed-off-by: Randy Dunlap
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
08 May, 2007
7 commits
-
This will allow concentrating all input devices in one place
in {menu|x|q}config.Signed-off-by: Dmitry Torokhov
Acked-by: Greg Kroah-Hartman -
This will allow concentrating all input devices in one place
in {menu|x|q}config.Signed-off-by: Dmitry Torokhov
Acked-by: Greg Kroah-Hartman -
This will allow concentrating all input devices in one place
in {menu|x|q}config.Signed-off-by: Dmitry Torokhov
Acked-by: Greg Kroah-Hartman -
This will allow concentrating all input devices in one place
in {menu|x|q}config.Signed-off-by: Dmitry Torokhov
Acked-by: Greg Kroah-Hartman -
This will allow concentrating all input devices in one place
in {menu|x|q}config.Signed-off-by: Dmitry Torokhov
Acked-by: Greg Kroah-Hartman -
The i8042 driver fails detection of the AUX port with some chips,
because they apparently do not change the I8042_CTR_AUXDIS bit
immediately. This is known to affect at least HP500/HP510 notebooks,
consequently the built-in touchpad will not work. The patch will simply
reread the value until it gets the expected value or a retry limit is
hit, without touching other workaround code in the same area.Signed-off-by: Roland Scheidegger
Signed-off-by: Dmitry Torokhov
07 May, 2007
1 commit
-
Trivial compilation fixes for the hp6xx drivers.
Signed-off-by: Kristoffer Ericson
Signed-off-by: Paul Mundt
05 May, 2007
4 commits
-
* 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/dtor/input: (65 commits)
Input: gpio_keys - add support for switches (EV_SW)
Input: cobalt_btns - convert to use polldev library
Input: add skeleton for simple polled devices
Input: update some documentation
Input: wistron - fix typo in keymap for Acer TM610
Input: add input_set_capability() helper
Input: i8042 - add Fujitsu touchscreen/touchpad PNP IDs
Input: i8042 - add Panasonic CF-29 to nomux list
Input: lifebook - split into 2 devices
Input: lifebook - add signature of Panasonic CF-29
Input: lifebook - activate 6-byte protocol on select models
Input: lifebook - work properly on Panasonic CF-18
Input: cobalt buttons - separate device and driver registration
Input: ati_remote - make button repeat sensitivity configurable
Input: pxa27x - do not use deprecated SA_INTERRUPT flag
Input: ucb1400 - make delays configurable
Input: misc devices - switch to using input_dev->dev.parent
Input: joysticks - switch to using input_dev->dev.parent
Input: touchscreens - switch to using input_dev->dev.parent
Input: mice - switch to using input_dev->dev.parent
...Fixed up conflicts with core device model removal of "struct subsystem" manually.
Signed-off-by: Linus Torvalds
-
* master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6:
remove "struct subsystem" as it is no longer needed
sysfs: printk format warning
DOC: Fix wrong identifier name in Documentation/driver-model/devres.txt
platform: reorder platform_device_del
Driver core: fix show_uevent from taking up way too much stack -
hilkbd: Kill compiler warning and fix comment dyslexia
Signed-off-by: Geert Uytterhoeven
Signed-off-by: Linus Torvalds -
Atari keyboard and mouse support.
(reformating and Kconfig fixes by Roman Zippel)Signed-off-by: Michael Schmitz
Signed-off-by: Roman Zippel
Signed-off-by: Geert Uytterhoeven
Signed-off-by: Linus Torvalds
03 May, 2007
7 commits
-
Signed-off-by: Dmitry Torokhov
-
On many laptops (Compaq, HP) the touchpad is so slow responding
to reset that keyboard controller times out. The device is reset
nonetheless and works fine. Kill the "synaptics reset failed"
error; if device is not working then other parts of
synaptics_query_hardware() will fail anyway.Signed-off-by: Dmitry Torokhov
-
uinput.h relies on structures found in input.h, so pull in the header
Signed-off-by: Mike Frysinger
Signed-off-by: Dmitry Torokhov -
Signed-off-by: Dmitry Torokhov
-
Fix various issues pointed by sparse:
- module_param_array_named() takes unsigned int as number
of parameters argument
- shadowing of global variables is not healthy. I think there was
once a bug in db9 caused by it.Signed-off-by: Dmitry Torokhov
-
Make sure that requested effect id is not out of range for the
device and that effect is present before requesting device to
play it.Reported-by: Jan Kratochvil
Signed-off-by: Dmitry Torokhov -
We need to work on cleaning up the relationship between kobjects, ksets and
ktypes. The removal of 'struct subsystem' is the first step of this,
especially as it is not really needed at all.Thanks to Kay for fixing the bugs in this patch.
Signed-off-by: Greg Kroah-Hartman
01 May, 2007
2 commits
-
Signed-off-by: Roman Moravcik
Signed-off-by: Paul Sokolovsky
Signed-off-by: Dmitry Torokhov -
Conflicts:
drivers/usb/input/Makefile
drivers/usb/input/gtco.c
30 Apr, 2007
3 commits
-
Signed-off-by: Dmitry Torokhov
Acked-by: Yoichi Yuasa -
input-polldev provides a skeleton for supporting simple input
devices that need to be periodically scanned or polled to
detect changes in their state.Signed-off-by: Dmitry Torokhov
-
This patch fixes typo that prevented PROG2 key from working
on Acer Travelmate 610.Signed-off-by: Eric Piel
Signed-off-by: Andrew Morton
Signed-off-by: Dmitry Torokhov
28 Apr, 2007
2 commits
-
The subsystem rwsem is not used by the driver core at all, so there is
no point in trying to access it.Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman -
The subsystem rwsem is not used by the driver core at all, so there is
no point in trying to access it.Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman
25 Apr, 2007
5 commits
-
Add input_set_capability() helper used to indicate that an input
device supports a certain event without need to manipulate bitmaps
directly.Signed-off-by: Dmitry Torokhov
-
Add PNP IDs for Fujitsu touchscreen/touchpad for AUX port
detection to latch onto.Signed-off-by: Dmitry Torokhov
-
There is no data coming from touchscreen on Panasonic CF-29
notebook unless keyboard controller is in legacy mode.Signed-off-by: Dmitry Torokhov
-
Have lifebook protocol register 2 separate input devices -
one for the touchscreen reporting absolute coordinates and
touches and another one for touchpad reporting relative
coordinates and left and right button presses.Signed-off-by: Dmitry Torokhov
-
Signed-off-by: Dmitry Torokhov
12 Apr, 2007
3 commits
-
It appears that if we turn on 6-byte Lifebook protocol on
Panasonic CF-28 its touchpad is left alone and generates
standard 3-byte PS/2 data stream with relative packets
instead of being converted in 3-byte Lifebook protocol with
absolute coordinates - in other words what get what we need
to distinguish between touchscreen and touchpad.Signed-off-by: Dmitry Torokhov
-
Panasonic CF18 has an active multiplexing controller with
touchscreen connected to one port and a touchpad to another.
Use "phys" from serio port to activate lifebook protoocol
only on the port that has touchscreen connected to it.Signed-off-by: Dmitry Torokhov
-
Create platform device for cobalt buttons as part of arch setup.
This makes the driver follow current driver model more closely.Signed-off-by: Dmitry Torokhov
Acked-by: Yoichi Yuasa