Tiny Core Extensions > TCE Talk

synaptics driver for Xorg not working in TC16 x64

<< < (8/9) > >>

GNUser:
Sorry, I missed the fact that his machine requires firmware for the touchpad. That's a more complex situation than my old Thinkpad.

Trying the latest version of the firmware is a good idea.

nick65go:
OK, reset! I saw that I need firmware for graphic (i915), wifi (rtlw89) and maybe sound-surround ((intel/sof). I do not think sound or WiFi will influence my input touchpad. So when I will have access to my PC I will try new git firmware which I saw in "other working linux" dmsg. About latest firmware
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915

2023-07-26       i915: Update ADLP DMC to v2.20: => /i915/adlp_dmc.bin
2025-04-10        i915: Update GUC to v70.44.1 for i915 platforms: => i915/adlp_guc_70.bin
2022-09-16        i915: Add versionless HuC (no version >7.9.3) files for current platforms: => /i915/tgl_huc.bin
 
TC firmware-i915.tcz ;
2023/02/04 updated has deletions
2024/03/12 updated remove install script - 0 deletions
Current:              2024/09/23 corrected info file only 
 
from https://wiki.gentoo.org/wiki/Intel/en
GuC/HuC firmware: Graphics µController firmware offloads functions from the host driver. HEVC/H.265 µController firmware improves hardware acceleration of media decoding. HuC firmware (and GuC as a dependent) is needed for AVC/HEVC/VP9 low power encoding bitrate control, including CBR, VBR, etc.
GuC firmware for Gen 12+ now only uses major version numbers e.g. tgl_guc_70.bin and HuC firmware does not have a version number e.g. tgl_huc.bin

nick65go:
TL:DR Executive Summary: I will give up. The subject was about Xorg Synaptic driver, and it does not work for my device. Also libinput /xinput did not helped me.I assumed that an up to date firmware will help me, but it did not.
My only gain from this adventure was that I tried, for the first time, the wayland, weston, labwc; they are fast/ promising but for now they are too primitive for me. Anyway, soon (in 7 months) will be a new TC (new kernel, new Xorg, new mesa) to try again ;) No rush for me, take your time.

history for posterity:
Booting OEM (just Xfbdev), TC did not see the touchpad.

--- Code: ---tc@box:~$ dmesg | grep firmware
tc@box:~$ dmesg | grep SYN
tc@box:~$
--- End code ---

As soon as I load the i2c bus,  the touchpad is activated.

--- Code: ---tc@box:~$ tce-load -i i2c-6.12.11-tinycore64.tcz
i2c-6.12.11-tinycore64.tcz: OK
--- End code ---

It needs just the modules i2c_hid_acpi to activate, even without a firmware:

--- Code: ---tc@box:~$ lsmod | grep i2c
tc@box:~$ sudo modprobe  i2c_designware_platform
tc@box:~$ lsmod | grep i2c
i2c_hid_acpi           12288  0
i2c_hid                24576  1 i2c_hid_acpi
drm                   348160  1 i2c_hid
i2c_designware_platform    12288  0
i2c_designware_core    20480  1 i2c_designware_platform

--- End code ---

--- Code: ---tc@box:~$ dmesg | grep SYN
input: SYNA32E0:00 06CB:CE17 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input7
input: SYNA32E0:00 06CB:CE17 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input8
hid-generic 0018:06CB:CE17.0002: input,hidraw1: I2C HID v1.00 Mouse [SYNA32E0:00 06CB:CE17] on i2c-SYNA32E0:00
--- End code ---

Loading the firmware change nothing, regarding the touchpad:

--- Code: ---tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/HP17-OEM.tcz
HP17-OEM is already installed!
tc@box:~$ ls -1R /tmp/tcloop/HP17-OEM/usr/local/lib/firmware/
/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/:
i915/
intel/
intel-ucode/
rtl_bt/
rtlwifi/
rtw89/

/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/i915:
adlp_dmc.bin
adlp_guc_70.bin
tgl_huc.bin

/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/intel:
sof/
sof-tplg/

/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/intel/sof:
intel-signed/
sof-rpl.ri

/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/intel/sof/intel-signed:
sof-adl.ri
sof-rpl.ri

/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/intel/sof-tplg:
sof-hda-generic-2ch.tplg

/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/intel-ucode:

/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/rtl_bt:
rtl8852bu_config.bin
rtl8852bu_fw.bin

/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/rtlwifi:
rtl8192eu_nic.bin

/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/rtw89:
rtw8852b_fw-1.bin
tc@box:~$
--- End code ---

Firmware only activated the graphic acceleration:

--- Code: ---tc@box:~$ dmesg | grep firmware
i915 0000:00:02.0: Direct firmware load for i915/adlp_dmc.bin failed with error -2
i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc.bin (v2.20)
i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.44.1
i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
tc@box:~$ sudo modprobe -r i2c_designware_platform
tc@box:~$ sudo modprobe i2c_designware_platform
tc@box:~$
--- End code ---


