24 May, 2011

1 commit

  • * 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (205 commits)
    USB: EHCI: Remove SPARC_LEON {read,write}_be definitions from ehci.h
    USB: UHCI: Support big endian GRUSBHC HC
    sparc: add {read,write}*_be routines
    USB: UHCI: Add support for big endian descriptors
    USB: UHCI: Use ACCESS_ONCE rather than using a full compiler barrier
    USB: UHCI: Add support for big endian mmio
    usb-storage: Correct adjust_quirks to include latest flags
    usb/isp1760: Fix possible unlink problems
    usb/isp1760: Move function isp1760_endpoint_disable() within file.
    USB: remove remaining usages of hcd->state from usbcore and fix regression
    usb: musb: ux500: add configuration and build options for ux500 dma
    usb: musb: ux500: add dma glue layer for ux500
    usb: musb: ux500: add dma name for ux500
    usb: musb: ux500: add ux500 specific code for gadget side
    usb: musb: fix compile error
    usb-storage: fix up the unusual_realtek device list
    USB: gadget: f_audio: Fix invalid dereference of initdata
    EHCI: don't rescan interrupt QHs needlessly
    OHCI: fix regression caused by nVidia shutdown workaround
    USB: OTG: msm: Free VCCCX regulator even if we can't set the voltage
    ...

    Linus Torvalds
     

23 May, 2011

2 commits


20 May, 2011

9 commits


19 May, 2011

1 commit


18 May, 2011

5 commits

  • I've got a Tivo Slide bluetooth remote/dongle, which uses a fair number
    of hid usages that aren't currently mapped in hid-input.c. I'd initially
    written additions to hid-input.c with just this device in mind,
    including some bits that were specific to the device. This go around,
    I'm looking at adding/correcting as many generic HID usages from the HID
    Usage Tables, version 1.12, as I can -- which also serves to enable all
    but four of the buttons on the Tivo Slide remote[*].

    Outside of fixing the obviously incorrect mapping of 0xc 0x45 from
    KEY_RADIO to KEY_RIGHT, and making use of the new KEY_IMAGES (just added
    in 2.6.39-rc4) for AL Image Browser instead of KEY_MEDIA, these are
    purely additions, and thus should have no negative impact on any already
    functional HID devices. Most of the added mappings seemed to be
    perfectly logical to me, but there were a few that were mapped on more
    of an "I think this makes the most sense" basis.

    [*] I'll handle the last four tivo buttons via an hid-tivo.c follow-up.

    CC: Dmitry Torokhov
    CC: Jiri Kosina
    Signed-off-by: Jarod Wilson
    Signed-off-by: Jiri Kosina

    Jarod Wilson
     
  • This is sync with Linus' tree to receive KEY_IMAGES definition
    that went in through input tree.

    Jiri Kosina
     
  • startup_profile and actual_profile didn't work as expected. Also
    as the actual profile is persistent, the distinction between the
    two was ambiguous, so both use the same code now and startup_profile
    has been deprecated. Also the event is now propagated through
    chardev. The userland tool has been updated to support this change.

    Signed-off-by: Stefan Achatz
    Signed-off-by: Jiri Kosina

    Stefan Achatz
     
  • This patch enables support for Lumio optical devices.

    Signed-off-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     
  • As they are static members of fix size, there is no need to NULL-check them.

    Signed-off-by: Daniel Mack
    Cc: Dmitry Torokhov
    Cc: Jiri Kosina
    Signed-off-by: Jiri Kosina

    Daniel Mack
     

09 May, 2011

1 commit


05 May, 2011

1 commit

  • With CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=y compilation of PicoLCD
    driver fails on copy_from_user(), without it a warning is generated:

    CC [M] drivers/hid/hid-picolcd.o
    In file included from /usr/src/linux-2.6/arch/x86/include/asm/uaccess.h:571,
    from /usr/src/linux-2.6/arch/x86/include/asm/sections.h:5,
    from /usr/src/linux-2.6/arch/x86/include/asm/hw_irq.h:26,
    from /usr/src/linux-2.6/include/linux/irq.h:359,
    from /usr/src/linux-2.6/arch/x86/include/asm/hardirq.h:5,
    from /usr/src/linux-2.6/include/linux/hardirq.h:7,
    from /usr/src/linux-2.6/include/linux/interrupt.h:12,
    from /usr/src/linux-2.6/include/linux/usb.h:15,
    from /usr/src/linux-2.6/drivers/hid/hid-picolcd.c:25:
    In function 'copy_from_user',
    inlined from 'picolcd_debug_eeprom_write' at drivers/hid/hid-picolcd.c:1592:
    arch/x86/include/asm/uaccess_32.h:212: error: call to 'copy_from_user_overflow' declared with attribute error: copy_from_user() buffer size is not provably correct

    gcc-4.4.5 is not able to track size calculation when it is stored into
    a variable, thus tell copy_from_user() maximum size via
    min(*max-size*, *effective-size*) explicitly and inline how much to copy
    at most.

    Signed-off-by: Bruno Prémont
    Signed-off-by: Jiri Kosina

    Bruno Prémont
     

