Я недавно установил Ubuntu 18.04 и не могу понять, почему сенсорный экран не работает. Вот соответствующий журнал от xorg.log
:
[ 359.454] (II) config/udev: Adding input device ELAN Touchscreen (/dev/input/event7)
[ 359.454] (**) ELAN Touchscreen: Applying InputClass "libinput touchscreen catchall"
[ 359.455] (II) Using input driver 'libinput' for 'ELAN Touchscreen'
[ 359.458] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 27 paused 0
[ 359.458] (**) ELAN Touchscreen: always reports core events
[ 359.458] (**) Option "Device" "/dev/input/event7"
[ 359.458] (**) Option "_source" "server/udev"
[ 359.460] (II) event7 - ELAN Touchscreen: is tagged by udev as: Touchscreen
[ 359.460] (II) event7 - ELAN Touchscreen: device is a touch device
[ 359.460] (II) event7 - ELAN Touchscreen: device removed
[ 359.461] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.6/1-1.6:1.0/0003:04F3:0034.0001/input/input8/event7"
[ 359.461] (II) XINPUT: Adding extended input device "ELAN Touchscreen" (type: TOUCHSCREEN, id 8)
[ 359.461] (**) Option "AccelerationScheme" "none"
[ 359.461] (**) ELAN Touchscreen: (accel) selected scheme none/0
[ 359.461] (**) ELAN Touchscreen: (accel) acceleration factor: 2.000
[ 359.461] (**) ELAN Touchscreen: (accel) acceleration threshold: 4
[ 359.463] (II) event7 - ELAN Touchscreen: is tagged by udev as: Touchscreen
[ 359.463] (II) event7 - ELAN Touchscreen: device is a touch device
[ 359.466] (II) config/udev: Adding input device ELAN Touchscreen (/dev/input/mouse1)
xinput
:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Video Bus id=9 [slave keyboard (3)]
↳ Laptop_Integrated_Webcam_HD: In id=10 [slave keyboard (3)]
↳ Dell WMI hotkeys id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
dmesg | grep "1-1.6"
:
[ 3.512037] usb 1-1.6: new full-speed USB device number 4 using ehci-pci
[ 3.608042] usb 1-1.6: device descriptor read/64, error -32
[ 3.839565] usb 1-1.6: device descriptor read/64, error -32
[ 4.024035] usb 1-1.6: new full-speed USB device number 5 using ehci-pci
[ 4.104032] usb 1-1.6: device descriptor read/64, error -32
[ 4.292021] usb 1-1.6: device descriptor read/64, error -32
[ 5.312798] usb 1-1.6: new full-speed USB device number 6 using ehci-pci
sudo dmidecode | grep -A 9 "System Information"
:
System Information
Manufacturer: Dell Inc.
Product Name: Inspiron 5537
Version: A11
Serial Number: #######
UUID: 4C4C4544-0035-5910-8031-B7C04F543032
Wake-up Type: Power Switch
SKU Number: Inspiron 5537
Family: 00
Я попробовал все шаги, упомянутые в Сенсорном экране - Ubuntu Wiki, но не мог заставить это работать. Какие-либо указатели?
Что-то странное произошло сегодня, все внезапные, сенсорный экран начал работать и он остановился через некоторое время. Вот соответствующее dmesg
:
[ 86.280036] usb 1-1.6: new full-speed USB device number 10 using ehci-pci
[ 86.390483] usb 1-1.6: New USB device found, idVendor=04f3, idProduct=0034
[ 86.390487] usb 1-1.6: New USB device strings: Mfr=4, Product=14, SerialNumber=0
[ 86.390489] usb 1-1.6: Product: Touchscreen
[ 86.390490] usb 1-1.6: Manufacturer: ELAN
[ 87.041347] input: ELAN Touchscreen as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.6/1-1.6:1.0/0003:04F3:0034.0001/input/input16
[ 87.041675] hid-multitouch 0003:04F3:0034.0001: input,hiddev0,hidraw0: USB HID v1.10 Device [ELAN Touchscreen] on usb-0000:00:1d.0-1.6/input0
[ 90.337071] rfkill: input handler disabled
[ 257.888791] usb 1-1.6: reset full-speed USB device number 10 using ehci-pci
[ 330.230527] usb 1-1.6: reset full-speed USB device number 10 using ehci-pci
[ 330.310492] usb 1-1.6: device descriptor read/64, error -32
[ 330.498404] usb 1-1.6: device descriptor read/64, error -32
[ 330.686280] usb 1-1.6: reset full-speed USB device number 10 using ehci-pci
[ 330.766239] usb 1-1.6: device descriptor read/64, error -32
uname -a
:
Linux dell 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
:
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Честно я полагаю, что это проблема XY, реальная первопричина этой проблемы, вероятно, разрешима путем отключения неправильно себя ведущего устройства, включил рассматриваемый порт, или возможно этот ответ будет полезен. Кроме того, иногда соединения USB могут перестать работать должный вычистить в порте, и может решенным с консервированным воздухом путем вычищения его.
Для ответа на вопрос, Вы первоначально спросили, номер, я не полагаю, что можно отключить определенный порт на ноутбуке. Существуют редкие концентраторы, которые позволяют это (см. файл README.md в https://github.com/mvp/uhubctl/), но они немногочисленны, и я не думаю, что Вы найдете эту функцию поддерживаемой Вашей материнской платой ноутбука. Насколько я знаю отключение на порт не поддерживается ядром начиная с версии 2.6.33. Вот выборка:
The user interface for dynamic PM
---------------------------------
The user interface for controlling dynamic PM is located in the power/
subdirectory of each USB device's sysfs directory, that is, in
/sys/bus/usb/devices/.../power/ where "..." is the device's ID. The
relevant attribute files are: wakeup, control, and
autosuspend_delay_ms. (There may also be a file named "level"; this
file was deprecated as of the 2.6.35 kernel and replaced by the
"control" file. In 2.6.38 the "autosuspend" file will be deprecated
and replaced by the "autosuspend_delay_ms" file. The only difference
is that the newer file expresses the delay in milliseconds whereas the
older file uses seconds. Confusingly, both files are present in 2.6.37
but only "autosuspend" works.)
power/wakeup
This file is empty if the device does not support
remote wakeup. Otherwise the file contains either the
word "enabled" or the word "disabled", and you can
write those words to the file. The setting determines
whether or not remote wakeup will be enabled when the
device is next suspended. (If the setting is changed
while the device is suspended, the change won't take
effect until the following suspend.)
power/control
This file contains one of two words: "on" or "auto".
You can write those words to the file to change the
device's setting.
"on" means that the device should be resumed and
autosuspend is not allowed. (Of course, system
suspends are still allowed.)
"auto" is the normal state in which the kernel is
allowed to autosuspend and autoresume the device.
(In kernels up to 2.6.32, you could also specify
"suspend", meaning that the device should remain
suspended and autoresume was not allowed. This
setting is no longer supported.)
Источник: https://www.kernel.org/doc/Documentation/usb/power-management.txt
Править: На основе Ваших комментариев, в ответе на текущую версию Вашего вопроса, у Вас есть изворотливое соединение с Вашим сенсорным экраном, можно наблюдать его с командой udevadm monitor
Так как Вы не довольны питанием со своими аппаратными средствами, я предлагаю, чтобы Вы взяли его квалифицированному техническому специалисту для восстановления или если это находится под гарантийным контактом производитель или место покупки.
Я не могу протестировать, поскольку у меня нет Ваших аппаратных средств. Однако мне везло в прошлой аппаратной реализации возможностей использования.
Согласно результатам Поиска Пакета Ubuntu у Вас в настоящее время есть 2 опции для этого для 18,04. linux-generic-hwe-18.04 (4.18.0.15.65) и linux-generic-hwe-18.04-edge.
Вы могли бы также найти некоторые подсказки здесь.