Как journalctl может добавить строку с сообщением журнала «--Reboot --»?

Помимо ответа @desowin , я хочу добавить, что устройства с несколькими интерфейсами означают, что это составное устройство, как указано в An Introduction to Universal Serial Bus 2.0:

At the same time, a device can have multiple interfaces, thus multiple interface descriptors. A USB device with multiple interfaces that perform different functions is called a composite device. An example is a USB audio head set. In the head set, you have a single USB device with two interfaces. One interface is for the audio side of the headset and another interface may be the controls to adjust the volume. Multiple interfaces can be active at the same time.

Чтобы выяснить, какова функциональность этого Noneинтерфейса устройства, я протестировал sudo cat /dev/input/by-id/usb-CHESEN_USB_Keyboard-event-kbdи sudo cat /dev/input/by-id/usb-CHESEN_USB_Keyboard-event-if01, нажимая разные клавиши, и в конце концов заметил, что только if01будет получать вывод, когда я нажимаю мультимедийные клавиши для открытия. Настройки Bluetooth и регулировка громкости.

1
02.07.2021, 19:46
0 ответов

Теги

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