View previous topic :: View next topic |
Author |
Message |
The_Document Apprentice
Joined: 03 Feb 2018 Posts: 275
|
Posted: Thu May 24, 2018 7:55 am Post subject: [Solved] cannot get laptop hardware functioning |
|
|
Booted binary distro and all hardware worked however I could not get bluetooth and touchpad to work under gentoo. Heres lsmod and dmesg from binary dist
lsmod
http://dpaste.com/2CEK64W
dmesg
http://dpaste.com/2GYFKKC
current kernel config
http://dpaste.com/3A0T5TM
this is about my 8th time installing gentoo and unfortunately if i cannot get hw to work I will have to distro hop.
Last edited by The_Document on Sat Jun 02, 2018 2:26 am; edited 1 time in total |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu May 24, 2018 8:42 am Post subject: |
|
|
Try change your ultimatum with "build me my gentoo or i'll kill that cute puppy" thread, it could had work better.
Go use your binary distro ; if you are in total anger, we have a "gentoo is dying" thread (actually more than just one) that could be bump if you are in mood to post crap while leaving. |
|
Back to top |
|
|
The_Document Apprentice
Joined: 03 Feb 2018 Posts: 275
|
Posted: Thu May 24, 2018 8:51 am Post subject: |
|
|
krinn wrote: | Try change your ultimatum with "build me my gentoo or i'll kill that cute puppy" thread, it could had work better.
Go use your binary distro ; if you are in total anger, we have a "gentoo is dying" thread (actually more than just one) that could be bump if you are in mood to post crap while leaving. |
I'm not in any kind of anger, setting up a kernel which is set up to run only on the hardware which is present is not an easy task granted there are very few guidelines. I'm in the unfortunate situation where I cannot have working hardware with gentoo running on it. I made this post to see if there are things which are missed, or perhaps a wiki or some explanation to determine hardware codes to kernel drivers. For instance, this prompt and menu entry named pin controllers does not exist, if it did I would have likely already gotten hardware to work.
https://preview.ibb.co/e41Pvo/IMG_20180524_022334.jpg
Configuring the kernel is confusing enough for me to just distro hop and I did not bring anything up about gentoo dying or similar things. |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu May 24, 2018 9:42 am Post subject: |
|
|
The_Document wrote: | I made this post to see if there are things which are missed, or perhaps a wiki or some explanation to determine hardware codes to kernel drivers. |
The problem is not what you ask, but how you did.
The_Document wrote: |
For instance, this prompt and menu entry named pin controllers does not exist, if it did I would have likely already gotten hardware to work.
|
Kernel entries have rules: could be either because something is missing or something is selected.
On your picture, you can see it depends on PINCTRL=n and ACPI=y, so if ACPI=n or PINCTRL=y the item may stay hidden. |
|
Back to top |
|
|
The_Document Apprentice
Joined: 03 Feb 2018 Posts: 275
|
Posted: Thu May 24, 2018 4:09 pm Post subject: |
|
|
krinn wrote: | ...the item may stay hidden. |
It's still hidden is the only way to enable it by appending config file? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Thu May 24, 2018 4:53 pm Post subject: |
|
|
The_Document,
You can search for hidden entries in menuconfig as follows:-
On a menu that does not use 'z' as a shortcut, press 'z'. This toggles the hiding and unhiding of all unselectable options.
You will see a new symbolagainst unselectable options.
The search will work and you can jump to any hidden option.
Read its Depends on: in the help.
Fix the Depends on: boolean expression to evaluate to true.
You may need to do apply the search, fix the Depends on: boolean expression process recursively. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3104
|
Posted: Thu May 24, 2018 6:23 pm Post subject: |
|
|
Quote: | cannot get (...) functioning might distro hop | You wouldn't believe the size of fck I don't give.
If you actually want to get help with your problem at hand, ask a proper question. Posting logs is good, yes, but they lack >>action<< so nobody is really going to read them just for fun.
You are supposed to know what you expect. You are supposed to know what doesn't meet your expectation. You are the one supposed to drive this topic.
Write it all down. |
|
Back to top |
|
|
The_Document Apprentice
Joined: 03 Feb 2018 Posts: 275
|
Posted: Thu May 24, 2018 11:32 pm Post subject: |
|
|
NeddySeagoon wrote: | ...press 'z'. This toggles the hiding and unhiding of all unselectable options.
You will see a new symbol... |
I used both and and z did not toggle anything. Then tried with show all symbols enabled, still nothing. |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Fri May 25, 2018 12:35 am Post subject: |
|
|
szatox wrote: | Quote: | cannot get (...) functioning might distro hop | You wouldn't believe the size of fck I don't give.
|
+1.
I actively use several distros already, based on what my needs for the system are and how I'm feeling that day. I strongly recommend being at least passingly familiar with 2 distros which are not in the same family group.
However, your "might distro hop" in the subject is likely to get you some angst as it can be seen as a threat of sorts, although I can't see why anyone would care.
I bid you a good journey on your search for a new distro. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Fri May 25, 2018 6:52 pm Post subject: |
|
|
The_Document,
Lets do a worked example. In menuconfig press / and enter PINCTRL_SUNRISEPOINT
I get Code: | │ Symbol: PINCTRL_SUNRISEPOINT [=n] │
│ Type : tristate │
│ Prompt: Intel Sunrisepoint pinctrl and GPIO driver │
│ Location: │
│ -> Device Drivers │
│ (1) -> Pin controllers (PINCTRL [=n]) │
│ Defined at drivers/pinctrl/intel/Kconfig:101 │
│ Depends on: PINCTRL [=n] && (X86 [=y] || COMPILE_TEST [=n]) && ACPI [=y] │
│ Selects: PINCTRL_INTEL [=n] |
Pressing 1 to go to it takes me to Code: | [ ] Pin controllers ---- |
As Depends on: PINCTRL [=n] && (X86 [=y] || COMPILE_TEST [=n]) && ACPI [=y] is false, something like that is expected.
Pressing z now appears to do nothing but further down the menu
Code: | │ │ - - FSI support ---- │ │
│ │ - - Trusted Execution Environment support | toggles into view.
Getting back to Code: | [*] Pin controllers ---> | select it and Code: | < > Intel Sunrisepoint pinctrl and GPIO driver (NEW) | is the last useful option on the menu.
If the z toggle is on, you will see all the embedded system options 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 |
|
|
bobbymcgee n00b
Joined: 12 Apr 2018 Posts: 55
|
Posted: Fri May 25, 2018 11:00 pm Post subject: |
|
|
to avoid a guessing game, you can just do this on the bloated working kernel and you know what modules it needs in gentoo.
|
|
Back to top |
|
|
The_Document Apprentice
Joined: 03 Feb 2018 Posts: 275
|
|
Back to top |
|
|
bobbymcgee n00b
Joined: 12 Apr 2018 Posts: 55
|
|
Back to top |
|
|
The_Document Apprentice
Joined: 03 Feb 2018 Posts: 275
|
Posted: Sat May 26, 2018 7:02 am Post subject: |
|
|
bobbymcgee wrote: | ...your kernel looks fine to me... |
It might not even be the kernel and end up being userland issues. But its weird because touchpad remains inoperable after emerging appropriate xorg drivers after adding libinput into make.conf with emerge -uUD @world
current kernel
https://paste.pound-python.org/show/A4YLAaALURf9twtF9Fkq/
libinput list-devices - no tackpad found
https://paste.pound-python.org/show/EMUxOvkOYeqCJEmdWq9y/
emerge --info
https://paste.pound-python.org/show/PlxgoPvzK0jTkaRaNS0w/
Xorg.0.log
https://paste.pound-python.org/show/9DQFVG7gpYO7ZbgV7ITO/
Code: | [ 37.058] (**) SiliconWin mouse: always reports core events
[ 37.058] (**) Option "Device" "/dev/input/event14"
[ 37.058] (**) Option "_source" "server/udev"
[ 37.110] (II) event14 - SiliconWin mouse: is tagged by udev as: Mouse
[ 37.110] (II) event14 - SiliconWin mouse: device is a pointer
[ 37.110] (II) event14 - SiliconWin mouse: device removed
[ 37.125] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:0000:3821.0001/input/input14/event14"
[ 37.125] (II) XINPUT: Adding extended input device "SiliconWin mouse" (type: MOUSE, id 14)
[ 37.125] (**) Option "AccelerationScheme" "none"
[ 37.125] (**) SiliconWin mouse: (accel) selected scheme none/0
[ 37.125] (**) SiliconWin mouse: (accel) acceleration factor: 2.000
[ 37.125] (**) SiliconWin mouse: (accel) acceleration threshold: 4
[ 37.177] (II) event14 - SiliconWin mouse: is tagged by udev as: Mouse
[ 37.177] (II) event14 - SiliconWin mouse: device is a pointer
[ 42.834] (II) event14 - SiliconWin mouse: Enabling spurious button debouncing, see https://wayland.freedesktop.org/libinput/doc/1.10.7/button_debouncing.html for details
|
is just a usb mouse which I use to get over lack of a working touchpad. |
|
Back to top |
|
|
bobbymcgee n00b
Joined: 12 Apr 2018 Posts: 55
|
Posted: Sat May 26, 2018 7:46 am Post subject: |
|
|
make note of this from the wiki:
Quote: | By default, when libinput is the only available input driver for Xorg, no additional configuration is needed. Simply (re)start the graphical environment for the changes to take effect.
If multiple input drivers are available on the system (x11-drivers/xf86-input-evdev and x11-drivers/xf86-input-synaptics for example), then additional configuration is required. |
change to this in make.conf and emerge --depclean --ask
Code: | INPUT_DEVICES="libinput" | (this is default, so you can also remove entirely?) |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Sat May 26, 2018 11:08 am Post subject: |
|
|
The_Document,
Sunrise Point is a pain.
Once you have PINCTRL_SUNRISEPOINT in your kernel, you can start to get things that depend on its GPIO to work.
The good news is Sunrise Point is becoming more common and others have fixed this before you.
Non Gentoo solution apply. Its mostly a kernel thing.
I suspect you need
Code: | hid 114688 2 i2c_hid,hid_multitouch
hid_multitouch 20480 0
i2c_hid 20480 0 | I have a dim memory that your touchpad is on the i2c.
They are built into your kernel, so you have them.
This might be painful.
Boot Ubuntu, make sure things work as expected then remove modules until something breaks.
You will know you needed that module.
lsmod shows the module name, its size and a count of things that the kernel thinks are using the module. Its not always correct.
e.g. will be your HDD driver. Don't remove that.
Start with modules that have a used by count of zero. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
The_Document Apprentice
Joined: 03 Feb 2018 Posts: 275
|
Posted: Sat May 26, 2018 11:30 pm Post subject: |
|
|
NeddySeagoon wrote: | ...They are built into your kernel, so you have them.... |
So far I have managed to get touchpad to work, only bluetooth and fingerprint reader left. I am very happy and rather surprised that after recompiling kernel/rebooting/starting kde - the cursor started moving by touchpad, I was very glad. Im am sure bluetooth and fingerprint reader will follow inline.
lsmod so far
https://paste.pound-python.org/show/JdkMQmg5jsBDpXQy2bs5/
I dont understand why bluetooth isnt working granted I have all or at least most bluetooth modules loaded compared to ubuntu's lsmod |
|
Back to top |
|
|
bobbymcgee n00b
Joined: 12 Apr 2018 Posts: 55
|
Posted: Sun May 27, 2018 5:27 am Post subject: |
|
|
so you trying to use libinput libevdev and libsynaptics simulataneously with no configuration to do so had nothing to do with it? give me a break. go enjoy ubuntu. |
|
Back to top |
|
|
The_Document Apprentice
Joined: 03 Feb 2018 Posts: 275
|
Posted: Sun May 27, 2018 5:28 am Post subject: |
|
|
bobbymcgee wrote: | so you trying to use libinput libevdev and libsynaptics simulataneously with no configuration to do so had nothing to do with it? give me a break. go enjoy ubuntu. |
It was a driver issue not a userland issue. |
|
Back to top |
|
|
bobbymcgee n00b
Joined: 12 Apr 2018 Posts: 55
|
Posted: Sun May 27, 2018 5:38 am Post subject: |
|
|
this is wrong unless you know what you're doing, you obviously do not. keep going in circles, i'm finished.
Code: | INPUT_DEVICES="evdev synaptics libinput" |
|
|
Back to top |
|
|
The_Document Apprentice
Joined: 03 Feb 2018 Posts: 275
|
Posted: Sun May 27, 2018 5:41 am Post subject: |
|
|
bobbymcgee wrote: | this is wrong unless you know what you're doing, you obviously do not. keep going in circles, i'm finished.
Code: | INPUT_DEVICES="evdev synaptics libinput" |
|
I had that reduced to libinput a while ago. |
|
Back to top |
|
|
bobbymcgee n00b
Joined: 12 Apr 2018 Posts: 55
|
Posted: Sun May 27, 2018 5:59 am Post subject: |
|
|
you may lie but your Xorg.0.log does not |
|
Back to top |
|
|
The_Document Apprentice
Joined: 03 Feb 2018 Posts: 275
|
|
Back to top |
|
|
bobbymcgee n00b
Joined: 12 Apr 2018 Posts: 55
|
Posted: Sun May 27, 2018 6:05 am Post subject: |
|
|
I don't need proof, I know I told you how to fix it and you did. I didn't have doubts. The problem is you spreading misinformation by attributing it to "recompiling...kde"
edit: forgot the ellipsis, it's nonsense either way.
Last edited by bobbymcgee on Sun May 27, 2018 6:50 am; edited 1 time in total |
|
Back to top |
|
|
The_Document Apprentice
Joined: 03 Feb 2018 Posts: 275
|
Posted: Sun May 27, 2018 6:07 am Post subject: |
|
|
bobbymcgee wrote: | I don't need proof, I know I told you how to fix it and you did. I didn't have doubts. The problem is you spreading misinformation by attributing it to "recompiling kde" |
Were was it I stated I recompiled kde? |
|
Back to top |
|
|
|