Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Razer Blade Stealth - X windows - No touchpad/touchscreen
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
datafatmunger
n00b
n00b


Joined: 02 Apr 2016
Posts: 25

PostPosted: Fri Jun 23, 2017 6:40 am    Post subject: Razer Blade Stealth - X windows - No touchpad/touchscreen Reply with quote

Still mucking around trying to get this machine running... :?

Xwindows starts up, BUT no touchpad...or touchscreen for that matter, as it, I guess should also just work.

Trying to get Libinput to handle this, followed the guide here: https://wiki.gentoo.org/wiki/Libinput ... BUT I will say I also tried synaptics, but had the exact same results...so I do suspect it's a hardware/driver issue.

/var/log/Xorg.0.log
https://paste.pound-python.org/show/6IJxYaq81GIurBLtUAFz/

/etc/portage/make.conf
Code:
INPUT_DEVICES="libinput"


I copied the default 40-libinput.conf to /etc/X11/xorg.conf.d/

kernel:
https://paste.pound-python.org/show/qquWwzYhLu09splTtLWR/

Thanks again friends!
Back to top
View user's profile Send private message
Telemin
l33t
l33t


Joined: 25 Aug 2005
Posts: 734
Location: Glasgow, UK

PostPosted: Fri Jun 23, 2017 9:50 am    Post subject: Reply with quote

lspci, lsusb output and kernel config please. Kernel config should go to pastebin as it is too large for the forum. Put your lsusb and lspci inline in [code] tags.
_________________
The Geek formerly known as -Freestyling-
When you feel your problem has been solved please add [Solved] to the topic title.
Please adopt an unanswered post
Back to top
View user's profile Send private message
datafatmunger
n00b
n00b


Joined: 02 Apr 2016
Posts: 25

PostPosted: Fri Jun 23, 2017 11:06 am    Post subject: Reply with quote

@Telemin - Thanks for the response!

Kernel: https://paste.pound-python.org/show/qquWwzYhLu09splTtLWR/

