Bug 1622695

Summary: kernel spamming log with i2c_hid errors
Product: [Fedora] Fedora Reporter: sean darcy <seandarcy2>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 28CC: airlied, bskeggs, drsrsprt, ewk, george.abraham.ro, hdegoede, ichavero, itamar, jarodwilson, jglisse, john.j5live, jonathan, josef, kernel-maint, linville, mchehab, mjg59, seandarcy2, s.safarov, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-26 21:00:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Command output - udevadm info -e none

Description sean darcy 2018-08-27 18:28:50 UTC
Description of problem:
kernel spamming log with:
i2c_hid_get_input: incomplete report (14/65535)

Version-Release number of selected component (if applicable):
kernel-4.17.18-200.fc28.x86_64

How reproducible:
journalctl -f
use touchpad

Steps to Reproduce:
1.
2.
3.

Actual results:
.........
Aug 27 14:21:20 acer_a515.riverside kernel: i2c_hid i2c-ELAN0501:01: i2c_hid_get_input: incomplete report (14/65535)
Aug 27 14:21:20 acer_a515.riverside kernel: i2c_hid i2c-ELAN0501:01: i2c_hid_get_input: incomplete report (14/65535)
Aug 27 14:21:20 acer_a515.riverside kernel: i2c_hid i2c-ELAN0501:01: i2c_hid_get_input: incomplete report (14/65535)
Aug 27 14:21:20 acer_a515.riverside kernel: i2c_hid i2c-ELAN0501:01: i2c_hid_get_input: incomplete report (14/65535)
.............

Expected results:


Additional info:
This is a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1391733. I've entered it again since this seems to be a kernel issue, not i2c_tools. 

See : https://bbs.archlinux.org/viewtopic.php?id=238656

Comment 1 Laura Abbott 2018-10-01 21:25:53 UTC
We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 28 kernel bugs.
 
Fedora 28 has now been rebased to 4.18.10-300.fc28.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.
 
If you have moved on to Fedora 29, and are still experiencing this issue, please change the version to Fedora 29.
 
If you experience different issues, please open a new bug report for those.

Comment 2 Laura Abbott 2018-11-26 21:00:16 UTC
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 2 weeks. If you are still experiencing this issue, please reopen and let us know if the bug is still present on the latest kernel.

(Please note: sometimes bugs get mistakenly closed during our mass closing. If you think your bug was closed in error please reopen)

Comment 3 George Abraham 2018-12-01 18:10:34 UTC
issue still present:
Linux fedora 4.18.18-300.fc29.x86_64 #1 SMP Mon Nov 12 03:12:14 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

[george@fedora SOURCES]$ journalctl -f
-- Logs begin at Sat 2018-12-01 16:07:11 GMT. --
Dec 01 18:06:46 fedora kernel: i2c_hid i2c-ELAN1010:00: i2c_hid_get_input: incomplete report (14/65535)
Dec 01 18:06:46 fedora kernel: i2c_hid i2c-ELAN1010:00: i2c_hid_get_input: incomplete report (14/65535)
Dec 01 18:06:46 fedora kernel: i2c_hid i2c-ELAN1010:00: i2c_hid_get_input: incomplete report (14/65535)
Dec 01 18:06:46 fedora kernel: i2c_hid i2c-ELAN1010:00: i2c_hid_get_input: incomplete report (14/65535)
Dec 01 18:06:46 fedora kernel: i2c_hid i2c-ELAN1010:00: i2c_hid_get_input: incomplete report (14/65535)
Dec 01 18:06:46 fedora kernel: i2c_hid i2c-ELAN1010:00: i2c_hid_get_input: incomplete report (14/65535)
Dec 01 18:06:46 fedora kernel: i2c_hid i2c-ELAN1010:00: i2c_hid_get_input: incomplete report (14/65535)

a possible patch for this below:
https://patchwork.kernel.org/patch/10374383/

If more information is needed, let me know.

Comment 4 George Abraham 2018-12-01 18:20:13 UTC
Created attachment 1510468 [details]
Command output - udevadm info -e

added output of udevadm info -e

--snip--
P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:70/ELAN1010:00
E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:70/ELAN1010:00
E: ID_VENDOR_FROM_DATABASE=ELAD srl
E: MODALIAS=acpi:ELAN1010:PNP0C50:
E: SUBSYSTEM=acpi
E: USEC_INITIALIZED=4210641
--snip--

using kernel module "i2c_hid"
System Information
	Manufacturer: Dell Inc.
	Product Name: Inspiron 7559
	Version: 1.2.7

Comment 5 Sergey Safarov 2018-12-31 09:19:06 UTC
This ticker is related to https://bugzilla.redhat.com/show_bug.cgi?id=1622695

