GPM is failing to give mouse support in console with the following error:
*** err [daemon/getmousedata.c(47)]:
Error in read()ing first: Invalid argument
I am using Gentoo. I have two mice. A Logitech USB mouse and touchpad. Device nodes are created in /dev/input/event5 and /dev/input/event6. I have tested them with libinput debug-events. They are working just fine so I think kernel drivers are ok.
# /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/event5
# 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"
After invoking /etc/init.d/gpm start GPM starts properly. But when any mouse event occurs GPM throws above error in log file in an infinite loop and mouse doesn't work.
GPM is failing to give mouse support in console with the following error:
I am using Gentoo. I have two mice. A Logitech USB mouse and touchpad. Device nodes are created in
/dev/input/event5
and/dev/input/event6
. I have tested them withlibinput debug-events
. They are working just fine so I think kernel drivers are ok.GPM configuration file:
After invoking
/etc/init.d/gpm start
GPM starts properly. But when any mouse event occurs GPM throws above error in log file in an infinite loop and mouse doesn't work.