Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no mouse in console
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
picarones
n00b
n00b


Joined: 12 Jun 2020
Posts: 8

PostPosted: Tue Jun 30, 2020 7:06 pm    Post subject: no mouse in console Reply with quote

Hello -

I just installed gentoo for the first time (samsung np300 e5e laptop / celeron cpu 3.5 gig ram / trackpad, no external mouse). A basic install with no desktop.

In the live environment the mouse works just fine. In the installed environment it does not work at all. After googling I found the gentoo GPM article and I tried the following:
Code:
emerge --ask sys-libs/gpm
/etc/init.d/gpm start
rc-update add gpm default
but the mouse still didn't work.
Rebooted, still the mouse did not work.

/etc/conf.d/gpm looked like this:
Code:
# /etc/init.d/gpm

# Please uncomment the type of mouse you have and the appropriate MOUSEDEV entry

MOUSE=ps2
#MOUSE=imps2
#MOUSEDEV=/dev/psaux
MOUSEDEV=/dev/input/mice

# Extra settings

#RESPONSIVENESS=
#REPEAT_TYPE=raw

# Please uncomment this line if you want gpm to understand charsets used
# in URLs and names with ~ or : in them, etc. This is a good idea to turn on!

#APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\""

# Various other options, see gpm(8) manpage for more.

#APPEND="-g 1 -A60"
#APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\" -g 1 -A60"
which was essentially the same as the gpm config file for the live environment:
Code:
# /etc/init.d/gpm

# Please uncomment the type of mouse you have and the appropriate MOUSEDEV entry

MOUSE=ps2
#MOUSE=imps2
#MOUSEDEV=/dev/psaux
MOUSEDEV=/dev/input/mice

# Extra settings

#RESPONSIVENESS=
#REPEAT_TYPE=raw

# Please uncomment this line if you want gpm to understand charsets used
# in URLs and names with ~ or : in them, etc. This is a good idea to turn on!

#APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\""

# Various other options, see gpm(8) manpage for more.

#APPEND="-g 1 -A60"
#APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\" -g 1 -A60"
MOUSE=ps2
MOUSEDEV=/dev/input/mice

Then I looked at my /dev/input directory and noticed there was no mice file.
Just for kicks I changed the config file to read:
Code:
MOUSE=ps2
MOUSEDEV=/dev/input/by-path/platform-i8042-serio-1-event-mouse
which does exist, and then rebooted, but it didn't work either.
This is also the first time I've compiled a kernel, so based on the absence of /dev/input/mice maybe there is something missing in my kernel configuration. I am not sure how to troubleshoot this further

Any help would be greatly appreciated
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Jun 30, 2020 7:25 pm    Post subject: Reply with quote

picarones,

Check your kernel for
Code:
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y


Its one or both of those. Read the help in menuconfig.
_________________
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
picarones
n00b
n00b


Joined: 12 Jun 2020
Posts: 8

PostPosted: Tue Jun 30, 2020 10:59 pm    Post subject: [SOLVED] no mouse in console Reply with quote

Thank you very much. Recompiling the kernel with the options you mentioned solved the problem.

Your suggestion to look at help for menuconfig sounds great. My apologies for my green-ness, but I don't know where to look.
If there are any other sources besides lspci, lsmod, and rummaging around in make menuconfig, I'd be super thankful if you pointed them out.

Thanks so much.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2756
Location: Canada

PostPosted: Tue Jun 30, 2020 11:35 pm    Post subject: Re: [SOLVED] no mouse in console Reply with quote

picarones wrote:
Thank you very much. Recompiling the kernel with the options you mentioned solved the problem.

Your suggestion to look at help for menuconfig sounds great. My apologies for my green-ness, but I don't know where to look.
If there are any other sources besides lspci, lsmod, and rummaging around in make menuconfig, I'd be super thankful if you pointed them out.

Thanks so much.



I think Neddy meant 'help IN menuconfig', which you can get for any config option, there is a help button in the menu. Not 'help FOR menuconfig'
Back to top
View user's profile Send private message
picarones
n00b
n00b


Joined: 12 Jun 2020
Posts: 8

PostPosted: Wed Jul 01, 2020 12:47 am    Post subject: Reply with quote

Oh, I see (or maybe duh), you press 'H' while any item is selected and a whole lot information on that item comes up. That's great to know. I had only pressed it when the interface first comes up and had assumed that the general instructions were all that was available.

Thanks very much.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2756
Location: Canada

PostPosted: Wed Jul 01, 2020 1:22 am    Post subject: Reply with quote

picarones wrote:
Oh, I see (or maybe duh), you press 'H' while any item is selected and a whole lot information on that item comes up. That's great to know. I had only pressed it when the interface first comes up and had assumed that the general instructions were all that was available.

Thanks very much.



Other thing, you can search in menuconfig. Press / (slash) and fill the field with query
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Jul 01, 2020 8:40 pm    Post subject: Reply with quote

picarones,

That's experience. Its what you get just after you needed 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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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