Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: tcl_user5 on March 06, 2022, 07:38:28 AM

Title: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 06, 2022, 07:38:28 AM
My laptop touchpad is not working. I am using Tinycorelinux 13.0 on a UEFI only 64-bit laptop booted from USB.

xinput --list shows two entries- "Intel HID events" and "Intel HID 5 button array" which I feel are related to the touchpad. I enabled both of them using xinput --enable deviceID.

From other related posts on the forum, I installed Xorg-7.7, hidapi, libinput, xf86-input-libinput, libevdev and python3.7. I am attaching both xinput --list and extensions screenshot.

I also tried installing xf86-input-synaptics from https://tinycorelinux.net/12.x/x86/tcz/xf86-input-synaptics. That did not help. Plus, that appears to be a 32-bit extension. I couldnt find it in the 64-bit repo.

Kindly suggest how I can activate the touchpad.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Juanito on March 06, 2022, 07:45:49 AM
The xf86-input-libinput driver loaded by Xorg-7.7 should work with your touchpad - the xf86-input-synaptics driver from 12.x will not work in 13.x due to the update to xorg-server.

Did you look at /var/log/Xorg.0.log to see if your touchpad is recognised?
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 06, 2022, 10:02:36 PM
I uninstalled xf86-input-synaptics (12.x).

The xf86-input-libinput driver is already installed. However, the touchpad does not work. Does any other command need to be used to activate the touchpad ?

I checked /var/log/Xorg.0.log. Its a longish file with lot of detail. However, I am attaching an extract from the Xorg.0.log which appears towards the end appears to be related to the touchpad. From the log entries, I feel the touchpad is recognized.

Pl see and confirm.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Rich on March 06, 2022, 11:29:00 PM
Hi tcl_user5
Run the following command:
Code: [Select]
lsmod > lsmod.txtOpen the file  lsmod.txt  and paste the contents between code tags. Click the button with the  #  symbol on it for
code tags.

Run this command:
Code: [Select]
dmesg > dmesg.txtInclude the  dmesg.txt  file as an attachment.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: nick65go on March 07, 2022, 09:07:26 AM
The xf86-input-libinput driver loaded by Xorg-7.7 should work with your touchpad - the xf86-input-synaptics driver from 12.x will not work in 13.x due to the update to xorg-server.
FYI: maybe will help other users, because Synaptics driver is missing in TC13.
I had a great success, on TC13_64, using xf86-input-synaptics.tcz (from TC12_64), for my laptop, even if my "Synaptic" touch-pad is basically a click-pad (no visible detached buttons). In my case, now I can have BOTH vertical scroll (two-fingers AND right-edge), instead of only each of them configurable at one time.
PS: do not forget to look inside 70-synaptics.conf to change the MatchInputDriver options etc.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 07, 2022, 11:29:07 AM
Pl find lsmod.txt below.
dmesg.txt attached.

