uneeny
@uneeny

Lsusb и lspci не видят тачпад ноутбука ELAN, однако dmesg его видит?

Для правильной работы драйверов libfprint, нужно чтобы мой тачпад был виден в lsusb, но его там нет.
Нужно мне это для работы моего сканера отпечатка пальцев. Я смог заставить выдавать рисунок моего пальца с помощью этого проекта elan-spi-fingerprint , но для сборки драйвера libfprint, нужно наличие устройства в lsusb.

Устройство ELAN дает знать о себе если глянуть в xinput list:
~ » xinput list                                                                                                                                                                                         sosaf@sosaf
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ XiaoMi Mi Wireless Mouse                  id=9    [slave  pointer  (2)]
⎜   ↳ XiaoMi Mi Wireless Mouse Consumer Control id=10   [slave  pointer  (2)]
⎜   ↳ ELAN1300:00 04F3:310C Mouse               id=13   [slave  pointer  (2)]
⎜   ↳ ELAN1300:00 04F3:310C Touchpad            id=14   [slave  pointer  (2)]
⎜   ↳ ELAN2097:00 04F3:241F                     id=15   [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)]
    ↳ XiaoMi Mi Wireless Mouse System Control   id=11   [slave  keyboard (3)]
    ↳ USB2.0 VGA UVC WebCam: USB2.0 V           id=12   [slave  keyboard (3)]
    ↳ ELAN2097:00 04F3:241F Stylus              id=16   [slave  keyboard (3)]
    ↳ Intel HID events                          id=17   [slave  keyboard (3)]
    ↳ Intel HID 5 button array                  id=18   [slave  keyboard (3)]
    ↳ Asus WMI hotkeys                          id=19   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=20   [slave  keyboard (3)]
    ↳ XiaoMi Mi Wireless Mouse Consumer Control id=21   [slave  keyboard (3)]
    ↳ MAJOR III BLUETOOTH (AVRCP)               id=22   [slave  keyboard (3)]

Так же его видно в dmesg:
~ » sudo dmesg | grep "ELAN"                                                                                                                                                                      130 ↵ sosaf@sosaf
[    2.570917] input: ELAN1300:00 04F3:310C Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-6/i2c-ELAN1300:00/0018:04F3:310C.0002/input/input10
[    2.571072] input: ELAN1300:00 04F3:310C Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-6/i2c-ELAN1300:00/0018:04F3:310C.0002/input/input11
[    2.571284] hid-generic 0018:04F3:310C.0002: input,hidraw1: I2C HID v1.00 Mouse [ELAN1300:00 04F3:310C] on i2c-ELAN1300:00
[    2.681427] input: ELAN2097:00 04F3:241F Touchscreen as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN2097:00/0018:04F3:241F.0003/input/input14
[    2.681604] input: ELAN2097:00 04F3:241F as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN2097:00/0018:04F3:241F.0003/input/input15
[    2.681777] input: ELAN2097:00 04F3:241F as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN2097:00/0018:04F3:241F.0003/input/input16
[    2.681909] input: ELAN2097:00 04F3:241F Stylus as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN2097:00/0018:04F3:241F.0003/input/input17
[    2.682050] hid-generic 0018:04F3:241F.0003: input,hidraw2: I2C HID v1.00 Device [ELAN2097:00 04F3:241F] on i2c-ELAN2097:00
[    3.248653] input: ELAN1300:00 04F3:310C Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-6/i2c-ELAN1300:00/0018:04F3:310C.0002/input/input20
[    3.249531] input: ELAN1300:00 04F3:310C Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-6/i2c-ELAN1300:00/0018:04F3:310C.0002/input/input21
[    3.252320] hid-multitouch 0018:04F3:310C.0002: input,hidraw1: I2C HID v1.00 Mouse [ELAN1300:00 04F3:310C] on i2c-ELAN1300:00
[    3.474932] input: ELAN2097:00 04F3:241F as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN2097:00/0018:04F3:241F.0003/input/input23
[    3.475101] input: ELAN2097:00 04F3:241F UNKNOWN as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN2097:00/0018:04F3:241F.0003/input/input24
[    3.475313] input: ELAN2097:00 04F3:241F UNKNOWN as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN2097:00/0018:04F3:241F.0003/input/input25
[    3.475420] input: ELAN2097:00 04F3:241F Stylus as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN2097:00/0018:04F3:241F.0003/input/input26
[    3.476119] hid-multitouch 0018:04F3:241F.0003: input,hidraw2: I2C HID v1.00 Device [ELAN2097:00 04F3:241F] on i2c-ELAN2097:00
[    3.476569] i2c_hid_acpi i2c-ELAN2097:00: i2c_hid_get_input: IRQ triggered but there's no data


В то же время, lsusb и lspci не видят его:
~ » lsusb                                                                                                                                                                                               sosaf@sosaf
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f2:b568 Chicony Electronics Co., Ltd USB2.0 VGA UVC WebCam
Bus 001 Device 004: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 001 Device 002: ID 2717:5013 Xiaomi Inc. Mi Wireless Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~ » lspci                                                                                                                                                                                               sosaf@sosaf
00:00.0 Host bridge: Intel Corporation Coffee Lake HOST and DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620]
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0b)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Point-LP Thermal Controller (rev 30)
00:13.0 Serial controller: Intel Corporation Cannon Point-LP Integrated Sensor Hub (rev 30)
00:14.0 USB controller: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller (rev 30)
00:14.2 RAM memory: Intel Corporation Cannon Point-LP Shared SRAM (rev 30)
00:14.3 Network controller: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 30)
00:15.0 Serial bus controller: Intel Corporation Cannon Point-LP Serial IO I2C Controller #0 (rev 30)
00:15.1 Serial bus controller: Intel Corporation Cannon Point-LP Serial IO I2C Controller #1 (rev 30)
00:16.0 Communication controller: Intel Corporation Cannon Point-LP MEI Controller #1 (rev 30)
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 30)
00:1d.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #9 (rev f0)
00:1e.0 Communication controller: Intel Corporation Cannon Point-LP Serial IO UART Controller #2 (rev 30)
00:1e.3 Serial bus controller: Intel Corporation Cannon Point-LP Serial IO SPI Controller (rev 30)
00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 30)
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30)
00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 30)
00:1f.5 Serial bus controller: Intel Corporation Cannon Point-LP SPI Controller (rev 30)
01:00.0 Non-Volatile memory controller: Intel Corporation SSD 660P Series (rev 03)


Если конкретнее, то мне нужна видимость устройства с адресом 04F3:241F (именно с этим адресом я и смог получить скан своего пальца)
  • Вопрос задан
  • 152 просмотра
Решения вопроса 1
jcmvbkbc
@jcmvbkbc
http://dilbert.com/strip/1998-08-24
lsusb и lspci не видят его

и это правильно, потому что, судя по dmesg, это i2c устройство подключенное к i2c-контроллеру висящему на шине PCI (вот к этому: 00:15.1 Serial bus controller: Intel Corporation Cannon Point-LP Serial IO I2C Controller #1 (rev 30)).
Ответ написан
Пригласить эксперта
Ответы на вопрос 1
@Zerg89
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
SberTech Москва
от 200 000 до 300 000 ₽
ИТ-ЛИНК Екатеринбург
от 100 000 до 150 000 ₽
Infinnity Solutions Челябинск
от 145 000 до 260 000 ₽
05 июл. 2022, в 12:31
12000 руб./за проект
05 июл. 2022, в 12:24
300000 руб./за проект
05 июл. 2022, в 12:15
500 руб./за проект