Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge SDDM after wiki please HELP
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 20, 2024 12:33 pm    Post subject: Reply with quote

NeddySeagoon


emerge -1av x11-drivers/xf86-input-libinput

tell rebuild

shall I rebuild?

/Borje
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon May 20, 2024 12:47 pm    Post subject: Reply with quote

pietinger,

We have seen in this topic, as well as many others, that a reinstall fixes nothing.

borje2,

You make helping difficult when you do changes that we know nothing of.
Please don't do that. If you have an idea, tell us about it before you do it so we can decide if its a good idea or not.

As you have libinput installed, tho log you shared must be out of date.

As pietinger, says, it looks like you have your global xinitrc missing.
Rebuild xorg-server to fix that.
_________________
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
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 20, 2024 1:04 pm    Post subject: Reply with quote

NeddySeagoon

Ok I do not do anything unless you tell me to

so I understand that I shall empty Xorg.0.log and rebuild xorgr-server and startx again

Is that you mean??

/Borje
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon May 20, 2024 1:53 pm    Post subject: Reply with quote

borje2,

Yes. Thats it.
_________________
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
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 20, 2024 2:20 pm    Post subject: Reply with quote

NeddySeagoon

I did that emerge xorg-server empty xorg.0.log and startx

1 xterm no clock no mouse and no keyboard

https://bpa.st/W72Q

https://bpa.st/766Q


/Borje
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon May 20, 2024 2:41 pm    Post subject: Reply with quote

borje2,

I'm getting old ... I should have asked you to
Code:
emerge -1av  x11-apps/xinit

as xinit is its own package.

This will not fix the mouse/keyboard but you need this back anyway.

What do you have in /etc/X11/xorg.conf.d/30-keyboard.conf ?

Do you have the file
Code:
/usr/lib64/xorg/modules/input/libinput_drv.so

_________________
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
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 20, 2024 2:58 pm    Post subject: Reply with quote

Neddy Seagoon

https://bpa.st/HMYQ

I have this file

/usr/lib64/xorg/modules/input/inputtest_drv.so



/Borje
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 20, 2024 2:59 pm    Post subject: Reply with quote

I did emerge -1av x11-apps/xinit also

with 3 updates


/Borje
Back to top
View user's profile Send private message
pingtoo
l33t
l33t


Joined: 10 Sep 2021
Posts: 991
Location: Richmond Hill, Canada

PostPosted: Mon May 20, 2024 3:17 pm    Post subject: Reply with quote

Apology for interrupt the conversation flow. But I feel something was lost in translation :D

Because this session was assuming packages was installed in its default state, but I think may be something happen that may have cause this assumption were incorrect.

May I suggest we start examine packages integration first before proceed to debug configuration.

Let's start with checking if the dev-libs/libinput package
Code:
qcheck dev-libs/libinput
"qcheck" is from app-portage/portage-utils. if you don't have app-portage/portage-utils installed you can try another command
Code:
equery check dev/libs/libinput
"equery" is from app-portage/gentookit.

borje2,

May I also suggest when you were asked to post a content of a file, please post the full path of the file as well as the file time as in
Code:
ls -l <asked file>
This way we can understand if there were any changes since past post in order to understand system state.

Another check is to check where is /usr/lib64/xorg/modules/input/inputtest_drv.so came from by
Code:
qfile /usr/lib64/xorg/modules/input/inputtest_drv.so
This probably help understand why the rebuild never install libinput.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon May 20, 2024 3:24 pm    Post subject: Reply with quote

borje2,

The # at the start of every line means that the line will be treated as a comment.
That's a good place to start.

We need to find the Xorg.0.log file

For root, it will be at /var/log/Xorg.0.log
For a normal user it will be at .local/share/xorg/Xorg.0.log in the users home directory, or /home/borje2/.local/share/xorg/Xorg.0.log for the user borje2.

Find them both and delete them if they exist.

Now try startx.

