コンピュータの電源を入れて数分後、マウスは機能しません。

コンピュータの電源を入れて数分後、マウスは機能しません。

ノートブックを再起動した後、USBマウスは数分間機能しません。タッチパッド、ポインティングスティック、キーボードがうまく機能します。マウスはWindows(デュアルブート)でもうまく機能します。そのマウスのすべてのudevルールを削除してポートを切り替えようとしましたが、何も機能しませんでした。

走る

xinput -list 

機能するまでマウスを表示しないでください。マウスのインジケーターが点灯し、マウスの内部dpi設定を切り替えることができますが、それはすべてです。数分で正常に動作します。

助けてくれてありがとう。ありがとうございます!

情報:

  • Linux Mint 19.2シナモン
  • カーネル: 4.15.0-65-一般
  • Lenovo ThinkPad L380ヨガ

dmesg(意図的にマウスを外して再接続し、そのセクションの上のすべてを切り取りました。必要な場合は追加します):


[   53.031552] usb 1-3: USB disconnect, device number 2
[   57.968552] usb 1-3: new full-speed USB device number 6 using xhci_hcd
[   58.119794] usb 1-3: New USB device found, idVendor=145f, idProduct=0405
[   58.119800] usb 1-3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[   58.119804] usb 1-3: Product: Trust Gaming Mouse
[   58.294621] input: Trust Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:145F:0405.0008/input/input25
[   58.353504] hid-generic 0003:145F:0405.0008: input,hidraw0: USB HID v1.00 Keyboard [Trust Gaming Mouse] on usb-0000:00:14.0-3/input0
[   58.355957] input: Trust Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:145F:0405.0009/input/input26
[   58.413543] hid-generic 0003:145F:0405.0009: input,hidraw2: USB HID v1.00 Mouse [Trust Gaming Mouse] on usb-0000:00:14.0-3/input1
[   61.820538] [UFW BLOCK] IN=wlp2s0 OUT= MAC=18:1d:ea:30:c1:1d:44:fe:3b:ab:7b:57:08:00 SRC=192.168.2.1 DST=192.168.2.137 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=41633 DF PROTO=TCP SPT=52988 DPT=80 WINDOW=29200 RES=0x00 SYN URGP=0 
[   61.820560] [UFW BLOCK] IN=wlp2s0 OUT= MAC=18:1d:ea:30:c1:1d:44:fe:3b:ab:7b:57:08:00 SRC=192.168.2.1 DST=192.168.2.137 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=39679 DF PROTO=TCP SPT=36498 DPT=8080 WINDOW=29200 RES=0x00 SYN URGP=0 
[   61.820573] [UFW BLOCK] IN=wlp2s0 OUT= MAC=18:1d:ea:30:c1:1d:44:fe:3b:ab:7b:57:08:00 SRC=192.168.2.1 DST=192.168.2.137 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=29099 DF PROTO=TCP SPT=53794 DPT=443 WINDOW=29200 RES=0x00 SYN URGP=0