--- Code: ---tc@box:~$ dmesg | grep -i not
Secure boot could not be determined
system 00:03: [mem 0xfed20000-0xfed7ffff] could not be reserved
system 00:03: [mem 0xfed45000-0xfed8ffff] could not be reserved
softdog:              soft_reboot_cmd=<not set> soft_active_on_boot=0
ccp_crypto: Cannot load: there are no available CCPs
xe 0000:00:02.0: Your graphics device a7a1 is not officially supported
tc@box:~$ dmesg | grep -i taint
tc@box:~$ dmesg | grep -i error
hp_wmi: query 0x4c returned error 0x6                                                                  <=  F1-F12 not working?
i915 0000:00:02.0: Direct firmware load for i915/adlp_dmc.bin failed with error -2 <= before firmware loaded
tc@box:~$
--- End code ---

Original TC xorg-server + libinput was not working.

--- Code: ---tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/Xorg-7.7.tcz
..
xorg-server.tcz: OK                    <= OK
xf86-video-fbdev.tcz: OK
...
libinput.tcz: OK                            <= OK
xf86-input-libinput.tcz: OK           <= OK
...
Xorg-7.7.tcz: OK                         <= OK
tc@box:~$

tc@box:~$ ls /var/log/
autologin  wtmp
tc@box:~$
exit in console + back in Xorg instead of Xfbdev.
tc@box:~$ ls -l /var/log/
total 60
-rw-r--r--    1 root     staff        49474 May 28 18:12 Xorg.0.log
-rw-r--r--    1 root     root             0 May 28 17:15 autologin
-rw-rw-r--    1 root     staff         4992 May 28 18:12 wtmp
tc@box:~$
--- End code ---

===new, I tried Wayland +weston.

--- Code: ---tc@box:~$ ls /mnt/nvme0n1p4/tce/optional/wayland*.tcz
/mnt/nvme0n1p4/tce/optional/wayland-protocols.tcz
/mnt/nvme0n1p4/tce/optional/wayland-utils.tcz
/mnt/nvme0n1p4/tce/optional/wayland.tcz
tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/wayland-protocols.tcz
wayland-protocols is already installed!
tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/wayland-utils.tcz
wayland-utils is already installed!
tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/wayland.tcz
wayland is already installed!
tc@box:~$

tc@box:~$ ls /mnt/nvme0n1p4/tce/optional/west*.tcz
/mnt/nvme0n1p4/tce/optional/weston.ini.tcz
/mnt/nvme0n1p4/tce/optional/weston.tcz
tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/weston.ini.tcz
weston.ini is already installed!
tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/weston.tcz
weston is already installed!
tc@box:~$
--- End code ---

exit in console and run the script:

--- Code: ---tc@box:~$ cat /mnt/nvme0n1p4/tce/weston.sh
#!/bin/sh
sudo -- seatd -g staff -n /run/seatd.sock & XDG_RUNTIME_DIR=/run/user/$(id -u) weston
tc@box:~$
--- End code ---


--- Code: ---tc@box:~$ xinput list-props 10
Unable to connect to X server
tc@box:~$ sudo libinput debug-events
-event2   DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event9   DEVICE_ADDED            Video Bus                         seat0 default group2  cap:k
-event1   DEVICE_ADDED            Power Button                      seat0 default group3  cap:k
-event5   DEVICE_ADDED            Microsoft  Microsoft Basic Optical Mouse v2.0  seat0 default group4  cap:p left scroll-nat scroll-button
-event7   DEVICE_ADDED            SYNA32E0:00 06CB:CE17 Mouse       seat0 default group5  cap:p left scroll-nat scroll-button
-event8   DEVICE_ADDED            SYNA32E0:00 06CB:CE17 Touchpad    seat0 default group5  cap:t  size 111x69mm ntouches 1 calib
-event3   DEVICE_ADDED            AT Translated Set 2 keyboard      seat0 default group6  cap:k
-event6   DEVICE_ADDED            HP WMI hotkeys                    seat0 default group7  cap:k
-event3   KEYBOARD_KEY            +4294967.295s *** (-1) pressed
 event3   KEYBOARD_KEY            +0.284s       *** (-1) pressed
^C
tc@box:~$ editor
--- End code ---

back in Xorg here, to report my fail: in weston, with TC editor I made the windows small to allow me to see and try vertical/horizontal scrolls. Not working.

Rich:
Hi nick65go
There was a lot in you last post and I got lost trying to
follow it all.

So I'll just mention that firmware needs to be loaded
before modules.

Also, I have an HP G62 and I have hp_wmi blacklisted,
though I don't recall why.

nick65go:
Hi Rich :) the post shows /follows my sequential TODAY work.I did indeed boot into just OEM (Xfbdev). and with lsmod I saw that no drivers (i2c) was loaded, and so dmesg | input proved. Then I loaded the firmware. And only after firmware I loaded i2c modules. Same as you suggested. Of course I could repeat this order one more time, but I am pretty sure this was the order to load. Maybe I explained wrong in my history, sorry for confusion.
If if worked my intention was to then include firmware in init-ram core.gz...Hm, I may do it anyway, why not :)
I could try also to blacklist hp_wmi modules or Xe module *because I will have already i915, etc.
The TC is functional even without an external mouse, but I just expected to make all my devices work at full capacities.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version