04 May, 2011

1 commit


03 May, 2011

1 commit

  • Gere's a small patch to add support for the Logitech G27 wheel, since
    the prior patch only added FF support for the Driving Force Pro and G25.
    The patch contains the changes from the G25 and DFP, too.

    I tested the changes with wine/LFS and got full support for all axes and
    buttons.

    Signed-off: Peter Gundermann

    Signed-off-by: Jiri Kosina

    Peter Gundermann
     

29 Apr, 2011

1 commit


28 Apr, 2011

1 commit


26 Apr, 2011

1 commit


22 Apr, 2011

3 commits

  • This patch include MosArt devices into hid-multitouch.
    MosArt devices now support mt-protocol B.

    We also need to introduce a new quirk for mosart devices to support
    their contactID.

    Signed-off-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     
  • This patch adds PenMount support to hid-multitouch. A new class
    MT_CLS_CONFIDENCE is defined for PenMount, since it uses HID_DG_CONFIDENCE as
    the valid flag.

    Signed-off-by: John Sung
    [benjamin.tissoires@enac.fr: rebased on top of last_index_field changes]
    Signed-off-by: Benjamin Tissoires
    Acked-by: Henrik Rydberg
    Signed-off-by: Jiri Kosina

    John Sung
     
  • the current implementation requires the devices to report
    HID_DG_CONTACTCOUNT to set the last_field_index value.
    However, devices reporting in serial mode (DWAV and PenMount)
    do not send this field.
    Other devices (3M) add other fields in the reports descriptor
    that are not multitouch related at the end, thus the need to
    add a special case in the default case when handling events.

    A first work around has been set up but with PenMount devices,
    we have reached the limit.

    The idea is to calculate the last_field_index by relying only on
    multitouch fields the device send. This allows us to remove
    the handling of non-multitouch events in hid-multitouch, and
    guarantee that the function mt_emit_event is always called.

    Signed-off-by: Benjamin Tissoires
    Reviewed-and-tested-by: Henrik Rydberg
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     

08 Apr, 2011

2 commits


06 Apr, 2011

2 commits

  • CH Pro Throttle needs NOGET the same way as other products from
    the same vendor require.

    Reported-by: Unavowed
    Signed-off-by: Jiri Kosina

    Jiri Kosina
     
  • The evdev buffer isn't big enough when you get many fingers on the
    device. Bump up the buffer to a reasonable size, matching what other
    multitouch devices use. Without this change, events may be discarded in
    the evdev buffer before they are read.

    Reported-by: Simon Budig
    Cc: Henrik Rydberg
    Cc: Jiri Kosina
    Cc: stable@kernel.org
    Signed-off-by: Chase Douglas
    Acked-by: Henrik Rydberg
    Signed-off-by: Jiri Kosina

    Chase Douglas
     

01 Apr, 2011

1 commit

  • Small patch to add support for the G25/G27 by adding USB ID's
    as suggested by Peter.

    Boots but otherwise untested as I don't have hardware, .debs for
    kernel (2.6.38) here if want to test/run Ubuntu/Debian:
    http://www.mungewell.org/Logitech_Wii_Wheel/

    Reported-by: Peter Gundermann
    Signed-off-by: Simon Wood
    Signed-off-by: Jiri Kosina

    Simon Wood
     

31 Mar, 2011

1 commit


28 Mar, 2011

1 commit


27 Mar, 2011

1 commit


24 Mar, 2011

2 commits

  • Wireless variant of Roccat Pyra finally has been tested with
    existing driver.

    Signed-off-by: Stefan Achatz
    Signed-off-by: Jiri Kosina

    Stefan Achatz
     
  • This patch merges the hid-3m-pct driver into hid-multitouch.
    To keep devices working the same way they used to with hid-3m-pct,
    we need to add two signal/noise ratios for width and height.
    We also need to work on width/height to send proper
    ABS_MT_ORIENTATION flag.

    Importing 3M into hid-multitouch also solved the bug in which
    devices handling width and height in their report descriptors
    did not show ABS_MT_TOUCH_MAJOR and ABS_MT_TOUCH_MINOR.

    Signed-off-by: Benjamin Tissoires
    Reviewed-by: Stéphane Chatty
    Reviewed-and-tested-by: Henrik Rydberg
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     

23 Mar, 2011

1 commit

  • There may be multiple ways of controlling the backlight on a given
    machine. Allow drivers to expose the type of interface they are
    providing, making it possible for userspace to make appropriate policy
    decisions.

    Signed-off-by: Matthew Garrett
    Cc: Richard Purdie
    Cc: Chris Wilson
    Cc: David Airlie
    Cc: Alex Deucher
    Cc: Ben Skeggs
    Cc: Zhang Rui
    Cc: Len Brown
    Cc: Jesse Barnes
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Garrett
     

22 Mar, 2011

1 commit