Solved see below On Thu, Dec 10, 2009 at 1:19 AM, stosss <[email protected]> wrote: >> stosss wrote: >>>> stosss wrote: >>>>> Starting with a base LFS 6.5 system, I have compiled and installed GPM >>>>> >>>>> I have an IntelliMouse Optical USB and PS2 Compatible mouse >>>>> >>>>> I have tried several combinations in the config file and so far >>>>> nothing appears to be working. I am also not sure If my config file is >>>>> complete. >>>>> >>>>> MDEVICE="/dev/input/mice" # I also tried /dev/mouse >>>>> PROTOCOL="msc" # I also tried ms+ >>>>> GPMOPTS="" # I am assuming something has to go in here but I don't know >>>>> what. >>>>> >>>>> I have read the man page, searched with Google and found nothing to help >>>>> me. >>>>> >>>>> Is GPM the best option that can provide mouse operation in a text >>>>> terminal? >>>>> >>>>> My current system is just LFS 6.5 with GPM and nothing more. >>>> Two things to check for. >>>> First go into the /dev directory and make sure a mouse device actually >>>> exists and set MDEVICE accordingly. >>>> Secondly, make sure that the gpm daemon is actually running. >>>> Also try setting PROTOCOL to imps2. >>>> Regards, >>>> Wayne. >>> checked and /dev/mouse is a link to /dev/input/mice. my mouse is a >>> usb. The book said that usb mice should be /dev/input/mice. I have >>> tried both MDEVICE="/dev/mouse" and MDEVICE="/dev/input/mice". I have >>> tried PROTOCOL="msc" PROTOCOL="ms+" PROTOCOL="imps2" this one should >>> be for a PS2 mouse but I have the mouse plugged into a usb port. Yes >>> gpm is running. It is the last entry on the screen before the login >>> prompt and when I ps-e I see it in the list. >> I'm not sure, but you might want to check the kernel build options and >> see if there was a usb and or mouse option that needed to be set. >> Wayne. > > USB input usb_hid support is built into the kernel > > I found a test at: > > http://panuganty.tripod.com/debiantips/mouse.htm > > Do a cat on the device say '/dev/psaux' or /dev/mouse' or > '/dev/input/mice' and then move your mouse. If you see bizarre looking > characters on the screen, you got the right device. > > I tried it and got the weird stuff on the screen. I know > MDEVICE="/dev/input/mice" is right. I have tried for PROTOCOL="" ms, > msc, ms3, pnp, ms+, imps2 each time I changed /etc/sysconfig/mouse I > reboot. >
I had not apparently tried imps2 with /dev/input/mice it seems to make a difference if it is done with /dev/mouse which I had also tried. i don't understand that either because /dev/mouse is a link to /dev/input/mice. Does anyone know why a ps2 (imps2) mouse setting works with a usb mouse? -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
