31 Oct, 2012
1 commit
-
This enables the existing drivers for keyboard and touchpad with the new
USB IDs found on the MBP 13" Reasonable Resolution (also known as the
Retina Display).Added entries to both keyboard and mouse ignore lists.
Signed-off-by: Dirk Hohndel
Signed-off-by: Jiri Kosina
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
...
01 Oct, 2012
4 commits
-
Conflicts:
drivers/hid/usbhid/hid-quirks.c -
… 'wacom' and 'wiimote' into for-linus
-
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 -
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
17 Sep, 2012
3 commits
-
Roccat devices are standard compatible, specific drivers are only needed
for extended functionality.
If Roccat drivers are not configured, hid-generic binds these devices now.Signed-off-by: Stefan Achatz
Signed-off-by: Jiri Kosina -
Return -ENOMEM instead of -1 if memory allocation fails.
Return -EINVAL instead of -1 for stack overflow and
underflow errors.Signed-off-by: Sachin Kamat
Signed-off-by: Jiri Kosina -
This pulls in the staging tree fixes in 3.6-rc6 into our branch to resolve the
merge issues.Signed-off-by: Greg Kroah-Hartman
07 Sep, 2012
2 commits
-
c1dcad2d32d0252e8a3023d20311b52a187ecda3 added a new driver configured by
HID_LENOVO_TPKBD but made the hid_have_special_driver entry non-optional which
lead to a recognized but non-working device if the new driver wasn't
configured (which is the correct default).Signed-off-by: Andres Freund
Signed-off-by: Jiri Kosina -
Adding Intel and STM sensor hub in the list of drivers with
specialized driver.Signed-off-by: srinivas pandruvada
Signed-off-by: Jiri Kosina
Signed-off-by: Jonathan Cameron
02 Sep, 2012
2 commits
-
Update the comment of hid_have_special_driver[] field to reflect the fact
that multitouch devices don't need to be present there.Signed-off-by: Jiri Kosina
-
Going through the motions of printing the debug message information
takes a long time; using the keyboard can lead to a 160 us irqsoff
latency. This patch skips hid_dump_input() when there are no open
handles, which brings latency down to 100 us.Signed-off-by: Henrik Rydberg
Signed-off-by: Jiri Kosina
27 Aug, 2012
2 commits
-
Add support for UC-Logic Tablet TWHA60.
It is known to be sold as Genius EasyPen M610 and Monoprice MP1060-HA60.As this tablet has several variations with different number and different
assignments of frame buttons, they are simply mapped to F1-F24 range and are
left for users to remap in userspace.Signed-off-by: Jiri Kosina
-
Sync with Linus' tree so that we don't have build falures
due to Quanta 3001 ID reshuffling.
24 Aug, 2012
1 commit
-
Pull HID fix from Jiri Kosina:
"Fix for one particular device not being properly claimed by
hid-multitouch driver"* 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
HID: Remove QUANTA from special drivers list
22 Aug, 2012
1 commit
-
This QUANTA device is driven by the generic hid-multitouch.ko driver, and
therefore shouldn't be in the special drivers list.This has been an oversight in 4fa3a58 ("HID: hid-multitouch: Switch to
device groups").Signed-off-by: Simon Farnsworth
Signed-off-by: Jiri Kosina
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=summarySigned-off-by: Marek Vasut
Cc: Chen Peter
Cc: Greg KH
Cc: Jiri Kosina
Signed-off-by: Jiri Kosina
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
31 Jul, 2012
1 commit
-
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
24 Jul, 2012
1 commit
-
…nd 'upstream' into for-linus
23 Jul, 2012
1 commit
-
Add Asus All-In-One PC keyboard model AK1D.
BugLink: https://bugs.launchpad.net/bugs/1027789
Signed-off-by: Cyrus Lien
Signed-off-by: Jiri Kosina
22 Jul, 2012
1 commit
-
Add yet another device to the list of Cypress barcode scanners
needing the CP_RDESC_SWAPPED_MIN_MAX quirk.Signed-off-by: Lionel Vaux (iouri)
Signed-off-by: Jiri Kosina
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 -
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
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
12 Jul, 2012
1 commit
-
Corrects two HID descriptor issues, which prevent some Holtek based
(USB ID 04d9:a055) keyboards from working. The error when not using
the driver is: generic-usb: probe ... failed with error -22 .Signed-off-by: Tom Harwood
Signed-off-by: Jiri Kosina
11 Jul, 2012
2 commits
-
The device should be handled by xpad driver instead of generic HID driver.
Signed-off-by: Yuri Khan
Acked-by: Jiri Kosina
Signed-off-by: Dmitry Torokhov -
Add support for the 15'' MacBook Pro Retina. The keyboard is
the same as recent models.The patch needs to be synchronized with the bcm5974 patch for
the trackpad - as usual.Patch originally written by clipcarl (forums.opensuse.org).
[rydberg@euromail.se: Amended mouse ignore lines]
Signed-off-by: Ryan Bourgeois
Signed-off-by: Henrik Rydberg
Acked-by: Jiri Kosina
Signed-off-by: Dmitry Torokhov
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
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()
...
12 Jun, 2012
1 commit
-
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
08 Jun, 2012
1 commit
-
This driver for the "Lenovo ThinkPad USB Keyboard with Trackpoint" supports
setting various device attributes, controlling mute and microphone mute
LEDs and enables use of the microphone mute key.Signed-off-by: Bernhard Seibold
Signed-off-by: Jiri Kosina
22 May, 2012
2 commits
-
Conflicts:
drivers/hid/hid-core.c -
Conflicts:
drivers/hid/hid-core.c
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
14 May, 2012
2 commits
-
Put a comment that clarifies the condition that handles both signed
and unsigned case for logical min/max in hid_add_field().Signed-off-by: Jiri Kosina
-
When logical maximum is 0xffffffff, the parser fails even if
logical minimum is more than 0.By HID specification this is a valid combination.
Signed-off-by: srinivas pandruvada
Signed-off-by: Jiri Kosina
06 May, 2012
1 commit
-
I am merging multitouch branch into device-groups so that support
for Baanto device can be adjusted accordingly to the new autoloading
patches.Signed-off-by: Jiri Kosina
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