Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] PIXA3854 Touchpad doesn't work  (Read 5066 times)

Offline terroreek

  • User
  • Posts: 202
[EN] PIXA3854 Touchpad doesn't work
« on: 2022/04/23, 03:08:18 »
Ok I am having an issue, I just installed Siduction on a framework laptop.  (The installer on the last release is awesome btw).  I can't get the touchpad working correctly.  Its not detecting at all with either the 5.17.4-1-siduction-amd64 and the 5.17.2-1-siduction-amd64 kernel at all.  In the BIOS I if I enable PS/2 support i can move the mouse and left click, but I can't right click, scroll or middle click.

If I disable the option as suggested by freamework libinput doesn't show the trackpad at all in the settings. Its as if the kernel doesn't even detect it at all.   

Offline terroreek

  • User
  • Posts: 202
Re: PIXA3854 Touchpad doesn't work
« Reply #1 on: 2022/04/23, 04:02:48 »
Just to add to this, the trackpad/touchpad works fine in a live Pop_OS! environment.  That was using kernel 5.11, I tried 5.12.17-1-siduction-amd64 same thing, it doesn't seem to detect the touchpad at all. 

Offline terroreek

  • User
  • Posts: 202
Re: PIXA3854 Touchpad doesn't work
« Reply #2 on: 2022/04/23, 04:22:02 »
Ok so the vanilla debian kernel, 5.17.0-1-amd64, detects the touchpad fine.  It works perfectly otherwise.

Code: [Select]
dmesg | grep -i touchpad
Place your right index finger on the fingerprint reader
[    1.797779] input: PIXA3854:00 093A:0274 Touchpad as /devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-3/i2c-PIXA3854:00/0018:093A:0274.0002/input/input6
[   12.702032] input: PIXA3854:00 093A:0274 Touchpad as /devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-3/i2c-PIXA3854:00/0018:093A:0274.0002/input/input10

if I do the same command with the siduction kernel gives me nothing. 

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.955
Re: PIXA3854 Touchpad doesn't work
« Reply #3 on: 2022/04/23, 12:05:23 »
Does
Code: [Select]
modprobe hid_multitouch help?

If not, i need to see lsmod from working kernel.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline terroreek

  • User
  • Posts: 202
Re: PIXA3854 Touchpad doesn't work
« Reply #4 on: 2022/04/23, 14:52:42 »
I had tried that in my previous testing by trying to load hid_multitouch the module loads but doesn't help.

