Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Synaptics not working
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
g63oo
n00b
n00b


Joined: 30 Mar 2022
Posts: 18

PostPosted: Fri Apr 29, 2022 8:06 am    Post subject: [solved] Synaptics not working Reply with quote

i have a fresh new gentoo install on my laptop, xorg is set up with bspwm and polybar. the last addition I would like to add is my TouchPad working.

i tried following this gentoo guid: https://wiki.gentoo.org/wiki/Synaptics at first, but with little to no success.
then i looked through the forum and tried a few solutions including this one :
https://forums.gentoo.org/viewtopic.php?p=447285 which helped me identifying which event is connected to my trackpad but sadly the download link isn't available anymore so i couldn't follow it through.

now im stuck with the following:
kernel
http://0x0.st/oAiu.txt

my make.conf
http://0x0.st/oAiQ.bin

dmesg | grep i8042
http://0x0.st/oAi1.json

my 50-Synaptics
http://0x0.st/oAij.conf

my 40-libinput
http://0x0.st/oAie.conf

and i found this searching for my modules in xorg. log
http://0x0.st/oAi2.txt


Last edited by g63oo on Tue May 03, 2022 2:41 am; edited 1 time in total
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Fri Apr 29, 2022 8:46 am    Post subject: Reply with quote

take a look here

https://forums.gentoo.org/viewtopic-p-8692426.html#8692426
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
g63oo
n00b
n00b


Joined: 30 Mar 2022
Posts: 18

PostPosted: Fri Apr 29, 2022 7:29 pm    Post subject: Reply with quote

sadly that didn't help
any other ideas what could help
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4244
Location: Bavaria

PostPosted: Fri Apr 29, 2022 7:54 pm    Post subject: Reply with quote

g63oo,

what is your exact notebook model ? Have you checked if there is a description here: https://wiki.gentoo.org/wiki/Category:Laptops ?

If not, you should first examine which kind of touchpad you have. Easiest way to do this, is to boot an UbuntuLiveCD and doing these queries:
Code:
# lspci -k
# lsmod | more
# dmesg | grep input

(notice all for later)

If it is a modern synaptics touchpad, then please forget the old Wiki article. Best is to start with an empty /etc/X11/xorg.conf.d/

After this, give us these informations and your actual kernel configuration (= WITH your tries), because something is surely missing.

Please check also, if you really have booted your new kernel: Check timestamp of your new kernel in /boot/ with
Code:
# dmesg | grep "Linux version"

(We had a problem before some time with a missing "grub-mkconfig -o /boot/grub/grub.cfg"; see more here: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Apr 29, 2022 7:56 pm    Post subject: Reply with quote

g63oo,

There are lots of different ways your touchpad can be connected.
USB or I2C are both popular.

Please post the output of
Code:
lspci -nnk
so we can see your hardware and the kernel drivers in use.
Post the output of
Code:
lsusb
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
g63oo
n00b
n00b


Joined: 30 Mar 2022
Posts: 18

PostPosted: Sat Apr 30, 2022 11:38 am    Post subject: Reply with quote

i got the Lenovo Yoga slim 7:
https://www.lenovo.com/in/en/laptops/yoga/yoga-s-series/Yoga-Slim-7-14ARE05/p/88YGS701397

with a mint live cd i checked the following:
lspci-k
http://0x0.st/oAZS.txt

lsmod more
http://0x0.st/oAZQ.txt

dmesg grep input
http://0x0.st/oAZ1.json

i looked through this list https://wiki.gentoo.org/wiki/Category:Laptops already, through other lenovo devices in hope to find a solution.

this is my current kernel config which i did yesterday:
http://0x0.st/oAiu.txt

and just to be sure i made these changes to my grub 2 days ago(nearly at the bottom) :
https://wiki.gentoo.org/wiki/Synaptics

plus here is my lspci - nnk:
http://0x0.st/oAZc.txt

and my installation told me that the command lsusb didn't exist so this lsusb is from a mint live cd i booted on my laptop:
http://0x0.st/oAZm.txt
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4244
Location: Bavaria

PostPosted: Sat Apr 30, 2022 12:13 pm    Post subject: Reply with quote

g63oo,

after checking your kernel config its hard to believe for me you have read the link @luna80 have given you ... This link should help also:
https://wiki.gentoo.org/wiki/Lenovo_Ideapad_Slim_7

OK, now lets start:

In your queries ("dmesg | grep input") you see its an I2C connected touchpad; in your "lspci" you see it needs I2C_PIIX4. I2C is complete missing ! It is an AMD notebook, so you must enable it. All of these are not enabled in your kernel config:
Code:
# CONFIG_X86_AMD_PLATFORM_DEVICE is not set

# CONFIG_MOUSE_SYNAPTICS_I2C is not set

CONFIG_I2C_I801=y
# CONFIG_I2C_PIIX4 is not set

# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
# CONFIG_I2C_DESIGNWARE_PCI is not set

# CONFIG_HID_MULTITOUCH is not set

#
# I2C HID support
#
# CONFIG_I2C_HID_ACPI is not set
# end of I2C HID support


If you read the link from @luna80 you will see what you miss:

Code:
Device Drivers  --->
    HID support  --->
        Special HID drivers  --->
            <*> HID Multitouch panels

Processor type and features  --->
    [*] AMD ACPI2Platform devices support

Device Drivers --->
    I2C support --->
        i2C Hardware Bus support  --->
            [*] Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC)
            [ ] Intel 82801 (ICH/PCH)
