31 Oct, 2012

1 commit


02 Oct, 2012

1 commit

  • Pull staging tree update from Greg Kroah-Hartman:
    "Here is the big staging tree update for the 3.7-rc1 merge window.

    There are a few patches in here that are outside of the staging area,
    namely HID and IIO patches, but all of them have been acked by the
    relevant subsystem maintainers. The IIO stuff is still coming in
    through this tree as it hasn't entirely moved out of the staging tree,
    but is almost there.

    Other than that, there wa a ton of work on the comedi drivers to make
    them more readable and the correct style. Doing that removed a lot of
    code, but we added a new driver to the staging tree, so we didn't end
    up with a net reduction this time around:

    662 files changed, 51649 insertions(+), 26582 deletions(-)

    All of these patches have been in the linux-next tree already.

    Signed-off-by: Greg Kroah-Hartman "

    * tag 'staging-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1094 commits)
    staging: comedi: jr3_pci: fix iomem dereference
    staging: comedi: drivers: use comedi_fc.h cmdtest helpers
    Staging: winbond: usb_free_urb(NULL) is safe
    Staging: winbond: checkpatch cleanup
    Staging: winbond: Removed undesired spaces, lines and tabs
    Staging: winbond: Typo corrections in comments
    Staging: winbond: Changed c99 comments to c89 comments
    staging: r8712u: Do not queue cloned skb
    staging: comedi: ni_mio_common: always lock in ni_ai_poll()
    staging: comedi: s626: add FIXME comment
    staging: comedi: s626: don't dereference insn->data
    staging: comedi: s526: fix if() check in s526_gpct_winsn()
    staging: comedi: s626: cleanup comments in s626_initialize()
    staging: comedi: s626: remove clear of kzalloc'ed data
    staging: comedi: s626: remove 'WDInterval' from private data
    staging: comedi: s626: remove 'ChargeEnabled' from private data
    staging: comedi: s626: remove 'IsBoardRevA' comment
    staging: comedi: s626: #if 0 out the "SAA7146 BUG WORKAROUND"
    staging: comedi: s626: remove 'allocatedBuf' from private data
    staging: comedi: s626: add final attach message
    ...

    Linus Torvalds
     

01 Oct, 2012

4 commits

  • Conflicts:
    drivers/hid/usbhid/hid-quirks.c

    Jiri Kosina
     
  • … 'wacom' and 'wiimote' into for-linus

    Jiri Kosina
     
  • The Sony PS3 Blue-ray Disc Remote Control used to be supported by the
    BlueZ project's user space, but the code that handled it was recently
    removed as its functionality conflicted with a real HSP implementation
    and the mapping was thought to be better handled in the kernel. This is
    a port of the mapping logic from the fakehid driver by Marcel Holtmann
    to the in-kernel HID layer.

    We also add support for the Logitech Harmony Adapter for PS3, which
    emulates the BD Remote.

    Signed-off-by: David Dillow
    Signed-off-by: Antonio Ospite
    Signed-off-by: Jiri Kosina

    David Dillow
     
  • The dev_rdesc member of the hid_device structure is meant to store the original
    report descriptor received from the device, but it is currently passed to any
    report_fixup method before it is copied to the rdesc member. This patch uses a
    temporary buffer to shield dev_rdesc from the side effects of many HID drivers'
    report_fixup implementations.

    usbhid's hid_post_reset checks the report descriptor currently returned by the
    device against a descriptor that may have been modified by a driver's
    report_fixup method. That leaves some devices nonfunctional after a resume, with
    a "reset_resume error 1" reported. This patch checks the new descriptor against
    the unmodified dev_rdesc instead and uses the original, instead of modified,
    report size.

    BugLink: http://bugs.launchpad.net/bugs/1049623
    Signed-off-by: Kevin Daughtridge
    Signed-off-by: Jiri Kosina

    Kevin Daughtridge
     

17 Sep, 2012

3 commits


07 Sep, 2012

2 commits


02 Sep, 2012

2 commits


27 Aug, 2012

2 commits


24 Aug, 2012

1 commit


22 Aug, 2012

1 commit


15 Aug, 2012

