Re: Serial Mouse problem
If form console you do cat /dev/mouse and move the mouse what happens? If you do not get random noise that is not your mouse device. Also in your XF86Config file what does it have for the protocol? Also do you have GPM running and what branch of Debian are you using? On Fri, Jun 29, 2001 at 08:35:53AM +1000, Chris Everist wrote: Hi, I sent this before but my ISP has just gone broke so I did not receive any replies. So here goes again. I have installed Debian twice now and it does not seem to recognise my serial mouse. It is a generic 3 button mouse with a Mouse Systems/Microsoft switch on the bottom and I have tried both settings. I have run xf86config from the promt and used XF86Setup from within Gnome and have no luck. I have tried all the possible device options I can think of (/dev/ttyS0-4, /dev/mouse) but nothing happens. I have checked in the /dev/ directory and cannot find a symbolic link to the mouse driver /dev/mouse. Do you have any idea what coule be causing this problem? Regards Chris Everist -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- BOFH excuse #40: not enough memory, go get system upgrade pgpWL7DWtJ8BD.pgp Description: PGP signature
Re: Serial Mouse problem
I think it could use some clarification that one has suggested installing gpm and someone else has stated that gpm can cause problems. I hope I can make things clearer without just adding to the noise... (Start by reading Joost's message regarding mouse hardware.) When you say your mouse isn't working, I assume you mean it's not working under X. Have you tried it on the console? If you have gpm installed and configured correctly, you should see a mouse cursor when you move the mouse on the console, and should be able to use your mouse to copy and paste text there. I'll try to describe what I've found to be the best mouse setup, one that works fine on the console and in X. First, I find it's altogether the least amount of headache if you ensure that there is no /dev/mouse symlink on your system. Figure out what port your mouse is plugged into by reading Joost's message and use that explicitly in your gpm config. You can set this up by using the gpmconfig program. Along the way, it will ask for a protocol to use for the repeater. What this does is it creates a virtual mouse by echoing data in the mouse protocol of your choice into /dev/gpmdata. You should then configure X to use /dev/gpmdata as its device, and tell it to use the protocol you chose as the gpm repeat protocol. I believe gpm defaults to repeat in the ms3 protocol, which can be understood by X if you use Option Protocol Microsoft in your /etc/X11/XF86Config. Alternatively, you can specify any protocol you like in your gpm repeater config, as long as you tell X to use the same protocol. As someone else suggested, you can tell gpm to repeat as type 'raw' in which case you should configure X to use the actual protocol that your mouse is speaking. From the sound of things, it speaks at least 2 different protocols. It's easiest to figure it out with gpm, and then mirror that in XF86Config. I realize this isn't an in-depth walkthrough, but I hope it will help you understand how the two systems can share the mouse and how to configure them. If you have further questions, please don't hesitate to ask. Vineet pgpTqaMbV84jA.pgp Description: PGP signature
Re: Serial Mouse problem
Chris Everist wrote: Hi, I have installed Debian twice now and it does not seem to recognise my serial mouse. It is a generic 3 button mouse with a Mouse Systems/Microsoft switch on the bottom and I have tried both settings. I have run xf86config from the promt and used XF86Setup from within Gnome and have no luck. I have tried all the possible device options I can think of (/dev/ttyS0-4, /dev/mouse) but nothing happens. I have checked in the /dev/ directory and cannot find a symbolic link to the mouse driver /dev/mouse. Do you have any idea what coule be causing this problem? Regards Chris Everist Hi Chris, you probably have gpm running wich sometimes causes trouble with the mouse under X. If gpm is running change the device to /dev/gpmdata and the mousetype to raw in your XF86Config file. that should do then, Frank
Re: Serial Mouse problem
On Sun, Jun 24, 2001 at 12:05:53PM +1000, Chris Everist wrote: I have tried all the possible device options I can think of (/dev/ttyS0-4, /dev/mouse) but nothing happens. Those are not device options, they're symbolic devices managed by the kernel and that correspond to some physical peripheral. You should try to find out to what plug your mouse connects. If it is a small round one, that corresponds to /dev/psaux. If it is a classic small rs232 style connector, it is a common serial port that corresponds to /dev/ttyS0 or /dev/ttyS1. I have checked in the /dev/ directory and cannot find a symbolic link to the mouse driver /dev/mouse. It is not needed for the system. Just for humans, so they get less confused. Well, you can see how well that works out already... :-P Do you have any idea what coule be causing this problem? You are not setting the right wire protocol for your mouse. Mice come in different tongues. Some even speak with two tongues, depending on which port it hangs off of. Check out the XF86Config or XF86Config-4 manpage and some of the gpm documentation for more information about mouse protocols. Cheers, Joost
Re: Serial Mouse problem
Hi... Have you tried installing gpm? I think its gpm..:) You can run that to configure your mouse Mike - Original Message - From: Chris Everist [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Saturday, June 23, 2001 7:05 PM Subject: Serial Mouse problem Hi, I have installed Debian twice now and it does not seem to recognise my serial mouse. It is a generic 3 button mouse with a Mouse Systems/Microsoft switch on the bottom and I have tried both settings. I have run xf86config from the promt and used XF86Setup from within Gnome and have no luck. I have tried all the possible device options I can think of (/dev/ttyS0-4, /dev/mouse) but nothing happens. I have checked in the /dev/ directory and cannot find a symbolic link to the mouse driver /dev/mouse. Do you have any idea what coule be causing this problem? Regards Chris Everist -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Serial Mouse problem
There is no need for /dev/mouse to exist. Are you shure you are connected to a serial port? Another common location is the PS2 mouse port -- usually located next to the microphone connector. IF on hte PS2 port it would be /dev/psaux. [EMAIL PROTECTED] (Chris Everist) writes: Hi, I have installed Debian twice now and it does not seem to recognise my serial mouse. It is a generic 3 button mouse with a Mouse Systems/Microsoft switch on the bottom and I have tried both settings. I have run xf86config from the promt and used XF86Setup from within Gnome and have no luck. I have tried all the possible device options I can think of (/dev/ttyS0-4, /dev/mouse) but nothing happens. I have checked in the /dev/ directory and cannot find a symbolic link to the mouse driver /dev/mouse. Do you have any idea what coule be causing this problem? Regards Chris Everist -- * For God so loved the world that He gave his only begotten Son, * * that whoever believes in Him should not perish...John 3:16 *
Re: serial mouse problem
On Sat, 2 Jan 1999, Vincent Murphy wrote: On Fri, 1 Jan 1999, Kent West wrote: in X, and when I returned this morning, the mouse was dead. So, I killed the Xserver, restarted it. Nothing. Rebooted in Win95, which didn't pick up the mouse either. When I rebooted into Linux, gpm started as normal, You might try switching your mouse to the other serial port and see if Win95 finds it, but when I've seen this behavior before, it was a dead mouse, so you may have to replace it. Well, I have a modem on ttyS1, which still works fine. The mouse I brought to work, and it worked on another PC. I tried a different mouse on my hamm box, which didn't work either, which points to a serial port problem. Also, if your CMOS battery is weak/dead, your BIOS may have reverted to turning off your serial port, although that doesn't really make sense since the box was powered up when the mouse died. But maybe some glitch turned off the port in CMOS, so I'd at least check it out. i've looked in the BIOS setup, and everything /appears/ to be ok, and when the kernel boots up it gives me the usual message about the serail ports. If you haven't already, try moving the mouse to the port the modem is on and move the modem off temporarily and see if you get your mouse back. -- Kent West [EMAIL PROTECTED] KC5ENO - Amateur Radio: When all else fails. Linux - Finally! A real OS for the Intel PC! Life is an ongoing classroom. - Capt. James T. Kirk, Dreadnought
Re: serial mouse problem
On Fri, 1 Jan 1999, Kent West wrote: in X, and when I returned this morning, the mouse was dead. So, I killed the Xserver, restarted it. Nothing. Rebooted in Win95, which didn't pick up the mouse either. When I rebooted into Linux, gpm started as normal, You might try switching your mouse to the other serial port and see if Win95 finds it, but when I've seen this behavior before, it was a dead mouse, so you may have to replace it. Well, I have a modem on ttyS1, which still works fine. The mouse I brought to work, and it worked on another PC. I tried a different mouse on my hamm box, which didn't work either, which points to a serial port problem. Also, if your CMOS battery is weak/dead, your BIOS may have reverted to turning off your serial port, although that doesn't really make sense since the box was powered up when the mouse died. But maybe some glitch turned off the port in CMOS, so I'd at least check it out. i've looked in the BIOS setup, and everything /appears/ to be ok, and when the kernel boots up it gives me the usual message about the serail ports. thanks for the help. regards, vinny -- Vincent Murphy | 2nd CompSci Student, UCC | [EMAIL PROTECTED] | (086) 8397405 NT = Not Today
Re: serial mouse problem
On Fri, 1 Jan 1999, Vincent Murphy wrote: I'm having a problem with my serial mouse. I left my machine last night in X, and when I returned this morning, the mouse was dead. So, I killed the Xserver, restarted it. Nothing. Rebooted in Win95, which didn't pick up the mouse either. When I rebooted into Linux, gpm started as normal, but it doesn't work either. I will provide diagnostics on request, as I don't know what to include at this point. regards, vinny -- Vincent Murphy | UCC CompSci Student | [EMAIL PROTECTED] | (086) 8397405 NT = Not Today You might try switching your mouse to the other serial port and see if Win95 finds it, but when I've seen this behavior before, it was a dead mouse, so you may have to replace it. Also, if your CMOS battery is weak/dead, your BIOS may have reverted to turning off your serial port, although that doesn't really make sense since the box was powered up when the mouse died. But maybe some glitch turned off the port in CMOS, so I'd at least check it out. -- Kent West [EMAIL PROTECTED] KC5ENO - Amateur Radio: When all else fails. Linux - Finally! A real OS for the Intel PC! Life is an ongoing classroom. - Capt. James T. Kirk, Dreadnought