Here is the output from the debian kernel
Code: [Select]
Module                  Size  Used by
ufs                    94208  0
qnx4                   16384  0
hfsplus               126976  0
hfs                    73728  0
cdrom                  73728  2 hfsplus,hfs
minix                  45056  0
msdos                  20480  0
jfs                   212992  0
xfs                  1847296  0
ext4                  933888  0
mbcache                16384  1 ext4
jbd2                  163840  1 ext4
rfcomm                 90112  16
snd_seq_dummy          16384  0
snd_hrtimer            16384  1
snd_seq                86016  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
ctr                    16384  2
cpufreq_userspace      20480  0
cpufreq_powersave      20480  0
cpufreq_ondemand       16384  0
cpufreq_conservative    16384  0
squashfs               69632  6
ccm                    20480  6
qrtr                   45056  4
algif_aead             16384  0
sunrpc                655360  1
des_generic            16384  0
libdes                 24576  1 des_generic
ecb                    16384  0
cmac                   16384  2
md4                    16384  0
algif_hash             16384  1
algif_skcipher         16384  1
bnep                   28672  2
af_alg                 32768  7 algif_hash,algif_skcipher,algif_aead
mei_hdcp               24576  0
intel_rapl_msr         20480  0
x86_pkg_temp_thermal    20480  0
iwlmvm                364544  0
intel_powerclamp       20480  0
coretemp               20480  0
mac80211             1073152  1 iwlmvm
snd_sof_pci_intel_tgl    16384  0
snd_sof_intel_hda_common   106496  1 snd_sof_pci_intel_tgl
soundwire_intel        45056  1 snd_sof_intel_hda_common
soundwire_generic_allocation    16384  1 soundwire_intel
soundwire_cadence      40960  1 soundwire_intel
btusb                  65536  0
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_pci            20480  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_sof_xtensa_dsp     16384  1 snd_sof_intel_hda_common
btrtl                  28672  1 btusb
kvm_intel             364544  0
btbcm                  20480  1 btusb
snd_hda_codec_hdmi     73728  1
snd_sof               167936  2 snd_sof_pci,snd_sof_intel_hda_common
btintel                45056  1 btusb
snd_soc_hdac_hda       24576  1 snd_sof_intel_hda_common
snd_hda_ext_core       36864  3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
btmtk                  16384  1 btusb
snd_soc_acpi_intel_match    61440  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
libarc4                16384  1 mac80211
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
kvm                  1048576  1 kvm_intel
bluetooth             872448  46 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
snd_soc_core          331776  4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
snd_hda_codec_idt      69632  1
snd_compress           28672  1 snd_soc_core
snd_hda_codec_generic    98304  1 snd_hda_codec_idt
irqbypass              16384  1 kvm
iwlwifi               327680  1 iwlmvm
soundwire_bus          94208  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_sof
snd_hda_intel          57344  3
snd_intel_dspcfg       32768  2 snd_hda_intel,snd_sof_intel_hda_common
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
intel_cstate           20480  0
snd_hda_codec         176128  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_soc_hdac_hda,snd_hda_codec_idt
jitterentropy_rng      16384  1
cfg80211             1052672  3 iwlmvm,iwlwifi,mac80211
intel_uncore          208896  0
snd_hda_core          110592  9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda,snd_hda_codec_idt
sha512_ssse3           45056  1
sha512_generic         16384  1 sha512_ssse3
snd_hwdep              16384  1 snd_hda_codec
serio_raw              20480  0
pcspkr                 16384  0
efi_pstore             16384  0
drbg                   40960  1
snd_pcm               147456  10 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_hda_core
iTCO_wdt               16384  0
wmi_bmof               16384  0
intel_pmc_bxt          16384  1 iTCO_wdt
iTCO_vendor_support    16384  1 iTCO_wdt
ansi_cprng             16384  0
nls_ascii              16384  1
watchdog               32768  1 iTCO_wdt
nls_cp437              20480  1
snd_timer              45056  3 snd_seq,snd_hrtimer,snd_pcm
ecdh_generic           16384  1 bluetooth
snd                   110592  20 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_hda_codec_idt
ee1004                 20480  0
hid_sensor_als         20480  0
vfat                   20480  1
soundcore              16384  1 snd
fat                    86016  2 msdos,vfat
hid_sensor_trigger     20480  2 hid_sensor_als
hid_sensor_iio_common    20480  2 hid_sensor_trigger,hid_sensor_als
mei_me                 45056  1
rfkill                 32768  9 iwlmvm,bluetooth,cfg80211
industrialio_triggered_buffer    16384  1 hid_sensor_trigger
kfifo_buf              16384  1 industrialio_triggered_buffer
ecc                    40960  1 ecdh_generic
hid_multitouch         32768  0
mei                   151552  3 mei_hdcp,mei_me
joydev                 28672  0
industrialio          102400  4 industrialio_triggered_buffer,hid_sensor_trigger,kfifo_buf,hid_sensor_als
sg                     36864  0
crc16                  16384  2 bluetooth,ext4
processor_thermal_device_pci_legacy    16384  0
processor_thermal_device    20480  1 processor_thermal_device_pci_legacy
ucsi_acpi              16384  0
typec_ucsi             53248  1 ucsi_acpi
processor_thermal_rfim    16384  1 processor_thermal_device
processor_thermal_mbox    16384  2 processor_thermal_rfim,processor_thermal_device
processor_thermal_rapl    20480  1 processor_thermal_device
roles                  16384  1 typec_ucsi
intel_rapl_common      28672  2 intel_rapl_msr,processor_thermal_rapl
typec                  65536  1 typec_ucsi
intel_soc_dts_iosf     20480  1 processor_thermal_device_pci_legacy
int3403_thermal        20480  0
int340x_thermal_zone    20480  2 int3403_thermal,processor_thermal_device
ac                     20480  0
evdev                  28672  14
intel_pmc_core         53248  0
int3400_thermal        20480  0
acpi_pad              184320  0
acpi_thermal_rel       16384  1 int3400_thermal
pkcs8_key_parser       16384  0
loop                   32768  12
ipmi_devintf           20480  0
ipmi_msghandler       118784  1 ipmi_devintf
msr                    16384  0
parport_pc             40960  0
ppdev                  24576  0
lp                     20480  0
parport                69632  3 parport_pc,lp,ppdev
fuse                  167936  5
configfs               57344  1
ip_tables              32768  0
x_tables               53248  1 ip_tables
autofs4                53248  2
btrfs                1667072  1
blake2b_generic        20480  0
zstd_compress         311296  1 btrfs
sd_mod                 65536  0
dm_crypt               61440  2
dm_mod                172032  6 dm_crypt
efivarfs               16384  1
raid10                 65536  0
raid456               176128  0
async_raid6_recov      24576  1 raid456
async_memcpy           20480  2 raid456,async_raid6_recov
async_pq               20480  2 raid456,async_raid6_recov
async_xor              20480  3 async_pq,raid456,async_raid6_recov
async_tx               20480  5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor                    24576  2 async_xor,btrfs
raid6_pq              122880  4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c              16384  3 btrfs,xfs,raid456
crc32c_generic         16384  0
raid1                  49152  0
raid0                  24576  0
multipath              20480  0
linear                 20480  0
md_mod                184320  6 raid1,raid10,raid0,linear,raid456,multipath
uas                    32768  0
usb_storage            81920  1 uas
scsi_mod              266240  4 sd_mod,usb_storage,uas,sg
scsi_common            16384  4 scsi_mod,usb_storage,uas,sg
hid_sensor_custom      28672  0
hid_sensor_hub         24576  4 hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_als,hid_sensor_custom
intel_ishtp_hid        28672  0
hid_generic            16384  0
i915                 3133440  37
crc32_pclmul           16384  0
crc32c_intel           24576  2
i2c_algo_bit           16384  1 i915
ttm                    86016  1 i915
ghash_clmulni_intel    16384  0
drm_kms_helper        335872  1 i915
xhci_pci               20480  0
xhci_hcd              315392  1 xhci_pci
cec                    61440  2 drm_kms_helper,i915
aesni_intel           380928  11
crypto_simd            16384  1 aesni_intel
cryptd                 28672  5 crypto_simd,ghash_clmulni_intel
rc_core                61440  1 cec
nvme                   49152  3
usbcore               327680  6 xhci_hcd,usb_storage,btusb,xhci_pci,uas
thunderbolt           339968  0
nvme_core             139264  4 nvme
drm                   614400  22 drm_kms_helper,i915,ttm
i2c_i801               32768  0
i2c_smbus              20480  1 i2c_i801
i2c_hid_acpi           16384  0
intel_ish_ipc          28672  0
intel_lpss_pci         28672  0
t10_pi                 16384  2 sd_mod,nvme_core
intel_ishtp            61440  2 intel_ishtp_hid,intel_ish_ipc
crc_t10dif             20480  1 t10_pi
intel_lpss             16384  1 intel_lpss_pci
crct10dif_generic      16384  0
idma64                 20480  0
usb_common             16384  2 xhci_hcd,usbcore
i2c_hid                32768  1 i2c_hid_acpi
crct10dif_pclmul       16384  1
crct10dif_common       16384  3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
wmi                    36864  1 wmi_bmof
hid                   151552  5 i2c_hid,hid_multitouch,hid_sensor_hub,intel_ishtp_hid,hid_generic
battery                28672  0
button                 24576  0
video                  57344  1 i915