xorg.log(30,000文字未満にするには、上からわずかに削除する必要があります。

[     8.249] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[     8.249] X Protocol Version 11, Revision 0
[     8.249] Build Operating System: Linux 4.4.0-148-generic x86_64 Ubuntu
[     8.249] Current Operating System: Linux mwuerbs-l380 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64
[     8.249] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-65-generic root=UUID=c38a79f6-3dcb-4123-82e0-d4d66108188e ro
[     8.249] Build Date: 03 June 2019  08:10:35AM

[     8.292] (==) intel(0): Silken mouse enabled
[     8.292] (II) intel(0): HW Cursor enabled
[     8.292] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[     8.292] (==) intel(0): DPMS enabled
[     8.293] (==) intel(0): Display hotplug detection enabled
[     8.293] (II) intel(0): [DRI2] Setup complete
[     8.293] (II) intel(0): [DRI2]   DRI driver: i965
[     8.293] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[     8.293] (II) intel(0): direct rendering: DRI2 enabled
[     8.293] (II) intel(0): hardware support for Present enabled
[     8.293] (--) RandR disabled
[     8.295] (II) SELinux: Disabled on system
[     8.304] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[     8.304] (II) AIGLX: enabled GLX_ARB_create_context
[     8.304] (II) AIGLX: enabled GLX_ARB_create_context_profile
[     8.304] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[     8.304] (II) AIGLX: enabled GLX_INTEL_swap_event
[     8.304] (II) AIGLX: enabled GLX_SGI_swap_control
[     8.304] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[     8.304] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[     8.304] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[     8.304] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[     8.304] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[     8.304] (II) AIGLX: Loaded and initialized i965
[     8.304] (II) GLX: Initialized DRI2 GL provider for screen 0
[     8.306] (II) intel(0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[     8.310] (II) intel(0): switch to mode [email protected] on HDMI2 using pipe 1, position (0, 0), rotation normal, reflection none
[     8.319] (II) intel(0): Setting screen physical size to 508 x 285
[     8.345] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[     8.345] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     8.345] (II) LoadModule: "libinput"
[     8.345] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[     8.347] (II) Module libinput: vendor="X.Org Foundation"
[     8.347]    compiled for 1.19.6, module version = 0.27.1
[     8.347]    Module class: X.Org XInput Driver
[     8.347]    ABI class: X.Org XInput driver, version 24.1
[     8.347] (II) Using input driver 'libinput' for 'Power Button'
[     8.347] (**) Power Button: always reports core events
[     8.347] (**) Option "Device" "/dev/input/event2"
[     8.347] (**) Option "_source" "server/udev"
[     8.347] (II) event2  - Power Button: is tagged by udev as: Keyboard
[     8.347] (II) event2  - Power Button: device is a keyboard
[     8.347] (II) event2  - Power Button: device removed
[     8.356] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[     8.356] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     8.356] (**) Option "xkb_model" "pc105"
[     8.356] (**) Option "xkb_layout" "de"
[     8.371] (II) event2  - Power Button: is tagged by udev as: Keyboard
[     8.371] (II) event2  - Power Button: device is a keyboard
[     8.371] (II) config/udev: Adding input device Video Bus (/dev/input/event10)
[     8.371] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[     8.371] (II) Using input driver 'libinput' for 'Video Bus'
[     8.371] (**) Video Bus: always reports core events
[     8.371] (**) Option "Device" "/dev/input/event10"
[     8.371] (**) Option "_source" "server/udev"
[     8.371] (II) event10 - Video Bus: is tagged by udev as: Keyboard
[     8.371] (II) event10 - Video Bus: device is a keyboard
[     8.372] (II) event10 - Video Bus: device removed
[     8.420] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input15/event10"
[     8.420] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[     8.420] (**) Option "xkb_model" "pc105"
[     8.420] (**) Option "xkb_layout" "de"
[     8.420] (II) event10 - Video Bus: is tagged by udev as: Keyboard
[     8.420] (II) event10 - Video Bus: device is a keyboard
[     8.420] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[     8.420] (II) No input driver specified, ignoring this device.
[     8.420] (II) This device may have been added with another device file.
[     8.421] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[     8.421] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[     8.421] (II) Using input driver 'libinput' for 'Sleep Button'
[     8.421] (**) Sleep Button: always reports core events
[     8.421] (**) Option "Device" "/dev/input/event0"
[     8.421] (**) Option "_source" "server/udev"
[     8.421] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[     8.421] (II) event0  - Sleep Button: device is a keyboard
[     8.421] (II) event0  - Sleep Button: device removed
[     8.460] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[     8.460] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[     8.460] (**) Option "xkb_model" "pc105"
[     8.460] (**) Option "xkb_layout" "de"
[     8.460] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[     8.460] (II) event0  - Sleep Button: device is a keyboard
[     8.461] (II) config/udev: Adding input device Integrated Camera: Integrated C (/dev/input/event12)
[     8.461] (**) Integrated Camera: Integrated C: Applying InputClass "libinput keyboard catchall"
[     8.461] (II) Using input driver 'libinput' for 'Integrated Camera: Integrated C'
[     8.461] (**) Integrated Camera: Integrated C: always reports core events
[     8.461] (**) Option "Device" "/dev/input/event12"
[     8.461] (**) Option "_source" "server/udev"
[     8.462] (II) event12 - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[     8.462] (II) event12 - Integrated Camera: Integrated C: device is a keyboard
[     8.462] (II) event12 - Integrated Camera: Integrated C: device removed
[     8.504] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input17/event12"
[     8.504] (II) XINPUT: Adding extended input device "Integrated Camera: Integrated C" (type: KEYBOARD, id 9)
[     8.504] (**) Option "xkb_model" "pc105"
[     8.504] (**) Option "xkb_layout" "de"
[     8.504] (II) event12 - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[     8.504] (II) event12 - Integrated Camera: Integrated C: device is a keyboard
[     8.505] (II) config/udev: Adding input device Wacom Pen and multitouch sensor Finger (/dev/input/event7)
[     8.505] (**) Wacom Pen and multitouch sensor Finger: Applying InputClass "libinput touchscreen catchall"
[     8.505] (**) Wacom Pen and multitouch sensor Finger: Applying InputClass "Wacom USB touchscreen class"
[     8.505] (**) Wacom Pen and multitouch sensor Finger: Applying InputClass "Wacom touchscreen class"
[     8.505] (II) LoadModule: "wacom"
[     8.505] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[     8.505] (II) Module wacom: vendor="X.Org Foundation"
[     8.505]    compiled for 1.19.6, module version = 0.36.1
[     8.505]    Module class: X.Org XInput Driver
[     8.505]    ABI class: X.Org XInput driver, version 24.1
[     8.505] (II) Build version: 0.36.1
[     8.505] (II) wacom: Driver for Wacom graphics tablets: PenPartner, Graphire,
    Graphire2 4x5, Graphire2 5x7, Graphire3 4x5, Graphire3 6x8,
    Graphire4 4x5, Graphire4 6x8, BambooFun 4x5, BambooFun 6x8,
    Bamboo1 Medium, Graphire4 6x8 BlueTooth, CTL-460, CTH-461, CTL-660,
    CTL-461/S, Bamboo Touch, CTH-460/K, CTH-461/S, CTH-661/S1, CTH-461/L,
    CTH-661/L, Intuos 4x5, Intuos 6x8, Intuos 9x12, Intuos 12x12,
    Intuos 12x18, PTU600, PL400, PL500, PL600, PL600SX, PL550, PL800,
    PL700, PL510, PL710, DTI520, DTF720, DTF720a, DTF521, DTU1931,
    DTU2231, DTU1631, DTH1152, DTH1152, DTK2451, DTH2452, DTH2452,
    Intuos2 4x5, Intuos2 6x8, Intuos2 9x12, Intuos2 12x12, Intuos2 12x18,
    Intuos2 6x8 , Volito, PenStation, Volito2 4x5, Volito2 2x3,
    PenPartner2, Bamboo, Bamboo1, Bamboo1 4x6, Bamboo1 5x8, Intuos3 4x5,
    Intuos3 6x8, Intuos3 9x12, Intuos3 12x12, Intuos3 12x19,
    Intuos3 6x11, Intuos3 4x6, Intuos4 4x6, Intuos4 6x9, Intuos4 8x13,
    Intuos4 12x19, Intuos4 WL USB Endpoint,
    Intuos4 WL Bluetooth Endpoint, Intuos5 touch S, Intuos5 touch M,
    Intuos5 touch L, Intuos5 S, Intuos5 M, Intuos Pro S, Intuos Pro M,
    Intuos Pro L, Cintiq 21UX, Cintiq 20WSX, Cintiq 12WX, Cintiq 21UX2,
    Cintiq 24HD, Cintiq 22HD, Cintiq 24HD touch (EMR digitizer),
    Cintiq 13HD, DTK2241, DTH2242, Cintiq 22HDT, Cintiq 27QHDT,
    Cintiq 27QHDT, Mobilestudio Pro 13, MobileStudio Pro 16,
    MobileStudio Pro 13, MobileStudio Pro 16, Cintiq 13 FHD Pro,
    Cintiq 16 UHD Pro, Cintiq Pro 24, Cintiq Pro 32, Cintiq 13 FHD Pro,
    Cintiq 16 UHD Pro, Cintiq Pro 24, Cintiq Pro 32, Cintiq Pro 24,
    TabletPC 0x90, TabletPC 0x93, TabletPC 0x97, TabletPC 0x9A,
    CapPlus  0x9F, TabletPC 0xE2, TabletPC 0xE3, TabletPC 0xE5,
    TabletPC 0xE6, TabletPC 0xEC, TabletPC 0xED, TabletPC 0xEF,
    TabletPC 0x100, TabletPC 0x101, TabletPC 0x10D, TabletPC 0x116,
    TabletPC 0x12C, TabletPC 0x4001, TabletPC 0x4004, TabletPC 0x5000,
    TabletPC 0x5002, usb:172f:0024, usb:172f:0025, usb:172f:0026,
    usb:172f:0027, usb:172f:0028, usb:172f:0030, usb:172f:0031,
    usb:172f:0032, usb:172f:0033, usb:172f:0034, usb:172f:0035,
    usb:172f:0036, usb:172f:0037, usb:172f:0038, usb:172f:0039,
    usb:172f:0051, usb:172f:0052, usb:172f:0053, usb:172f:0054,
    usb:172f:0055, usb:172f:0056, usb:172f:0057, usb:172f:0058,
    usb:172f:0500, usb:172f:0501, usb:172f:0502, usb:172f:0503,
    usb:1b96:0001, usb:17ef:6004