I have successfully reset device by removing i2c_hid kernel module and loading again.

After loading i2c_hid module i can see this output in logs

-- Logs begin at Fri 2018-12-28 19:10:44 MSK. --
Dec 31 12:10:34 safarov-dell.home kernel: hid-multitouch 0018:04F3:2502.0008: input,hidraw1: I2C HID v1.00 Device [ELAN2097:00 04F3:2502] on i2c-ELAN2097:00
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) config/udev: Adding input device ELAN2097:00 04F3:2502 (/dev/input/mouse1)
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) No input driver specified, ignoring this device.
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) This device may have been added with another device file.
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) config/udev: Adding input device ELAN2097:00 04F3:2502 Pen (/dev/input/mouse2)
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) No input driver specified, ignoring this device.
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) This device may have been added with another device file.
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) config/udev: Adding input device ELAN2097:00 04F3:2502 (/dev/input/event14)
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) ELAN2097:00 04F3:2502: Applying InputClass "evdev touchscreen catchall"
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) ELAN2097:00 04F3:2502: Applying InputClass "libinput touchscreen catchall"
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) Using input driver 'libinput' for 'ELAN2097:00 04F3:2502'
Dec 31 12:10:34 safarov-dell.home kernel: i2c_hid i2c-ELAN2097:00: failed to change power setting.
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 32 paused 0
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) ELAN2097:00 04F3:2502: always reports core events
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) Option "Device" "/dev/input/event14"
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) Option "_source" "server/udev"
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) event14 - ELAN2097:00 04F3:2502: is tagged by udev as: Touchscreen
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) event14 - ELAN2097:00 04F3:2502: device is a touch device
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) event14 - ELAN2097:00 04F3:2502: device removed
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-8/i2c-ELAN2097:00/0018:04F3:2502.0008/input/input40/event14"
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) XINPUT: Adding extended input device "ELAN2097:00 04F3:2502" (type: TOUCHSCREEN, id 13)
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) Option "AccelerationScheme" "none"
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) ELAN2097:00 04F3:2502: (accel) selected scheme none/0
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) ELAN2097:00 04F3:2502: (accel) acceleration factor: 2.000
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) ELAN2097:00 04F3:2502: (accel) acceleration threshold: 4
Dec 31 12:10:34 safarov-dell.home upowerd[1381]: treating change event as add on /sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-8/i2c-ELAN2097:00/0018:04F3:2502.0008/power_supply/hid-0018:04F3:2502.0008-battery
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) event14 - ELAN2097:00 04F3:2502: is tagged by udev as: Touchscreen
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) event14 - ELAN2097:00 04F3:2502: device is a touch device
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) config/udev: Adding input device ELAN2097:00 04F3:2502 Pen (/dev/input/event15)
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) ELAN2097:00 04F3:2502 Pen: Applying InputClass "evdev tablet catchall"
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) ELAN2097:00 04F3:2502 Pen: Applying InputClass "libinput tablet catchall"
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) Using input driver 'libinput' for 'ELAN2097:00 04F3:2502 Pen'
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) systemd-logind: got fd for /dev/input/event15 13:79 fd 70 paused 0
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) ELAN2097:00 04F3:2502 Pen: always reports core events
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) Option "Device" "/dev/input/event15"
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) Option "_source" "server/udev"
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) event15 - ELAN2097:00 04F3:2502 Pen: is tagged by udev as: Tablet
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) event15 - ELAN2097:00 04F3:2502 Pen: tablet 'ELAN2097:00 04F3:2502 Pen' unknown to libwacom
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) event15 - ELAN2097:00 04F3:2502 Pen: device is a tablet
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) event15 - ELAN2097:00 04F3:2502 Pen: device removed
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-8/i2c-ELAN2097:00/0018:04F3:2502.0008/input/input43/event15"
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) XINPUT: Adding extended input device "ELAN2097:00 04F3:2502 Pen" (type: TABLET, id 14)
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) event15 - ELAN2097:00 04F3:2502 Pen: is tagged by udev as: Tablet
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) event15 - ELAN2097:00 04F3:2502 Pen: tablet 'ELAN2097:00 04F3:2502 Pen' unknown to libwacom
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: (II) event15 - ELAN2097:00 04F3:2502 Pen: device is a tablet
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: > Warning:          Unsupported high keycode 372 for name <I372> ignored
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: >                   X11 cannot support keycodes above 255.
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: >                   This warning only shows for the first high keycode.
Dec 31 12:10:34 safarov-dell.home /usr/libexec/gdm-x-session[2232]: Errors from xkbcomp are not fatal to the X server

Comment 6 Sergey Safarov 2018-12-31 09:23:21 UTC
Correct link https://bugzilla.redhat.com/show_bug.cgi?id=1616414