Porteus 5 on HP elitebook 840 G7 Touchpad error

Here you can post about your various experiences with PC hardware. You can also post about hardware that is not compatible with the linux kernel or not recommended for use with Porteus.
cmbarreto
White ninja
White ninja
Posts: 9
Joined: 11 Jan 2012, 16:16
Distribution: Slackware, porteus, ubuntu
Location: Uruguay

Porteus 5 on HP elitebook 840 G7 Touchpad error

Post#1 by cmbarreto » 22 Jun 2023, 22:29

Hello
I m testing Porteus 5 on HP elitebook 840 G7 and many things worked and others didn't.
I will comment on the ones that did not work:
Sound: We fixed it with sof-2.2-x86_64-1gv.xzm It's in this forum.
The temperature sensors are not working well.
The touchpad/trackpad was not recognized.

The same computer using the ubuntu 20 installer recognizes the temperature sensors and the touchpad.

Comet lake processor identifier appears in dmesg from ubuntu cd but not in porteus 5 dmesg. I don't know if this is relevant.

I need the touchpad to use the laptop at bus. :D
thanks in advance.


lsmod and lsdev in ubuntu 20 and porteus5

Code: Select all


UBUNTU 20
root@porteus:/home/guest# cat /mnt/nvme0n1p3/Users/lsmod.txt | grep -e hid -e input -e mouse -e i2c 
input_leds             16384  0
hid_multitouch         32768  0
intel_hid              24576  0
sparse_keymap          16384  2 hp_wmi,intel_hid
mac_hid                16384  0
i2c_algo_bit           16384  1 i915
hid_generic            16384  0
i2c_i801               36864  0
i2c_smbus              20480  1 i2c_i801
i2c_hid_acpi           16384  0
i2c_hid                36864  1 i2c_hid_acpi
hid                   159744  3 i2c_hid,hid_multitouch,hid_generic

PORTEUS 5
root@porteus:/home/guest# lsmod | grep -e hid -e input -e mouse -e i2c 
input_leds             12288  0
led_class              12288  3 snd_hda_codec_generic,input_leds,iwlmvm
i2c_i801               24576  0
i2c_hid_acpi           12288  0
i2c_hid                24576  1 i2c_hid_acpi
intel_hid              16384  0
sparse_keymap          12288  2 hp_wmi,intel_hid
root@porteus:/home/guest# 

LSDEV UBUNTU 20

Code: Select all

root@porteus:/home/guest# cat /mnt/nvme0n1p3/Users/lsdev.txt 
Device            DMA   IRQ  I/O Ports
------------------------------------------------
 0  INT34BB:00  106  SYNA30B3:00        166 
0000:00:02.0                   3000-303f
0000:00:1f.4                   efa0-efbf
ACPI                             1800-1803     1804-1805     1808-180b     1810-1815     1850-1850     1860-187f
acpi                      9 
AudioDSP                168 
cascade             4       
dma                            0080-008f
dma1                           0000-001f
dma2                           00c0-00df
dmar0                   120 
dmar1                   121 
EC                               0062-0062     0066-0066
fpu                            00f0-00ff
i2c_designware.1         17 
i801_smbus               16      efa0-efbf
i8042                     1 
i915                    167 
INT34BB:00               14 
iTCO_wdt                       0400-041f
iwlwifi:default_queue        140 
iwlwifi:exception        149 
iwlwifi:queue_1         141 
iwlwifi:queue_2         142 
iwlwifi:queue_3         143 
iwlwifi:queue_4         144 
iwlwifi:queue_5         145 
iwlwifi:queue_6         146 
iwlwifi:queue_7         147 
iwlwifi:queue_8         148 
keyboard                       0060-0060   0064-0064
mei_me                  139 
nvme0q0                 128 
nvme0q1                 131 
nvme0q2                 132 
nvme0q3                 133 
nvme0q4                 134 
nvme0q5                 135 
nvme0q6                 136 
nvme0q7                 137 
nvme0q8                 138 
PCI                          0000-0cf7 0cf8-0cff 0d00-ffff   4000-6fff     4000-5fff       4000-4fff       5000-5fff
PCIe PME                123 
PCIe PME, pciehp        122 
pciehp                125 127 
pic1                           0020-0021
pic2                           00a0-00a1
pnp                            0200-027f   0680-069f   164e-164f   1800-18fe     1854-1857   2000-20fe
PNP0C09:00                     0062-0062   0066-0066
rtc0                      8    0070-0077
thunderbolt           150 151 
timer0                         0040-0043
timer1                         0050-0053
xhci_hcd              129 130 
LSDEV PORTEUS 5