[     8.506] (II) Using input driver 'wacom' for 'Wacom Pen and multitouch sensor Finger'
[     8.506] (**) Wacom Pen and multitouch sensor Finger: always reports core events
[     8.506] (**) Option "Device" "/dev/input/event7"
[     8.564] (EE) Wacom Pen and multitouch sensor Finger: Invalid type 'stylus' for this device.
[     8.564] (EE) Wacom Pen and multitouch sensor Finger: Invalid type 'eraser' for this device.
[     8.564] (EE) Wacom Pen and multitouch sensor Finger: Invalid type 'cursor' for this device.
[     8.564] (II) Wacom Pen and multitouch sensor Finger: type not specified, assuming 'touch'.
[     8.564] (II) Wacom Pen and multitouch sensor Finger: other types will be automatically added.
[     8.564] (**) Wacom Pen and multitouch sensor Finger touch: panscroll is 0
[     8.564] (**) Wacom Pen and multitouch sensor Finger touch: panscroll modified to 13
[     8.564] (--) Wacom Pen and multitouch sensor Finger touch: maxX=11748 maxY=6608 maxZ=0 resX=40000 resY=40000 
[     8.564] (II) Wacom Pen and multitouch sensor Finger touch: hotplugging dependent devices.
[     8.564] (EE) Wacom Pen and multitouch sensor Finger touch: Invalid type 'stylus' for this device.
[     8.564] (EE) Wacom Pen and multitouch sensor Finger touch: Invalid type 'eraser' for this device.
[     8.564] (EE) Wacom Pen and multitouch sensor Finger touch: Invalid type 'cursor' for this device.
[     8.564] (EE) Wacom Pen and multitouch sensor Finger touch: Invalid type 'pad' for this device.
[     8.564] (II) Wacom Pen and multitouch sensor Finger touch: hotplugging completed.
[     8.596] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:056A:5157.0006/input/input9/event7"
[     8.596] (II) XINPUT: Adding extended input device "Wacom Pen and multitouch sensor Finger touch" (type: TOUCH, id 10)
[     8.596] (**) Wacom Pen and multitouch sensor Finger touch: (accel) keeping acceleration scheme 1
[     8.596] (**) Wacom Pen and multitouch sensor Finger touch: (accel) acceleration profile 0
[     8.596] (**) Wacom Pen and multitouch sensor Finger touch: (accel) acceleration factor: 2.000
[     8.596] (**) Wacom Pen and multitouch sensor Finger touch: (accel) acceleration threshold: 4
[     8.656] (II) config/udev: Adding input device Wacom Pen and multitouch sensor Finger (/dev/input/mouse2)
[     8.656] (II) No input driver specified, ignoring this device.
[     8.656] (II) This device may have been added with another device file.
[     8.656] (II) config/udev: Adding input device Wacom Pen and multitouch sensor Pen (/dev/input/event9)
[     8.656] (**) Wacom Pen and multitouch sensor Pen: Applying InputClass "libinput tablet catchall"
[     8.656] (**) Wacom Pen and multitouch sensor Pen: Applying InputClass "Wacom USB tablet class"
[     8.656] (**) Wacom Pen and multitouch sensor Pen: Applying InputClass "Wacom tablet class"
[     8.656] (II) Using input driver 'wacom' for 'Wacom Pen and multitouch sensor Pen'
[     8.656] (**) Wacom Pen and multitouch sensor Pen: always reports core events
[     8.656] (**) Option "Device" "/dev/input/event9"
[     8.716] (II) Wacom Pen and multitouch sensor Pen: type not specified, assuming 'stylus'.
[     8.716] (II) Wacom Pen and multitouch sensor Pen: other types will be automatically added.
[     8.716] (--) Wacom Pen and multitouch sensor Pen stylus: using pressure threshold of 851 for button 1
[     8.716] (**) Wacom Pen and multitouch sensor Pen stylus: panscroll is 0
[     8.716] (**) Wacom Pen and multitouch sensor Pen stylus: panscroll modified to 1300
[     8.716] (--) Wacom Pen and multitouch sensor Pen stylus: maxX=29376 maxY=16524 maxZ=4095 resX=100000 resY=100000  tilt=enabled
[     8.716] (II) Wacom Pen and multitouch sensor Pen stylus: hotplugging dependent devices.
[     8.716] (EE) Wacom Pen and multitouch sensor Pen stylus: Invalid type 'cursor' for this device.
[     8.716] (EE) Wacom Pen and multitouch sensor Pen stylus: Invalid type 'touch' for this device.
[     8.716] (EE) Wacom Pen and multitouch sensor Pen stylus: Invalid type 'pad' for this device.
[     8.716] (II) Wacom Pen and multitouch sensor Pen stylus: hotplugging completed.
[     8.772] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1/0003:056A:5157.0007/input/input12/event9"
[     8.772] (II) XINPUT: Adding extended input device "Wacom Pen and multitouch sensor Pen stylus" (type: STYLUS, id 11)
[     8.772] (**) Wacom Pen and multitouch sensor Pen stylus: (accel) keeping acceleration scheme 1
[     8.772] (**) Wacom Pen and multitouch sensor Pen stylus: (accel) acceleration profile 0
[     8.772] (**) Wacom Pen and multitouch sensor Pen stylus: (accel) acceleration factor: 2.000
[     8.772] (**) Wacom Pen and multitouch sensor Pen stylus: (accel) acceleration threshold: 4
[     8.833] (II) config/udev: Adding input device Wacom Pen and multitouch sensor Pen (/dev/input/mouse4)
[     8.833] (II) No input driver specified, ignoring this device.
[     8.833] (II) This device may have been added with another device file.
[     8.833] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event13)
[     8.833] (II) No input driver specified, ignoring this device.
[     8.833] (II) This device may have been added with another device file.
[     8.833] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event14)
[     8.833] (II) No input driver specified, ignoring this device.
[     8.833] (II) This device may have been added with another device file.
[     8.833] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event15)
[     8.833] (II) No input driver specified, ignoring this device.
[     8.833] (II) This device may have been added with another device file.
[     8.834] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event16)
[     8.834] (II) No input driver specified, ignoring this device.
[     8.834] (II) This device may have been added with another device file.
[     8.834] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event17)
[     8.834] (II) No input driver specified, ignoring this device.
[     8.834] (II) This device may have been added with another device file.
[     8.834] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event18)
[     8.834] (II) No input driver specified, ignoring this device.
[     8.834] (II) This device may have been added with another device file.
[     8.834] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event19)
[     8.834] (II) No input driver specified, ignoring this device.
[     8.834] (II) This device may have been added with another device file.
[     8.834] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[     8.834] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[     8.834] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[     8.834] (**) AT Translated Set 2 keyboard: always reports core events
[     8.834] (**) Option "Device" "/dev/input/event3"
[     8.834] (**) Option "_source" "server/udev"
[     8.835] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[     8.835] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[     8.835] (II) event3  - AT Translated Set 2 keyboard: device removed
[     8.848] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[     8.848] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[     8.848] (**) Option "xkb_model" "pc105"
[     8.848] (**) Option "xkb_layout" "de"
[     8.849] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[     8.849] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[     8.849] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event5)
[     8.849] (**) ETPS/2 Elantech Touchpad: Applying InputClass "libinput touchpad catchall"
[     8.849] (II) Using input driver 'libinput' for 'ETPS/2 Elantech Touchpad'
[     8.849] (**) ETPS/2 Elantech Touchpad: always reports core events
[     8.849] (**) Option "Device" "/dev/input/event5"
[     8.849] (**) Option "_source" "server/udev"
[     8.849] (II) event5  - ETPS/2 Elantech Touchpad: is tagged by udev as: Touchpad
[     8.849] (II) event5  - ETPS/2 Elantech Touchpad: device is a touchpad
[     8.850] (II) event5  - ETPS/2 Elantech Touchpad: device removed
[     8.904] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input5/event5"
[     8.904] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 13)
[     8.904] (**) Option "AccelerationScheme" "none"
[     8.904] (**) ETPS/2 Elantech Touchpad: (accel) selected scheme none/0
[     8.904] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[     8.904] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[     8.905] (II) event5  - ETPS/2 Elantech Touchpad: is tagged by udev as: Touchpad
[     8.905] (II) event5  - ETPS/2 Elantech Touchpad: device is a touchpad
[     8.905] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse1)
[     8.905] (II) No input driver specified, ignoring this device.
[     8.905] (II) This device may have been added with another device file.
[     8.905] (II) config/udev: Adding input device ETPS/2 Elantech TrackPoint (/dev/input/event4)
[     8.905] (**) ETPS/2 Elantech TrackPoint: Applying InputClass "libinput pointer catchall"
[     8.905] (II) Using input driver 'libinput' for 'ETPS/2 Elantech TrackPoint'
[     8.905] (**) ETPS/2 Elantech TrackPoint: always reports core events
[     8.905] (**) Option "Device" "/dev/input/event4"
[     8.905] (**) Option "_source" "server/udev"
[     8.906] (II) event4  - ETPS/2 Elantech TrackPoint: is tagged by udev as: Mouse Pointingstick
[     8.906] (II) event4  - ETPS/2 Elantech TrackPoint: trackpoint device set to range 20
[     8.906] (II) event4  - ETPS/2 Elantech TrackPoint: device is a pointer
[     8.906] (II) event4  - ETPS/2 Elantech TrackPoint: device removed
[     8.944] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event4"
[     8.944] (II) XINPUT: Adding extended input device "ETPS/2 Elantech TrackPoint" (type: MOUSE, id 14)
[     8.944] (**) Option "AccelerationScheme" "none"
[     8.944] (**) ETPS/2 Elantech TrackPoint: (accel) selected scheme none/0
[     8.944] (**) ETPS/2 Elantech TrackPoint: (accel) acceleration factor: 2.000
[     8.944] (**) ETPS/2 Elantech TrackPoint: (accel) acceleration threshold: 4
[     8.944] (II) event4  - ETPS/2 Elantech TrackPoint: is tagged by udev as: Mouse Pointingstick
[     8.944] (II) event4  - ETPS/2 Elantech TrackPoint: trackpoint device set to range 20
[     8.944] (II) event4  - ETPS/2 Elantech TrackPoint: device is a pointer
[     8.945] (II) config/udev: Adding input device ETPS/2 Elantech TrackPoint (/dev/input/mouse0)
[     8.945] (II) No input driver specified, ignoring this device.
[     8.945] (II) This device may have been added with another device file.
[     8.946] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event11)
[     8.946] (**) ThinkPad Extra Buttons: Applying InputClass "libinput keyboard catchall"
[     8.946] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
[     8.946] (**) ThinkPad Extra Buttons: always reports core events
[     8.946] (**) Option "Device" "/dev/input/event11"
[     8.946] (**) Option "_source" "server/udev"
[     8.946] (II) event11 - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[     8.946] (II) event11 - ThinkPad Extra Buttons: device is a keyboard
[     8.946] (II) event11 - ThinkPad Extra Buttons: device is a switch device
[     8.946] (II) event11 - ThinkPad Extra Buttons: device removed
[     8.960] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input16/event11"
[     8.960] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 15)
[     8.960] (**) Option "xkb_model" "pc105"
[     8.960] (**) Option "xkb_layout" "de"
[     8.960] (II) event11 - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[     8.960] (II) event11 - ThinkPad Extra Buttons: device is a keyboard
[     8.960] (II) event11 - ThinkPad Extra Buttons: device is a switch device
[     8.985] (**) Wacom Pen and multitouch sensor Pen eraser: Applying InputClass "libinput tablet catchall"
[     8.985] (**) Wacom Pen and multitouch sensor Pen eraser: Applying InputClass "Wacom USB tablet class"
[     8.985] (**) Wacom Pen and multitouch sensor Pen eraser: Applying InputClass "Wacom tablet class"
[     8.986] (II) Using input driver 'wacom' for 'Wacom Pen and multitouch sensor Pen eraser'
[     8.986] (**) Wacom Pen and multitouch sensor Pen eraser: always reports core events
[     8.986] (**) Option "Device" "/dev/input/event9"
[     8.986] (**) Option "Type" "eraser"
[     8.986] (**) Wacom Pen and multitouch sensor Pen eraser: panscroll is 1300
[     8.986] (**) Wacom Pen and multitouch sensor Pen eraser: panscroll modified to 1300
[     8.986] (--) Wacom Pen and multitouch sensor Pen eraser: maxX=29376 maxY=16524 maxZ=4095 resX=100000 resY=100000  tilt=enabled
[     9.000] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1/0003:056A:5157.0007/input/input12/event9"
[     9.000] (II) XINPUT: Adding extended input device "Wacom Pen and multitouch sensor Pen eraser" (type: ERASER, id 16)
[     9.000] (**) Wacom Pen and multitouch sensor Pen eraser: (accel) keeping acceleration scheme 1
[     9.000] (**) Wacom Pen and multitouch sensor Pen eraser: (accel) acceleration profile 0
[     9.000] (**) Wacom Pen and multitouch sensor Pen eraser: (accel) acceleration factor: 2.000
[     9.000] (**) Wacom Pen and multitouch sensor Pen eraser: (accel) acceleration threshold: 4
[    10.292] (II) intel(0): EDID vendor "LGD", prod id 1459
[    10.292] (II) intel(0): Printing DDC gathered Modelines:
[    10.292] (II) intel(0): Modeline "1920x1080"x0.0  138.70  1920 1968 2000 2080  1080 1083 1088 1111 -hsync -vsync (66.7 kHz eP)
[    10.292] (II) intel(0): Modeline "1920x1080"x0.0  111.00  1920 1968 2000 2080  1080 1083 1088 1111 -hsync -vsync (53.4 kHz e)
[    16.873] (II) intel(0): resizing framebuffer to 1920x2160
[    16.902] (II) intel(0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 1080), rotation normal, reflection none