MAYBE also this:
            [*] SMBus Control Method Interface
            [*] Synopsys DesignWare Platform
            [*] Synopsys DesignWare PCI

Device Drivers  --->
    Pin controllers  --->
        [*]   AMD GPIO pin control
       
Device Drivers  --->
    HID support  --->
        [*]   /dev/hidraw raw HID device support
        [*]   Generic HID driver
        I2C HID support  --->
            [*] HID over I2C transport layer

MAYBE this - but try first WITHOUT
Device Drivers  --->
    Input device support  --->
        Mice  --->
            [*] ELAN I2C Touchpad support
            [*] Enable I2C support
            [*] Enable SMbus support
           
MAYBE also this - but try first WITHOUT:

Device Drivers  --->
    [*] PCI support  --->
        PCI controller drivers  --->
            DesignWare PCI Core Support  --->
                [*] Platform bus based DesignWare PCIe Controller - Host mode

.
Also (from link above):
Code:
  [*] X86 Platform Specific Device Drivers  --->
  <*>   Lenovo IdeaPad Laptop Extras
  [*] IOMMU Hardware Support  --->
  [*]   AMD IOMMU support
  <*>     AMD IOMMU Version 2 driver
  [*]   Support for Interrupt Remapping
Back to top
View user's profile Send private message
g63oo
n00b
n00b


Joined: 30 Mar 2022
Posts: 18

PostPosted: Sun May 01, 2022 6:46 am    Post subject: Reply with quote

lenovo sold the laptop i got under 2 different names, under the yoga and the IdeaPad.
i didn't knew that and so i didn't thought that https://wiki.gentoo.org/wiki/Lenovo_Ideapad_Slim_7 this configuration would apply.

regarding all the rest it seems i send you an older configuration bc when i ran male menuconf and checked the setup everything was enabled but the Intel sections he had.

here is the "new kernel" :
http://0x0.st/oAiu.txt

it seems like i send the wrong kernel config, bc when i wanted to reconfigure it i only changed a few options from module to build in in order for mine matching the others config.

sadly after checking my TouchPad still won't work


Last edited by g63oo on Sun May 01, 2022 12:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4244
Location: Bavaria

PostPosted: Sun May 01, 2022 10:58 am    Post subject: Reply with quote

g63oo wrote:
ill check everything again and look through the files I pasted to see if they are the latest available.
sorry for that

Its OK - you are welcome. I am sure you will manage it and give us an "It works"-message :-)

(If not, we will need your new kernel config again)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun May 01, 2022 11:26 am    Post subject: Reply with quote

g63oo,

Mabe the kernel .config you posted was the latest but you are not actually running that kernel?

What is the date/time in
Code:
uname -a

That's the build date and time of the running kernel. How does it compare with your memory of your most recent kernel build?
_________________
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
g63oo
n00b
n00b


Joined: 30 Mar 2022
Posts: 18

PostPosted: Sun May 01, 2022 12:52 pm    Post subject: Reply with quote

i ran uname - a and i pasted the right kernel in my last response

and my bad i send the wrong config before, it was a copy i had from a kernel i ran a few days ago
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun May 01, 2022 1:06 pm    Post subject: Reply with quote