That should generate a new Xorg.0.log track it down and share it.

-- edit --

pingtoo's debug information request is good 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
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 20, 2024 4:10 pm    Post subject: Reply with quote

NeddySeagoon

you told me to comment out monitor conf

I have no xorg as a user

in .local/share
https://bpa.st/POWA

in root
https://bpa.st/VPDA

startx 2 xterm and clock but no mouse no keyboard


/Borje
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon May 20, 2024 4:20 pm    Post subject: Reply with quote

borje2,

Code:
[  3505.933] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[  3505.933] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  3505.933] (II) LoadModule: "libinput"
[  3505.933] (WW) Warning, couldn't open module libinput
is consistent with no mouse and keyboard.

but you have the driver installed.

Perhaps the information that pingtoo requested will help?
_________________
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
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 20, 2024 4:23 pm    Post subject: Reply with quote

pingtoo

thanks for your help

this could be useful

I am very glad I get more knowledge every day

/Borje
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 20, 2024 4:36 pm    Post subject: Reply with quote

NeddySeagoon

maybe I should take away my comment in keyboard

driver do you mean xorg-driver it is installed

pingtoo give me 2 example qcheck dev-libs/libinput 133 all good


qfile /usr/lib64/xorg/modules/input/inputtest_drv.so

return nothing

shall I un commend keyboard conf

Is driver installed from x11-base/xorg-drivers ??


/Borje
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon May 20, 2024 5:13 pm    Post subject: Reply with quote

borje2

Code:
$ qfile /usr/lib64/xorg/modules/input/inputtest_drv.so
x11-base/xorg-server: /usr/lib64/xorg/modules/input/inputtest_drv.so
is the correct response.

The file belongs to
Code:
equery b inputtest_drv.so
 * Searching for inputtest_drv.so ...
x11-base/xorg-server-21.1.13 (/usr/lib64/xorg/modules/input/inputtest_drv.so)


Check with
Code:
ls /usr/lib64/xorg/modules/input/inputtest_drv.so
to see if the file is really missing. If so
Code:
emerge x11-base/xorg-server
and check again.

Leave the keyboard commented. You will probably hate a USA keymap under your keyboard layout but it doesn't matter.
The test is when you press key, does something (anything) appear in an xterm.
Getting the right thing is another small step.

We are breaking your big problem, SDDM doesn't work, into lots of smaller problems.
We can solve all the smaller problems one at a time. That will lead to the big problem being solved 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
pingtoo
l33t
l33t


Joined: 10 Sep 2021
Posts: 991
Location: Richmond Hill, Canada

PostPosted: Mon May 20, 2024 5:32 pm    Post subject: Reply with quote

borje2 wrote:
NeddySeagoon

maybe I should take away my comment in keyboard

driver do you mean xorg-driver it is installed

pingtoo give me 2 example qcheck dev-libs/libinput 133 all good


qfile /usr/lib64/xorg/modules/input/inputtest_drv.so

return nothing

shall I un commend keyboard conf

Is driver installed from x11-base/xorg-drivers ??


/Borje


There are two parts for libinput, the one we examined is for command line "libinput". it is to manage/test/configure libinput driver for X.

Now try to run
Code:
emerge -1av x11-drivers/xf86-input-libinput
When prompted for comfomation, please enter 'y' to ensure x11-drivers/x86-input-libinput will be installed on your environment.

Please also cut/paste the output of the emerge command, this way we can spot if the libinput driver were previously installed or not.

We will debug why libinput driver not automatically install when building Xorg later.
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 20, 2024 5:38 pm    Post subject: Reply with quote

NeddySeagoon

ls /usr/lib64/xorg/modules/input/inputtest_drv.so
driver return

I tryed again startx 3 xterm and a clock but nothing from keyboard or mouse

nothing happen or appear when I press any key

same problem as before

/Borje
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon May 20, 2024 5:39 pm    Post subject: Reply with quote