ベストアンサー1

まだ答えではありませんが、ログの説明は次のとおりです。

dmesgHIDドライバがロードされる前にマウスがすぐに選択されることがわかります。

[    2.132040] usb 1-3: new full-speed USB device number 2 using xhci_hcd
[    2.282469] usb 1-3: New USB device found, idVendor=145f, idProduct=0405
[    2.283727] usb 1-3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    2.285005] usb 1-3: Product: Trust Gaming Mouse
[    3.319439] usbcore: registered new interface driver usbhid
[    3.320141] usbhid: USB HID core driver
[    3.323079] input: Trust Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:145F:0405.0004/input/input7
[    3.380824] hid-generic 0003:145F:0405.0004: input,hidraw0: USB HID v1.00 Keyboard [Trust Gaming Mouse] on usb-0000:00:14.0-3/input0
[    3.381732] input: Trust Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:145F:0405.0005/input/input11
[    3.441052] hid-generic 0003:145F:0405.0005: input,hidraw2: USB HID v1.00 Mouse [Trust Gaming Mouse] on usb-0000:00:14.0-3/input1

ただし、Xログを見ると、後で検出された他のすべてのデバイスが列挙され、138秒でのみ選択されても完全に無視されます。

[   138.289] (**) Option "Device" "/dev/input/event8"
[   138.289] (**) Option "_source" "server/udev"
[   138.289] (II) event8  - Trust Gaming Mouse: is tagged by udev as: Keyboard Mouse
[   138.289] (II) event8  - Trust Gaming Mouse: device is a pointer
[   138.289] (II) event8  - Trust Gaming Mouse: device is a keyboard
[   138.289] (II) event8  - Trust Gaming Mouse: device removed
[   138.320] (II) libinput: Trust Gaming Mouse: needs a virtual subdevice
[   138.320] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:145F:0405.0005/input/input11/event8"
[   138.320] (II) XINPUT: Adding extended input device "Trust Gaming Mouse" (type: MOUSE, id 18)