Code: Select all

root@porteus:/home/guest# lsdev
Device            DMA   IRQ  I/O Ports
------------------------------------------------
0000:00:02.0                 3000-303f
0000:00:1f.4                 efa0-efbf
ACPI                           1800-1803   1804-1805   1808-180b   1810-1815   1850-1850   1860-187f
acpi                      9 
AudioDSP                145 
cascade             4       
dma                          0080-008f
dma1                         0000-001f
dma2                         00c0-00df
dmar0                   120 
dmar1                   121 
EC                             0062-0062   0066-0066
fpu                          00f0-00ff
i2c_designware.0         16 
i2c_designware.1         17 
i801_smbus                     efa0-efbf
i8042                  1 12 
i915                    144 
iTCO_wdt                     0400-041f
iwlwifi:default_queue        134 
iwlwifi:exception        143 
iwlwifi:queue_1         135 
iwlwifi:queue_2         136 
iwlwifi:queue_3         137 
iwlwifi:queue_4         138 
iwlwifi:queue_5         139 
iwlwifi:queue_6         140 
iwlwifi:queue_7         141 
iwlwifi:queue_8         142 
keyboard                     0060-0060 0064-0064
mei_me                  133 
nvme0q0                 123 
nvme0q1                 125 
nvme0q2                 126 
nvme0q3                 127 
nvme0q4                 128 
nvme0q5                 129 
nvme0q6                 130 
nvme0q7                 131 
nvme0q8                 132 
PCI                          0cf8-0cff
PCIe PME                122 
pic1                         0020-0021
pic2                         00a0-00a1
pnp                          0200-027f 0680-069f 164e-164f 1800-18fe   1854-1857 2000-20fe
PNP0C09:00                   0062-0062 0066-0066
rtc0                      8  0070-0077
timer0                       0040-0043
timer1                       0050-0053
xhci_hcd                124 


User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus 5 on HP elitebook 840 G7 Tuchpad error

Post#2 by Ed_P » 22 Jun 2023, 23:43

What does "synclient -l" show for you?