borje2,

See what pingtoo said above.
_________________
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
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 20, 2024 5:47 pm    Post subject: Reply with quote

pingtoo

x11-drivers/xf86-input-libinput

is installed

/Borje
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon May 20, 2024 5:52 pm    Post subject: Reply with quote

borje2,

Do it again
Code:
emerge -1av x11-drivers/xf86-input-libinput


and paste the command and its output before you press y.
That will show us how its installed. That matters for some packages.
_________________
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
pingtoo
l33t
l33t


Joined: 10 Sep 2021
Posts: 991
Location: Richmond Hill, Canada

PostPosted: Mon May 20, 2024 6:20 pm    Post subject: Reply with quote

borje2 wrote:
pingtoo

x11-drivers/xf86-input-libinput

is installed

/Borje


Sorry, English is not my first language, So I am not sure your statement mean you did what I asked and now it is installed or It was previously installed already so you did not run the command I recommend?

since the package x11-drivers/x86-input-libinput is on your system, could you also try to run the package check command for example
Code:
qcheck x11-drivers/xf86-input-libinput
And a second command
Code:
qlist x11-drivers/xf86-input-libinput
and finally third command
Code:
ls -l /usr/lib64/xorg/modules/input/*
Please share outputs from all commands above.

I just wondering if there some problem in your filesystem/storage that may cause unexpected result.
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 20, 2024 6:40 pm    Post subject: Reply with quote

pingtoo

I did the check
qcheck x11-drivers/x86-input-libinput return nothing

https://bpa.st/U3PQ

and

https://bpa.st/NCXQ


/Borje
Back to top
View user's profile Send private message
pingtoo
l33t
l33t


Joined: 10 Sep 2021
Posts: 991
Location: Richmond Hill, Canada

PostPosted: Mon May 20, 2024 6:59 pm    Post subject: Reply with quote

borje2 wrote:
pingtoo

I did the check
qcheck x11-drivers/x86-input-libinput return nothing

https://bpa.st/U3PQ

and

https://bpa.st/NCXQ


/Borje
You check command missing qcheck x11-drivers/xf86-input-libinput. The 'f' character.

according your qlist command output it is expecting there should be a file name /usr/lib64/xorg/modules/input/libinput_drv.so. and now the third command show the actual file system does not have the file. So something happen that cause the file despaired. I think the qcheck command would show the error.

Now please do Neddy and I recommended, try to manually rebuild x11-drivers/x86-input-libinput onetime
Code:
emerge --ask --oneshot --verbose x11-drivers/x86-input-libinput


=== An off topic comment ===
I understand without a window system cause the copy/paste difficult. If you wish I can guide you through a process use command "screen" on console to have a way to do copy/paste. However let's try to focus on problem at hand first. if it really become necessary we can try this.
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 20, 2024 7:43 pm    Post subject: Reply with quote

pingtoo

I am sorry for my misspell

https://bpa.st/D46A

I believe it could have to do with that we un commend keyboard conf for test purpose

I am not sure if or if not try to rebuiild

may be Neddy can see what happen
I follow your instructions

emerge -1av x11-drivers/xf86-input-libinput

after that 21 out of 21 files are good

Thanks for your help

/Borje
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon May 20, 2024 7:50 pm    Post subject: Reply with quote

borje2,

Code:
# qcheck x11-drivers/xf86-input-libinput
Checking x11-drivers/xf86-input-libinput ...
 AFK: /usr/lib64/xorg/modules/input/libinput_drv.so
 MD5-DIGEST: /usr/share/X11/xorg.conf.d/40-libinput.conf
  * 19 out of 21 files are good


It should report that 21 out of 21 files are good.
Rebuild x11-drivers/xf86-input-libinput and do that test again.

You must leave the keyboard conf commented out for testing.
It can be a source of errors too.
Its not needed to test that key presses and mouse movements work.
_________________
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
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 7 of 9

 
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