1 commit

  • The Freescale i.MX28 BootROM USB recovery mode implements the USB HID
    protocol, yet the global item tag report size is 128. Linux checks if
    this is 96 as of now, see [1]. This causes Linux to refuse to communicate
    with this device, making it impossible to use the recovery mode.

    This is not a standard HID device per se, but rather a software emulation
    implemented within the BootROM code and realized through USB OTG-capable
    port switched to device mode present on the device.

    Previous attempt to discuss this issue dates back to 2011, see [2]. There
    has been not much response. Also noteworthy is the [3], where there seems
    to be a pointing device that has issue similar to this one.

    The tool making use of the USB recovery mode is available at [4].

    [1] http://comments.gmane.org/gmane.linux.kernel.input/22328
    [2] http://www.spinics.net/lists/linux-usb/msg43463.html
    [3] https://bbs.archlinux.org/viewtopic.php?pid=1141340
    [4] http://git.bfuser.eu/?p=marex/mxsldr.git;a=summary

    Signed-off-by: Marek Vasut
    Cc: Chen Peter
    Cc: Greg KH
    Cc: Jiri Kosina
    Signed-off-by: Jiri Kosina

    Marek Vasut
     

01 Aug, 2012

1 commit

  • Pull second set of media updates from Mauro Carvalho Chehab:

    - radio API: add support to work with radio frequency bands

    - new AM/FM radio drivers: radio-shark, radio-shark2

    - new Remote Controller USB driver: iguanair

    - conversion of several drivers to the v4l2 core control framework

    - new board additions at existing drivers

    - the remaining (and vast majority of the patches) are due to
    drivers/DocBook fixes/cleanups.

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (154 commits)
    [media] radio-tea5777: use library for 64bits div
    [media] tlg2300: Declare MODULE_FIRMWARE usage
    [media] lgs8gxx: Declare MODULE_FIRMWARE usage
    [media] xc5000: Add MODULE_FIRMWARE statements
    [media] s2255drv: Add MODULE_FIRMWARE statement
    [media] dib8000: move dereference after check for NULL
    [media] Documentation: Update cardlists
    [media] bttv: add support for Aposonic W-DVR
    [media] cx25821: Remove bad strcpy to read-only char*
    [media] pms.c: remove duplicated include
    [media] smiapp-core.c: remove duplicated include
    [media] via-camera: pass correct format settings to sensor
    [media] rtl2832.c: minor cleanup
    [media] Add support for the IguanaWorks USB IR Transceiver
    [media] Minor cleanups for MCE USB
    [media] drivers/media/dvb/siano/smscoreapi.c: use list_for_each_entry
    [media] Use a named union in struct v4l2_ioctl_info
    [media] mceusb: Add Twisted Melon USB IDs
    [media] staging/media/solo6x10: use module_pci_driver macro
    [media] staging/media/dt3155v4l: use module_pci_driver macro
    ...

    Conflicts:
    Documentation/feature-removal-schedule.txt

    Linus Torvalds
     

31 Jul, 2012

1 commit


24 Jul, 2012

1 commit


23 Jul, 2012

1 commit


22 Jul, 2012

1 commit


20 Jul, 2012

2 commits

  • hid-picolcd and hid-wiimote do not allow any of hidinput, hiddev or hidraw
    to claim the device but still want to remain on the bus. Hence, if a
    driver uses the raw_event callback but no other listener claimed the
    device, we still leave it on the bus as the driver handles everything by
    itself. It thus becomes its own listener.

    Under some circumstances (eg., hidinput_connect() fails and raw_event set)
    a device may be left on the bus even though it requires external
    listeners. But then if hidinput_connect() fails there are bigger issues
    than a device that is left unhandled. So we can safely use this heuristic
    to avoid adding another flag for special devices like hid-picolcd and
    hid-wiimote.

    This also removes the ugly hack from hid-picolcd as this is no longer
    required.

    Signed-off-by: David Herrmann
    Acked-by: Henrik Rydberg
    Signed-off-by: Jiri Kosina

    David Herrmann
     
  • When using hidraw, hid buffer can be big and take lot's of
    time to process (interrupt) kernel context.
    Don't try to parse report if we are only interrested in hidraw.

    Also don't prepare data for debug stuff if no debugfs file
    are opened.

    Signed-off-by: Matthieu CASTET
    Signed-off-by: Jiri Kosina

    Matthieu CASTET
     

