23 Nov, 2010

1 commit


16 Jul, 2010

3 commits


29 Jun, 2010

1 commit


08 Jun, 2010

1 commit


28 May, 2010

1 commit


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

    Ondrej Zary
     

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

    Linus Torvalds
     
  • 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

    Daniel Mack
     

20 May, 2010

1 commit


01 Mar, 2010

1 commit


22 Feb, 2010

1 commit


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

    Ondrej Zary
     
  • 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=0ms

    No 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

    Ondrej Zary
     
  • 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

    Ondrej Zary
     
  • 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

    Ondrej Zary
     

11 Jan, 2010

1 commit


30 Nov, 2009

1 commit


24 Nov, 2009

2 commits


28 Jul, 2009

1 commit


08 Jul, 2009

1 commit


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

    Daniel Ritz
     

11 Jan, 2009

1 commit


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

    Nuno Lucas
     

03 Jul, 2008

1 commit


17 May, 2008

1 commit


05 Apr, 2008

1 commit


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

    Daniel Ritz
     

23 Oct, 2007

1 commit


22 Oct, 2007

1 commit


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

    Jiri Slaby
     

13 Oct, 2007

2 commits


10 Sep, 2007

1 commit


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

    Vladimir Shebordaev
     

05 Sep, 2007

1 commit


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: 0x00

    Signed-off-by: Ondrej Zary
    Signed-off-by: Daniel Ritz
    Signed-off-by: Dmitry Torokhov

    Ondrej Zary
     

12 Jun, 2007

1 commit