Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ASUE120A Touch pad not detected
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kurohi
n00b
n00b


Joined: 03 Jul 2012
Posts: 12

PostPosted: Fri Apr 01, 2022 8:54 am    Post subject: ASUE120A Touch pad not detected Reply with quote

Hello everyone.

Have been trying for days to get my touchpad to work to no avail.
It does work if I boot the system with a systemrescue liveCD. Which gave me some insights to where to look, but still could make it.
Tried following the tutorial here: https://forums.gentoo.org/viewtopic-p-8692426.html#8692426 but still did not work

Here are the links for the hw-probe of the original computer and the systemrescue
- Installed environment: https://linux-hardware.org/?probe=04f5858a30
- Systemrescue: https://linux-hardware.org/?probe=d17d5e5310

Here is also the .config used (still need some cleaning as I activated everything remotely related to touchpads):
https://dpaste.com/C67XEG2H6


The strangest part is that I am getting a device on /sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-13/ with the name i2c-ASUE120A:00 but still no touchpad detected.

Any help will be greatly appreciated, as I cant think of anything else to try.
Thanks
_________________
Walking you must keep
--Yoda


Last edited by kurohi on Sat Apr 02, 2022 11:04 am; edited 2 times in total
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1564
Location: switzerland

PostPosted: Fri Apr 01, 2022 11:06 am    Post subject: Reply with quote

maybe this tutorial can help you?

https://forums.gentoo.org/viewtopic-p-8692426.html#8692426


this solved a lot of recent touchpad problems
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5377
Location: Bavaria

PostPosted: Fri Apr 01, 2022 11:15 am    Post subject: Re: ASUE120A Touch pad not detected Reply with quote

kurohi wrote:
The strangest part is that I am getting a device on
Code:
 /sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-13/ 
with the name i2c-ASUE120A:00 but still no touchpad detected.