Code: [Select]
Module                  Size  Used by    Not tainted
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
cpufreq_powersave      12288  0
snd_hda_codec_hdmi     36864  1
snd_hda_codec_realtek    94208  1
snd_hda_codec_generic    45056  1 snd_hda_codec_realtek
i915                 1380352 13
btusb                  36864  0
btrtl                  12288  1 btusb
btintel                24576  1 btusb
btbcm                  12288  1 btusb
drm_kms_helper        126976  1 i915
bluetooth             249856  5 btusb,btrtl,btintel,btbcm
intel_gtt              16384  1 i915
rtl8xxxu               81920  0
cec                    32768  2 i915,drm_kms_helper
i2c_i801               20480  0
i2c_smbus              12288  1 i2c_i801
mac80211              311296  1 rtl8xxxu
snd_usb_audio         192512  0
ttm                    36864  1 i915
snd_hda_intel          28672  0
ecdh_generic           12288  1 bluetooth
drm                   303104  9 i915,drm_kms_helper,ttm
snd_usbmidi_lib        20480  1 snd_usb_audio
snd_rawmidi            20480  1 snd_usbmidi_lib
ecc                    20480  1 ecdh_generic
snd_hda_codec          65536  4 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
cfg80211              225280  2 rtl8xxxu,mac80211
snd_hda_core           36864  5 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec
snd_seq_device         12288  1 snd_rawmidi
snd_pcm                65536  5 snd_hda_codec_hdmi,snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_hwdep              12288  2 snd_usb_audio,snd_hda_codec
snd_timer              24576  1 snd_pcm
uvcvideo               69632  0
videobuf2_v4l2         16384  1 uvcvideo
videobuf2_vmalloc      12288  1 uvcvideo
videobuf2_memops       12288  1 videobuf2_vmalloc
videobuf2_common       36864  4 uvcvideo,videobuf2_v4l2,videobuf2_vmalloc,videobuf2_memops
agpgart                28672  3 intel_gtt,ttm,drm
snd                    49152 12 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_usb_audio,snd_hda_intel,snd_usbmidi_lib,snd_rawmidi,snd_hda_codec,snd_seq_device,snd_pcm,snd_hwdep,snd_timer
soundcore              12288  1 snd
snd_intel_dspcfg       12288  1 snd_hda_intel
i2c_designware_platform    12288  0
i2c_designware_core    16384  1 i2c_designware_platform
squashfs               32768 374
loop                   24576 748
rndis_host             12288  0
rtsx_usb_ms            16384  0
memstick               12288  1 rtsx_usb_ms
rtsx_usb_sdmmc         16384  0
rtsx_usb               12288  2 rtsx_usb_ms,rtsx_usb_sdmmc
r8152                  69632  0
cdc_ether              12288  1 rndis_host
usbnet                 20480  2 rndis_host,cdc_ether
mii                    12288  2 r8152,usbnet
mmc_block              24576  0
battery                16384  0
ac                     12288  0
sdhci_pci              36864  0
cqhci                  16384  1 sdhci_pci
sdhci                  36864  1 sdhci_pci
video                  36864  1 i915
mmc_core               81920  5 rtsx_usb_sdmmc,mmc_block,sdhci_pci,cqhci,sdhci
lpc_ich                24576  0
mei_hdcp               12288  0
backlight              12288  4 i915,drm_kms_helper,drm,video
intel_rapl_msr         12288  0
8250_dw                12288  0
intel_hid              16384  0
sparse_keymap          12288  1 intel_hid
int3400_thermal        12288  0
int3403_thermal        12288  0
acpi_thermal_rel       12288  1 int3400_thermal
pcspkr                 12288  0
pinctrl_broxton        32768  2
xhci_pci               12288  0
xhci_hcd              102400  1 xhci_pci
processor_thermal_device_pci_legacy    12288  0
processor_thermal_device    12288  1 processor_thermal_device_pci_legacy
int340x_thermal_zone    12288  2 int3403_thermal,processor_thermal_device
processor_thermal_rapl    12288  1 processor_thermal_device
intel_rapl_common      16384  2 intel_rapl_msr,processor_thermal_rapl
processor_thermal_rfim    12288  1 processor_thermal_device
processor_thermal_mbox    12288  2 processor_thermal_device,processor_thermal_rfim
xhci_pci_renesas       12288  1 xhci_pci
mei_me                 20480  1
mei                    49152  3 mei_hdcp,mei_me
intel_soc_dts_iosf     12288  1 processor_thermal_device_pci_legacy
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Rich on March 07, 2022, 01:10:24 PM
Hi tcl_user5
The  lsmod  command shows the driver (intel_hid) being loaded.

Looking at your dmesg result makes me think there may be something wrong with how you installed Tinycore:
Code: [Select]
[    0.000000] Linux version 5.15.10-tinycore64 (tc@box) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) #622 SMP Tue Dec 21 17:30:32 UTC 2021
[    0.000000] Command line: BOOT_IMAGE=/boot/syslinux/vmlinuz64 loglevel=3 tce waitusb=5 vga=791 initrd=/boot/syslinux/corepure64.gz

 ----- Snip -----

[    0.035885] Kernel command line: BOOT_IMAGE=/boot/syslinux/vmlinuz64 loglevel=3 tce waitusb=5 vga=791 initrd=/boot/syslinux/corepure64.gz
[    0.036208] Unknown kernel command line parameters "tce BOOT_IMAGE=/boot/syslinux/vmlinuz64 waitusb=5 vga=791", will be passed to user space.
There is no  tce  boot code. It looks like you changed a  cde  boot code to  tce.
I'm not sure if it's unhappy about the  BOOT_IMAGE  or what it is pointing to.

