- Mar 31, 2021
-
-
Mark O'Donovan authored
Change multiple sys/xyz to /sys/xyz Signed-off-by:
Mark O'Donovan <shiftee@posteo.net> Link: https://lore.kernel.org/r/20210328152837.73347-1-shiftee@posteo.net Signed-off-by:
Jonathan Corbet <corbet@lwn.net>
-
- Jan 04, 2021
-
-
Randy Dunlap authored
Do basic editing & correction to hid-alps.rst: - correct a file name (.txt -> .rst) - use less hyphenation when not needed - fix grammar & punctuation - fix article adjectives - fix typos/spellos - use HID instead of hid consistently Signed-off-by:
Randy Dunlap <rdunlap@infradead.org> Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: linux-input@vger.kernel.org Cc: David Herrmann <dh.herrmann@gmail.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: Jonathan Cameron <jic23@kernel.org> Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Randy Dunlap authored
Do basic editing & correction to hid-transport.rst: - s/responsible of/responsible for/ - fix grammar & punctuation Signed-off-by:
Randy Dunlap <rdunlap@infradead.org> Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: linux-input@vger.kernel.org Cc: David Herrmann <dh.herrmann@gmail.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: Jonathan Cameron <jic23@kernel.org> Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Randy Dunlap authored
Do basic editing & correction to hid-sensor.rst: - use HID consistently instead of hid - drop a duplicate word - change article adjective an -> a - fix grammar & punctuation - spell out RW -> read-write - hyphenate multi-word adjectives Signed-off-by:
Randy Dunlap <rdunlap@infradead.org> Cc: Jiri Kosina <jikos@kernel.org> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Cc: linux-input@vger.kernel.org Cc: linux-iio@vger.kernel.org Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Randy Dunlap authored
Do basic editing & correction to hidraw.rst: - use "hidraw" consistently except at the beginning of a sentence - add archive.org URL for signal11.us since the latter seems to be MIA - use a list for 2 URLs so that they don't run together Signed-off-by:
Randy Dunlap <rdunlap@infradead.org> Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: linux-input@vger.kernel.org Cc: Alan Ott <alan@signal11.us> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: Jonathan Cameron <jic23@kernel.org> Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Randy Dunlap authored
Do basic editing & correction to intel-ish-hid.rst: - fix grammar, verb tense, punctutation, and word phrasing - fix spellos - hyphenate multi-word adjectives - collapse 2 spaces to one space in the middle of sentences - use "I2C" instead of lower-case letters (as Linux I2C does) - change space indentation to tab - use HID instead of hid consistently - use a list so that some line items do not run together - use "a UUID" instead of "an UUID" Signed-off-by:
Randy Dunlap <rdunlap@infradead.org> Cc: Jiri Kosina <jikos@kernel.org> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Cc: linux-input@vger.kernel.org Cc: linux-iio@vger.kernel.org Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Randy Dunlap authored
Do basic editing & correction to hiddev.rst: - use HID instead of hid consistently - add hyphenation of multi-word adjectives - drop a duplicate word - unhyphenate "a priori" Signed-off-by:
Randy Dunlap <rdunlap@infradead.org> Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: linux-input@vger.kernel.org Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: Jonathan Cameron <jic23@kernel.org> Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Randy Dunlap authored
Do basic editing & correction to amd-sfh-hid.rst: - fix punctuation - use HID instead of hid consistently - fix grammar, verb tense - fix Block Diagram heading Signed-off-by:
Randy Dunlap <rdunlap@infradead.org> Cc: Jiri Kosina <jikos@kernel.org> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Cc: linux-input@vger.kernel.org Cc: linux-iio@vger.kernel.org Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Randy Dunlap authored
Do basic editing & correction to hid-alps.rst: - fix grammar - fix punctuation spacing Signed-off-by:
Randy Dunlap <rdunlap@infradead.org> Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: linux-input@vger.kernel.org Cc: Jonathan Corbet <corbet@lwn.net> Cc: Jonathan Cameron <jic23@kernel.org> Cc: linux-doc@vger.kernel.org Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Nov 27, 2020
-
-
Dean Camera authored
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 band This 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 <dean@fourwalledcubicle.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Nov 03, 2020
-
-
Jiri Kosina authored
Add Documentation/hid/amd-sfh-hid.rst file which was by mistake dropped by me when applying the series. Fixes: 302f0dad ("SFH: Add maintainers and documentation for AMD SFH based on HID framework") Reported-by:
Lukas Bulwahn <lukas.bulwahn@gmail.com> Originally-by:
Sandeep Singh <Sandeep.Singh@amd.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Oct 22, 2020
-
-
Sandeep Singh authored
Add Maintainers for AMD SFH(SENSOR FUSION HUB) Solution and work flow document. Co-developed-by:
Nehal Shah <Nehal-bakulchandra.Shah@amd.com> Signed-off-by:
Nehal Shah <Nehal-bakulchandra.Shah@amd.com> Signed-off-by:
Sandeep Singh <sandeep.singh@amd.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Jul 13, 2020
-
-
Alexander A. Klimov authored
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 <grandmaster@al2klimov.de> Link: https://lore.kernel.org/r/20200708123613.14368-1-grandmaster@al2klimov.de Signed-off-by:
Jonathan Corbet <corbet@lwn.net>
-
Randy Dunlap authored
Drop the doubled word "the". Signed-off-by:
Randy Dunlap <rdunlap@infradead.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Cc: Jiri Kosina <jikos@kernel.org> Cc: linux-input@vger.kernel.org Link: https://lore.kernel.org/r/20200707180414.10467-9-rdunlap@infradead.org Signed-off-by:
Jonathan Corbet <corbet@lwn.net>
-
- Jul 15, 2019
-
-
Mauro Carvalho Chehab authored
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 <mchehab+samsung@kernel.org>
-
- Jul 02, 2019
-
-
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 <mchehab+samsung@kernel.org> Acked-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
- Jun 20, 2019
-
-
Stephen Kitt authored
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 <steve@sk2.org> Acked-by:
Kees Cook <keescook@chromium.org> Acked-by:
Federico Vaga <federico.vaga@vaga.pv.it> Signed-off-by:
Jonathan Corbet <corbet@lwn.net>
-
- Dec 18, 2018
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Oct 12, 2017
-
-
Tom Saeger authored
Make `input` document refs valid including: - joystick - joystick-parport Signed-off-by:
Tom Saeger <tom.saeger@oracle.com> Reviewed-by:
Takashi Iwai <tiwai@suse.de> Signed-off-by:
Jonathan Corbet <corbet@lwn.net>
-
- Mar 13, 2017
-
-
Martin Kepplinger authored
The UAPI header split failed to update the documentation here; fix things accordingly. Signed-off-by:
Martin Kepplinger <martink@posteo.de> Signed-off-by:
Jonathan Corbet <corbet@lwn.net>
-
- Aug 17, 2016
-
-
Srinivas Pandruvada authored
Document explaining ISH HID operation and implementation. Signed-off-by:
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Jun 17, 2016
-
-
Masaki Ota authored
Add support Alps I2C HID Touchpad and Stick device. Signed-off-by:
Masaki Ota <masaki.ota@jp.alps.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Apr 10, 2015
-
-
Srinivas Pandruvada authored
Added custom sensor documentation Signed-off-by:
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Acked-by:
Jonathan Cameron <jic23@kernel.org> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Aug 25, 2014
-
-
David Rheinsberg authored
Remove legacy bits, refer people to hid-transport.txt and add descriptions for all new features. Signed-off-by:
David Herrmann <dh.herrmann@gmail.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- May 05, 2014
-
-
Carlos Garcia authored
Fixed multiple spelling errors. Acked-by:
Randy Dunlap <rdunlap@infradead.org> Signed-off-by:
Carlos E. Garcia <carlos@cgarcia.org> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Apr 01, 2014
-
-
Petri Gynther authored
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 <jkosina@suse.cz>: adjust to hid_get_raw_report() and hid_output_raw_report() API changes] Signed-off-by:
Petri Gynther <pgynther@google.com> Reviewed-by:
David Herrmann <dh.herrmann@gmail.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Feb 24, 2014
-
-
Benjamin Tissoires authored
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 <benjamin.tissoires@redhat.com> Reviewed-by:
David Herrmann <dh.herrmann@gmail.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Feb 17, 2014
-
-
Benjamin Tissoires authored
Add David Herrmann's documentation for the new low-level HID transport driver functions. Signed-off-by:
Frank Praznik <frank.praznik@oh.rr.com> Signed-off-by:
David Herrmann <dh.herrmann@gmail.com> Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Jul 31, 2013
-
-
David Rheinsberg authored
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 <dh.herrmann@gmail.com> Acked-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Dec 14, 2012
-
-
Jiri Kosina authored
Reported-by:
Xose Vazquez Perez <xose.vazquez@gmail.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Nov 19, 2012
-
-
Masanari Iida authored
Correct spelling typo in Documentations Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Sep 06, 2012
-
-
srinivas pandruvada authored
Added a summary of HID sensor framework. Signed-off-by:
srinivas pandruvada <srinivas.pandruvada@intel.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- Jun 18, 2012
-
-
David Rheinsberg authored
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 <dh.herrmann@googlemail.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Mar 22, 2011
-
-
Alan Ott authored
With the new Documentation/hid directory, it makes sense to have hiddev.txt here as well. Signed-off-by:
Alan Ott <alan@signal11.us> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Alan Ott authored
Documenation for the hidraw driver, with sample program. Signed-off-by:
Alan Ott <alan@signal11.us> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-