16 Dec, 2020
1 commit
-
- increase of maximum HID report size to 16KB in order to support
some of the modern devices, from Dean Camera- control interface support for hidraw, from Dean Camera
- stylus battery reporting improvement, from Dmitry Torokhov
27 Nov, 2020
1 commit
-
Currently the hidraw module can only read and write feature HID reports on
demand, via dedicated ioctls. Input reports are read from the device through
the read() interface, while output reports are written through the write
interface().This is insufficient; it is desirable in many situations to be able to read and
write input and output reports through the control interface to cover
additional scenarios:- Reading an input report by its report ID, to get initial state
- Writing an input report, to set initial input state in the device
- Reading an output report by its report ID, to obtain current state
- Writing an output report by its report ID, out of bandThis patch adds these missing ioctl requests to read and write the remaining
HID report types. Note that not all HID backends will neccesarily support this
(e.g. while the USB link layer supports setting Input reports, others may not).Also included are documentation and example updates. The current hidraw
documentation states that feature reports read from the device does *not*
include the report ID, however this is not the case and the returned report
will have its report ID prepended by conforming HID devices, as the report data
sent from the device over the control endpoint must be indentical in format to
those sent over the regular transport.Signed-off-by: Dean Camera
Signed-off-by: Jiri Kosina
03 Nov, 2020
1 commit
-
Add Documentation/hid/amd-sfh-hid.rst file which was by mistake dropped by
me when applying the series.Fixes: 302f0dad8c97a11ab ("SFH: Add maintainers and documentation for AMD SFH based on HID framework")
Reported-by: Lukas Bulwahn
Originally-by: Sandeep Singh
Signed-off-by: Jiri Kosina
22 Oct, 2020
1 commit
-
Add Maintainers for AMD SFH(SENSOR FUSION HUB) Solution and work flow
document.Co-developed-by: Nehal Shah
Signed-off-by: Nehal Shah
Signed-off-by: Sandeep Singh
Signed-off-by: Jiri Kosina
14 Jul, 2020
1 commit
-
Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.Deterministic algorithm:
For each file:
If not .svg:
For each line:
If doesn't contain `\bxmlns\b`:
For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
If both the HTTP and HTTPS versions
return 200 OK and serve the same content:
Replace HTTP with HTTPS.Signed-off-by: Alexander A. Klimov
Link: https://lore.kernel.org/r/20200708123613.14368-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet
13 Jul, 2020
1 commit
-
Drop the doubled word "the".
Signed-off-by: Randy Dunlap
Cc: Jonathan Corbet
Cc: linux-doc@vger.kernel.org
Cc: Srinivas Pandruvada
Cc: Jiri Kosina
Cc: linux-input@vger.kernel.org
Link: https://lore.kernel.org/r/20200707180414.10467-9-rdunlap@infradead.org
Signed-off-by: Jonathan Corbet
15 Jul, 2019
1 commit
-
Those are subsystem docs, with a mix of kABI and user-faced
docs. While they're not split, keep the dirs where they are,
adding just a pointer to the main index.Signed-off-by: Mauro Carvalho Chehab
12 Jul, 2019
1 commit
-
Pull HID updates from Jiri Kosina:
- Documentation conversion to ReST, from Mauro Carvalho Chehab
- Wacom MobileStudio Pro support, from Ping Cheng
- Wacom 2nd Gen Intuos Pro Small support, from Aaron Armstrong Skomra
- assorted small fixes and device ID additions
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid:
HID: Add another Primax PIXART OEM mouse quirk
HID: wacom: generic: add touchring adjustment for 2nd Gen Pro Small
docs: hid: convert to ReST
HID: remove NO_D3 flag when remove driver
HID: wacom: add new MobileStudio Pro support
HID: wacom: generic: read the number of expected touches on a per collection basis
HID: wacom: generic: support the 'report valid' usage for touch
HID: wacom: generic: read HID_DG_CONTACTMAX from any feature report
HID: wacom: Add 2nd gen Intuos Pro Small support
HID: uclogic: Add support for Ugee Rainbow CV720
HID: logitech-dj: fix return value of logi_dj_recv_query_hidpp_devices
HID: logitech-hidpp: HID: make const array consumer_rdesc_start static
HID: logitech-dj: make const array template static
HID: wacom: correct touch resolution x/y typo
HID: wacom: generic: Correct pad syncing
HID: wacom: generic: only switch the mode on devices with LEDs
HID: logitech-dj: Add usb-id for the 27MHz MX3000 receiver
02 Jul, 2019
1 commit
-
Rename the HID documentation files to ReST, add an
index for them and adjust in order to produce a nice html
output via the Sphinx build system.While here, fix the sysfs example from hid-sensor.txt, that
has a lot of "?" instead of the proper UTF-8 characters that
are produced by the tree command.At its new index.rst, let's add a :orphan: while this is not linked to
the main index.rst file, in order to avoid build warnings.Signed-off-by: Mauro Carvalho Chehab
Acked-by: Benjamin Tissoires
Signed-off-by: Benjamin Tissoires
21 Jun, 2019
1 commit
-
Since strlcpy is deprecated, the documentation shouldn't suggest using
it. This patch fixes the examples to use strscpy instead. It also uses
sizeof instead of underlying constants as far as possible, to simplify
future changes to the corresponding data structures.Signed-off-by: Stephen Kitt
Acked-by: Kees Cook
Acked-by: Federico Vaga
Signed-off-by: Jonathan Corbet
18 Dec, 2018
1 commit
-
Signed-off-by: Peter Hutterer
Signed-off-by: Jiri Kosina
13 Oct, 2017
1 commit
-
Make `input` document refs valid including:
- joystick
- joystick-parportSigned-off-by: Tom Saeger
Reviewed-by: Takashi Iwai
Signed-off-by: Jonathan Corbet
14 Mar, 2017
1 commit
-
The UAPI header split failed to update the documentation here; fix things
accordingly.Signed-off-by: Martin Kepplinger
Signed-off-by: Jonathan Corbet
17 Aug, 2016
1 commit
-
Document explaining ISH HID operation and implementation.
Signed-off-by: Srinivas Pandruvada
Signed-off-by: Jiri Kosina
18 Jun, 2016
1 commit
-
Add support Alps I2C HID Touchpad and Stick device.
Signed-off-by: Masaki Ota
Signed-off-by: Jiri Kosina
11 Apr, 2015
1 commit
-
Added custom sensor documentation
Signed-off-by: Srinivas Pandruvada
Acked-by: Jonathan Cameron
Signed-off-by: Jiri Kosina
25 Aug, 2014
1 commit
-
Remove legacy bits, refer people to hid-transport.txt and add descriptions
for all new features.Signed-off-by: David Herrmann
Signed-off-by: Jiri Kosina
04 Jun, 2014
1 commit
-
Pull trivial tree changes from Jiri Kosina:
"Usual pile of patches from trivial tree that make the world go round"* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
staging: go7007: remove reference to CONFIG_KMOD
aic7xxx: Remove obsolete preprocessor define
of: dma: doc fixes
doc: fix incorrect formula to calculate CommitLimit value
doc: Note need of bc in the kernel build from 3.10 onwards
mm: Fix printk typo in dmapool.c
modpost: Fix comment typo "Modules.symvers"
Kconfig.debug: Grammar s/addition/additional/
wimax: Spelling s/than/that/, wording s/destinatary/recipient/
aic7xxx: Spelling s/termnation/termination/
arm64: mm: Remove superfluous "the" in comment
of: Spelling s/anonymouns/anonymous/
dma: imx-sdma: Spelling s/determnine/determine/
ath10k: Improve grammar in comments
ath6kl: Spelling s/determnine/determine/
of: Improve grammar for of_alias_get_id() documentation
drm/exynos: Spelling s/contro/control/
radio-bcm2048.c: fix wrong overflow check
doc: printk-formats: do not mention casts for u64/s64
doc: spelling error changes
...
05 May, 2014
1 commit
-
Fixed multiple spelling errors.
Acked-by: Randy Dunlap
Signed-off-by: Carlos E. Garcia
Signed-off-by: Jiri Kosina
02 Apr, 2014
1 commit
-
UHID_CREATE2:
HID report descriptor data (rd_data) is an array in struct uhid_create2_req,
instead of a pointer. Enables use from languages that don't support pointers,
e.g. Python.UHID_INPUT2:
Data array is the last field of struct uhid_input2_req. Enables userspace to
write only the required bytes to kernel (ev.type + ev.u.input2.size + the part
of the data array that matters), instead of the entire struct uhid_input2_req.Note:
UHID_CREATE2 increases the total size of struct uhid_event slightly, thus
increasing the size of messages that are queued for userspace. However, this
won't affect the userspace processing of these events.[Jiri Kosina : adjust to hid_get_raw_report() and
hid_output_raw_report() API changes]Signed-off-by: Petri Gynther
Reviewed-by: David Herrmann
Signed-off-by: Jiri Kosina
25 Feb, 2014
1 commit
-
SET_REPORT and GET_REPORT are mandatory in the HID specification.
Make the corresponding API in hid-core mandatory too, which removes the
need to test against it in some various places.Signed-off-by: Benjamin Tissoires
Reviewed-by: David Herrmann
Signed-off-by: Jiri Kosina
17 Feb, 2014
1 commit
-
Add David Herrmann's documentation for the new low-level HID transport driver
functions.Signed-off-by: Frank Praznik
Signed-off-by: David Herrmann
Signed-off-by: Benjamin Tissoires
Signed-off-by: Jiri Kosina
31 Jul, 2013
1 commit
-
HID core provides the same functionality and can convert the input event
to a raw output report. We can thus drop UHID_OUTPUT_EV and rely on the
mandatory UHID_OUTPUT.User-space wasn't able to do anything with UHID_OUTPUT_EV, anyway. They
don't have access to the report fields.Signed-off-by: David Herrmann
Acked-by: Benjamin Tissoires
Signed-off-by: Jiri Kosina
14 Dec, 2012
1 commit
-
Reported-by: Xose Vazquez Perez
Signed-off-by: Jiri Kosina
19 Nov, 2012
1 commit
-
Correct spelling typo in Documentations
Signed-off-by: Jiri Kosina
07 Sep, 2012
1 commit
-
Added a summary of HID sensor framework.
Signed-off-by: srinivas pandruvada
Signed-off-by: Jiri Kosina
Signed-off-by: Jonathan Cameron
18 Jun, 2012
1 commit
-
This describes the protocol used by uhid for user-space applications. It
describes the details like non-blocking I/O and readv/writev for multiple
events per syscall.Signed-off-by: David Herrmann
Signed-off-by: Jiri Kosina
22 Mar, 2011
2 commits
-
With the new Documentation/hid directory, it makes sense to have
hiddev.txt here as well.Signed-off-by: Alan Ott
Signed-off-by: Jiri Kosina -
Documenation for the hidraw driver, with sample program.
Signed-off-by: Alan Ott
Signed-off-by: Jiri Kosina