Code:
€ sudo lspci
Password:
00:00.0 Host bridge: Intel Corporation Device 5904 (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d12 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
00:1f.0 ISA bridge: Intel Corporation Device 9d58 (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
3b:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961


Code:
€ sudo lsusb
Bus 002 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04f3:2356 Elan Microelectronics Corp.
Bus 001 Device 004: ID 1532:0220 Razer USA, Ltd
Bus 001 Device 003: ID 0bda:579f Realtek Semiconductor Corp.
Bus 001 Device 002: ID 0cf3:e300 Qualcomm Atheros Communications
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Back to top
View user's profile Send private message
Telemin
l33t
l33t


Joined: 25 Aug 2005
Posts: 734
Location: Glasgow, UK

PostPosted: Fri Jun 23, 2017 11:26 am    Post subject: Reply with quote

Okay, another sunrise-point machine. You probably have an I2C touchpad, and so you need to enable the relevant LPSS drivers. Take a look at this thread where someone had very similar issues. Essentially you need to enable CONFIG_I2C_HID, CONFIG_MFD_INTEL_LPSS_PCI and possibly a few other bits, but this should point you in the right direction.

I *think* your touchscreen is the Elan 04f3:2356 device on the usb bus. For this the kernel driver CONFIG_HID_MULTITOUCH should be enough.

Good luck, keep us posted,

-Telemin-
_________________
The Geek formerly known as -Freestyling-
When you feel your problem has been solved please add [Solved] to the topic title.
Please adopt an unanswered post
Back to top
View user's profile Send private message
datafatmunger
n00b
n00b


Joined: 02 Apr 2016
Posts: 25

PostPosted: Fri Jun 23, 2017 2:52 pm    Post subject: Reply with quote

@Telemin - Thank you for the response. I recompiled the kernel with the options you suggested, BUT...my keyboard stopped working. :( In fact I couldn't even get beyond the disk encryption password.
Back to top
View user's profile Send private message
Telemin
l33t
l33t


Joined: 25 Aug 2005
Posts: 734
Location: Glasgow, UK

PostPosted: Fri Jun 23, 2017 9:34 pm    Post subject: Reply with quote

Okay, that is deeply peculiar. Are you sure you didn't break it by changing something else in the kernel? Usually laptop keyboards are PS/2 so that should be handled by a totally different driver and subsystem. Failing that it might be usb and would fall under the CONFIG_USB_HID driver.

Otherwise can you post the new kernel config where the kb does not work so I can see everything you changed, and a dmesg log from the kernel where the keyboard does work so I can try to work out what the keyboard actually is.

We'll get there!

-Telemin-
_________________
The Geek formerly known as -Freestyling-
When you feel your problem has been solved please add [Solved] to the topic title.
Please adopt an unanswered post
Back to top
View user's profile Send private message
datafatmunger
n00b
n00b


Joined: 02 Apr 2016
Posts: 25

PostPosted: Sat Jun 24, 2017 9:07 am    Post subject: Reply with quote

Thank you again @Telemin for the response.

I went back to the previous .config, then re-enabled the items you suggested, and the keyboard works...so I must have actually enabled something I shouldn't have...anyway keyboard works...

...BUT with CONFIG_I2C_HID and CONFIG_MFD_INTEL_LPSS_PCI, still no touchpad (I'm ignoring the touchscreen at the moment).

Here is my current kernel config:
https://paste.pound-python.org/show/fwdpA1p631bIEpaC6F85/

Current xorg log:
https://paste.pound-python.org/show/DUjAyMKkfDtSVjlsT4Ct/

NOTE - Enabling the 2 things above, no idea why, I could not mount /boot, unknown fs type 'vfat'...this thread fixed that: https://forums.gentoo.org/viewtopic-t-714737.html
Back to top
View user's profile Send private message
datafatmunger
n00b
n00b


Joined: 02 Apr 2016
Posts: 25

PostPosted: Sat Jun 24, 2017 10:18 am    Post subject: Reply with quote

Update: Touch screen does work. Which is great, because at least now I can focus an Xterm and get cleanly out of X without an ssh reboot. :P

BUT...still no touchpad. Tried adding some kernel configs from this thread: https://forums-lb.gentoo.org/viewtopic-t-1038042-view-previous.html?sid=b081fc7a872b326c3f91c4330fbe60ba

Still no luck. :(

Here is my current kernel config:
https://paste.pound-python.org/show/f1UB6XnUjuC7em7X4g8P/

Last xorg log:
https://paste.pound-python.org/show/uJlR4zwcBbX2xw3yBAWZ/
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jun 24, 2017 10:47 am    Post subject: Reply with quote

datafatmunger,

Please post your
Code:
lspci -k

_________________
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
Telemin
l33t
l33t


Joined: 25 Aug 2005
Posts: 734
Location: Glasgow, UK

PostPosted: Sat Jun 24, 2017 11:54 am    Post subject: Reply with quote

datafatmunger,

lspci -k will confirm that the drivers for your LPSS chipset are loading correctly.

In addition, I have found some more information on the way the touchpads are setup, so please try enabling the following kernel options: I2C_DESIGNWARE_PLATFORM I2C_DESIGNWARE_PCI you will find these in devices drivers -> I2C support -> I2C hardware bus support. This should allow your kernel to actually talk to the devices on the I2C bus and find your touchpad.

-Telemin-
_________________
The Geek formerly known as -Freestyling-
When you feel your problem has been solved please add [Solved] to the topic title.
Please adopt an unanswered post
Back to top
View user's profile Send private message
datafatmunger
n00b
n00b


Joined: 02 Apr 2016
Posts: 25

PostPosted: Sat Jun 24, 2017 5:20 pm    Post subject: Reply with quote

@NeddySeagoon and @Telemin, thank you both for your responses.

Code:
€ sudo lspci -k
00:00.0 Host bridge: Intel Corporation Device 5904 (rev 02)
   Subsystem: Razer USA Ltd. Device 6752
00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02)
   Subsystem: Razer USA Ltd. Device 6752
   Kernel driver in use: i915
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP USB 3.0 xHCI Controller
   Kernel driver in use: xhci_hcd
   Kernel modules: xhci_pci
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP Thermal subsystem
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP Serial IO I2C Controller
   Kernel driver in use: intel-lpss
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP Serial IO I2C Controller
   Kernel driver in use: intel-lpss
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP CSME HECI
00:1c.0 PCI bridge: Intel Corporation Device 9d12 (rev f1)
   Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
   Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
   Kernel driver in use: pcieport
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP Serial IO UART Controller
   Kernel driver in use: intel-lpss
00:1f.0 ISA bridge: Intel Corporation Device 9d58 (rev 21)
   Subsystem: Razer USA Ltd. Device 6752
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP PMC
00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
   Subsystem: Razer USA Ltd. Device 6752
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP SMBus
   Kernel driver in use: i801_smbus
   Kernel modules: i2c_i801
01:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
   Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter
   Kernel driver in use: ath10k_pci
   Kernel modules: ath10k_pci
3b:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
   Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
   Kernel driver in use: nvme


I don't see anything in there about LPSS, so maybe that's an issue?
EDIT: oops...I see it, it's lowercase "Kernel driver in use: intel-lpss"


I think I do have I2C_DESIGNWARE_PLATFORM I2C_DESIGNWARE_PCI enabled.

Code:
€ grep I2C_DESIGNWARE .config
CONFIG_I2C_DESIGNWARE_CORE=m
CONFIG_I2C_DESIGNWARE_PLATFORM=m
CONFIG_I2C_DESIGNWARE_PCI=m
CONFIG_I2C_DESIGNWARE_BAYTRAIL=y


Thanks again!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jun 24, 2017 5:35 pm    Post subject: Reply with quote

datafatmunger,

Code:
CONFIG_I2C_DESIGNWARE_CORE=m
CONFIG_I2C_DESIGNWARE_PLATFORM=m
CONFIG_I2C_DESIGNWARE_PCI=m
are all modules. That's OK if they are loaded.

Look in lsmod. If they are missing, you need to discover the .ko file names and modprobe them.
The module names will be in the kernel help.

Code:
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP CSME HECI
has no driver loaded. That may be significant too.
The driver is mei_me.
As I2C is a serial bus, I would not be surprised to learn that this is needed for most of the sepial buses in your system.

If you are going to include that driver in the kernel, you way as well add intel_pch_thermal for your
Code:
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP Thermal subsystem
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
datafatmunger
n00b
n00b


Joined: 02 Apr 2016
Posts: 25

PostPosted: Sat Jun 24, 2017 6:23 pm    Post subject: Reply with quote

@NeddySeagoon - Thank you again for help.

Well I opted to just bake-in those items:
Code:

€ grep I2C_DESIGNWARE /usr/src/linux/.config
CONFIG_I2C_DESIGNWARE_CORE=y
CONFIG_I2C_DESIGNWARE_PLATFORM=y
CONFIG_I2C_DESIGNWARE_PCI=y


Also added the other items you mentioned..., looks like they are loading...

Code:

€ sudo lspci -k
00:00.0 Host bridge: Intel Corporation Device 5904 (rev 02)
   Subsystem: Razer USA Ltd. Device 6752
00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02)
   Subsystem: Razer USA Ltd. Device 6752
   Kernel driver in use: i915
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP USB 3.0 xHCI Controller
   Kernel driver in use: xhci_hcd
   Kernel modules: xhci_pci
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP Thermal subsystem
   Kernel driver in use: intel_pch_thermal
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP Serial IO I2C Controller
   Kernel driver in use: intel-lpss
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP Serial IO I2C Controller
   Kernel driver in use: intel-lpss
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP CSME HECI
   Kernel driver in use: mei_me
00:1c.0 PCI bridge: Intel Corporation Device 9d12 (rev f1)
   Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
   Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
   Kernel driver in use: pcieport
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP Serial IO UART Controller
   Kernel driver in use: intel-lpss
00:1f.0 ISA bridge: Intel Corporation Device 9d58 (rev 21)
   Subsystem: Razer USA Ltd. Device 6752
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP PMC
00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
   Subsystem: Razer USA Ltd. Device 6752
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP SMBus
   Kernel driver in use: i801_smbus
01:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
   Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter
   Kernel driver in use: ath10k_pci
   Kernel modules: ath10k_pci
3b:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
   Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
   Kernel driver in use: nvme


BUT...still no trackpad. :cry:
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jun 24, 2017 7:18 pm    Post subject: Reply with quote

datafatmunger,

Pastebin your dmesg, after Xorg has started. This will show hardware issues, if any.
Pastebin /var/log/Xorg.0.log, so we can see what Xorg is doing.
Pastebin your kernel .config file too please.

What does
Code:
uname -a
show?
_________________
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
datafatmunger
n00b
n00b


Joined: 02 Apr 2016
Posts: 25

PostPosted: Sat Jun 24, 2017 7:30 pm    Post subject: Reply with quote

dmesg
https://paste.pound-python.org/show/Q1TcbZaDqABFBDV16hyU/

xorg
https://paste.pound-python.org/show/PR2L2xg092rHpCifihTc/

.config
https://paste.pound-python.org/show/Ms9ZrVwa3NZCJii8mxFj/

I also thought I would go after this PCM controller (00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC)..., thinking maybe that would help? Trying the driver in this thread: https://forums.gentoo.org/viewtopic-t-1054764-view-next.html?sid=fabd31f63280dcf124afbf2ce7b439b6 ...BUT it doesn't seem to get used so, dunno. :?

Code:
€ uname -a
Linux localhost 4.9.16-gentoo #20 SMP Sat Jun 24 22:43:16 CEST 2017 x86_64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz GenuineIntel GNU/Linux


Thanks again!
Back to top
View user's profile Send private message
datafatmunger
n00b
n00b


Joined: 02 Apr 2016
Posts: 25

PostPosted: Sat Jun 24, 2017 7:50 pm    Post subject: Reply with quote

I'm also guessing it's still a hardware driver issue, so not X...if I cat /dev/mouse0 and use the trackpad...nothing...but if I cat /dev/mouse1 and use the touch screen, I do get "junk"...idk.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jun 25, 2017 9:59 am    Post subject: Reply with quote

datafatmunger,

I suspect that a piece of the driver 'layer cake' is missing.
All the bottom layers that show up in lspci -k are there. All the top hardware layers, like i2c, seem in be there.
That leaves a middle layer or two or a special HID device. That's all kernel.

A few things from dmesg
Code:
[    4.381805] Warning: Processor Platform Limit event detected, but not handled.
[    4.381812] Consider compiling CPUfreq support into your kernel.


Code:
[    4.877760] serio: i8042 KBD port at 0x60,0x64 irq 1
[    4.877865] mousedev: PS/2 mouse device common for all mice

You do have a conventional keyboard and mouse controller. That doesn't mean it has anything attached.

Code:
[    5.028046] intel_pmc_core: probe of 0000:00:1f.2 failed with error -22
Thats probably harmless as its your
Code:
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)


Something is taking a very long time
Code:
[    8.377585] input: ELAN Touchscreen as /devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/0003:04F3:2356.0005/input/input9
[    8.377792] hid-multitouch 0003:04F3:2356.0005: input,hiddev0,hidraw3: USB HID v1.10 Device [ELAN Touchscreen] on usb-0000:00:14.0-9/input0
[  104.897541] random: crng init done
Is that the price of crypt_root?

Looking at all the input devices from dmesg
Code:
[    4.351354] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:18/PNP0C09:01/PNP0C0D:00/input/input0
[    4.351388] ACPI: Lid Switch [LID0]
[    4.351423] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
[    4.351429] ACPI: Sleep Button [SLPB]
[    4.351454] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
[    4.351459] ACPI: Power Button [PWRB]
[    4.351486] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[    4.351491] ACPI: Power Button [PWRF]
[    4.577989] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4
[    5.087593] input: AT Raw Set 2 keyboard as /devices/platform/i8042/serio0/input/input5
[    7.934348] input: Razer Razer Blade Stealth as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:1532:0220.0002/input/input6
[    7.986411] hid-generic 0003:1532:0220.0002: input,hidraw0: USB HID v1.11 Keyboard [Razer Razer Blade Stealth] on usb-0000:00:14.0-8/input0
[    7.987814] input: Razer Razer Blade Stealth as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:1532:0220.0003/input/input7
[    8.039648] hid-generic 0003:1532:0220.0003: input,hidraw1: USB HID v1.11 Keyboard [Razer Razer Blade Stealth] on usb-0000:00:14.0-8/input1
[    8.040694] input: Razer Razer Blade Stealth as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.2/0003:1532:0220.0004/input/input8
[    8.040828] hid-generic 0003:1532:0220.0004: input,hidraw2: USB HID v1.11 Mouse [Razer Razer Blade Stealth] on usb-0000:00:14.0-8/input2
[    8.377585] input: ELAN Touchscreen as /devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/0003:04F3:2356.0005/input/input9
[  113.806420] input: PC Speaker as /devices/platform/pcspkr/input/input11
[  113.969686] input: USB Camera as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/input/input12
[  114.017907] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
[  114.018839] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
[  114.018892] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
[  114.018948] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
[  114.019005] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[  114.019054] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18

There is nothing that looks like a touchpad.
I suspect that /dev/mouse0 is the mouse that would be attached to the conventional mouse/keyboard controller. The kernel can't tell there is nothing there.


Looking back at lspic.
Code:
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
   Subsystem: Razer USA Ltd. Sunrise Point-LP SMBus
   Kernel driver in use: i801_smbus
This thread shows
Code:
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)

  Subsystem: Intel Corporation Sunrise Point-LP SMBus

  Kernel modules: i2c_i801
a different driver in use, for the same device. I don't know if its significant.

Does the built in keyboard work?
Exactly what make and model PC is this?
_________________
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
datafatmunger
n00b
n00b


Joined: 02 Apr 2016
Posts: 25

PostPosted: Sun Jun 25, 2017 10:18 am    Post subject: Reply with quote

@NeddySeagoon - Thank you for reading ma' logs. :-P

I'm pretty deep into this issue at the moment, and feeling not nearly 1337 enough to know my I2Cs from my smbus, from my lpss...

I built probably a lot of useless things into the kernel based on this thread..., as the hardware seems pretty similar (sans the display and network adapter): https://wiki.gentoo.org/wiki/Dell_XPS_15_9550, but no luck.

It's difficult for me to tell if add/removing items is actually changing anything, as more or less the same drivers are always selected.

I then stumbled upon this Thread: https://www.reddit.com/r/Fedora/comments/46vwid/howto_fedora_23_winderz_10_dual_boot_on_the_razer/, relevant step 10. Only the git repo doesn't build...

Code:
  CC [M]  /home/xxx/hid-rmi/hid-rmi.o
/home/xxx/hid-rmi/hid-rmi.c:922:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .input_configured = rmi_input_configured,


I suspect I'm missing a compiler flag for that, but my C is too shit to know...

I'm also a bit uncomfortable just make/make install-ing stuff outside portage...but I'm open to trying the driver if anyone knows how to get it to build. :P
Back to top
View user's profile Send private message
datafatmunger
n00b
n00b


Joined: 02 Apr 2016
Posts: 25

PostPosted: Sun Jun 25, 2017 10:30 am    Post subject: Reply with quote

Sorry missed the 2 questions at the end ->

Does the built in keyboard work? - Yes

Exactly what make and model PC is this? - Razer Blade Stealth
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jun 25, 2017 11:49 am    Post subject: Reply with quote

datafatmunger,

[-Werror=incompatible-pointer-types] is a change to gcc. Its tightening up its specification checking.
In this case its been told to treat the warning about incompatible-pointer-types as an error. Its something is the build system doing that.

incompatible-pointer-types is generally a bad thing. If it used to work, it was luck.

That git repro is from 2014 and appears to be for a 3.x kernel. Its unlikely to work for 4.x. However it does say
Quote:
Development tree of hid-rmi, rmi support for HID Synaptics devices.

That infers that if it ever got into the mainline kernel, it will be a part of HID Synaptics but there is no HID Synaptics symbol.

Poking about in the kernel, using that git repro for hints, shows that
Code:
input_mt_report_slot_state
appears in
Code:
$ grep -R  input_mt_report_slot_state *
hid-alps.c:            input_mt_report_slot_state(hdata->input,
hid-alps.c:            input_mt_report_slot_state(hdata->input,
hid-asus.c:      input_mt_report_slot_state(input, toolType, down);
hid-logitech-hidpp.c:   input_mt_report_slot_state(wd->input, MT_TOOL_FINGER,
hid-logitech-hidpp.mod.c:   { 0x7e2a11a1, __VMLINUX_SYMBOL_STR(input_mt_report_slot_state) },
hid-magicmouse.c:   input_mt_report_slot_state(input, MT_TOOL_FINGER, down);
hid-multitouch.c:      input_mt_report_slot_state(input, MT_TOOL_FINGER, active);
hid-multitouch.c:            input_mt_report_slot_state(input_dev,
hid-sony.c:         input_mt_report_slot_state(sc->touchpad, MT_TOOL_FINGER, active);
wacom_wac.c:         input_mt_report_slot_state(touch_input, MT_TOOL_FINGER, touch[1] & 0x01);
wacom_wac.c:      input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
wacom_wac.c:      input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
wacom_wac.c:      input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
wacom_wac.c:      input_mt_report_slot_state(input, MT_TOOL_FINGER, prox);
wacom_wac.c:      input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
wacom_wac.c:   input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
wacom_wac.c:      input_mt_report_slot_state(input, MT_TOOL_FINGER, valid);

At a guess your driver still uses that function, so its one of the above. If the driver has been completely rewritten, possible but unlikely, this won't be useful.

Those are file names, they need to be translated back into menuconfig options.
_________________
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
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13496

PostPosted: Sun Jun 25, 2017 4:01 pm    Post subject: Reply with quote

In the hope that it is helpful:
git grep -e hid-alps -e hid-logitech-hidpp -e hid-magicmouse -e hid-multitouch -e hid-sony -e wacom_wac -- '*Makefile*':
drivers/hid/Makefile:24:obj-$(CONFIG_HID_ALPS)      += hid-alps.o
drivers/hid/Makefile:59:obj-$(CONFIG_HID_LOGITECH_HIDPP)    += hid-logitech-hidpp.o
drivers/hid/Makefile:60:obj-$(CONFIG_HID_MAGICMOUSE)    += hid-magicmouse.o
drivers/hid/Makefile:63:obj-$(CONFIG_HID_MULTITOUCH)    += hid-multitouch.o
drivers/hid/Makefile:89:obj-$(CONFIG_HID_SONY)      += hid-sony.o
drivers/hid/Makefile:104:wacom-objs         := wacom_wac.o wacom_sys.o
From this, we know the Kconfig names of all but one of the files that Neddy suggested. The last one is likely CONFIG_HID_WACOM, but I have not checked this.
Back to top
View user's profile Send private message
datafatmunger
n00b
n00b


Joined: 02 Apr 2016
Posts: 25

PostPosted: Sun Jun 25, 2017 4:25 pm    Post subject: Reply with quote

Hu & of course Neddy, thank you both very much for help with this thread I own you beers. :P

I did try these items but they still didn't work. :(

I downloaded and booted the live Ubuntu 17 USB, and...it works. At least I know the hardware is still functioning.

Here is the lspci -k from Ubuntu:
https://paste.pound-python.org/show/2dbyhiimB3HoanWvjnh8/

Here is mine (I did rollback the .config a bit, it was a LONG DAY of trying 1 million things...)
https://paste.pound-python.org/show/8w4hqJoosLFbew3T6wzl/

00:1f.4...neddy already mentioned this...but not sure why it's I'm using i801_smbus...and 00:1f.2...I've selected the kernel config for intel_pmc_core...but it's not loading.

Current kernel config:
https://paste.pound-python.org/show/XfKylrJAEL9i3LXOJCvN/
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jun 25, 2017 4:39 pm    Post subject: Reply with quote

datafatmunger,

Ubuntu gives you a fully modular kernel.
What does its lsmod show?
Compare it to your Gentoo.
Ubunto probably has a lot of useless junk there too.

I mentioned the layers of a cake. The top and bottom layers are easy to find.
The intermediate layers are much more difficult.

What does Ubuntus Xorg.0.log show?
You can't emerge wgetpaste on Ubuntu but its only a script with no dependencies.
Code:
$ wgetpaste /usr/bin/wgetpaste
Your paste can be seen here: https://paste.pound-python.org/show/v6wx1JC6Bkl7x0TeMeMl/


It would be possible to build on Ubuntus kernel .config too. See if it has /proc/config.gz
_________________
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
datafatmunger
n00b
n00b


Joined: 02 Apr 2016
Posts: 25

PostPosted: Sun Jun 25, 2017 5:17 pm    Post subject: Reply with quote

Well if I wanted a big fat easy kernel...I'd just install Arch, plus I wouldn't have worry about the compile times and the systemd magic. :-P I prefer Gentoo (this will be my second gentoo machine), and would perfer not to steal some other distribution's .config (i like small kernels)...and I'm happy to write a wiki article for the stealth if we could just get through the touchpad issue.

lsmod looks the same...between the live usb and the gentoo install.

https://paste.pound-python.org/show/CKlcUkOcJ01xdBSYQGCz/

https://paste.pound-python.org/show/SZzE9YafiICyb8Ft23aD/

:D


Last edited by datafatmunger on Sun Jun 25, 2017 5:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6957
Location: Saint Amant, Acadiana

PostPosted: Sun Jun 25, 2017 5:29 pm    Post subject: Reply with quote

@Neddy,

most distros have a pastebin utility nowadays. I think it is called pastebin or pastebinit in Ubuntu.
_________________
Please learn how to denote units correctly!
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
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