WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to activate touchpad in Tinycorelinux 13.0  (Read 8340 times)

Offline tcl_user5

  • Newbie
  • *
  • Posts: 34
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #15 on: March 20, 2022, 11:19:12 AM »
Maybe you could try booting without the "PixArt USB Optical Mouse" plugged in?......

I tried booting without the "PixArt USB Optical Mouse".  Touchpad still not working.

Quote
If that doesn't work, it might be a kernel problem.

I tried with TinyCore 11.0 and TinyCore 12.0 kernels (particularly since xf86-input-synaptics is available in v12.0) as well.  Touchpad does not work in those versions also.

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 915
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #16 on: March 20, 2022, 05:44:11 PM »
Also check in your bios to see if your touchpad has a "basic" or "advanced" option.

On two of my Asus laptops, I had to change from the default of advanced to "basic", to get it recognized and working properly.
That's a UNIX book! - cool  -- Garth

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11285
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #17 on: March 20, 2022, 06:13:01 PM »
Hi tcl_user5
It looks like you need the  i2c  kernel modules:
Code: [Select]
tce-load -wi i2c-KERNELThis will add the extension to your  onboot.lst  file so it loads automatically when your computer starts.
Restart the computer and see if touchpad is now visible.

Offline tcl_user5

  • Newbie
  • *
  • Posts: 34
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #18 on: March 21, 2022, 11:09:20 AM »
Hi tcl_user5
It looks like you need the  i2c  kernel modules:
Code: [Select]
tce-load -wi i2c-KERNEL

I installed i2c kernel modules as per the above suggestion. The touchpad is not seen after booting and continues to remain unrecognized.

Offline tcl_user5

  • Newbie
  • *
  • Posts: 34
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #19 on: March 21, 2022, 11:13:58 AM »
Hello PDP-8

Also check in your bios to see if your touchpad has a "basic" or "advanced" option.

On two of my Asus laptops, I had to change from the default of advanced to "basic", to get it recognized and working properly.

I checked in the bios. There is no option of "basic" or "advanced" in the bios. Only option was to set default to factory settings. I tried that as well. The touchpad is still not recognized.

There does not seem to be any issue with the bios settings as touchpad is recognized and working on the same laptop with Windows and other Linux distros.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11285
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #20 on: March 21, 2022, 02:18:10 PM »
Hi tcl_user5
Just to be clear, it does not show up for commands like:
Code: [Select]
sudo libinput list-devicesor:
Code: [Select]
cat /proc/bus/input/devices
Please attach a fresh (Tinycore) copy of:
Code: [Select]
dmesg > dmesg.txt
Please run this command on the working distro and post the results:
Code: [Select]
lsmod > lsmod.txt

Offline tcl_user5

  • Newbie
  • *
  • Posts: 34
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #21 on: March 21, 2022, 07:56:39 PM »
Attaching the following outputs

1) sudo libinput list-devices as libinput.txt
2) cat /proc/bus/input/devices as cat.txt
3) fresh copy of dmesg.txt of Tinycore
4) lsmod of working distro as lsmod_working distro.txt

Touchpad is not showing up in libinput list-devices and cat /proc/bus/input/devices

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11285
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #22 on: March 21, 2022, 09:56:20 PM »
Hi tcl_user5
OK, I think I see the problem. This is from the  dmesg  from your working distro::
Code: [Select]
[   10.093957] i2c_hid i2c-ALPS0001:01: supply vdd not found, using dummy regulator
 ----- Snip -----
[   10.466157] input: ALPS0001:01 0911:5288 Mouse as /devices/pci0000:00/0000:00:17.0/i2c_designware.4/i2c-4/i2c-ALPS0001:01/0018:0911:5288.0002/input/input6
[   10.466354] input: ALPS0001:01 0911:5288 Touchpad as /devices/pci0000:00/0000:00:17.0/i2c_designware.4/i2c-4/i2c-ALPS0001:01/0018:0911:5288.0002/input/input7
[   10.466478] hid-generic 0018:0911:5288.0002: input,hidraw1: I2C HID v1.00 Mouse [ALPS0001:01 0911:5288] on i2c-ALPS0001:01
 ----- Snip -----
[   11.859628] input: ALPS0001:01 0911:5288 Mouse as /devices/pci0000:00/0000:00:17.0/i2c_designware.4/i2c-4/i2c-ALPS0001:01/0018:0911:5288.0002/input/input18
[   11.860172] input: ALPS0001:01 0911:5288 Touchpad as /devices/pci0000:00/0000:00:17.0/i2c_designware.4/i2c-4/i2c-ALPS0001:01/0018:0911:5288.0002/input/input19
[   11.860626] hid-multitouch 0018:0911:5288.0002: input,hidraw1: I2C HID v1.00 Mouse [ALPS0001:01 0911:5288] on i2c-ALPS0001:01
It looks like your working distro provides  i2c_hid.ko (i2c_hid_acpi.ko after kernel 5.11)  which is not enabled in our kernel:
Code: [Select]
# CONFIG_I2C_HID_ACPI is not set
It's possible this might need to be enabled too:
Code: [Select]
# CONFIG_I2C_DESIGNWARE_PCI is not set