I don't think I've ever seen this before:
Code: [Select]
[   12.718768] loop0: detected capacity change from 0 to 80
[   12.797002] loop0: detected capacity change from 0 to 32
[   12.870183] loop0: detected capacity change from 0 to 24
[   12.949867] loop0: detected capacity change from 0 to 16
[   13.003363] loop0: detected capacity change from 0 to 752
[   13.120388] loop0: detected capacity change from 0 to 1872
[   13.291921] loop0: detected capacity change from 0 to 56
[   13.380272] loop0: detected capacity change from 0 to 128
[   13.452100] loop0: detected capacity change from 0 to 56
[   13.503706] loop0: detected capacity change from 0 to 200
[   13.577668] loop0: detected capacity change from 0 to 616
[   13.670278] loop0: detected capacity change from 0 to 1000
[   13.784914] loop0: detected capacity change from 0 to 64
[   13.801358] random: crng init done
[   13.852537] loop0: detected capacity change from 0 to 136
[   13.924332] loop0: detected capacity change from 0 to 624
[   14.011213] loop0: detected capacity change from 0 to 32
[   14.077449] loop0: detected capacity change from 0 to 2968
[   14.255399] loop0: detected capacity change from 0 to 1160
[   14.374204] loop0: detected capacity change from 0 to 720
[   14.462863] loop0: detected capacity change from 0 to 456
[   14.564192] loop0: detected capacity change from 0 to 88
[   14.642638] loop0: detected capacity change from 0 to 24
[   14.701854] loop0: detected capacity change from 0 to 336
[   14.774189] loop0: detected capacity change from 0 to 104
[   14.872417] loop0: detected capacity change from 0 to 72
[   14.957596] loop0: detected capacity change from 0 to 2352
[   15.087725] loop0: detected capacity change from 0 to 272
[   15.169307] loop0: detected capacity change from 0 to 1896
[   15.216114] loop1: detected capacity change from 0 to 64
[   15.269322] loop2: detected capacity change from 0 to 8408
[   15.345006] loop3: detected capacity change from 0 to 88

 ----- Snip -----

[   36.892222] loop369: detected capacity change from 0 to 88
[   36.947945] loop370: detected capacity change from 0 to 8
[   36.995049] loop371: detected capacity change from 0 to 88
[   37.047896] loop372: detected capacity change from 0 to 1608
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 20, 2022, 03:54:57 AM
Hello Rich and Juanito,

(1) After checking with another distro on the same laptop in which the Touchpad works perfecly, I see that the Touchpad is not recognized in TinyCoreLinux 13.0.  I am attaching the screenshot of xinput in which the touchpad is seen with id=11. The device is ALPS0001:01 0911:5288 Touchpad. (I had earlier incorrectly mentioned that the Touchpad is recognized since I had co-related it with the wrong device ID)