14 Jul, 2012

1 commit

  • Pull input layer fixes from Dmitry Torokhov:
    "The changes are limited to adding new VID/PID combinations to drivers
    to enable support for new versions of hardware, most notably hardware
    found in new MacBook Pro Retina boxes."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: xpad - add Andamiro Pump It Up pad
    Input: xpad - add signature for Razer Onza Tournament Edition
    Input: xpad - handle all variations of Mad Catz Beat Pad
    Input: bcm5974 - Add support for 2012 MacBook Pro Retina
    HID: add support for 2012 MacBook Pro Retina

    Linus Torvalds
     

12 Jul, 2012

1 commit


11 Jul, 2012

2 commits


28 Jun, 2012

1 commit

  • This patch adds rupport for Roccat Savu gaming mouse.

    In comparison to the other Roccat modules I tried to move even more
    functionality to userland.

    Userland tools can soon be found at http://sourceforge.net/projects/roccat

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

    Stefan Achatz
     

26 Jun, 2012

1 commit

  • Pull media fixes from Mauro Carvalho Chehab.

    Trivial conflict due to new USB HID ID's being added next to each other
    (Baanto vs Axentia).

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (44 commits)
    [media] smia: Fix compile failures
    [media] Fix VIDIOC_DQEVENT docbook entry
    [media] s5p-fimc: Fix control creation function
    [media] s5p-mfc: Fix checkpatch error in s5p_mfc_shm.h file
    [media] s5p-mfc: Fix setting controls
    [media] v4l/s5p-mfc: added image size align in VIDIOC_TRY_FMT
    [media] v4l/s5p-mfc: corrected encoder v4l control definitions
    [media] v4l: mem2mem_testdev: Fix race conditions in driver
    [media] s5p-mfc: Bug fix of timestamp/timecode copy mechanism
    [media] cxd2820r: Fix an incorrect modulation type bitmask
    [media] em28xx: Show a warning if the board does not support remote controls
    [media] em28xx: Add remote control support for Terratec's Cinergy HTC Stick HD
    [media] USB: Staging: media: lirc: initialize spinlocks before usage
    [media] Revert "[media] media: mx2_camera: Fix mbus format handling"
    [media] bw-qcam: driver and pixfmt documentation fixes
    [media] cx88: fix firmware load on big-endian systems
    [media] cx18: support big-endian systems
    [media] ivtv: fix support for big-endian systems
    [media] tuner-core: return the frequency range of the correct tuner
    [media] v4l2-dev.c: fix g_parm regression in determine_valid_ioctls()
    ...

    Linus Torvalds
     

12 Jun, 2012

1 commit


08 Jun, 2012

1 commit


22 May, 2012

2 commits


15 May, 2012

1 commit

  • Add support for UC-Logic Wireless Tablet TWHL850.
    It is known to be sold as Genius MousePen M508W.

    This tablet has a bug in the default (compatibility) mode which is used in this
    driver: frame button assignments are mixed up. This is to be fixed with a driver
    supporting the vendor-specific protocol.

    Signed-off-by: Nikolai Kondrashov
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     

14 May, 2012

2 commits


06 May, 2012

1 commit


01 May, 2012

1 commit

  • Switch the driver over to device group handling. By adding the
    HID_GROUP_MULTITOUCH group to hid-core, hid-generic will no longer
    match multitouch devices. By adding the HID_GROUP_MULTITOUCH entry to
    the device list, hid-multitouch will match all unknown multitouch
    devices, and udev will automatically load the module.

    Since HID_QUIRK_MULTITOUCH never gets set, the special quirks handling
    can be removed. Since all HID MT devices have HID_DG_CONTACTID, they
    can be removed from the hid_have_special_driver list.

    With this patch, the unknown device ids are no longer NULL, so the code
    is modified to check for the generic entry instead.

    Signed-off-by: Henrik Rydberg
    Acked-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Henrik Rydberg