Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
touchpad on a Razer Blade 17 RZ09-0423 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
bawig1
n00b
n00b


Joined: 03 Aug 2011
Posts: 68
Location: Melbourne, Australia

PostPosted: Wed Dec 06, 2023 4:00 pm    Post subject: touchpad on a Razer Blade 17 RZ09-0423 [SOLVED] Reply with quote

Hi,

I have a Razer Blade 17 RZ09-0423 and I'm having issues getting the touchpad working. My make.conf is below

Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8
MAKEOPTS="-j16 -l16"

GENTOO_MIRRORS="https://mirror.aarnet.edu.au/pub/gentoo/ \
    http://mirror.aarnet.edu.au/pub/gentoo/ \
    rsync://mirror.aarnet.edu.au/pub/gentoo/ \
    ftp://ftp.swin.edu.au/gentoo \
    http://ftp.swin.edu.au/gentoo \
    https://ftp.lysator.liu.se/gentoo/ \
    http://ftp.lysator.liu.se/gentoo/ \
    ftp://ftp.lysator.liu.se/gentoo/ \
    rsync://ftp.lysator.liu.se/gentoo/ \
    https://mirrors.tnonline.net/gentoo/gentoo-distfiles/ \
    rsync://mirrors.tnonline.net/gentoo-distfiles"
VIDEO_CARDS="nv"
ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE"
GRUB_PLATFORMS="efi-64"
INPUT_DEVICES="libinput"
USE="${USE} python_targets_python3_10"


Kernel Config is here http://dpaste.com/DNYVATD2A

here is the contents of /etc/X11/xorg.conf.d/40-libinput.conf
Code:

# Match on all types of devices but joysticks
#
# If you want to configure your devices, do not copy this file.
# Instead, use a config snippet that contains something like this:
#
# Section "InputClass"
#   Identifier "something or other"
#   MatchDriver "libinput"
#
#   MatchIsTouchpad "on"
#   ... other Match directives ...
#   Option "someoption" "value"
# EndSection
#
# This applies the option any libinput device also matched by the other
# directives. See the xorg.conf(5) man page for more info on
# matching devices.

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
     Identifier "libinput touchpad catchall"
     MatchIsTouchpad "on"
     MatchDevicePath "/dev/input/event*"
     Option "Tapping" "True"
     Option "TappingDrag" "True"
     Driver "libinput"
EndSection

Section "InputClass"
     Identifier "libinput touchpad catchall"
     MatchIsTouchpad "on"
     MatchDevicePath "/dev/input/event*"
     Option "NaturalScrolling" "True"
     Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        Driver "libinput"
        Option "TransformationMatrix" "0.90 0 0 0 0.90 0 0 0 1"
EndSection



the contents of
Code:
/var/log/Xorg.0.log


http://dpaste.com/EPV8ELDVJ

Please let me know if I need to supply anything else.

thank you


Last edited by bawig1 on Wed Dec 06, 2023 7:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Wed Dec 06, 2023 4:26 pm    Post subject: Reply with quote

Missing many kernel options including, but not limited to, the correct PINCTRL driver and Intel LPSS.

Best recommendation is get a Live environment booted up where the touchpad works and capture the full dmesg. This will give hints to what is totally necessary.
Back to top
View user's profile Send private message
bawig1
n00b
n00b


Joined: 03 Aug 2011
Posts: 68
Location: Melbourne, Australia

PostPosted: Wed Dec 06, 2023 5:55 pm    Post subject: Reply with quote

Hi,

I booted the Gentoo Live DVD KDE environment and the touchpad was working. I grabbed dmesg --> http://dpaste.com/8CUJ7DNRE and lsmod --> http://dpaste.com/95LKAHJA5 from the running system.

The good news is I think I know the driver I need....

Code:
 hid-multitouch 0018:04F3:30A6.0006: input,hidraw5: I2C HID v1.00 Mouse [ELAN0406:00 04F3:30A6] on i2c-ELAN0406:00


So where do I go from here?

Thank you
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Wed Dec 06, 2023 6:01 pm    Post subject: Reply with quote

This is the most important line from that dmesg:
Code:
[    6.952015] input: ELAN0406:00 04F3:30A6 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-ELAN0406:00/0018:04F3:30A6.0006/input/input16


This tells us that it is an I2C touchpad on the designware host controller and uses i2c-elan as well.

So it definitely needs an Intel PINCTRL driver (pinctrl_tigerlake), Intel LPSS, Designware PCI, Elan I2C mouse (touchpad), as well as multitouch HID for multiple finger input.
This may be taken up by i2c_hid and i2c_i801 drivers as well
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4158
Location: Bavaria

PostPosted: Wed Dec 06, 2023 6:49 pm    Post subject: Reply with quote

Maybe my (german) post can help a little bit:
https://forums.gentoo.org/viewtopic-p-8692426.html#8692426
(just look at the kernel configuration)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
bawig1
n00b
n00b


Joined: 03 Aug 2011
Posts: 68
Location: Melbourne, Australia

PostPosted: Wed Dec 06, 2023 7:05 pm    Post subject: Reply with quote

So. First off. Thank you for helping out a n00b.

Second, My Touchpad is working!

here is my kernel .config file
http://dpaste.com/FEH9HRZ4Z

here is my dmesg
http://dpaste.com/23U854GUE

I hope this helps the next intrepid traveler. Will mark the thread as SOLVED!
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21635

PostPosted: Wed Dec 06, 2023 7:17 pm    Post subject: Reply with quote

It should help the next traveler, provided that person arrives before your dpaste expires in 1 day. ;) To be most helpful, prepare a unified diff between the good and bad kernel configurations, and post that diff inline here so that it is preserved indefinitely.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Wed Dec 06, 2023 7:44 pm    Post subject: Reply with quote

I would recommend disabling CONFIG_OF at your next convenience. It certainly does not look like the Razor has Open Firmware and there are tons of dmesg messages pointing to no support.

It certainly won't hurt anything to have it on now, but will make devices slightly faster to discover.
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
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