同時に、ファイアウォールはパケットをブロックし、マウスを再接続すると、次のブロックが表示されます。

[  138.249752] [UFW BLOCK] IN=wlp2s0 OUT= MAC= SRC=2003:00e5:9f0d:82aa:9e4d:f753:9456:fa0a DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=94302 PROTO=UDP SPT=8612 DPT=8612 LEN=24
[  138.249766] [UFW BLOCK] IN=wlp2s0 OUT= MAC= SRC=2003:00e5:9f0d:82aa:9e4d:f753:9456:fa0a DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=390035 PROTO=UDP SPT=8612 DPT=8610 LEN=24
[  138.249777] [UFW BLOCK] IN=wlp2s0 OUT= MAC= SRC=fe80:0000:0000:0000:c3d4:139e:fbdf:5c13 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=236403 PROTO=UDP SPT=8612 DPT=8612 LEN=24
[  138.249786] [UFW BLOCK] IN=wlp2s0 OUT= MAC= SRC=fe80:0000:0000:0000:c3d4:139e:fbdf:5c13 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=46973 PROTO=UDP SPT=8612 DPT=8610 LEN=24
[  138.259911] [UFW BLOCK] IN=wlp2s0 OUT= MAC= SRC=2003:00e5:9f0d:82aa:9e4d:f753:9456:fa0a DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=94302 PROTO=UDP SPT=8612 DPT=8612 LEN=24
[  138.259923] [UFW BLOCK] IN=wlp2s0 OUT= MAC= SRC=2003:00e5:9f0d:82aa:9e4d:f753:9456:fa0a DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=390035 PROTO=UDP SPT=8612 DPT=8610 LEN=24
[  138.259934] [UFW BLOCK] IN=wlp2s0 OUT= MAC= SRC=fe80:0000:0000:0000:c3d4:139e:fbdf:5c13 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=236403 PROTO=UDP SPT=8612 DPT=8612 LEN=24
[  138.259943] [UFW BLOCK] IN=wlp2s0 OUT= MAC= SRC=fe80:0000:0000:0000:c3d4:139e:fbdf:5c13 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=46973 PROTO=UDP SPT=8612 DPT=8610 LEN=24

奇妙だが、もちろん全く関係のない偶然かもしれない。アイデア:

  1. HIDがうまく処理しているように見えましたが、マウスを早く拾う風になんだか物事がめちゃくちゃになりました。
  2. 何らかの理由でマウスを接続するときにインターネットアクセスを必要とするいくつかの追加のudevルール(デフォルトまたはインストールしたため)があります。ファイアウォールはこれらのルールをブロックするため、タイムアウト後にのみマウスを表示できます。

(1)をテストする良い方法は思い出されません。 (2)の場合は、ファイアウォールを無効にし、初めてマウスを使用したときにインストールされた追加機能があるかどうかを覚えておくか、udevタスクをデバッグすることができます(少し痛いです)。

おすすめ記事