Bug 1564894
Summary: | Over time, /sys/class/input gets filled with dangling references to USB camera, eventually breaking Trackpoint | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Goode <adam> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 28 | CC: | airlied, bskeggs, colotunbabay2010, cott, eugen.dedu, ewk, hdegoede, ichavero, itamar, jarodwilson, jcline, jglisse, john.j5live, jonathan, josef, kernel-maint, linville, mchehab, mjg59, rocketraman, steved |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-02-21 21:11:52 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: |
Description
Adam Goode
2018-04-08 17:21:57 UTC
I do have tlp installed, possibly it is triggering an autosuspend bug. I still have this problem after removing tlp and rebooting with kernel 4.15.14-300.fc27.x86_64. # symlinks /sys/class/input dangling: /sys/class/input/event19 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input20/event19 dangling: /sys/class/input/input20 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input20 dangling: /sys/class/input/input10 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input10 dangling: /sys/class/input/event9 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input10/event9 After resuming the computer, the latest dmesg contains this: [ 2821.246788] usb 1-8: New USB device found, idVendor=5986, idProduct=0706 [ 2821.246790] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2821.246792] usb 1-8: Product: Integrated Camera [ 2821.246793] usb 1-8: Manufacturer: SunplusIT Inc [ 2821.250704] uvcvideo: Found UVC 1.00 device Integrated Camera (5986:0706) [ 2821.258124] uvcvideo 1-8:1.0: Entity type for entity Extension 4 was not initialized! [ 2821.258126] uvcvideo 1-8:1.0: Entity type for entity Extension 3 was not initialized! [ 2821.258127] uvcvideo 1-8:1.0: Entity type for entity Processing 2 was not initialized! [ 2821.258129] uvcvideo 1-8:1.0: Entity type for entity Camera 1 was not initialized! [ 2821.258206] input: Integrated Camera: Integrated C as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input20 [ 2821.368159] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready [ 2821.369507] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready [ 2821.556134] usb 1-8: USB disconnect, device number 8 [ 2821.621201] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready [ 2821.806006] usb 1-8: new high-speed USB device number 9 using xhci_hcd [ 2821.891380] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready [ 2821.944258] usb 1-8: New USB device found, idVendor=5986, idProduct=0706 [ 2821.944261] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2821.944263] usb 1-8: Product: Integrated Camera [ 2821.944264] usb 1-8: Manufacturer: SunplusIT Inc [ 2821.949367] uvcvideo: Found UVC 1.00 device Integrated Camera (5986:0706) [ 2821.956687] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready [ 2821.957793] uvcvideo 1-8:1.0: Entity type for entity Extension 4 was not initialized! [ 2821.957796] uvcvideo 1-8:1.0: Entity type for entity Extension 3 was not initialized! [ 2821.957797] uvcvideo 1-8:1.0: Entity type for entity Processing 2 was not initialized! [ 2821.957799] uvcvideo 1-8:1.0: Entity type for entity Camera 1 was not initialized! [ 2821.958099] input: Integrated Camera: Integrated C as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input21 It looks like the camera is being detected twice. Seeing this same problem in Fedora 28 with an external USB webcam. In my case, it appears to be related to switching inputs via a Dell monitor KVM with the web camera attached. I eventually end up with a pile of duplicate input devices and other devices stop working. There is an upstream patch in the works. https://patchwork.linuxtv.org/patch/49770/ *** Bug 1579567 has been marked as a duplicate of this bug. *** Hi Adam, thanks for the report and the research. I've added that patch to a scratch build in case you'd like to test it: https://koji.fedoraproject.org/koji/taskinfo?taskID=27304107. That way we can provide feedback on the patch and make sure it heads towards the stable tree when it's accepted. I have the same issue: evtest shows numerous lines like this: /dev/input/event29: Lenovo EasyCamera: Lenovo EasyC and the error in Xorg.log: ... (EE) Too many input devices. Ignoring ... As such, the external USB mouse does not register and I cannot use it. When I boot the laptop, the external mouse works. After a few suspend/resumes, it stops registering. Is there a workaround, such as unregistering manually a device? *********** MASS BUG UPDATE ************** We apologize for the inconvenience. There are 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.17.7-200.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 experience different issues, please open a new bug report for those. I see the patch has gone upstream into 4.18-rc1. I have not tested 4.17.7-200.fc28 yet. Just to inform you that 4.18.6 on my debian system fixes this bug for me. *********** MASS BUG UPDATE ************** We apologize for the inconvenience. There are 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.20.5-100.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. *********** MASS BUG UPDATE ************** This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 3 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously. I have bluetooth keyboard and mouse on work and home, i use one laptop and hibernate him when i go home. When i open lid, my keyboard and mouse automaticaly reconnect to laptop. I use fedora 31 workstation gnome@xorg journalctl .... nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (II) config/udev: Adding input device Keyboard K370/K375 Keyboard (/dev/input/event265) nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (**) Keyboard K370/K375 Keyboard: Applying InputClass "evdev keyboard catchall" nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (**) Keyboard K370/K375 Keyboard: Applying InputClass "libinput keyboard catchall" nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (**) Keyboard K370/K375 Keyboard: Applying InputClass "system-keyboard" nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (II) Using input driver 'libinput' for 'Keyboard K370/K375 Keyboard' nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (II) systemd-logind: got fd for /dev/input/event265 13:265 fd 96 paused 0 nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (**) Keyboard K370/K375 Keyboard: always reports core events nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (**) Option "Device" "/dev/input/event265" nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (**) Option "_source" "server/udev" nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (II) event265 - Keyboard K370/K375 Keyboard: is tagged by udev as: Keyboard nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (II) event265 - Keyboard K370/K375 Keyboard: device is a keyboard nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (II) event265 - Keyboard K370/K375 Keyboard: device removed nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (EE) Too many input devices. Ignoring Keyboard K370/K375 Keyboard nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (II) UnloadModule: "libinput" nov 14 10:32:28 alexgluck-hp-laptop /usr/libexec/gdm-x-session[1694]: (II) systemd-logind: releasing fd for 13:265 .... ... [root@alexgluck-hp-laptop ~]# evtest No device specified, trying to scan all of /dev/input/event* Available devices: /dev/input/event0: Sleep Button /dev/input/event1: Lid Switch /dev/input/event2: Power Button /dev/input/event3: AT Translated Set 2 keyboard /dev/input/event4: SynPS/2 Synaptics TouchPad /dev/input/event5: Video Bus /dev/input/event6: HP Wireless hotkeys /dev/input/event7: SYNA3083:00 06CB:8265 Touchpad /dev/input/event8: HDA Intel PCH Mic /dev/input/event9: HP WMI hotkeys /dev/input/event10: HP HD Camera: HP HD Camera /dev/input/event11: HDA Intel PCH Headphone /dev/input/event12: HDA Intel PCH HDMI/DP,pcm=3 /dev/input/event13: HDA Intel PCH HDMI/DP,pcm=7 /dev/input/event14: HDA Intel PCH HDMI/DP,pcm=8 /dev/input/event15: HDA Intel PCH HDMI/DP,pcm=9 /dev/input/event16: HDA Intel PCH HDMI/DP,pcm=10 /dev/input/event17: ST LIS3LV02DL Accelerometer /dev/input/event18: Keyboard K370/K375 Keyboard /dev/input/event19: Keyboard K370/K375 Consumer Control /dev/input/event20: Keyboard K370/K375 System Control /dev/input/event21: Keyboard K370/K375 Keyboard /dev/input/event22: Keyboard K370/K375 Consumer Control /dev/input/event23: Keyboard K370/K375 System Control /dev/input/event24: Surface Mobile Mouse /dev/input/event25: Surface Mobile Mouse Keyboard /dev/input/event26: Surface Mobile Mouse /dev/input/event27: Surface Mobile Mouse /dev/input/event28: Surface Mobile Mouse /dev/input/event29: Keyboard K370/K375 Keyboard /dev/input/event30: Keyboard K370/K375 Consumer Control /dev/input/event31: Keyboard K370/K375 System Control /dev/input/event256: Keyboard K370/K375 Keyboard /dev/input/event257: Keyboard K370/K375 Consumer Control /dev/input/event258: Keyboard K370/K375 System Control /dev/input/event259: Keyboard K370/K375 Keyboard /dev/input/event260: Keyboard K370/K375 Consumer Control /dev/input/event261: Keyboard K370/K375 System Control /dev/input/event262: Keyboard K370/K375 Keyboard /dev/input/event263: Keyboard K370/K375 Consumer Control /dev/input/event264: Keyboard K370/K375 System Control /dev/input/event265: Keyboard K370/K375 Keyboard /dev/input/event266: Keyboard K370/K375 Consumer Control /dev/input/event267: Keyboard K370/K375 System Control ... |