In an other thread ( https://forums.gentoo.org/viewtopic-p-8693680.html#8693680 ) there was a problem with a thinkpad touchpad and the solution was to enable it with "Fn+F10". Maybe you need a special key combination too ? Your kernel config has all (and a lot more :-) ) it needs. Can you paste the output of "dmesg" (only the input part). ?
Back to top
View user's profile Send private message
kurohi
n00b
n00b


Joined: 03 Jul 2012
Posts: 12

PostPosted: Sat Apr 02, 2022 11:00 am    Post subject: Reply with quote

luna80 wrote:
maybe this tutorial can help you?

https://forums.gentoo.org/viewtopic-p-8692426.html#8692426


this solved a lot of recent touchpad problems


Yeah, I tried this tutorial as well, but did not get the touchpad to work.
Since this laptop is a 2022 model, I would not be surprised if the only thing left is to wait for a new kernel version. The odd thing is that it has worked on the systemrescue

I have tried the Fn+F10 shortcut as well, but KDE just give me a message that touchpad is off no matter how many times I press it
_________________
Walking you must keep
--Yoda
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Sat Apr 02, 2022 11:52 am    Post subject: Reply with quote

kurohi,

I'm late to this particular party.

Your pastebins are gone :(.

Can you post/pastebin both the working and non-working.
Code:
Kernel configs
lspci -nnk
dmesg

The k in lspci may show different kernel modules in use.

Please pastebin the decompressed /proc/config.gz if you can as that is provided by the running kernel.
That's important as many users have fixed their problem but don't know it as they are not running the kernel they think they are.

The build date/time of the running kernel is shown in
Code:
uname -a

Code:
$ uname -a
Linux neddy_static 5.17.0-gentoo #1 SMP PREEMPT Sat Mar 26 16:39:19 GMT 2022 x86_64 AMD Ryzen 9 5950X 16-Core Processor AuthenticAMD GNU/Linux

Every time you boot a new kernel, its worth checking. I forget to mount /boot sometimes too. :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5377
Location: Bavaria

PostPosted: Sat Apr 02, 2022 12:01 pm    Post subject: Reply with quote

kurohi wrote:
The odd thing is that it has worked on the systemrescue

If it works with systemrescueCD it MUST work with Gentoo also.

kurohi wrote:
I have tried the Fn+F10 shortcut as well, but KDE just give me a message that touchpad is off no matter how many times I press it

Yes, this was an EXAMPLE (for a Thinkpad); I have read some links for an Asus and in this links there was the information that there is a symbol for Touchpad on F5 or F6 ... (together with Fn). Do you have a system documentation for this notwebook ?
Back to top
View user's profile Send private message
kurohi
n00b
n00b


Joined: 03 Jul 2012
Posts: 12

PostPosted: Sun Apr 03, 2022 6:10 am    Post subject: Reply with quote

@pietinger Oddly enough it is the same shortcut as the Thinkpad for touchpad locking/unlocking. On windows and on the systemrescue, it did manage to lock and unlock the touchpad.
Tried leaving it unlocked and rebooting into the installed system, but was the same result.
@NeddySeagoon
Not late at all, grab a seat and drinks are at the bar :)  And thanks in advance for the help.
I am reposting the pastbins for the installed system and systemrescue:

-Installed system:
kernel configs: http://dpaste.com/CVEXYTMX3
lspci -nnk: http://dpaste.com/7Y83L4LAP
dmesg: http://dpaste.com/D28TW62A9
lsmod: http://dpaste.com/H5BFJ5S8J

-Systemrescue (where the touchpad worked):
kernel configs: http://dpaste.com/8DY5QYGT6
lspci -nnk: http://dpaste.com/7M4PN8B95
dmesg: http://dpaste.com/F85S5G6CF
lsmod: http://dpaste.com/AUMVW8H2E

Added the lsmod as well as it might give some extra idea of what is going on.
_________________
Walking you must keep
--Yoda
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Sun Apr 03, 2022 11:17 am    Post subject: Reply with quote

kurohi,

The working I2C Controller has
Code:
0000:00:15.0 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 [8086:51e8] (rev 01)
   DeviceName: Onboard - Other
   Subsystem: ASUSTeK Computer Inc. Device [1043:1c92]
   Kernel driver in use: intel-lpss
   Kernel modules: intel_lpss_pci
0000:00:15.1 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 [8086:51e9] (rev 01)
   DeviceName: Onboard - Other
   Subsystem: ASUSTeK Computer Inc. Device [1043:1c92]
   Kernel driver in use: intel-lpss
   Kernel modules: intel_lpss_pci

Your Gentoo has
Code:
0000:00:15.0 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 [8086:51e8] (rev 01)
   DeviceName: Onboard - Other
   Subsystem: ASUSTeK Computer Inc. Device [1043:1c92]
   Kernel driver in use: intel-lpss
0000:00:15.1 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 [8086:51e9] (rev 01)
   DeviceName: Onboard - Other
   Subsystem: ASUSTeK Computer Inc. Device [1043:1c92]
   Kernel driver in use: intel-lpss


So you may be missing intel_lpss_pci, at least, that's a kernel difference. to poke at
Does it appear in lsmod?
If not, your gentoo kernel has CONFIG_PWM_LPSS_PCI=m, so it's available.
Does
Code:
modprobe intel-lpss-pci
help?

Gentoo dmesg says
Code:
[   24.415791] hid-generic 0018:04F3:319B.0006: input,hidraw3: I2C HID v1.00 Mouse [ASUE120A:00 04F3:319B] on i2c-ASUE120A:00
Arch say
Code:
[   31.923493] hid-multitouch 0018:04F3:319B.0006: input,hidraw3: I2C HID v1.00 Mouse [ASUE120A:00 04F3:319B] on i2c-ASUE120A:00


The HID_ASUS kernel option may be of interest.
You have CONFIG_HID_ASUS=y, Arch has CONFIG_HID_ASUS=m.

All I have so far is intel-lpss-pci.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5377
Location: Bavaria

PostPosted: Sun Apr 03, 2022 11:24 am    Post subject: Reply with quote

As I said in my first post, your kernel configuration looks good ... but MAYBE you dont use this configuration. Are you sure you have booted the correct kernel ? Check with
Code:
# dmesg | grep "Linux version"

the timestamp and compare to your configuration. Maybe you are interested in this neighbour thread:
https://forums.gentoo.org/viewtopic-p-8696571.html#8696571

BTW: You have
Code:
CONFIG_EXTRA_FIRMWARE=""

This means you dont have configured your microcode, if you are not using an initrd which is doing it. Look into our Gentoo Wiki for this.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5377
Location: Bavaria

PostPosted: Sun Apr 03, 2022 11:34 am    Post subject: Reply with quote

Neddy,

NeddySeagoon wrote:
So you may be missing intel_lpss_pci, at least, that's a kernel difference. to poke at
Does it appear in lsmod?
If not, your gentoo kernel has CONFIG_PWM_LPSS_PCI=m, so it's available.
Does
Code:
modprobe intel-lpss-pci
help?


intel-lpss-pci is NOT
Code:
[ ] Pulse-Width Modulation (PWM) Support  ----


It is:
Code:
CONFIG_MFD_INTEL_LPSS=y
CONFIG_MFD_INTEL_LPSS_ACPI=y
CONFIG_MFD_INTEL_LPSS_PCI=y

and yes, he has activated both.
Back to top
View user's profile Send private message
kurohi
n00b
n00b


Joined: 03 Jul 2012
Posts: 12

PostPosted: Mon Apr 04, 2022 12:58 am    Post subject: Reply with quote

Hi pietinger,

Thanks for the hints. I checked with the dmesg | grep "Linux version", but the version was correct and it was the kernel I tried building a few hours ago.
I haven't tried using
Code:

CONFIG_EXTRA_FIRMWARE=""


So I have been using initramfs with dracut instead (not sure if they are the same). Will try to configure this variable and see if there is any change. Thanks
_________________
Walking you must keep
--Yoda
Back to top
View user's profile Send private message
kurohi
n00b
n00b


Joined: 03 Jul 2012
Posts: 12

PostPosted: Mon Apr 04, 2022 9:09 am    Post subject: Reply with quote

Tired going though the tutorials for microcodes for intel.
It helped me fixing a minor graphical glitch that I was having with nvidia, where the cursor would randomly go back a few characters, although the input was unaffected.
It was minor because, if you ignore what was on the screen, typing flowed as usual.

However, the touchpad problem still persists.
This is how the kernel variable is looking now.

[code]
CONFIG_EXTRA_FIRMWARE="i915/adlp_dmc_ver2_14.bin i915/adlp_guc_62.0.3.bin"
[/code]

The actual microcode is being loaded with dracut by including the --early-microcode flag when generating the a new initramfs

Following pietinger's hint, I am getting with the habit of checking if the newly built kernel is indeed the right one with uname -a. Thanks again
_________________
Walking you must keep
--Yoda


Last edited by kurohi on Mon Apr 04, 2022 9:53 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Mon Apr 04, 2022 9:34 am    Post subject: Reply with quote

kurohi,

Those microcodes are GPU related. They will do nothing for your touchpad.
Do you need.
Code:
  ┌───────────────────── Asus Laptop Extras ─────────────────────┐
  │ CONFIG_ASUS_LAPTOP:                                          │ 
  │                                                              │ 
  │ This is a driver for Asus laptops, Lenovo SL and the Pegatro │ 
  │ Lucid tablet. It may also support some MEDION, JVC or VICTOR │ 
  │ laptops. It makes all the extra buttons generate standard    │ 
  │ ACPI events and input events, and on the Lucid the built-in  │ 
  │ accelerometer appears as an input device.  It also adds      │ 
  │ support for video output switching, LCD backlight control,   │ 
  │ Bluetooth and Wlan control, and most importantly, allows you │ 
  │ to blink those fancy LEDs.                                   │ 
  │                                                              │ 
  │ For more information see <http://acpi4asus.sf.net>.          │ 
  │                                                              │ 
  │ If you have an ACPI-compatible ASUS laptop, say Y or M here. │ 


Your kernel config has gone from the pastbin, so I can't check.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
kurohi
n00b
n00b


Joined: 03 Jul 2012
Posts: 12

PostPosted: Mon Apr 04, 2022 10:01 am    Post subject: Reply with quote

NeddySeagon,

I have checked on the kernel configuration and the flag you pointed was being compiled in the kernel.
Might be worth trying to build it as a module.

Here are all the ASUS related kernel flags

[code]
ag asus .config
2254:# CONFIG_USB_PEGASUS is not set
2489:# CONFIG_TABLET_USB_PEGASUS is not set
3261:# CONFIG_SENSORS_ASUS_WMI is not set
3262:# CONFIG_SENSORS_ASUS_WMI_EC is not set
4530:CONFIG_HID_ASUS=m
5150:CONFIG_ASUS_LAPTOP=y
5151:CONFIG_ASUS_WIRELESS=m
5152:CONFIG_ASUS_WMI=y
5153:CONFIG_ASUS_NB_WMI=y
5154:# CONFIG_ASUS_TF103C_DOCK is not set
[/code]
_________________
Walking you must keep
--Yoda
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5377
Location: Bavaria

PostPosted: Mon Apr 04, 2022 11:18 am    Post subject: Reply with quote

kurohi wrote:
The actual microcode is being loaded with dracut [...]

I dont know what dracut is doing or for what you need it, but to be sure all needed modules are loaded correct, you can try to enable all what you have at the moment as STATIC into the kernel. There is a hack to do this with one setting: Disable this:
Code:
[ ] Enable loadable module support

(no worries; if you enable it again you will have all <M> back again)

Now build your kernel again, so all modules are now build static into your kernel and boot it. If this doesnt help, I would like to see the "dmesg" (complete) of this.
Back to top
View user's profile Send private message
kurohi
n00b
n00b


Joined: 03 Jul 2012
Posts: 12

PostPosted: Mon Apr 04, 2022 12:03 pm    Post subject: Reply with quote

I tried compiling without modules, but it still did not work.
Not sure why, but had some trouble reverting back.
Compiling with all modules as static made it so I could not use the wifi card.

This is the dmesg from the kernel with all modules as static: http://dpaste.com/4EGNLBEV5
This is the dmesg with the kernel as before (in case the partebin disappeared): http://dpaste.com/GL9W2GQK2
_________________
Walking you must keep
--Yoda
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5377
Location: Bavaria

PostPosted: Mon Apr 04, 2022 12:51 pm    Post subject: Reply with quote

Delete this from your kernel command line and try again:
Code:
i8042.noloop i8042.nomux i8042.nopnp i8042.reset

(aaargh; I didnt see before; sorry)
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5377
Location: Bavaria

PostPosted: Mon Apr 04, 2022 1:00 pm    Post subject: Reply with quote

kurohi wrote:
Compiling with all modules as static made it so I could not use the wifi card.

This is normal because we put wifi modules static into the kernel AND THEN it is needed to put its firmware also static into the kernel (same procedure as you did with the firmware for your graphics adapter). See this:
Code:
[    1.004140] Intel(R) Wireless WiFi driver for Linux
[    1.004205] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    1.006202] Loading firmware: iwlwifi-so-a0-gf-a0-69.ucode
[    1.006209] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-69.ucode failed with error -2
[    1.006212] Loading firmware: iwlwifi-so-a0-gf-a0-68.ucode
[    1.006214] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-68.ucode failed with error -2
[    1.006215] Loading firmware: iwlwifi-so-a0-gf-a0-67.ucode
[    1.006217] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-67.ucode failed with error -2