Let me know if its helpful to have the siduction kernel lsmod

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.955
Re: PIXA3854 Touchpad doesn't work
« Reply #5 on: 2022/04/23, 15:15:59 »
As you can read here:
https://wiki.gentoo.org/wiki/Framework_Laptop
the touchpad is driven by hid_multitouch and depends on intel_ishtp_hid and i2c_designware_core, but the latter is not shown in your lsmod. All mddules, that are lodead in your lsmod, are in the siduction kernel available. At the moment i can't help.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline terroreek

  • User
  • Posts: 202
Re: PIXA3854 Touchpad doesn't work
« Reply #6 on: 2022/04/23, 19:27:20 »
No worries, at least I have a workaround.  Any logs or anything you would suggest I can keep looking into ?

Offline Mister00X

  • User
  • Posts: 200
Re: PIXA3854 Touchpad doesn't work
« Reply #7 on: 2022/04/23, 20:47:23 »
@terroreek one thing that could possibly give more information to you is.


1. Save the output of lsmod  of a working kernel to a file with for example
Code: [Select]
lsmod > working-kernel
2. Same with non working siduction kernel
Code: [Select]
lsmod > not-working
3.
Code: [Select]
diff --color -u <(cut -f1 -d" " working-kernel) <(cut -f1 -d" " not-working)
Maybe that gives you some additional hint
Arguing that you don't care about the right to privacy because you have nothing to hide is no different than saying you don't care about free speech because you have nothing to say. – Edward Snowden

Offline unklarer

  • User
  • Posts: 841
Re: PIXA3854 Touchpad doesn't work
« Reply #8 on: 2022/04/24, 11:54:50 »
^The problem is known for these laptops and, if I see it correctly, it is fixed.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259230

Offline ReinerS

  • User
  • Posts: 1.075
