View previous topic :: View next topic |
Author |
Message |
datafatmunger n00b
Joined: 02 Apr 2016 Posts: 30
|
Posted: Fri Jun 23, 2017 6:40 am Post subject: Razer Blade Stealth - X windows - No touchpad/touchscreen |
|
|
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 |
|
|
Telemin l33t
Joined: 25 Aug 2005 Posts: 753 Location: Glasgow, UK
|
Posted: Fri Jun 23, 2017 9:50 am Post subject: |
|
|
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 |
|
|
datafatmunger n00b
Joined: 02 Apr 2016 Posts: 30
|
Posted: Fri Jun 23, 2017 11:06 am Post subject: |
|
|
@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 |
|
|
Telemin l33t
Joined: 25 Aug 2005 Posts: 753 Location: Glasgow, UK
|
Posted: Fri Jun 23, 2017 11:26 am Post subject: |
|
|
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 |
|
|
datafatmunger n00b
Joined: 02 Apr 2016 Posts: 30
|
Posted: Fri Jun 23, 2017 2:52 pm Post subject: |
|
|
@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 |
|
|
Telemin l33t
Joined: 25 Aug 2005 Posts: 753 Location: Glasgow, UK
|
Posted: Fri Jun 23, 2017 9:34 pm Post subject: |
|
|
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 |
|
|
datafatmunger n00b
Joined: 02 Apr 2016 Posts: 30
|
|
Back to top |
|
|
datafatmunger n00b
Joined: 02 Apr 2016 Posts: 30
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54208 Location: 56N 3W
|
Posted: Sat Jun 24, 2017 10:47 am Post subject: |
|
|
datafatmunger,
Please post your _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Telemin l33t
Joined: 25 Aug 2005 Posts: 753 Location: Glasgow, UK
|
Posted: Sat Jun 24, 2017 11:54 am Post subject: |
|
|
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 |
|
|
datafatmunger n00b
Joined: 02 Apr 2016 Posts: 30
|
Posted: Sat Jun 24, 2017 5:20 pm Post subject: |
|
|
@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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54208 Location: 56N 3W
|
Posted: Sat Jun 24, 2017 5:35 pm Post subject: |
|
|
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 |
|
|
datafatmunger n00b
Joined: 02 Apr 2016 Posts: 30
|
Posted: Sat Jun 24, 2017 6:23 pm Post subject: |
|
|
@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. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54208 Location: 56N 3W
|
Posted: Sat Jun 24, 2017 7:18 pm Post subject: |
|
|
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 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 |
|
|
datafatmunger n00b
Joined: 02 Apr 2016 Posts: 30
|
|
Back to top |
|
|
datafatmunger n00b
Joined: 02 Apr 2016 Posts: 30
|
Posted: Sat Jun 24, 2017 7:50 pm Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54208 Location: 56N 3W
|
Posted: Sun Jun 25, 2017 9:59 am Post subject: |
|
|
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 |
|
|
datafatmunger n00b
Joined: 02 Apr 2016 Posts: 30
|
Posted: Sun Jun 25, 2017 10:18 am Post subject: |
|
|
@NeddySeagoon - Thank you for reading ma' logs.
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. |
|
Back to top |
|
|
datafatmunger n00b
Joined: 02 Apr 2016 Posts: 30
|
Posted: Sun Jun 25, 2017 10:30 am Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54208 Location: 56N 3W
|
Posted: Sun Jun 25, 2017 11:49 am Post subject: |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21586
|
Posted: Sun Jun 25, 2017 4:01 pm Post subject: |
|
|
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 |
|
|
datafatmunger n00b
Joined: 02 Apr 2016 Posts: 30
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54208 Location: 56N 3W
|
Posted: Sun Jun 25, 2017 4:39 pm Post subject: |
|
|
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 |
|
|
datafatmunger n00b
Joined: 02 Apr 2016 Posts: 30
|
Posted: Sun Jun 25, 2017 5:17 pm Post subject: |
|
|
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. 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/
Last edited by datafatmunger on Sun Jun 25, 2017 5:32 pm; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
|