But this we can do later because we have two options: Going back to module support or configure the firmware static into the kernel.
Back to top
View user's profile Send private message
kurohi
n00b
n00b


Joined: 03 Jul 2012
Posts: 12

PostPosted: Mon Apr 04, 2022 1:14 pm    Post subject: Reply with quote

Ah, got it. For now will leave it as it is as it is just a minor problem that I can get back with a quick recompilation of the kernel.

Following the last comment, I removed the
[code]
i8042.noloop i8042.nomux i8042.nopnp i8042.reset
[/code]

Got those lines from the tutorial for touchpads. It worked for removing an error on dmesg but not for getting the touchpad to work
from grub, recompiled the kernel with the modules as static and got the dmesg: http://dpaste.com/ESLE2C9XK
_________________
Walking you must keep
--Yoda
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5377
Location: Bavaria

PostPosted: Mon Apr 04, 2022 2:18 pm    Post subject: Reply with quote

Ok, we have the problem that intel-lpss-pci is not loaded. Maybe you have a synopsis designware controller. I dont know if you have enabled this (because I cannot read your kernel config now), but if not try this:
Code:
Device Drivers  --->
[*] PCI support  --->
PCI controller drivers  --->
DesignWare PCI Core Support  --->
[*] Platform bus based DesignWare PCIe Controller - Host mode