(2) This device is not seen in the xinput --list in TinyCoreLinux 13.0
Code: [Select]
⎡ Virtual core pointer                    id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              id=4 [slave  pointer  (2)]
⎜   ↳ PixArt USB Optical Mouse                id=7 [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)]
    ↳ Intel HID 5 button array                id=9 [slave  keyboard (3)]
    ↳ Intel HID events                        id=8 [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            id=10 [slave  keyboard (3)]

(3) I have loaded libinput and xf86-input-libinput. Are there any other drivers that I need to load for ALPS0001:01 0911:5288 Touchpad ? Is there any specific sequence in which libinput and xf86-input-libinput are to be loaded ? I have loaded them in the sequence of >Xfbdev > flwm > libinput > xf86-input-libinput > Xorg-7.7. (I am asking this since I was facing a problem earlier in using wifi extension which was due to installing wifi first and firmware subsequently which got solved by using the right sequence !)

(4) I am attaching dmesg and lsmod outputs for reference.  Earlier, as pointed out by Rich, I had installed Tinycore through a Porteus mashup. Now, I have reinstalled Tinycore 13.0 (64 bit) on HDD using grub-multi extension of Tinycore.

lsmod output is as follows:-

Code: [Select]
Module                  Size  Used by    Not tainted
snd_hda_codec_hdmi     36864  0
snd_hda_codec_realtek    94208  1
snd_hda_codec_generic    45056  1 snd_hda_codec_realtek
snd_usb_audio         192512  0
snd_usbmidi_lib        20480  1 snd_usb_audio
snd_rawmidi            20480  1 snd_usbmidi_lib
snd_seq_device         12288  1 snd_rawmidi
snd_hda_intel          28672  0
snd_hda_codec          65536  4 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
snd_hda_core           36864  5 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec
snd_pcm                65536  5 snd_hda_codec_hdmi,snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_hwdep              12288  2 snd_usb_audio,snd_hda_codec
snd_timer              24576  1 snd_pcm
snd                    49152 12 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm,snd_hwdep,snd_timer
soundcore              12288  1 snd
snd_intel_dspcfg       12288  1 snd_hda_intel
ntfs                   77824  2
ccm                    16384  9
rtl8xxxu               81920  0
mac80211              311296  1 rtl8xxxu
cfg80211              225280  2 rtl8xxxu,mac80211
rtsx_usb_ms            16384  0
memstick               12288  1 rtsx_usb_ms
rtsx_usb_sdmmc         16384  0
rtsx_usb               12288  2 rtsx_usb_ms,rtsx_usb_sdmmc
r8152                  69632  0
cdc_ether              12288  0
usbnet                 20480  1 cdc_ether
mii                    12288  2 r8152,usbnet
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
cpufreq_powersave      12288  0
squashfs               32768 166
loop                   24576 332
mmc_block              24576  5
mei_hdcp               12288  0
intel_rapl_msr         12288  0
sdhci_pci              36864  0
lpc_ich                24576  0
cqhci                  16384  1 sdhci_pci
pcspkr                 12288  0
sdhci                  36864  1 sdhci_pci
ac                     12288  0
battery                16384  0
mmc_core               81920  5 rtsx_usb_sdmmc,mmc_block,sdhci_pci,cqhci,sdhci
8250_dw                12288  0
video                  36864  0
backlight              12288  1 video
pinctrl_broxton        32768  2
intel_hid              16384  0
sparse_keymap          12288  1 intel_hid
int3403_thermal        12288  0
int3400_thermal        12288  0
acpi_thermal_rel       12288  1 int3400_thermal
processor_thermal_device_pci_legacy    12288  0
mei_me                 20480  1
processor_thermal_device    12288  1 processor_thermal_device_pci_legacy
int340x_thermal_zone    12288  2 int3403_thermal,processor_thermal_device
processor_thermal_rapl    12288  1 processor_thermal_device
intel_rapl_common      16384  2 intel_rapl_msr,processor_thermal_rapl
xhci_pci               12288  0
processor_thermal_rfim    12288  1 processor_thermal_device
processor_thermal_mbox    12288  2 processor_thermal_device,processor_thermal_rfim
xhci_hcd              102400  1 xhci_pci
intel_soc_dts_iosf     12288  1 processor_thermal_device_pci_legacy
xhci_pci_renesas       12288  1 xhci_pci
mei                    49152  3 mei_hdcp,mei_me

tcl_user5
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Juanito on March 20, 2022, 04:10:24 AM
There's no particular order to loading Xorg extensions - loading Xorg-7.7 and then "startx" should be enough.

What does "sudo libinput list-devices" give?

For example"
Code: [Select]
...
Device:           AlpsPS/2 ALPS GlidePoint
Kernel:           /dev/input/event7
Group:            8
Seat:             seat0, default
Size:             95x44mm
Capabilities:     pointer
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: enabled
Calibration:      n/a
Scroll methods:   *two-finger edge
Click methods:    none
Disable-w-typing: enabled
Accel profiles:   flat *adaptive
Rotation:         n/a
...
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 20, 2022, 05:03:40 AM
Hello Juanito,

"sudo libinput list-devices" gives the following output:-

Code: [Select]
Device:           Power Button
Kernel:           /dev/input/event1
Group:            1
Seat:             seat0, default
Capabilities:     keyboard
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           PixArt USB Optical Mouse
Kernel:           /dev/input/event6
Group:            2
Seat:             seat0, default
Capabilities:     pointer
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           Intel HID events
Kernel:           /dev/input/event3
Group:            3
Seat:             seat0, default
Capabilities:     keyboard
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Intel HID 5 button array
Kernel:           /dev/input/event4
Group:            4
Seat:             seat0, default
Capabilities:     keyboard
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event2
Group:            5
Seat:             seat0, default
Capabilities:     keyboard
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Juanito on March 20, 2022, 05:11:21 AM
Does "cat /proc/bus/input/devices" show the touchpad?
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 20, 2022, 06:49:50 AM
Hello Juanito,

"cat/proc/bus/input/devices" does not appear to show the touchpad.

Output as follows:-

Code: [Select]
I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:13/PNP0C09:00/PNP0C0D:00/input/input0
U: Uniq=
H: Handlers=event0
B: PROP=0
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0011 Vendor=0001 Product=0001 Version=ab83
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input2
U: Uniq=
H: Handlers=sysrq kbd leds event2
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Intel HID events"
P: Phys=
S: Sysfs=/devices/platform/INT33D5:00/input/input3
U: Uniq=
H: Handlers=rfkill kbd event3
B: PROP=0
B: EV=13
B: KEY=81000300000000 5000004000 1e294000000020 0
B: MSC=10

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Intel HID 5 button array"
P: Phys=
S: Sysfs=/devices/platform/INT33D5:00/input/input4
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=13
B: KEY=2000000000000 0 0 0 0 1000000000000 0 201c000000000000 0
B: MSC=10

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input5
U: Uniq=
H: Handlers=kbd event5
B: PROP=0
B: EV=40001
B: SND=6

I: Bus=0003 Vendor=093a Product=2510 Version=0111
N: Name="PixArt USB Optical Mouse"
P: Phys=usb-0000:00:15.0-6.1/input0
S: Sysfs=/devices/pci0000:00/0000:00:15.0/usb1/1-6/1-6.1/1-6.1:1.0/0003:093A:2510.0001/input/input6
U: Uniq=
H: Handlers=mouse0 event6
B: PROP=0
B: EV=17
B: KEY=70000 0 0 0 0
B: REL=903
B: MSC=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:0e.0/sound/card0/input7
U: Uniq=
H: Handlers=event7
B: PROP=0
B: EV=21
B: SW=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:0e.0/sound/card0/input8
U: Uniq=
H: Handlers=event8
B: PROP=0
B: EV=21
B: SW=4

Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Juanito on March 20, 2022, 06:57:05 AM
Maybe you could try booting without the "PixArt USB Optical Mouse" plugged in?

If that doesn't work, it might be a kernel problem.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Rich on March 20, 2022, 11:50:46 AM
Hi tcl_user5
... After checking with another distro on the same laptop in which the Touchpad works perfecly, ...
Please attach a  dmesg.txt  from that distro.

Quote
... I have loaded them in the sequence of >Xfbdev > flwm > libinput > xf86-input-libinput > Xorg-7.7. ...
Don't load  Xfbdev , you are using  Xorg.
Don't load  libinput  or  xf86-input-libinput , Xorg loads them automatically.

Quote
... Now, I have reinstalled Tinycore 13.0 (64 bit) on HDD using grub-multi extension of Tinycore. ...
Please attach a copy of your  grub.cfg  file.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 20, 2022, 02:13:41 PM


Hi Rich,

Quote
Please attach a  dmesg.txt  from that distro.
(1) dmesg.txt of the other distro in which touchpad is working is attached.

Quote
Don't load  Xfbdev , you are using  Xorg.
Don't load  libinput  or  xf86-input-libinput , Xorg loads them automatically.
(2) This time, I loaded only Xorg. I did not load Xfbdev, libinput or xf86-input-libinput

Quote
Please attach a copy of your  grub.cfg  file.
(3) Copy of grub.cfg attached.

Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 20, 2022, 02:19:12 PM
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.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: PDP-8 on March 20, 2022, 08: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.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Rich on March 20, 2022, 09: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.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 21, 2022, 02:09:20 PM
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.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 21, 2022, 02:13:58 PM
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.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Rich on March 21, 2022, 05: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
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 21, 2022, 10: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
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Rich on March 22, 2022, 12:56:20 AM
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
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 28, 2022, 08: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.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Rich on March 28, 2022, 11: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.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 28, 2022, 03: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
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Rich on March 28, 2022, 05: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.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on March 28, 2022, 11: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

Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Juanito on March 29, 2022, 12:56:07 AM
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
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Juanito on March 29, 2022, 12:59:32 AM
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".
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_user5 on April 16, 2022, 08:49:14 AM
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

I enabled the following in the kernel
CONFIG_I2C_HID_ACPI = y
CONFIG_HID_MULTITOUCH =y
CONFIG_HID_ALPS =y

Now the touchpad is working !

Thanks to members for their suggestions.

(In the standard TC kernel (v13.0), CONFIG_I2C_HID_ACPI is not set whereas CONFIG_HID_MULTITOUCH = m and CONFIG_HID_ALPS =m.  Even after enabling I2C_HID_ACPI, the touchpad was not working with HID_MULTITOUCH and HID_ALPS set to m.  Why it works with "y" and not with "m" is not clear to me. With both these parameters set to "m", only the Mouse part was getting recognized and not the touchpad.)
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: Rich on April 16, 2022, 02:11:52 PM
Hi tcl_user5
Congratulations on your success.

... Why it works with "y" and not with "m" is not clear to me. ...
The only difference I'm aware of is modules (m) can be loaded and unloaded where as built-in (y) are always in memory.

As long as you are using  make menuconfig  when selecting  m  or  Y , and not editing the config file directory, I don't
see why it should make any difference.
Title: Re: How to activate touchpad in Tinycorelinux 13.0
Post by: tcl_funtimes on March 10, 2024, 12:23:34 PM
Thanks everyone for contributing to this thread! It helped me get a touchpad working on an Acer c720 running TC 15.0.

The exact steps I needed to do were as follows:

Code: [Select]
tce-load -wi i2c-6.6.8-tinycore.tcz
sudo modprobe -a chromeos_laptop

Cheers!