gpm-1.20.0 goes often crazy when i switch from X (alt-f7) to console (alt-fX) : i'm unable to use mouse in console until i log in and i run /etc/init.d/gpm restart i have an ipms/2 mouse.
I have a simalar problem, I also have a imps2 mouse gpm dies at some point after I have been running X for a while, and I get this when I try to restart gpm: Started gpm successfully. Entered daemon mode. === ERROR ===: [/var/tmp/portage/gpm-1.20.0-r3/work/gpm-1.20.0/src/mice.c(1744)]: imps2: PS/2 mouse failed (3 button) init oops(): [/var/tmp/portage/gpm-1.20.0-r3/work/gpm-1.20.0/src/gpm.c(968)]: mouse initialization failed and I can't just do a /etc/init.d/gpm restart, cuz the proccess died so the script chokes. I have to do init.d/gpm zap and rm /var/run/gpm/pid before doing a init.d/gpm start
I have gpm.. :o/ ok well I known this one was coming up and haven't found a fix yet.. but it's been awhile since I tried so anyways.. naz is going to get a crackin on it. Snazzy Nazzy
Michael: some additional informations: when switching from X to console, gpm sometimes lose the ability to select text (click+drag will do nothing) until restarted. more often, as said previously, i simply crash of a sudden death forcing user to use /etc/init.d/gpm zap etc etc... Alessandro
I was wondering if there is a way you can get me all the logs etc from when gpm dies, or strace it.. I just need to find out why it can't initilize the mouse. This should probably be sent up stream though.. Gentoo already has a heavily modified gpm.. since it's so b0rked. Naz
Naz: my gpm just crashed switching from X to console: here there is the error msg: === ERROR ===: [/var/tmp/portage/gpm-1.20.0-r3/work/gpm-1.20.0/src/mice.c(1762)]: Name=Gaim imps2: PS/2 mouse failed setup, continuing... Terminal=0 === ERROR ===: [/var/tmp/portage/gpm-1.20.0-r3/work/gpm-1.20.0/src/mice.c(1762)]: ~ imps2: PS/2 mouse failed setup, continuing... ~ === ERROR ===: [/var/tmp/portage/gpm-1.20.0-r3/work/gpm-1.20.0/src/mice.c(1771)]: ~ imps2: Auto-detected unknown mouse type 250, assuming standard PS/2 ~ === ERROR ===: [/var/tmp/portage/gpm-1.20.0-r3/work/gpm-1.20.0/src/mice.c(1771)]: ~ imps2: Auto-detected unknown mouse type 250, assuming standard PS/2 --- I have an original Microsoft IntelliMouse Optical USB/PS2 HTH PS: please, help us poor users with gpm ^_^ - thank you in advance for your work, i know gpm is really harsh to be debugged :) Alessandro
How do you guys refer to the mouse device in your X86Config file? I've got a MS Intellimouse Explorer optical with 7 buttons all up (3 main buttons, scroll wheel, 2 side buttons) and switching X<->Console works fine. I've configured gpm to repeat the mouse data to /dev/gpm and then I point X @ /dev/gpm instead of /dev/mouse or /dev/psaux (When I get back to my gentoo box I'll add my /etc/conf.d/gpm and the relevant portion of my /etc/X11/XF86Config files) -- Troy.
Had this issue as well, but got a imps2 compadible usb mouse, and now it seems fixed. Had a ps/2 before. I dont repeat the data to /dev/gpm.
on my machine the problem (apparently) disapperead using this configuration: in /etc/conf.d/gpm: MOUSE="imps2" MOUSEDEV="/dev/mouse" REPEAT_TYPE=raw APPEND="-g 1 -A 60" in /etc/X11/XF86Config-4: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Device" "/dev/gpmdata" Option "Protocol" "IMPS/2" Option "Emulate3Buttons" "on" Option "ZAxisMapping" "4 5" EndSection (please note the "Device" "/dev/gpmdata" in the XF86Config-4 file) i was previously using /dev/mouse in XF86Config-4 and no repeat mode in gpm but switching to this solution *seems* to make both gpm and X happy and friendly each other; i'll let you know if more testing will confirm (or not) this config is the right solution. HTH, Alessandro
marking as "fixed" (fixed by 0.96 ebuild, that is)
closed the wrong one, sorry
the config I posted previously fixes the problem on my box: resolving as WORKS_FOR_ME. Bye