(static; NOT as module)
Back to top
View user's profile Send private message
kurohi
n00b
n00b


Joined: 03 Jul 2012
Posts: 12

PostPosted: Mon Apr 04, 2022 11:56 pm    Post subject: Reply with quote

pietinger,
Sorry for the late response. It was already late here.
I just checked the kernel config and the pointed configuration was already marked as static.
Will try to change the intel-lpss-pci and i2c-designware options as static and try again. Trying to manually load those modules did nothing
_________________
Walking you must keep
--Yoda
Back to top
View user's profile Send private message
kurohi
n00b
n00b


Joined: 03 Jul 2012
Posts: 12

PostPosted: Tue Apr 05, 2022 12:13 am    Post subject: Reply with quote

Yup. Putting the i2c-designware as static did not work either.
The path /sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-12/i2c-ASUE120A:00/ is still being created, but without the touchpad after the i2c-ASUE120A:00 folder.

Will go over the internet and find a way to increase the "verboseness" of i2c-designware to see if I can get any hints from there.
_________________
Walking you must keep
--Yoda
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5377
Location: Bavaria

PostPosted: Tue Apr 05, 2022 12:16 am    Post subject: Reply with quote

In an other thread: https://forums.gentoo.org/viewtopic-t-1147671-highlight-.html
@luna80 had a problem with the touchpad of an Ideapad with an interesting result:

It worked until linux 5.10.100; with any newer version it didnt work anymore ... :-(
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5377
Location: Bavaria

PostPosted: Tue Apr 05, 2022 1:07 am    Post subject: Reply with quote

kurohi,

do you know the moment when you think it must work because it is all correct configured and it doesnt ? Then you will have crazy thoughts ... so only an intimate question: Do you have edited (once or betimes) your .config manually ?

If yes, please read this article from our @NeddySeagoon:

https://forums.gentoo.org/viewtopic-p-8686380.html#8686380

If no, we have to search onwards ... ;-)
Back to top
View user's profile Send private message
kurohi
n00b
n00b


Joined: 03 Jul 2012
Posts: 12

PostPosted: Tue Apr 05, 2022 2:10 am    Post subject: Reply with quote

pietinger,

had some bad experiences before when I tried to edit the config file manually so never again :)
And to top that, forgot to backup the old one. Now I only use the menuconfig tool and backup the file once I confirm the kernel is stable

Guess the quest for the elusive touchpad continues, lol.
Will try to go over the linux hardware probes with similar setup and see which modules they are using.
_________________
Walking you must keep
--Yoda
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum