21 Jan, 2011

1 commit

  • The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option
    is used to configure any non-standard kernel with a much larger scope than
    only small devices.

    This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes
    references to the option throughout the kernel. A new CONFIG_EMBEDDED
    option is added that automatically selects CONFIG_EXPERT when enabled and
    can be used in the future to isolate options that should only be
    considered for embedded systems (RISC architectures, SLOB, etc).

    Calling the option "EXPERT" more accurately represents its intention: only
    expert users who understand the impact of the configuration changes they
    are making should enable it.

    Reviewed-by: Ingo Molnar
    Acked-by: David Woodhouse
    Signed-off-by: David Rientjes
    Cc: Greg KH
    Cc: "David S. Miller"
    Cc: Jens Axboe
    Cc: Arnd Bergmann
    Cc: Robin Holt
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Rientjes
     

14 Jan, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
    HID: hid-multitouch: minor fixes based on additional review
    HID: Switch turbox/mosart touchscreen to hid-mosart
    HID: add Add Cando touch screen 10.1-inch product id
    HID: hid-mulitouch: add support for the 'Sensing Win7-TwoFinger'
    HID: hid-multitouch: add support for Cypress TrueTouch panels
    HID: hid-multitouch: support for PixCir-based panels
    HID: set HID_MAX_FIELD at 128
    HID: add feature_mapping callback

    Linus Torvalds
     

12 Jan, 2011

7 commits


11 Jan, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (34 commits)
    HID: roccat: Update sysfs attribute doc
    HID: roccat: don't use #pragma pack
    HID: roccat: Add support for Roccat Kone[+] v2
    HID: roccat: reduce number of functions in kone and pyra drivers
    HID: roccat: declare meaning of pack pragma usage in driver headers
    HID: roccat: use class for char device for sysfs attribute creation
    sysfs: Introducing binary attributes for struct class
    HID: hidraw: add compatibility ioctl() for 32-bit applications.
    HID: hid-picolcd: Fix memory leak in picolcd_debug_out_report()
    HID: picolcd: fix misuse of logical operation in place of bitop
    HID: usbhid: base runtime PM on modern API
    HID: replace offsets values with their corresponding BTN_* defines
    HID: hid-mosart: support suspend/resume
    HID: hid-mosart: ignore buttons report
    HID: hid-picolcd: don't use flush_scheduled_work()
    HID: simplify an index check in hid_lookup_collection
    HID: Hoist assigns from ifs
    HID: Remove superfluous __inline__
    HID: Use vzalloc for vmalloc/memset(,0...)
    HID: Add and use hid_: dev_ equivalents
    ...

    Linus Torvalds
     

08 Jan, 2011

7 commits


04 Jan, 2011

1 commit


03 Jan, 2011

1 commit


27 Dec, 2010

1 commit


23 Dec, 2010

1 commit


22 Dec, 2010

