Hello Benjamin, you're welcome. To answer your question,

> Did you do something specific application wise (i.e. do you see a pattern
when this happens)?

In both cases, I do remember pressing and alternating between a lot of
different keys at once, because I have a few keyboard shortcuts set up that
require that.

On Fri, Jun 27, 2025 at 3:05 AM Benjamin Drung <[email protected]>
wrote:

> Thank you for taking the time to report this bug and contributing to
> Ubuntu.
>
> There would be one way to execute commands without a keyboard: Put the
> command into a shell script file, make the file executable, then click
> on the file and let it execute. Example script content:
>
> #!/bin/sh
> xev | grep -i key | tee /tmp/log
>
> Now about your report. Can you record the kernel timestamp and your
> actions to correlate that to your dmesg? CurrentDmesg.txt contains a
> bunch of "reset high-speed USB device":
>
> ```
> $ grep -i usb CurrentDmesg.txt | grep -iv serial | cut -d']' -f2- | uniq -c
>       6  usb 1-2: reset high-speed USB device number 3 using xhci_hcd
>       1  usb 3-1: new full-speed USB device number 3 using xhci_hcd
>       1  usb 3-1: config 1 has an invalid interface number: 3 but max is 2
>       1  usb 3-1: config 1 has no interface number 2
>       1  usb 3-1: New USB device found, idVendor=041e, idProduct=3272,
> bcdDevice= 1.00
>       1  usb 3-1: Product: Pebble V3
>       1  usb 3-1: Manufacturer: ACTIONS
>       1  usb 3-1: 9:0: bogus dB values (-12800/-12700), disabling dB
> reporting
>       1  input: ACTIONS Pebble V3 as
> /devices/pci0000:00/0000:00:1c.6/0000:04:00.0/usb3/3-1/3-1:1.3/0003:041E:3272.0006/input/input28
>       1  hid-generic 0003:041E:3272.0006: input,hidraw5: USB HID v1.00
> Device [ACTIONS Pebble V3] on usb-0000:04:00.0-1/input3
>       5  usb 1-2: reset high-speed USB device number 3 using xhci_hcd
>      10  usb 1-2: 3:4: cannot set freq 48000 to ep 0x86
>      28  usb 1-2: reset high-speed USB device number 3 using xhci_hcd
>       1  usb 3-2: USB disconnect, device number 2
>       1  usb 3-2: new full-speed USB device number 4 using xhci_hcd
>       1  usb 3-2: New USB device found, idVendor=3842, idProduct=2612,
> bcdDevice=a0.18
>       1  usb 3-2: Product: Z12 Gaming Keyboard
>       1  usb 3-2: Manufacturer: EVGA
>       1  input: EVGA Z12 Gaming Keyboard as
> /devices/pci0000:00/0000:00:1c.6/0000:04:00.0/usb3/3-2/3-2:1.0/0003:3842:2612.0007/input/input29
>       1  hid-generic 0003:3842:2612.0007: input,hidraw2: USB HID v1.11
> Keyboard [EVGA Z12 Gaming Keyboard] on usb-0000:04:00.0-2/input0
>       1  input: EVGA Z12 Gaming Keyboard Mouse as
> /devices/pci0000:00/0000:00:1c.6/0000:04:00.0/usb3/3-2/3-2:1.1/0003:3842:2612.0008/input/input30
>       1  input: EVGA Z12 Gaming Keyboard Consumer Control as
> /devices/pci0000:00/0000:00:1c.6/0000:04:00.0/usb3/3-2/3-2:1.1/0003:3842:2612.0008/input/input31
>       1  input: EVGA Z12 Gaming Keyboard System Control as
> /devices/pci0000:00/0000:00:1c.6/0000:04:00.0/usb3/3-2/3-2:1.1/0003:3842:2612.0008/input/input32
>       1  hid-generic 0003:3842:2612.0008: input,hiddev1,hidraw3: USB HID
> v1.11 Mouse [EVGA Z12 Gaming Keyboard] on usb-0000:04:00.0-2/input1
>       1  input: EVGA Z12 Gaming Keyboard as
> /devices/pci0000:00/0000:00:1c.6/0000:04:00.0/usb3/3-2/3-2:1.2/0003:3842:2612.0009/input/input34
>       1  hid-generic 0003:3842:2612.0009: input,hiddev2,hidraw4: USB HID
> v1.11 Keyboard [EVGA Z12 Gaming Keyboard] on usb-0000:04:00.0-2/input2
>       1  usb 1-2: reset high-speed USB device number 3 using xhci_hcd
> ```
>
> "USB disconnect" is what I see in dmesg when I disconnect my mouse. So
> this is what I tried to reconstruct:
>
> There are several "reset high-speed USB device" on "usb 1-2". That bus-
> port number matches "Logitech, Inc. Webcam C270". The first entry for
> "3-2" (your keyboard) is "USB disconnect". So there seems to be no prior
> events for it.
>
> I see three explanations for it:
>
> 1. The keyboard is having a hardware issue. In that case I would expect
> that the frequency of this issue rises until it stops completely.
>
> 2. The webcam causes issues on the USB controller which resulted in the
> keyboard stop working.
>
> 3. A software issue.
>
> My gut feeling is that it is more likely 1 or 2. I suggest to further
> monitor and report back. Some questions to answer then: Do you see
> failures even without the webcam connected (i.e. no "reset high-speed
> USB device" in dmesg)? Can you reproduce the keyboard issue when using
> the keyboard on other devices? Did you do something specific application
> wise (i.e. do you see a pattern when this happens)?
>
> ** Changed in: xserver-xorg-input-libinput (Ubuntu)
>        Status: New => Incomplete
>
> ** Summary changed:
>
> - USB Keyboard sporadically stops working on Ubuntu 24
> + USB Keyboard sporadically stops working on Ubuntu 24.04
>
> ** Description changed:
>
> - My USB Keyboard sporadically stops working on Ubuntu 24.
> + My USB Keyboard sporadically stops working on Ubuntu 24.04.
>
> - I used the same USB keyboard with Ubuntu 22, without any issues, except
> - occasionally on startup, and unplugging the keyboard and plugging it
> - back in would fix it.
> + I used the same USB keyboard with Ubuntu 22.04, without any issues,
> + except occasionally on startup, and unplugging the keyboard and plugging
> + it back in would fix it.
>
> - That didn't fix the issue the 2 times it occurred on Ubuntu 24, both of
> - which happened when I was in the middle of something.
> + That didn't fix the issue the 2 times it occurred on Ubuntu 24.04, both
> + of which happened when I was in the middle of something.
>
>   Keyboard functionality seemed to return on its own after a few minutes,
>   although I'm not sure if it was a result of any actions I took.
>
>   I pasted
>
>   xev | grep -i key
>
>   the first time it happened, and
>
>   sudo udevadm control --reload && sudo udevadm trigger
>
>   the second time it happened, just now, in my terminal, and the issue
>   seemed to go away after that.
>
>   Of course, since my keyboard wasn't functional, I wasn't actually able
>   to use the ENTER key to run the command in the second case.
>
>   I don't remember how or if I actually executed the command in the first
>   place without a functioning keyboard.
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 24.04
>   Package: xserver-xorg-input-libinput 1.4.0-1ubuntu24.04.1
>   ProcVersionSignature: Ubuntu 6.11.0-26.26~24.04.1-generic 6.11.11
>   Uname: Linux 6.11.0-26-generic x86_64
>   NonfreeKernelModules: nvidia_modeset nvidia
>   ApportVersion: 2.28.1-0ubuntu3.7
>   Architecture: amd64
>   BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
>   CasperMD5CheckResult: unknown
>   CurrentDesktop: ubuntu:GNOME
>   Date: Thu Jun 26 16:20:04 2025
>   DistUpgraded: Fresh install
>   DistroCodename: noble
>   DistroVariant: ubuntu
>   InstallationDate: Installed on 2025-06-15 (12 days ago)
>   InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64
> (20250215)
>   MachineType: System manufacturer System Product Name
>   ProcEnviron:
> -  LANG=en_US.UTF-8
> -  PATH=(custom, no user)
> -  SHELL=/bin/bash
> -  TERM=xterm-256color
> -  XDG_RUNTIME_DIR=<set>
> +  LANG=en_US.UTF-8
> +  PATH=(custom, no user)
> +  SHELL=/bin/bash
> +  TERM=xterm-256color
> +  XDG_RUNTIME_DIR=<set>
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.11.0-26-generic
> root=UUID=5a60a236-87a2-4442-92d0-df3989ef3c70 ro quiet splash vt.handoff=7
>   SourcePackage: xserver-xorg-input-libinput
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   dmi.bios.date: 03/14/2018
>   dmi.bios.release: 5.12
>   dmi.bios.vendor: American Megatrends Inc.
>   dmi.bios.version: 1301
>   dmi.board.asset.tag: Default string
>   dmi.board.name: MAXIMUS IX APEX
>   dmi.board.vendor: ASUSTeK COMPUTER INC.
>   dmi.board.version: Rev 1.xx
>   dmi.chassis.asset.tag: Default string
>   dmi.chassis.type: 3
>   dmi.chassis.vendor: Default string
>   dmi.chassis.version: Default string
>   dmi.modalias:
> dmi:bvnAmericanMegatrendsInc.:bvr1301:bd03/14/2018:br5.12:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnMAXIMUSIXAPEX:rvrRev1.xx:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:
>   dmi.product.family: To be filled by O.E.M.
>   dmi.product.name: System Product Name
>   dmi.product.sku: SKU
>   dmi.product.version: System Version
>   dmi.sys.vendor: System manufacturer
>   version.compiz: compiz N/A
>   version.libdrm2: libdrm2 2.4.122-1~ubuntu0.24.04.1
>   version.libgl1-mesa-dri: libgl1-mesa-dri 24.2.8-1ubuntu1~24.04.1
>   version.libgl1-mesa-glx: libgl1-mesa-glx N/A
>   version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1.4
>   version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
>   version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
>   version.xserver-xorg-video-intel: xserver-xorg-video-intel
> 2:2.99.917+git20210115-1build1
>   version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau
> 1:1.0.17-2build1
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2115458
>
> Title:
>   USB Keyboard sporadically stops working on Ubuntu 24.04
>
> Status in xserver-xorg-input-libinput package in Ubuntu:
>   Incomplete
>
> Bug description:
>   My USB Keyboard sporadically stops working on Ubuntu 24.04.
>
>   I used the same USB keyboard with Ubuntu 22.04, without any issues,
>   except occasionally on startup, and unplugging the keyboard and
>   plugging it back in would fix it.
>
>   That didn't fix the issue the 2 times it occurred on Ubuntu 24.04,
>   both of which happened when I was in the middle of something.
>
>   Keyboard functionality seemed to return on its own after a few
>   minutes, although I'm not sure if it was a result of any actions I
>   took.
>
>   I pasted
>
>   xev | grep -i key
>
>   the first time it happened, and
>
>   sudo udevadm control --reload && sudo udevadm trigger
>
>   the second time it happened, just now, in my terminal, and the issue
>   seemed to go away after that.
>
>   Of course, since my keyboard wasn't functional, I wasn't actually able
>   to use the ENTER key to run the command in the second case.
>
>   I don't remember how or if I actually executed the command in the
>   first place without a functioning keyboard.
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 24.04
>   Package: xserver-xorg-input-libinput 1.4.0-1ubuntu24.04.1
>   ProcVersionSignature: Ubuntu 6.11.0-26.26~24.04.1-generic 6.11.11
>   Uname: Linux 6.11.0-26-generic x86_64
>   NonfreeKernelModules: nvidia_modeset nvidia
>   ApportVersion: 2.28.1-0ubuntu3.7
>   Architecture: amd64
>   BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
>   CasperMD5CheckResult: unknown
>   CurrentDesktop: ubuntu:GNOME
>   Date: Thu Jun 26 16:20:04 2025
>   DistUpgraded: Fresh install
>   DistroCodename: noble
>   DistroVariant: ubuntu
>   InstallationDate: Installed on 2025-06-15 (12 days ago)
>   InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64
> (20250215)
>   MachineType: System manufacturer System Product Name
>   ProcEnviron:
>    LANG=en_US.UTF-8
>    PATH=(custom, no user)
>    SHELL=/bin/bash
>    TERM=xterm-256color
>    XDG_RUNTIME_DIR=<set>
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.11.0-26-generic
> root=UUID=5a60a236-87a2-4442-92d0-df3989ef3c70 ro quiet splash vt.handoff=7
>   SourcePackage: xserver-xorg-input-libinput
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   dmi.bios.date: 03/14/2018
>   dmi.bios.release: 5.12
>   dmi.bios.vendor: American Megatrends Inc.
>   dmi.bios.version: 1301
>   dmi.board.asset.tag: Default string
>   dmi.board.name: MAXIMUS IX APEX
>   dmi.board.vendor: ASUSTeK COMPUTER INC.
>   dmi.board.version: Rev 1.xx
>   dmi.chassis.asset.tag: Default string
>   dmi.chassis.type: 3
>   dmi.chassis.vendor: Default string
>   dmi.chassis.version: Default string
>   dmi.modalias:
> dmi:bvnAmericanMegatrendsInc.:bvr1301:bd03/14/2018:br5.12:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnMAXIMUSIXAPEX:rvrRev1.xx:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:
>   dmi.product.family: To be filled by O.E.M.
>   dmi.product.name: System Product Name
>   dmi.product.sku: SKU
>   dmi.product.version: System Version
>   dmi.sys.vendor: System manufacturer
>   version.compiz: compiz N/A
>   version.libdrm2: libdrm2 2.4.122-1~ubuntu0.24.04.1
>   version.libgl1-mesa-dri: libgl1-mesa-dri 24.2.8-1ubuntu1~24.04.1
>   version.libgl1-mesa-glx: libgl1-mesa-glx N/A
>   version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1.4
>   version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
>   version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
>   version.xserver-xorg-video-intel: xserver-xorg-video-intel
> 2:2.99.917+git20210115-1build1
>   version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau
> 1:1.0.17-2build1
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-libinput/+bug/2115458/+subscriptions
>
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115458

Title:
  USB Keyboard sporadically stops working on Ubuntu 24.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-libinput/+bug/2115458/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to