g63oo,

Its always good to check these things. Its easy to forget to mount boot for the kernel install.

Please past your
Code:
lspci -nnk
from four current kernel and the dmesg that it produced.
Your kernel pastebin is still there, so we don't need that again.
_________________
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
g63oo
n00b
n00b


Joined: 30 Mar 2022
Posts: 18

PostPosted: Sun May 01, 2022 7:26 pm    Post subject: Reply with quote

ok so
here is the lspci - nnk
http://0x0.st/oALG.txt

dmesg
http://0x0.st/oALk.05

kernel:
http://0x0.st/oAiu.txt

for all the other files (lsmod | more,....) which r from a mint live cd, those r posted above

if any other files are needed pls say so and thx in advanced for the support
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun May 01, 2022 8:05 pm    Post subject: Reply with quote

Try adding
Code:
I2C_HID_ACPI


You already have
Code:
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=y

We are fairly sure its not a PS/2 device but leave those options

Try adding
Code:

MOUSE_SYNAPTICS_I2C
I2C_HID_ACPI


dmesg:
[    0.608573] hid-multitouch 0018:06CB:CDB0.0001: input,hidraw0: I2C HID v1.00 Mouse [PNP0C50:00 06CB:CDB0] on i2c-PNP0C50:00

is your touchpad.
_________________
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
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun May 01, 2022 9:05 pm    Post subject: Reply with quote

g63oo,

When your rebuild your kernel, please turn on
Code:
# CONFIG_IKCONFIG is not set.


This will give you /proclconfig.gz. Now when you pastebin the output of zcat /proclconfig.gz we know we are looking at the kernel configuration that you are actually running.

dmesg:
[    0.000000] Linux version 5.15.32-gentoo-r1-x86_64 (root@Gent00) (gcc (Gentoo Hardened 11.2.1_p20220115 p4) 11.2.1 20220115, GNU ld (Gentoo 2.37_p1 p2) 2.37) #10 SMP Sun May 1 14:40:14 CEST 2022

That's today's kernel. Its 5.15.32-gentoo-r1 build #10 at Sun May 1 14:40:14 CEST 2022,
_________________
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
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21712

PostPosted: Sun May 01, 2022 10:50 pm    Post subject: Reply with quote

Make that CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC, the latter of which only becomes visible after the former is enabled. The first embeds the configuration in the kernel. The second exposes that embedded configuration as the file Neddy intends: /proc/config.gz.
Back to top
View user's profile Send private message
g63oo
n00b
n00b


Joined: 30 Mar 2022
Posts: 18

PostPosted: Mon May 02, 2022 4:52 am    Post subject: Reply with quote

ok i updated the kernel as suggested

here is the new kernel as from config.gz:
http://0x0.st/oAp6.txt

here is the dmesg
http://0x0.st/oApl.05


sadly enough the TouchPad still won't come alive, could my 50-Synaptics be the problems?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4244
Location: Bavaria

PostPosted: Tue May 03, 2022 1:38 am    Post subject: Reply with quote

g63oo wrote:
sadly enough the TouchPad still won't come alive, could my 50-Synaptics be the problems?

Maybe ... but I think you have tried it already with an empty /etc/X11 ... so you surely have an answer to this question.

Your kernel configuration looks correct and in dmesg you see it will be recognized as "multi-touch". So, I dont think changing this option from <M> to static will help ... but you could try:
Code:
CONFIG_I2C_DESIGNWARE_PCI=m


I had another problem with a tochpad and deleting these (senseless) command line paramters have not helped, but you could try to remove them:
Code:
i8042.noloop i8042.nomux i8042.nopnp i8042.reset


I can remember an old problem with a touchpad and the solution was: It must be enabled with F6, F8 or Fn+F6/F8/ ... So, you should try this in every case.

If all of these 3 tryings doesnt help, I am out of Ideas for the moment ... :-(
Back to top
View user's profile Send private message
g63oo
n00b
n00b


Joined: 30 Mar 2022
Posts: 18

PostPosted: Tue May 03, 2022 2:40 am    Post subject: Reply with quote

it works!! ^^

not sure why it works now, but whatbi did was, i loaded and older kernel i had saved and changed everything to what was recommended here.
so its the kernel in the paste but from scratch i suppose, plus i removed the extra lines i had added from grub


thx u guys and sorry for the trouble!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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