1 commit

  • So far the USBLED driver only supports Delcom's "USB Visual Signal
    Indicator" (http://www.delcomproducts.com/products_USBLMP.asp). The
    driver generates virtual files "red", "green", and "blue" under the
    device's /sys/ directory, where color values can be read from and
    written to.

    This patch adds support for Dream Cheeky's "DL100B Webmail Notifier"
    (http://www.dreamcheeky.com/webmail-notifier -- available from several
    shops, such as http://www.conrad.at/ce/de/product/777048/USB-WEBMAIL).
    This device isn't as pretty as Delcom's, but it's *far* cheaper, and
    its 3 LEDs can be set in 32 brightness steps each. The grey envelope
    contour can easily be removed, leaving a rather neutral white box (with
    a few small holes), which is useful for generic signalling purposes.
    Of course, the small circuit board can easily be put into a prettier
    case.

    The DL100B device pretends to be a HID, but the HID descriptor shows
    that it's not overly useful as such (see below). The patch therefore
    removes the "HID-ness" (hid-core.c, hid-ids.h), and adds the necessary
    commands to usbled.c. The protocol info comes from the developer's
    manual that Dream Cheeky kindly provided (815DeveloperManual.pdf).

    HID descriptor:

    0: 05 01 Usage Page 'Generic Desktop Controls'
    2: 09 10 Usage 'Reserved'
    4: a1 01 Collection 'Application (mouse, keyboard)'
    6: 05 00 Usage Page 'Undefined'
    8: 19 10 Usage Minimum = 16
    10: 29 11 Usage Maximum = 17
    12: 15 00 Logical Minimum = 0
    14: 25 0f Logical Maximum = 15
    16: 75 08 Report Size = 8
    18: 95 08 Report Count = 8
    20: 91 02 Output data *var abs lin pref-state null-pos non-vol bit-field
    22: 19 10 Usage Minimum = 16
    24: 29 11 Usage Maximum = 17
    26: 15 00 Logical Minimum = 0
    28: 25 0f Logical Maximum = 15
    30: 75 08 Report Size = 8
    32: 95 08 Report Count = 8
    34: 81 00 Input data array abs lin pref-state null-pos non-vol bit-field
    36: c0 End Collection

    Signed-off-by: Melchior FRANZ
    Signed-off-by: Greg Kroah-Hartman

    Melchior FRANZ
     

18 Dec, 2010

1 commit


16 Dec, 2010

11 commits

  • The Samsung NB30 touch has a DWAV dual-touch device. This patch adds
    the NB30 to the list of supported devices, and grabs it accordingly in
    hid-core.

    [rydberg@euromail.se: rename and log message changes]
    Signed-off-by: Richard Nauber
    Signed-off-by: Jiri Kosina
    Signed-off-by: Henrik Rydberg

    Richard Nauber
     
  • Add the new supported devices to the kernel menu config help text.

    Signed-off-by: Jiri Kosina
    Cc: Stephane Chatty
    Signed-off-by: Henrik Rydberg

    Henrik Rydberg
     
  • The Wetab tablet dual-touch controller works the same way as the one
    in the Joojoo tablet. This patch adds the Wetab to the list of
    supported devices, and grabs it accordingly in hid-core.

    Signed-off-by: Jiri Kosina
    Cc: Stephane Chatty
    Signed-off-by: Henrik Rydberg

    Henrik Rydberg
     
  • The firmware in the joojoo reports touches sequentially, one per
    report, which confuses the current driver. A further complication is
    the absense of any indication of a touch frame. This patch converts
    the driver to the MT slots protocol, and outputs one full touch frame
    per report. This way, proper handling for both firmwares is ensured.

    Tested-by: Philipp Merkel
    Cc: Stephane Chatty
    Signed-off-by: Jiri Kosina
    Signed-off-by: Henrik Rydberg

    Henrik Rydberg
     
  • Use estimated signal-to-noise ratios to reduce noise and limit the
    amount of events emitted.

    Signed-off-by: Jiri Kosina
    Cc: Stephane Chatty
    Signed-off-by: Henrik Rydberg

    Henrik Rydberg
     
  • The firmware reports a logical minimum of one, but in order for
    userspace applications to correctly map all reported values to
    non-zero pressure, the driver needs to report a logical minimum of
    zero. Fixed with this patch.

    Tested-by: Philipp Merkel
    Cc: Stephane Chatty
    Signed-off-by: Jiri Kosina
    Signed-off-by: Henrik Rydberg

    Henrik Rydberg
     
  • The firmware of both supported devices report a X/Y maximum of 4095,
    whereas in reality, it is eight times larger. Fixed with this patch.

    Signed-off-by: Jiri Kosina
    Cc: Stephane Chatty
    Signed-off-by: Henrik Rydberg

    Henrik Rydberg
     
  • The hid core does not yet handle input filtering. Take over the setup
    of the input device, so that proper signal-to-noise ratios can be
    used.

    Signed-off-by: Jiri Kosina
    Cc: Stephane Chatty
    Signed-off-by: Henrik Rydberg

    Henrik Rydberg
     
  • The drivers using the type B protocol all report tracking information
    the same way. The contact id is semantically equivalent to
    ABS_MT_SLOT, and the handling of ABS_MT_TRACKING_ID only complicates
    the driver. The situation can be improved upon by providing a common
    pointer emulation code, thereby removing the need for the tracking id
    in the driver. This patch moves all tracking event handling over to
    the input core, simplifying both the existing drivers and the ones
    currently in preparation.

    Acked-by: Ping Cheng
    Acked-by: Jiri Kosina
    Signed-off-by: Henrik Rydberg

    Henrik Rydberg
     
  • The MT slots devices all follow the same initialization pattern
    of creating slots and hinting about buffer size. Let drivers call
    an initialization function instead, and make sure it can be called
    repeatedly without side effects.

    Signed-off-by: Henrik Rydberg

    Henrik Rydberg
     
  • In preparation for common code to handle a larger set of MT slots
    devices, move the slots handling over to a separate file.

    Signed-off-by: Henrik Rydberg

    Henrik Rydberg
     

14 Dec, 2010

3 commits

  • Instead of using magic values, use their corresponding BTN_* defines
    from linux/input.h.

    Signed-off-by: Florian Fainelli
    Signed-off-by: Jiri Kosina

    Florian Fainelli
     
  • The device has 2 modes. The first one is an emulation of a touchscreen
    by sending left and right button, and the second mode is the one used in
    dual-touch (sending trackingID, touch and else).

    In case of a suspend/resume, the device switch back to the first mode
    described above (with left and right buttons).
    This adds a hook in .reset_resume for the device to be switched to
    the correct mode (I just copied the code in mosart_probe).

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

    Benjamin Tissoires
     
  • This commit allows the device to be recognized as a touchscreen, and not a
    touchpad by xf86-input-evdev.

    The device has 2 modes. The first one is an emulation of a touchscreen by
    sending left and right button, and the second mode is the one used in
    dual-touch (sending trackingID, touch and else).

    That's why there is a hid report containing left and right buttons
    (9000001 and 9000002). The point is that xorg relies on these fields to
    determine if it's a touchpad or a touchscreen.
    Clearing the report (return -1) makes xorg detecting it out of the box
    as a quite pleasant (dual)touchscreen.

    Signed-off-by: Benjamin Tissoires
    Acked-by: Chase Douglas
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     

12 Dec, 2010

1 commit


10 Dec, 2010

2 commits