Age | Commit message (Collapse) | Author |
|
ok kettenis@
|
|
ok claudio@
|
|
as they have an X usage.
Should get basic touchscreen functionality on some common
HID-over-i2c devices like laptops.
|
|
Based on imt(4)
Rename HIDMT_INPUT_MODE_MT to HIDMT_INPUT_MODE_MT_TOUCHPAD
ok deraadt
|
|
into hidmt.
The HID code uses hid_feature, hid_input, and hid_output constants
to refer to report types internally that then need to be converted
to their bus-level counterparts before actually getting sent out (so
hid_feature becomes UHID_FEATURE_REPORT for USB,
I2C_HID_REPORT_TYPE_FEATURE for i2c).
This conversion was hard-coded in ihidev but ihidev_[gs]et_report
should assume the type passed is already an i2c-level define, not a
hid one. This is how uhidev does it.
Add a conversion routine callback that any hidmt callers need to set
so that hidmt can convert hid constants to the bus-level versions.
Also add a similar conversion function to uhidev.
ok deraadt
|
|
claiming to be elantech devices
|
|
the sensors code and user-controllable GPIO bus attachment but at the
same time hooks pcagpio(4) into the OFW GPIO framework so that it can
be used by other device tree based drivers.
Discussed with deraadt@
ok kettenis@
|
|
found by witness, reported and tested by bentley
|
|
|
|
to cause issues on Dell XPS 15 9560. Will investigate and recommit later
if a better fix can be found.
|
|
to those of 3 bytes or more (as per the hid-over-i2c spec).
discussed with jcs, kettenis
|
|
ok deraadt@, mlarkin@
|
|
such as on PCI dwiic(4) devices.
this is a temporary workaround until the underlying interrupt
problem is fixed.
tested by various
|
|
|
|
ok deraadt@
|
|
|
|
Errors will result in nice clean panic messages so we know what's wrong.
Reviewed by dhill visa natano jsg.
|
|
ok jca@, jcs@
|
|
ok jcs@
|
|
|
|
the chromebook pixel
|
|
The chip has been found on a Sun Fire V210 as a second RTC hooked up
to the SMU. Setting the time there has the advantage that it remains
after a boot since the internal V210 RTC will be synced by the DS1307
at boot time.
Not linked to sparc64 yet since it will overwrite the internal RTC
handler.
ok deraadt
|
|
in the FDT.
|
|
|
|
|
|
|
|
From Marcus Glocker, who has an Apple G5 machine where an advertised sensor
isn't there, and plodding on creates annoying dmesg spam.
|
|
|
|
that allows the i2c controller implementation to establish interrupts on
behalf of i2c slave device drivers. Use this mechanism in dwiic(4) to let
it configure the right acpi interrupt (global or gpio). Change the level to
IPL_TTY as this is the appropriate level to use for keyboards and other
input devices.
ok jsg@
|
|
Required for the keyboard and touchpad on the ideapad 100s.
ok kettenis@
|
|
|
|
into hid_desc_buf
tested by jsg
|
|
to the "Windows Precision Touchpad" standard. when a compatible
device is found, hidmt claims all report ids and switches the device
into multitouch packet mode.
add imt, an i2c-HID driver that sits between ihidev and hidmt
|
|
establish interrupt before probing for devices to handle each report id
sign an int, found by jsg
|
|
* Properly map bus space; using BUS_SPACE_MAP_PREFATCHABLE is not agood idea
as it may lead to reordering or merging of register writes in the store
buffer.
* Properly implement the iic(4) operations in dwiic_i2c_exec().
* Keep timings set up by the firmware if the SSCN and FMCN methods aren't
available.
ok jcs@
|
|
interrupt handler.
ok jcs@
|
|
into account the 2 bytes needed to store the length. Also make sure
that we have at least wMaxInputLength bytes available for reading input
reports.
ok jcs@
|
|
|
|
noticed by jsg
|
|
register space of the i2c device) with the i2c address. For i2c busses
enumerated by ACPI we get the address from the I2C Serial Bus Connection
Resource Descriptor returned by the _CRS methide of the i2c device. Pass the
HID descriptor address in the ia_size member.
ok jcs@
|
|
isavar.h (a few parts of the tree include both)
ok jcs
|
|
on the Samsung ATIV Book 9 laptop. This initial version only
supports ACPI config/attachment.
Add ihidev, a HID-over-i2c driver largely based on uhidev. dwiic
handles attaching ihidev devices found in ACPI.
Add ims, a HID-over-i2c mouse/trackpad driver to get basic cursor
and button functionality from HID-compliant i2c trackpads.
ok kettenis deraadt
|
|
Prevents concurrent access to the smu(4) microcontroller on Apple G5
machines, which would result in errors reading the RTC.
ok deraadt@, mpi@
|
|
|
|
mfi(4). Based on FreeBSD, but done without mfiutil(8).
OK deraadt@
|
|
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
|
|
|
|
|
ok deraadt@
|
|
device id/revision id value. Makes it possible for se98 and stts424
sensors to match.
ok deraadt@
|