This old link may help: Re: Mouse pad option (Post by brokenman #13596) especially the "syndaemon -i 1 -d" part.
Ed

User avatar
Blaze
DEV Team
DEV Team
Posts: 3885
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus 5 on HP elitebook 840 G7 Touchpad error

Post#3 by Blaze » 23 Jun 2023, 04:12

Hi cmbarreto.
Try to update kernel Porteus Kernel Builder (Пост Blaze #94414)
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

cmbarreto
White ninja
White ninja
Posts: 9
Joined: 11 Jan 2012, 16:16
Distribution: Slackware, porteus, ubuntu
Location: Uruguay

Porteus 5 on HP elitebook 840 G7 Touchpad error

Post#4 by cmbarreto » 23 Jun 2023, 20:42

Thanks Ed_P but unlucky

Code: Select all

root@porteus:/home/guest# syndaemon -i 1 -d
Unable to find a synaptics device.
Thanks to Blaze too but

Code: Select all

Linux porteus.example.net 6.3.7-porteus #1 SMP PREEMPT_DYNAMIC Sat Jun 10 13:05:36 MSK 2023 x86_64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz GenuineIntel GNU/Linux
I also tried the latest kernels you uploaded without success.
And even compile a 6.4 one with neko's new script.

I also tried to send these parameters to the kernel in the append of porteus.cfg
i8042.nopnp=1 pci=nocrs

Unfortunately I can't do the same as raja in this thread HID over I2C - Precision Mouse But I see it as a similar problem.

User avatar
babam
Warlord
Warlord
Posts: 528
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus 5 on HP elitebook 840 G7 Touchpad error

Post#5 by babam » 24 Jun 2023, 09:26

Hi cmbarreto, try this

Code: Select all

sudo modprobe -r i2c_hid
sudo modprobe hid_generic
sudo modprobe i2c_hid
sudo modprobe hid_multitouch
Sorry, my English is bad.

cmbarreto
White ninja
White ninja
Posts: 9
Joined: 11 Jan 2012, 16:16
Distribution: Slackware, porteus, ubuntu
Location: Uruguay

Porteus 5 on HP elitebook 840 G7 Touchpad error

Post#6 by cmbarreto » 24 Jun 2023, 17:19

Thanks bambam
But Didnt work

Code: Select all

root@porteus:/home/guest# lsmod | grep hid
i2c_hid_acpi           12288  0
i2c_hid                24576  1 i2c_hid_acpi
intel_hid              16384  0
sparse_keymap          12288  2 hp_wmi,intel_hid
root@porteus:/home/guest# 
root@porteus:/home/guest# modprobe -r i2c_hid
modprobe: FATAL: Module i2c_hid is in use.
root@porteus:/home/guest# modprobe hid_generic
root@porteus:/home/guest# modprobe i2c_hid
root@porteus:/home/guest# modprobe hid_multitouch
root@porteus:/home/guest# 
root@porteus:/home/guest# lsmod | grep hid
hid_multitouch         20480  0
i2c_hid_acpi           12288  0
i2c_hid                24576  1 i2c_hid_acpi
intel_hid              16384  0
sparse_keymap          12288  2 hp_wmi,intel_hid
root@porteus:/home/guest# 
I find this hardware in dmesg and Xorg logs of ubuntu 20 installer:

Code: Select all

Using input driver 'libinput' for 'SYNA30B3:00 06CB:CE08'
From this post

https://www.linuxquestions.org/question ... 882-print/

We see that SYNA30B3 is here

dmesg | grep input

Code: Select all

root@porteus:/home/guest# dmesg | grep input
[   13.523371] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0
[   13.523447] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1
[   13.523518] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
[   13.523602] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[   13.594306] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[   13.938243] input: SiliconWin mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:0000:3821.0001/input/input5
[   13.938718] hid-generic 0003:0000:3821.0001: input,hidraw0: USB HID v1.11 Mouse [SiliconWin mouse] on usb-0000:00:14.0-1/input0
[   28.201961] input: Intel HID events as /devices/platform/INT33D5:00/input/input6
[   28.202241] input: Intel HID 5 button array as /devices/platform/INT33D5:00/input/input7
[   29.212085] input: HP WMI hotkeys as /devices/virtual/input/input8
[   30.209642] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9
[   31.902913] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[   32.575349] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input10
[   32.575435] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input11
[   32.575485] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input12
[   32.575543] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input13
[   32.575598] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input14
ls -l /sys/bus/i2c/devices

Code: Select all

root@porteus:/home/guest# ls -l /sys/bus/i2c/devices
total 0
lrwxrwxrwx 1 root root 0 Jun 24 16:55 2-0050 -> ../../../devices/pci0000:00/0000:00:1f.4/i2c-2/2-0050/
lrwxrwxrwx 1 root root 0 Jun 24 16:55 i2c-0 -> ../../../devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/
lrwxrwxrwx 1 root root 0 Jun 24 16:55 i2c-1 -> ../../../devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/
lrwxrwxrwx 1 root root 0 Jun 24 16:55 i2c-2 -> ../../../devices/pci0000:00/0000:00:1f.4/i2c-2/
lrwxrwxrwx 1 root root 0 Jun 24 16:55 i2c-3 -> ../../../devices/pci0000:00/0000:00:02.0/i2c-3/
lrwxrwxrwx 1 root root 0 Jun 24 16:55 i2c-4 -> ../../../devices/pci0000:00/0000:00:02.0/i2c-4/
lrwxrwxrwx 1 root root 0 Jun 24 16:55 i2c-5 -> ../../../devices/pci0000:00/0000:00:02.0/i2c-5/
lrwxrwxrwx 1 root root 0 Jun 24 16:55 i2c-6 -> ../../../devices/pci0000:00/0000:00:02.0/i2c-6/
lrwxrwxrwx 1 root root 0 Jun 24 16:55 i2c-7 -> ../../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/i2c-7/
lrwxrwxrwx 1 root root 0 Jun 24 16:55 i2c-8 -> ../../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1/i2c-8/
lrwxrwxrwx 1 root root 0 Jun 24 16:55 i2c-9 -> ../../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-2/i2c-9/
lrwxrwxrwx 1 root root 0 Jun 24 16:55 i2c-SYNA30B3:00 -> ../../../devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA30B3:00/
ls -l /sys/class/input

Code: Select all

root@porteus:/home/guest# ls -l /sys/class/input
total 0
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event0 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event1 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1/event1/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event10 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input10/event10/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event11 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input11/event11/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event12 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input12/event12/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event13 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input13/event13/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event14 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input14/event14/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event2 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event2/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event3 -> ../../devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event4 -> ../../devices/platform/i8042/serio0/input/input4/event4/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event5 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:0000:3821.0001/input/input5/event5/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event6 -> ../../devices/platform/INT33D5:00/input/input6/event6/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event7 -> ../../devices/platform/INT33D5:00/input/input7/event7/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event8 -> ../../devices/virtual/input/input8/event8/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 event9 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9/event9/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input0 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input1 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input10 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input10/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input11 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input11/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input12 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input12/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input13 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input13/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input14 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input14/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input2 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input3 -> ../../devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input4 -> ../../devices/platform/i8042/serio0/input/input4/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input5 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:0000:3821.0001/input/input5/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input6 -> ../../devices/platform/INT33D5:00/input/input6/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input7 -> ../../devices/platform/INT33D5:00/input/input7/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input8 -> ../../devices/virtual/input/input8/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 input9 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 mice -> ../../devices/virtual/input/mice/
lrwxrwxrwx 1 root root 0 Jun 24 16:49 mouse0 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:0000:3821.0001/input/input5/mouse0/
But touchpad didnt work

User avatar
Blaze
DEV Team
DEV Team
Posts: 3885
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus 5 on HP elitebook 840 G7 Touchpad error

Post#7 by Blaze » 24 Jun 2023, 19:15

Hi cmbarreto.

!!! This tweak is at your own risk !!!

Open terminal and run:

Code: Select all

su
toor
cd /tmp
wget -q --show-progress -P /tmp https://slackware.uk/slackware/slackware64-current/slackware64/x/libinput-1.23.0-x86_64-1.txz
wget -q --show-progress -P /tmp https://slackware.uk/slackware/slackware64-current/slackware64/x/xf86-input-libinput-1.3.0-x86_64-1.txz
removepkg libinput
installpkg libinput-1.23.0-x86_64-1.txz xf86-input-libinput-1.3.0-x86_64-1.txz
reboot
# and test your touchpad
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus 5 on HP elitebook 840 G7 Touchpad error

Post#8 by beny » 24 Jun 2023, 23:04

hi the modules linked in ubuntu log are all in so you have to load but you have to use the whole path to the modules and i use insmod instead modprobe
insmod /lib/modules/6.3.6-porteus/kernel/drivers/hid/hid-multitouch.ko and the other..too

cmbarreto
White ninja
White ninja
Posts: 9
Joined: 11 Jan 2012, 16:16
Distribution: Slackware, porteus, ubuntu
Location: Uruguay

Porteus 5 on HP elitebook 840 G7 Touchpad error

Post#9 by cmbarreto » 25 Jun 2023, 02:07

Blaze wrote:
24 Jun 2023, 19:15
Hi cmbarreto.

!!! This tweak is at your own risk !!!
Thanks Blaze
I tried as you suggested and also with the same packages from the 15.0 slackware branch.
libinput-1.23.0-x86_64-1.txz
xf86-input-libinput-1.3.0-x86_64-1.txz

In both cases I was left without keyboard and the output of the libinput command gave me an error for not finding libwacom.so

Code: Select all

guest@porteus:~$ libinput 
libinput: error while loading shared libraries: libwacom.so.2: cannot open shared object file: No such file or directory
guest@porteus:~$ su
Password: 
root@porteus:/home/guest# libinput 
libinput: error while loading shared libraries: libwacom.so.2: cannot open shared object file: No such file or directory
root@porteus:/home/guest# 

cmbarreto
White ninja
White ninja
Posts: 9
Joined: 11 Jan 2012, 16:16
Distribution: Slackware, porteus, ubuntu
Location: Uruguay

Porteus 5 on HP elitebook 840 G7 Touchpad error

Post#10 by cmbarreto » 25 Jun 2023, 02:38

Thanks beny but still unlucky
beny wrote:
24 Jun 2023, 23:04
hi the modules linked in ubuntu log are all in so you have to load but you have to use the whole path to the modules and i use insmod instead modprobe
insmod /lib/modules/6.3.6-porteus/kernel/drivers/hid/hid-multitouch.ko and the other..too

Code: Select all

root@porteus:/home/guest# rmmod i2c_hid
rmmod: ERROR: Module i2c_hid is in use by: i2c_hid_acpi
root@porteus:/home/guest# rmmod i2c_hid_acpi
root@porteus:/home/guest# rmmod i2c_hid

root@porteus:/home/guest# lsmod | grep hid
intel_hid              16384  0
sparse_keymap          12288  2 hp_wmi,intel_hid
root@porteus:/home/guest# insmod /lib/modules/6.3.7-porteus/kernel/drivers/hid/hid-multitouch.ko
root@porteus:/home/guest# insmod /lib/modules/6.3.7-porteus/kernel/drivers/hid/i2c-hid/i2c-hid.ko 
root@porteus:/home/guest# insmod /lib/modules/6.3.7-porteus/kernel/drivers/hid/i2c-hid/i2c-hid-acpi.ko
oot@porteus:/home/guest# lsmod | grep hid
i2c_hid_acpi           12288  0
i2c_hid                24576  1 i2c_hid_acpi
hid_multitouch         20480  0
intel_hid              16384  0
sparse_keymap          12288  2 hp_wmi,intel_hid
I know that hid_generic is compiled into de kernel
CONFIG_HID_GENERIC=y

User avatar
Blaze
DEV Team
DEV Team
Posts: 3885
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus 5 on HP elitebook 840 G7 Touchpad error

Post#11 by Blaze » 25 Jun 2023, 05:21

cmbarreto, ok, try again:

!!! This tweak is at your own risk !!!

Open terminal and run:

Code: Select all

su
toor
cd /tmp
wget -q --show-progress -P /tmp https://slackware.uk/slackware/slackware64-current/slackware64/x/libinput-1.23.0-x86_64-1.txz
wget -q --show-progress -P /tmp https://slackware.uk/slackware/slackware64-current/slackware64/x/xf86-input-libinput-1.3.0-x86_64-1.txz
wget -q --show-progress -P /tmp https://slackware.uk/slackware/slackware64-current/slackware64/x/libwacom-2.7.0-x86_64-1.txz
wget -q --show-progress -P /tmp https://slackware.uk/slackware/slackware64-current/slackware64/x/xf86-input-wacom-1.2.0-x86_64-1.txz
removepkg libinput
installpkg libinput-1.23.0-x86_64-1.txz xf86-input-libinput-1.3.0-x86_64-1.txz libwacom-2.7.0-x86_64-1.txz xf86-input-wacom-1.2.0-x86_64-1.txz
# and test your touchpad

Code: Select all

# installpkg libinput-1.23.0-x86_64-1.txz xf86-input-libinput-1.3.0-x86_64-1.txz libwacom-2.7.0-x86_64-1.txz xf86-input-wacom-1.2.0-x86_64-1.txz
Verifying package libinput-1.23.0-x86_64-1.txz.
Installing package libinput-1.23.0-x86_64-1.txz:
PACKAGE DESCRIPTION:
# libinput (GUI input library)
#
# libinput is a library to handle input devices in Wayland compositors 
# and to provide a generic X.Org input driver. It provides device 
# detection, device handling, input device event processing and 
# abstraction so minimize the amount of custom input code compositors 
# need to provide the common set of functionality that users expect.
#
# Homepage: http://www.freedesktop.org/wiki/Software/libinput/
#
Executing install script for libinput-1.23.0-x86_64-1.txz.
Package libinput-1.23.0-x86_64-1.txz installed.
Verifying package xf86-input-libinput-1.3.0-x86_64-1.txz.
Installing package xf86-input-libinput-1.3.0-x86_64-1.txz:
PACKAGE DESCRIPTION:
# xf86-input-libinput (libinput-based X driver)
#
# This is an X driver based on libinput.
#
# For more information about the X.Org Foundation (the providers of the
# X.Org implementation of the X Window System), see their website:
#
# http://www.x.org
#
Package xf86-input-libinput-1.3.0-x86_64-1.txz installed.
Verifying package libwacom-2.7.0-x86_64-1.txz.
Installing package libwacom-2.7.0-x86_64-1.txz:
PACKAGE DESCRIPTION:
# libwacom (Wacom tablet library)
#
# libwacom is a library to identify Wacom tablets and their model
# specific features. It provides easy access to information such as
# "is this a built-in on-screen tablet", "what is the size of this
# model", etc.
#
# Homepage: https://github.com/linuxwacom
#
Executing install script for libwacom-2.7.0-x86_64-1.txz.
Package libwacom-2.7.0-x86_64-1.txz installed.
Verifying package xf86-input-wacom-1.2.0-x86_64-1.txz.
Installing package xf86-input-wacom-1.2.0-x86_64-1.txz:
PACKAGE DESCRIPTION:
# xf86-input-wacom (driver for Wacom tablets)
#
# This package provides the X.Org X11 driver for Wacom and Wacom-like
# tablets.
#
# Homepage: https://github.com/linuxwacom/xf86-input-wacom
#
Package xf86-input-wacom-1.2.0-x86_64-1.txz installed.
root@porteus:/tmp# libinput
Usage: libinput [--help|--version] <command> [<args>]

Global options:
  --help ...... show this help and exit
  --version ... show version information and exit

Commands:
  list-devices
	List all devices with their default configuration options

  debug-events
	Print events to stdout

  debug-gui
	Display a simple GUI to visualize libinput's events.

  measure <feature>
	Measure various device properties. See the man page for more info

  analyze <feature>
	Analyze device events. See the man page for more info

  record
	Record event stream from a device node. See the man page for more info

  replay
	Replay a previously recorded event stream. See the man page for more info

root@porteus:/tmp#
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

cmbarreto
White ninja
White ninja
Posts: 9
Joined: 11 Jan 2012, 16:16
Distribution: Slackware, porteus, ubuntu
Location: Uruguay

Porteus 5 on HP elitebook 840 G7 Touchpad error

Post#12 by cmbarreto » 25 Jun 2023, 15:46

Thanks Blaze

Now libinput works as expected, but anyway after reboot neither keyboard nor touchpad nor usb mouse work.
I got the idea that the hardware is seen by Porteus but then there is no driver to manage it.

keep trying.

Post Reply