Как передать имена файлов с пробелами из файла списка в "grep"?

[  1547.283] (II) XINPUT: Adding extended input device "Corsair Corsair STRAFE RGB Gaming Keyboard Consumer Control" (type: MOUSE, id 14)
[  1547.283] (**) Option "AccelerationScheme" "none"
[  1547.283] (**) Corsair Corsair STRAFE RGB Gaming Keyboard Consumer Control: (accel) selected scheme none/0
[  1547.283] (**) Corsair Corsair STRAFE RGB Gaming Keyboard Consumer Control: (accel) acceleration factor: 2.000
[  1547.283] (**) Corsair Corsair STRAFE RGB Gaming Keyboard Consumer Control: (accel) acceleration threshold: 4
[  1547.287] (II) event10 - Corsair Corsair STRAFE RGB Gaming Keyboard Consumer Control: is tagged by udev as: Keyboard
[  1547.287] (II) event10 - Corsair Corsair STRAFE RGB Gaming Keyboard Consumer Control: device is a keyboard
[  1547.289] (II) config/udev: Adding input device Corsair Corsair STRAFE RGB Gaming Keyboard (/dev/input/event11)
[  1547.289] (II) No input driver specified, ignoring this device.
[  1547.289] (II) This device may have been added with another device file.
[  1547.291] (II) config/udev: Adding input device Corsair Corsair STRAFE RGB Gaming Keyboard (/dev/input/event12)
[  1547.291] (II) No input driver specified, ignoring this device.
[  1547.291] (II) This device may have been added with another device file.
[  1547.293] (II) config/udev: Adding input device COMPANY USB Device (/dev/input/event13)
[  1547.293] (**) COMPANY USB Device: Applying InputClass "libinput pointer catchall"
[  1547.293] (II) Using input driver 'libinput' for 'COMPANY USB Device'
[  1547.293] (**) COMPANY USB Device: always reports core events
[  1547.293] (**) Option "Device" "/dev/input/event13"
[  1547.293] (**) Option "_source" "server/udev"
[  1547.352] (II) event13 - COMPANY USB Device: is tagged by udev as: Mouse
[  1547.353] (II) event13 - COMPANY USB Device: device is a pointer
[  1547.353] (II) event13 - COMPANY USB Device: device removed
[  1547.416] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13.2/1-13.2.4/1-13.2.4:1.0/0003:09DA:FC7C.0005/input/input21/event13"
[  1547.416] (II) XINPUT: Adding extended input device "COMPANY USB Device" (type: MOUSE, id 15)
[  1547.416] (**) Option "AccelerationScheme" "none"
[  1547.416] (**) COMPANY USB Device: (accel) selected scheme none/0
[  1547.416] (**) COMPANY USB Device: (accel) acceleration factor: 2.000
[  1547.416] (**) COMPANY USB Device: (accel) acceleration threshold: 4
[  1547.476] (II) event13 - COMPANY USB Device: is tagged by udev as: Mouse
[  1547.476] (II) event13 - COMPANY USB Device: device is a pointer
[  1547.478] (II) config/udev: Adding input device COMPANY USB Device (/dev/input/mouse2)
[  1547.478] (II) No input driver specified, ignoring this device.
[  1547.478] (II) This device may have been added with another device file.
[  1547.479] (II) config/udev: Adding input device USB2.0 VGA UVC WebCam: USB2.0 V (/dev/input/event16)
[  1547.479] (**) USB2.0 VGA UVC WebCam: USB2.0 V: Applying InputClass "libinput keyboard catchall"
[  1547.479] (II) Using input driver 'libinput' for 'USB2.0 VGA UVC WebCam: USB2.0 V'
[  1547.479] (**) USB2.0 VGA UVC WebCam: USB2.0 V: always reports core events
[  1547.479] (**) Option "Device" "/dev/input/event16"
[  1547.479] (**) Option "_source" "server/udev"
[  1547.482] (II) event16 - USB2.0 VGA UVC WebCam: USB2.0 V: is tagged by udev as: Keyboard
[  1547.482] (II) event16 - USB2.0 VGA UVC WebCam: USB2.0 V: device is a keyboard
[  1547.482] (II) event16 - USB2.0 VGA UVC WebCam: USB2.0 V: device removed
[  1547.562] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/input/input26/event16"
[  1547.562] (II) XINPUT: Adding extended input device "USB2.0 VGA UVC WebCam: USB2.0 V" (type: KEYBOARD, id 16)
[  1547.566] (II) event16 - USB2.0 VGA UVC WebCam: USB2.0 V: is tagged by udev as: Keyboard
[  1547.566] (II) event16 - USB2.0 VGA UVC WebCam: USB2.0 V: device is a keyboard
[  1547.567] (II) config/udev: Adding input device GDX1505:00 27C6:01F1 Touchpad (/dev/input/event15)
[  1547.567] (**) GDX1505:00 27C6:01F1 Touchpad: Applying InputClass "libinput touchpad catchall"
[  1547.567] (II) Using input driver 'libinput' for 'GDX1505:00 27C6:01F1 Touchpad'
[  1547.567] (**) GDX1505:00 27C6:01F1 Touchpad: always reports core events
[  1547.567] (**) Option "Device" "/dev/input/event15"
[  1547.568] (**) Option "_source" "server/udev"
[  1547.679] (II) event15 - GDX1505:00 27C6:01F1 Touchpad: is tagged by udev as: Touchpad
[  1547.686] (II) event15 - GDX1505:00 27C6:01F1 Touchpad: device is a touchpad
[  1547.686] (II) event15 - GDX1505:00 27C6:01F1 Touchpad: device removed
[  1547.749] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-GDX1505:00/0018:27C6:01F1.0007/input/input24/event15"
[  1547.749] (II) XINPUT: Adding extended input device "GDX1505:00 27C6:01F1 Touchpad" (type: TOUCHPAD, id 17)
[  1547.751] (**) Option "AccelerationScheme" "none"
[  1547.751] (**) GDX1505:00 27C6:01F1 Touchpad: (accel) selected scheme none/0
[  1547.751] (**) GDX1505:00 27C6:01F1 Touchpad: (accel) acceleration factor: 2.000
[  1547.751] (**) GDX1505:00 27C6:01F1 Touchpad: (accel) acceleration threshold: 4
[  1547.753] (II) event15 - GDX1505:00 27C6:01F1 Touchpad: is tagged by udev as: Touchpad
[  1547.763] (II) event15 - GDX1505:00 27C6:01F1 Touchpad: device is a touchpad
[  1547.764] (II) config/udev: Adding input device GDX1505:00 27C6:01F1 Touchpad (/dev/input/mouse3)
[  1547.764] (II) No input driver specified, ignoring this device.
[  1547.764] (II) This device may have been added with another device file.
[  1547.764] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event18)
[  1547.764] (II) No input driver specified, ignoring this device.
[  1547.764] (II) This device may have been added with another device file.
[  1547.765] (II) config/udev: Adding input device Asus WMI hotkeys (/dev/input/event17)
[  1547.765] (**) Asus WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[  1547.765] (II) Using input driver 'libinput' for 'Asus WMI hotkeys'
[  1547.765] (**) Asus WMI hotkeys: always reports core events
[  1547.765] (**) Option "Device" "/dev/input/event17"
[  1547.765] (**) Option "_source" "server/udev"
[  1547.766] (II) event17 - Asus WMI hotkeys: is tagged by udev as: Keyboard
[  1547.766] (II) event17 - Asus WMI hotkeys: device is a keyboard
[  1547.766] (II) event17 - Asus WMI hotkeys: device removed
[  1547.829] (**) Option "config_info" "udev:/sys/devices/platform/asus-nb-wmi/input/input27/event17"
[  1547.829] (II) XINPUT: Adding extended input device "Asus WMI hotkeys" (type: KEYBOARD, id 18)
[  1547.832] (II) event17 - Asus WMI hotkeys: is tagged by udev as: Keyboard
[  1547.832] (II) event17 - Asus WMI hotkeys: device is a keyboard
[  1547.833] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[  1547.833] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[  1547.833] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[  1547.833] (**) AT Translated Set 2 keyboard: always reports core events
[  1547.833] (**) Option "Device" "/dev/input/event4"
[  1547.833] (**) Option "_source" "server/udev"
[  1547.835] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[  1547.835] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[  1547.838] (II) event4  - AT Translated Set 2 keyboard: device removed
[  1547.882] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[  1547.882] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 19)
[  1547.885] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[  1547.885] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[  1547.888] (II) config/udev: Adding input device PC Speaker (/dev/input/event14)
[  1547.888] (II) No input driver specified, ignoring this device.
[  1547.888] (II) This device may have been added with another device file.
[  1547.890] (**) Corsair Corsair STRAFE RGB Gaming Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[  1547.890] (II) Using input driver 'libinput' for 'Corsair Corsair STRAFE RGB Gaming Keyboard Consumer Control'
[  1547.890] (**) Corsair Corsair STRAFE RGB Gaming Keyboard Consumer Control: always reports core events
[  1547.890] (**) Option "Device" "/dev/input/event10"
[  1547.890] (**) Option "_source" "_driver/libinput"
[  1547.890] (II) libinput: Corsair Corsair STRAFE RGB Gaming Keyboard Consumer Control: is a virtual subdevice
[  1547.890] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13.2/1-13.2.3/1-13.2.3:1.1/0003:1B1C:1B20.0004/input/input18/event10"
[  1547.890] (II) XINPUT: Adding extended input device "Corsair Corsair STRAFE RGB Gaming Keyboard Consumer Control" (type: KEYBOARD, id 20)
[  1547.891] (EE) Failed to open authorization file "/var/run/sddm/{faf6700a-1242-48de-b98d-683fc4611caf}": No such file or directory
[  1548.874] (II) event3  - Power Button: device removed
[  1548.909] (II) event2  - Power Button: device removed
[  1548.936] (II) event1  - Sleep Button: device removed
[  1548.959] (II) event5  - ELAN Touchscreen: device removed
[  1549.016] (II) event6  - ELAN Touchscreen: device removed
[  1549.082] (II) event7  - FiiO DigiHug USB Audio: device removed
[  1549.136] (II) event8  - Corsair Corsair STRAFE RGB Gaming Keyboard: device removed
[  1549.163] (II) event9  - Corsair Corsair STRAFE RGB Gaming Keyboard: device removed
[  1549.189] (II) event13 - COMPANY USB Device: device removed
[  1549.242] (II) event16 - USB2.0 VGA UVC WebCam: USB2.0 V: device removed
[  1549.296] (II) event15 - GDX1505:00 27C6:01F1 Touchpad: device removed
[  1549.349] (II) event17 - Asus WMI hotkeys: device removed
[  1549.402] (II) event4  - AT Translated Set 2 keyboard: device removed
[  1549.429] (II) event10 - Corsair Corsair STRAFE RGB Gaming Keyboard Consumer Control: device removed
no

Если я понизил версию сервера xorg до версии 1.19, ошибки не будет

1547.891] (EE) Failed to open authorization file "/var/run/sddm/{faf6700a-1242-48de-b98d-683fc4611caf}": No such file or directory

Но все дисплеи по-прежнему отключены лшв

  *-display
       description: 3D controller
       product: GP107M [GeForce GTX 1050 Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:163 memory:e4000000-e4ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:3000(size=128) memory:e5000000-e507ffff
  *-display UNCLAIMED
       description: VGA compatible controller
       product: UHD Graphics 630 (Mobile)
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:e3000000-e3ffffff memory:40000000-4fffffff ioport:4000(size=64) memory:c0000-dffff

Хорг


Section "Module"
    Load "modesetting"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "1:0:0"
#    Option "AllowEmptyInitialConfiguration"
EndSection

Настройка X

#!/bin/sh
# Xsetup - run as root before the login dialog appears
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

У меня такая же проблема с использованием lightdm и sddm

Я настроил xorg.conf, используя документацию archliux, и эта конфигурация работала, пока я обновлял ее сегодня. Что случилось?

7
21.07.2021, 10:37
0 ответов

Теги

Похожие вопросы