Re: PIXA3854 Touchpad doesn't work
« Reply #9 on: 2022/04/24, 13:55:30 »
Hello,
not sure whether this is related to this somehow, but after todays du the Gui (XFCE) and/or the mousepointer (Knob/Pin, Touchpad, Trackballs) lags. No matter whether started via sddm (even before logged in) or just via startx the mousepointer jumps nearly uncontrollable. Keyboard input seems to be (mostly (?)) fine.

regards
Reiner

Some strange messages I encountered
 
Code: [Select]
[ 2433.569974] pcieport 0000:00:1c.1: pciehp: Slot(1): No link
[ 2433.570005] pcieport 0000:00:1c.1: pciehp: Slot(1): Card present
[ 2435.694246] psmouse serio4: TouchPad at isa0060/serio4/input0 lost synchronization, throwing 1 bytes away.
[ 2437.075763] psmouse serio4: TouchPad at isa0060/serio4/input0 lost synchronization, throwing 5 bytes away.
[ 2437.365835] pcieport 0000:00:1c.1: pciehp: Slot(1): No link
[ 2437.365856] pcieport 0000:00:1c.1: pciehp: Slot(1): Card present
[ 2439.771853] psmouse serio4: TouchPad at isa0060/serio4/input0 lost synchronization, throwing 1 bytes away.
[ 2439.867768] pcieport 0000:00:1c.1: pciehp: Slot(1): No link
[ 2439.867791] pcieport 0000:00:1c.1: pciehp: Slot(1): Card present
[ 2443.397660] psmouse serio4: TouchPad at isa0060/serio4/input0 lost synchronization, throwing 2 bytes away.
[ 2443.673690] pcieport 0000:00:1c.1: pciehp: Slot(1): No link
[ 2443.673713] pcieport 0000:00:1c.1: pciehp: Slot(1): Card present
« Last Edit: 2022/04/24, 14:28:47 by ReinerS »
slackware => SuSE => kanotix => sidux => aptosid  => siduction

Offline ReinerS

  • User
  • Posts: 1.075
Re: PIXA3854 Touchpad doesn't work
« Reply #10 on: 2022/04/24, 19:21:25 »
Hmm, did another du around 15 minutes ago.

My problem seems to have disappeared somehow.

regards

Reiner
slackware => SuSE => kanotix => sidux => aptosid  => siduction

Offline terroreek

  • User
  • Posts: 202
Re: PIXA3854 Touchpad doesn't work
« Reply #11 on: 2022/05/04, 03:50:53 »
@terroreek one thing that could possibly give more information to you is.


1. Save the output of lsmod  of a working kernel to a file with for example
Code: [Select]
lsmod > working-kernel
2. Same with non working siduction kernel
Code: [Select]
lsmod > not-working
3.
Code: [Select]
diff --color -u <(cut -f1 -d" " working-kernel) <(cut -f1 -d" " not-working)
Maybe that gives you some additional hint

yeah I did that and tried loading the same modules and couldn't get it to work.  That said we I noticed hid_sensor_als and hid_sensor_custom are not in siduction.  that said I am not even sure if those would help. 

Offline terroreek

  • User
  • Posts: 202
Re: PIXA3854 Touchpad doesn't work
« Reply #12 on: 2022/05/08, 01:17:44 »
As you can read here:
https://wiki.gentoo.org/wiki/Framework_Laptop
the touchpad is driven by hid_multitouch and depends on intel_ishtp_hid and i2c_designware_core, but the latter is not shown in your lsmod. All mddules, that are lodead in your lsmod, are in the siduction kernel available. At the moment i can't help.


@towo, I stumbled across these posts here; https://community.frame.work/t/some-issues-running-gentoo-linux/12017/17, https://community.frame.work/t/fixed-trackpad-in-linux/3747/24 and it looks like a few folks having issues with Alpine and Gentoo were able to fix the problem by enabling pinctl for tigerlake. 

I did notice that on the debian kernel I can modprobe pinctl_tigerlake but I can't on the siduction kernel, it says the module is missing.  Is there a way for me to build the module to test it out??  (Sorry if that is dumb question, I've never done any kernel compiles and or done it the debian way). 

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.955
Re: PIXA3854 Touchpad doesn't work
« Reply #13 on: 2022/05/08, 14:18:52 »
I have enabled CONFIG_PINCTRL_TIGERLAKE as module in the new kernel, which should see the light in the next ~30 minutes.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline terroreek

  • User
  • Posts: 202
Re: PIXA3854 Touchpad doesn't work
« Reply #14 on: 2022/05/08, 16:26:14 »
I have enabled CONFIG_PINCTRL_TIGERLAKE as module in the new kernel, which should see the light in the next ~30 minutes.

Yep that fixed the problem!!  Thank you, towo.  You (and the other devs) are amazing!!