Offline tcl_user5

  • Newbie
  • *
  • Posts: 34
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #23 on: March 28, 2022, 05:46:33 AM »
Hello Rich,

Hi tcl_user5
OK, I think I see the problem. This is from the  dmesg  from your working distro::

It looks like your working distro provides  i2c_hid.ko (i2c_hid_acpi.ko after kernel 5.11)  which is not enabled in our kernel:
Code: [Select]
# CONFIG_I2C_HID_ACPI is not set
It's possible this might need to be enabled too:
Code: [Select]
# CONFIG_I2C_DESIGNWARE_PCI is not set

(1) I was having issues in compiling the modified kernel in version 13.0. Hence, I configured the kernel and enabled "CONFIG_I2C_HID" in version 12.  I followed the steps listed by Juanito in Reply #3 of http://forum.tinycorelinux.net/index.php?topic=24946.0 with make menuconfig instead of make oldconfig. Even in version 12, at the command make bzImage && make modules_install, the bzImage was generated properly in the arch/x86_64/boot folder but I got a string of error messages.

(2) Since bzImage was generated, I tried booting with the modified kernel (version 12.0). Now, the Touchpad is seen in xinput -- list. However,  I am getting the following errors while booting & the touchpad does not work after booting.

Code: [Select]
i2c_hid i2c-ALPS0001:01: supply vdd not found, using dummy regulator
i2c_hid i2c-ALPS0001:01: supply vddl not found, using dummy regulator
______
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/34049)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/2352)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/2375)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/1800)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/8713)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/261)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/641)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/38152)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/40998)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/20745)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/641)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/3333)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/1429)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/293)
i2c_hid i2c-ALPS0001:01: i2c_hid_get_input: incomplete report (32/417)

(3) While configuring the kernel, I tried enabling CONFIG_I2C_DESIGNWARE_PCI also as suggested by Rich. However, after compiling the kernel with "CONFIG_I2C_DESIGNWARE_PCI"= y, the touchpad does not get recognized in xinput --list. Hence, I kept CONFIG_I2C_DESIGNWARE_PCI as disabled in the modified kernel.
 
(4) After booting with modified kernel, I installed xf86-input-synaptics.tcz also but the touchpad still does not work.

(5) On looking up the internet, the supply vdd not found, using dummy regulator appears to be a touchpad bug. For example:- at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1806863.
Can it be resolved by adding some booting parameter to the grub file ?

I am attaching dmesg and lsmod outputs of the modified kernel for reference.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11285
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #24 on: March 28, 2022, 08:02:56 AM »
Hi tcl_user5
If you look at my previous reply, the "supply vdd not found" (and other messages) where in the working distro's
dmesg results too.

It appears the operating system recognizes your hardware. I think the issue is now further downstream.

Run:
Code: [Select]
xinput --listTake the  id  NUMBER for each  ALPS  device and run this command for it:
Code: [Select]
xinput enable NUMBERSee if the device responds now.

I would also look for  Xorg  configuration files in the working distro to see if they reference the touchpad.

Offline tcl_user5

  • Newbie
  • *
  • Posts: 34
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #25 on: March 28, 2022, 12:18:01 PM »
Hello Rich,

I checked with "xinput enable NUMBER". The touchpad is not responding.

The Xorg configuration file /etc/X11/xorg.conf.d/40-libinput.conf contains the following

Code: [Select]
Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "Tapping" "on"
EndSection

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11285
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #26 on: March 28, 2022, 02:02:17 PM »
Hi tcl_user5
Create that directory:
Code: [Select]
sudo mkdir -p /etc/X11/xorg.conf.dPlace a copy of  40-libinput.conf  into it.
Add  the  etc/X11  directory to your backup if it's not already there and run abackup.
Restart X and see if it responds to the touchpad.
If it doesn't, then attach a copy of  /var/log/Xorg.0.log  to your next post.

Offline tcl_user5

  • Newbie
  • *
  • Posts: 34
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #27 on: March 28, 2022, 08:14:32 PM »
Hello Rich,

Hi tcl_user5
Create that directory:
Code: [Select]
sudo mkdir -p /etc/X11/xorg.conf.dPlace a copy of  40-libinput.conf  into it.
Add  the  etc/X11  directory to your backup if it's not already there and run abackup.
Restart X and see if it responds to the touchpad.
If it doesn't, then attach a copy of  /var/log/Xorg.0.log  to your next post.

I created /etc/X11/xorg.conf.d and placed 40-libinput.conf into it. Also, backed up etc/X11. On restart,  the touchpad does not respond.

I am attaching /var/log/Xorg.0.log


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #28 on: March 28, 2022, 09:56:07 PM »
I'm not at a tinycore machine to check if conf snippets work from /etc/X11/xorg.conf.d, but the default directory is /usr/local/share/X11/xorg.conf.d

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: How to activate touchpad in Tinycorelinux 13.0
« Reply #29 on: March 28, 2022, 09:59:32 PM »
with make menuconfig instead of make oldconfig

You need to copy the tinycore config to .config, "make oldconfig" and then make your changes with "make menuconfig".