23 Nov, 2010
1 commit
-
I've recently got my hands on a LG Flatron T1710B touchscreen.
As other LG products, this seems to use the ITM panel.Signed-off-by: Glenn Sommer
Signed-off-by: Dmitry Torokhov
16 Jul, 2010
3 commits
-
This implements reset_resume() by splitting init into allocations
of private data structures and device initializations. Device
initializations are repeated upon reset_resume.Signed-off-by: Oliver Neukum
Tested-by: Petr Štetiar
Tested-by: Ondrej Zary
Signed-off-by: Dmitry Torokhov -
This implement USB autosuspend while the device is opened for
devices that do remote wakeup with a fallback to open/close for
those devices that don't. Devices that require the host to
constantly poll them are never autosuspended.Signed-off-by: Oliver Neukum
Tested-by: Petr Štetiar
Tested-by: Ondrej Zary
Signed-off-by: Dmitry Torokhov -
This implements basic support for suspend & resume.
Signed-off-by: Oliver Neukum
Tested-by: Petr Štetiar
Tested-by: Ondrej Zary
Signed-off-by: Dmitry Torokhov
29 Jun, 2010
1 commit
-
This patch adds support for the ET&T TC4UM 4-wire USB touchscreen
controller and tries to reuse the bits for TC5UH controller in kernel
already. Data interface is same.Tested-by: Roger Pueyo Centelles
Signed-off-by: Petr Štetiar
Signed-off-by: Dmitry Torokhov
08 Jun, 2010
1 commit
-
Let's perform be16_to_cpu() conversions once for each received packet,
and then use cached values. Makes code a little bit easier to follow.Tested-by: Ondrej Zary
Signed-off-by: Dmitry Torokhov
28 May, 2010
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: usbtouchscreen - support bigger iNexio touchscreens
Input: ads7846 - return error on regulator_get() failure
Input: twl4030-vibra - correct the power down sequence
Input: enable onkey driver of max8925
Input: use ABS_CNT rather than (ABS_MAX + 1)
27 May, 2010
1 commit
-
Bigger Nexio touchscreens not only send more data but also the header
values are modified somewhat. Fix the header (it's a guesswork but
it works at least on one 46" touchscreen with 2.00SMS firmware) and
also increase rept_size.Signed-off-by: Ondrej Zary
Signed-off-by: Andrew Morton
Signed-off-by: Dmitry Torokhov
21 May, 2010
2 commits
-
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (229 commits)
USB: remove unused usb_buffer_alloc and usb_buffer_free macros
usb: musb: update gfp/slab.h includes
USB: ftdi_sio: fix legacy SIO-device header
USB: kl5usb105: reimplement using generic framework
USB: kl5usb105: minor clean ups
USB: kl5usb105: fix memory leak
USB: io_ti: use kfifo to implement write buffering
USB: io_ti: remove unsused private counter
USB: ti_usb: use kfifo to implement write buffering
USB: ir-usb: fix incorrect write-buffer length
USB: aircable: fix incorrect write-buffer length
USB: safe_serial: straighten out read processing
USB: safe_serial: reimplement read using generic framework
USB: safe_serial: reimplement write using generic framework
usb-storage: always print quirks
USB: usb-storage: trivial debug improvements
USB: oti6858: use port write fifo
USB: oti6858: use kfifo to implement write buffering
USB: cypress_m8: use kfifo to implement write buffering
USB: cypress_m8: remove unused drain define
...Fix up conflicts (due to usb_buffer_alloc/free renaming) in
drivers/input/tablet/acecad.c
drivers/input/tablet/kbtab.c
drivers/input/tablet/wacom_sys.c
drivers/media/video/gspca/gspca.c
sound/usb/usbaudio.c -
For more clearance what the functions actually do,
usb_buffer_alloc() is renamed to usb_alloc_coherent()
usb_buffer_free() is renamed to usb_free_coherent()They should only be used in code which really needs DMA coherency.
All call sites have been changed accordingly, except for staging
drivers.Signed-off-by: Daniel Mack
Cc: Alan Stern
Cc: Pedro Ribeiro
Signed-off-by: Greg Kroah-Hartman
20 May, 2010
1 commit
-
Use kmemdup when some other buffer is immediately copied into the
allocated region.Signed-off-by: Julia Lawall
Signed-off-by: Dmitry Torokhov
01 Mar, 2010
1 commit
22 Feb, 2010
1 commit
-
Generaltouch protocol allows for coordinates in [0, 0xffff] range and
there are devices reporting coordinates as high as 0x7fff so let's update
the driver to reflect that.Signed-off-by: Roy Yin
Signed-off-by: Dmitry Torokhov
04 Feb, 2010
4 commits
-
Fix urb leak in error path of initialization and make sure we handle
errors from initial usb_submit_urb().Signed-off-by: Ondrej Zary
Signed-off-by: Andrew Morton
Signed-off-by: Dmitry Torokhov -
Add support for NEXIO (or iNexio) USB touchscreens to usbtouchscreen
driver. Tested with NEX170MRT 17" LCD monitor with integrated touchscreen
(with xserver-xorg-input-evtouch 0.8.8-1):T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 54 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=1870 ProdID=0001 Rev= 1.00
S: Manufacturer=iNexio
S: Product=iNexio USB
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=(none)
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0msNo datasheet is available, this was written by capturing some data with
SniffUSB in Windows: http://www.rainbow-software.org/linux_files/nexio/Signed-off-by: Ondrej Zary
Signed-off-by: Andrew Morton
Signed-off-by: Dmitry Torokhov -
Find input enpoint automatically instead of assuming that the first one is
OK. This is needed for devices with multiple endpoints such as iNexio
where the first endpoint might be output.Signed-off-by: Ondrej Zary
Signed-off-by: Andrew Morton
Signed-off-by: Dmitry Torokhov -
Convert usbtouchscreen from storing usb_device to usb_interface. This is
needed for multi-interface touchscreen devices such as iNexio.Signed-off-by: Ondrej Zary
Signed-off-by: Andrew Morton
Signed-off-by: Dmitry Torokhov
11 Jan, 2010
1 commit
-
The id_table field of the struct usb_device_id is constant in
so it makes sense to mark the initialization data also constant.Signed-off-by: Márton Németh
Signed-off-by: Dmitry Torokhov
30 Nov, 2009
1 commit
-
This patch adds support for the ET&T TC5UH 5-wire USB touchscreen controller.
More info at http://www.etandt.com.tw/board_solution.htmlSigned-off-by: Petr Štetiar
Signed-off-by: Dmitry Torokhov
24 Nov, 2009
2 commits
-
Zytronic USB-attached capacitive touchscreen support within the generic
USB touchscreen driver.Signed-off-by: Daniel Silverstone
Signed-off-by: Vincent Sanders
Signed-off-by: Simtec Linux Team
Signed-off-by: Dmitry Torokhov -
usb_kill_urb() in disconnect is not needed as unregistering will cause
close() to be called.Signed-off-by: Oliver Neukum
Signed-off-by: Dmitry Torokhov
28 Jul, 2009
1 commit
-
This patch adds support for the e2i touchscreen controller used in the
Mimo 740 (and probably in other e2i touchscreen products). Tested on
Mimo 740.Signed-off-by: Florian Echtler
Signed-off-by: Dmitry Torokhov
08 Jul, 2009
1 commit
-
Add support for the JASTEC/DigiTech DTR-02U USB touch screen
controllers.Signed-off-by: Jim Persson
Signed-off-by: Dmitry Torokhov
01 Mar, 2009
1 commit
-
Commit ec42d4481e36cbdb5b2801f957e678211a9e5ae2 broke usbtouchscreen for
some eGalax/EETI devices that claim to be HID, but are not.Devices confirmed to be real HID have the class set to HID and the protocol
set to 'mouse'. Some have HID class but protocol set to 'none'. Those are
not HID and should be driven by usbtouchscreen.Fix the device ignoring macro by adding match for the protocol too.
Signed-off-by: Daniel Ritz
Signed-off-by: Dmitry Torokhov
11 Jan, 2009
1 commit
-
This patch adds a module parameter to report either the raw
coordinate data or the hardware-calibrated coordinate data for
MicroTouch/3M touchscreens. The default is set to the raw
coordinates for backwards compatibilty.Signed-off-by: Dan Streetman
Signed-off-by: Dmitry Torokhov
20 Nov, 2008
1 commit
-
The usbtouchscreen module implements a driver for the TSC-10 DM USB
touchscreen controllers, but assumes a 2-byte response for the
CMD_RESET and CMD_RATE commands, when they can be only a single byte
when no EEPROM is connected.The driver worked with an earlier controller revision, but new
revisions of the controller fail.It seems the problem is that the early controller had the
SEL4/EEPROM-CS pin high, but the new controller has it down, making
the response different.Without the fix, the controller would answer the single byte 0x06
(ACK), making the init fail with -ENODEV because buf[1] is 0xFF (as
initialized before).As the single byte is the only thing we need to check it was ok, there
is no need to verify the second byte.The [0x15 0x01] case is the NAK [0x15] response for when there is no
data in the EEPROM [bit-0 of second byte set], so I let that be, as I
don't have any controller with an EEPROM.With this patch, both the earlier and latest controller work the same.
Note: This was previously submited as BUG #11961 [1] on the bugzilla
tracker, but rebased to version 2.6.27.4 and with unnecessary comments
and printk's removed.[1] http://bugzilla.kernel.org/show_bug.cgi?id=11961
Signed-off-by: Nuno Lucas
Acked-by: Daniel Ritz
Signed-off-by: Dmitry Torokhov
03 Jul, 2008
1 commit
-
The newer versions of the eGalax/EETI screen implement the HID protocol.
The device IDs are still the same, but the USB interface descriptor shows
the device being of HID class. Change usbtouchscreen to ignore the HID
models as they are handled properly by usbhid.Signed-off-by: Daniel Ritz
Signed-off-by: Dmitry Torokhov
17 May, 2008
1 commit
-
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison
Signed-off-by: Andrew Morton
Signed-off-by: Dmitry Torokhov
05 Apr, 2008
1 commit
-
DMA on the stack is not allowed. The buffer must be kmalloced.
Signed-off-by: Oliver Neukum
Signed-off-by: Dmitry Torokhov
18 Jan, 2008
1 commit
-
Fix a buffer overflow in mutli-packet handling code. The overflow can
only happen with eGalax devices and is even there very unlikely (only
non-report packet are affected any only when truncated after the first
byte).Also changes the mutli-packet handling code not to drop unknown packets,
but rather just drop one byte. This allows synchronizing on report packets
in the data stream. It's required for some egalax devices to work at all.Also remove the pointless 'flags' member of the device struct and set the
version number to 0.6, plus some minor cleanups.[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Daniel Ritz
Signed-off-by: Andrew Morton
Signed-off-by: Dmitry Torokhov
23 Oct, 2007
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: appletouch - apply idle reset logic to all touchpads
Input: usbtouchscreen - add support for GoTop tablet devices
Input: bf54x-keys - return real error when request_irq() fails
Input: i8042 - export i8042_command()
22 Oct, 2007
1 commit
-
Add support for GoTop Super_Q2/GogoPen/PenPower tablets to usbtouchscreen.
Protocol discovery was done by Yick Yan Lam.Signed-off-by: Daniel Ritz
Signed-off-by: Dmitry Torokhov
20 Oct, 2007
1 commit
-
get rid of input BIT* duplicate defines
use newly global defined macros for input layer. Also remove includes of
input.h from non-input sources only for BIT macro definiton. Define the
macro temporarily in local manner, all those local definitons will be
removed further in this patchset (to not break bisecting).
BIT macro will be globally defined (1<
Cc:
Acked-by: Jiri Kosina
Cc:
Acked-by: Marcel Holtmann
Cc:
Acked-by: Mauro Carvalho Chehab
Cc:
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
13 Oct, 2007
2 commits
-
Conflicts:
drivers/macintosh/adbhid.c
-
Signed-off-by: Ilya Frolov
Signed-off-by: Dmitry Torokhov
10 Sep, 2007
1 commit
-
A reply of 0x0600 means all OK, 0x1501 means OK, but EEPROM empty.
The behavior with an empty EEPROM is the same as without one at all
so do not fail loading the driver.Signed-off-by: Daniel Ritz
Signed-off-by: Dmitry Torokhov
07 Sep, 2007
1 commit
-
This patch fixes a nasty typo in usbtouchscreen driver. The typo
is inherited from the original mtouchusb. It used to make the input
subsytem to incorrectly report the physical device ids to userspace
that in turn is very confusing for, e.g. XInput hotplug facilities
in setups with multiple identical touchscreens.Signed-off-by: Vladimir Shebordaev
Signed-off-by: Dmitry Torokhov
05 Sep, 2007
1 commit
-
This patch adds support for IdealTEK URTC1000 touchscreen controllers.
Documentation can be downloaded at:
http://projects.tbmn.org/cgi-bin/trac.cgi/wiki/urtc-1000
Signed-off-by: Ondrej Zary
Signed-off-by: Daniel Ritz
Signed-off-by: Dmitry Torokhov
10 Jul, 2007
1 commit
-
This patch adds support for IRTOUCHSYSTEMS (or UNITOP) infrared touchscreens.
The touchscreen sends data in 8-byte packets.
BYTE 0 - unknown meaning, seen only one value: 0x54
BYTE 1 - unknown meaning, 3 lowest bits indicate touch state
values seen: 0x81, 0x82 or 0x83
bit 0 = set if the screen is touched and was not touched before (touch
bit 1 = set if the screen is touched and was touched (dragging)
bit 2 = set if the touch was ended (release)
BYTES 2 and 3 - X position, high-order-byte first, range = 0 to 0x0FFF
BYTES 4 and 5 - Y position, high-order-byte first, range = 0 to 0x0FFF
BYTE 6 - unknown meaning, seen only one value: 0xFF
BYTE 7 - unknown meaning, seen only one value: 0x00Signed-off-by: Ondrej Zary
Signed-off-by: Daniel Ritz
Signed-off-by: Dmitry Torokhov
12 Jun, 2007
1 commit
-
During the move from drivers/usb/input into drivers/input/touchscreen
Kconfig variables were shuffled a bit to use a new namespace
(CONFIG_TOUCHSCREEN) while usbtouchscreen was still using old ones.Also noticed by Robert P. J. Day
Signed-off-by: Ondrej Zary
Signed-off-by: Daniel Ritz
Signed-off-by: Dmitry Torokhov