summaryrefslogtreecommitdiff
path: root/include/linux/libps2.h
AgeCommit message (Collapse)AuthorFilesLines
2013-01-06Input: increase struct ps2dev cmdbuf[] to 8 bytesKamal Mostafa1-1/+1
Cypress PS/2 Trackpad (drivers/input/mouse/cypress_ps2.c) needs this larger cmdbuf[] to handle 8-byte packet responses. Signed-off-by: Kamal Mostafa <kamal@canonical.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2009-09-18Input: libps2 - additional locking for i8042 portsDmitry Torokhov1-0/+2
The serio ports on i8042 are not completely isolated; while we provide enough locking to ensure proper serialization when accessing control and data registers AUX and KBD ports can still have an effect on each other on PS/2 protocol level. The most prominent effect is that issuing a command for the device connected to one port may cause abort of the command currently executing by the device connected to another port. Since i8042 nor serio subsystem are not aware of the details of the PS/2 protocol (length of the commands and their replies and so on) the locking should be done on libps2 level by adding special handling when we see that we are dealing with serio port on i8042. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2009-08-20Input: add new driver for Sentelic Finger Sensing PadTai-hwa Liang1-0/+1
This is the driver for Sentelic Finger Sensing Pad which can be found on MSI WIND Netbook. Signed-off-by: Tai-hwa Liang <avatar@sentelic.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2008-11-24Input: libps2 - handle 0xfc responses from devicesDmitry Torokhov1-0/+2
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2008-05-16Input: libps2 - remove delayed command executionDmitry Torokhov1-1/+0
Delayed command execution is not used by anyone so let's remove it. Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2006-09-14Input: atkbd - support Microsoft Natural Elite Pro keyboardsDmitry Torokhov1-0/+1
Microsoft Natural Elite Pro keyboard produces unisual response to the GET ID command - single byte 0xaa (normally keyboards produce 2-byte response). Fail GET ID command so atkbd gets a change to do alternate probe. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2006-02-19Input: serio - semaphore to mutex conversionArjan van de Ven1-1/+1
The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-06-01Input: add ps2_drain() to libps2 to allow reading and discardingDmitry Torokhov1-0/+1
given number of bytes from device. Change ps2_command to allow using 0 as command ID and actually pass it to the device instead of working as a drain. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-04-17Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+50
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!