Has anyone got hints on using KVM switches with XFree86? I'm using a wheel mouse and moused, but something gets out of whack when I switch away then back to X. Next time I touch the mouse, all sorts of weird things happen for a fraction of a second, then the mouse starts working OK. This is annoying and dangerous because it often winds up pasting random stuff into xterms..... Are there any hints for making this less of a problem?
> Has anyone got hints on using KVM switches with XFree86?I've found that I need to do this: device psm0 at atkbdc? irq 12 flags 0x0100 Note the flags. Without it, my mouse gets very out of sync with a KVM switch. Phil.
I have run this sort of setup for quite some time, and that is very common. The easiest way to get control over your mouse again is to drop to the command line (pseudo-term) by pressing "ctrl-atl-f2" or whatever pty you didn't start X from, then when you get to the login, hit "alt-f7", and you'll be returned to your X session, this time the mouse will resync and you'll be able to use it. Just my own personal experience. Ryan> Has anyone got hints on using KVM switches with XFree86? I'm using a > wheel mouse and moused, but something gets out of whack when I switch > away then back to X. Next time I touch the mouse, all sorts of weird > things happen for a fraction of a second, then the mouse starts working > OK. This is annoying and dangerous because it often winds up pasting > random stuff into xterms..... > > Are there any hints for making this less of a problem?
Gregory Bond wrote:> Has anyone got hints on using KVM switches with XFree86? I'm using a > wheel mouse and moused, but something gets out of whack when I > switch away then back to X.What make/model of KVM and mouse are you using? I've had this happen to me when the KVM doesn't _really_ support the mouse I'm using, e.g. using an IntelliMouse Explorer with any Belkin KVM I've ever tried.> Next time I touch the mouse, all sorts of weird things happen for a > fraction of a second, then the mouse starts working OK.This happens when the psm driver gets out of sync with the mouse. The driver realizes this is happening and corrects itself, but not until it gets enough garbage (which makes the mouse cursor bounce and click all over the place) to realize it's out of sync. :-\ If the earlier-posted hint about disabling psm sync checking (with "flags 0x0100") doesn't help, replacing your KVM may be the answer. :-( -tpc
On Mon, Jun 02, 2003 at 12:52:05PM -0400, Tom Convery wrote:> Gregory Bond wrote: > >Has anyone got hints on using KVM switches with XFree86? I'm using a > > wheel mouse and moused, but something gets out of whack when I > >switch away then back to X. > > What make/model of KVM and mouse are you using? I've had this happen to > me when the KVM doesn't _really_ support the mouse I'm using, e.g. using > an IntelliMouse Explorer with any Belkin KVM I've ever tried. > > >Next time I touch the mouse, all sorts of weird things happen for a > >fraction of a second, then the mouse starts working OK. > > This happens when the psm driver gets out of sync with the mouse. The > driver realizes this is happening and corrects itself, but not until it > gets enough garbage (which makes the mouse cursor bounce and click all > over the place) to realize it's out of sync. :-\ > > If the earlier-posted hint about disabling psm sync checking (with > "flags 0x0100") doesn't help, replacing your KVM may be the answer. :-( > > -tpcYou can also try "flags 0x200" to correct this problem. However, one of the side effects of 0x200 is it disables most "special" functions of the mouse (fourth and fifth buttons, wheels, etc.) It forces "true PS/2" compatibility mode. I have to use flags 0x200 to make my IOGear MiniView SE four-port KVM switch play nice with my FreeBSD machines because 0x100 didn't do the job. Thanks, Josh
I have noticed that if I start the system boot, and then switch away, both moused and X lose my mouse when I come back later. If I wait for the boot to complete, no problem and I can pop back and forth. Otherwise I've been pretty happy with the 4 port Trendware cheapie kvm. Took generic 4.8 install with kde. MoBo is an older FIC for the K6-III. Mouse is logitech trackball w/2 buttons. It looks like the trendware, zonet, phoebe, and who knows how many others are rebadged or slightly different packages of the same board. jim -----Original Message----- From: Tom Convery [mailto:tpc@tomfoo.com] Sent: Monday, June 02, 2003 10:52 AM To: Gregory Bond; freebsd-stable@freebsd.org Subject: Re: hints on KVM switches w/ X Gregory Bond wrote:> Has anyone got hints on using KVM switches with XFree86? I'm using a > wheel mouse and moused, but something gets out of whack when I > switch away then back to X.What make/model of KVM and mouse are you using? I've had this happen to me when the KVM doesn't _really_ support the mouse I'm using, e.g. using an IntelliMouse Explorer with any Belkin KVM I've ever tried.> Next time I touch the mouse, all sorts of weird things happen for a > fraction of a second, then the mouse starts working OK.This happens when the psm driver gets out of sync with the mouse. The driver realizes this is happening and corrects itself, but not until it gets enough garbage (which makes the mouse cursor bounce and click all over the place) to realize it's out of sync. :-\ If the earlier-posted hint about disabling psm sync checking (with "flags 0x0100") doesn't help, replacing your KVM may be the answer. :-( -tpc _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Similar issue here, only I'd lose the mouse on all boxes connected to the Belkin KVM. I could recover the mouse on FreeBSD by running moused and using /dev/sysmouse, then restarting moused when there was a problem, but the Windows 2000 box required a reboot (as far as I could tell, but I'm no NT admin). Ultimately, I attached the mouse back to the serial port and don't have the flakey behavior on FreeBSD. When switching to the W2K box, I frequently have to do sequential ritual left-button, center-button clicks to get things working again (cf, above NT admin comment :-) . Omar On Mon, Jun 02, 2003 at 04:07:00PM +1000, Gregory Bond wrote:> Has anyone got hints on using KVM switches with XFree86? I'm using a wheel > mouse and moused, but something gets out of whack when I switch away then back > to X. Next time I touch the mouse, all sorts of weird things happen for a > fraction of a second, then the mouse starts working OK. This is annoying and > dangerous because it often winds up pasting random stuff into xterms..... > > Are there any hints for making this less of a problem?
> What make/model of KVM and mouse are you using? I've had this happen to > me when the KVM doesn't _really_ support the mouse I'm using, e.g. using > an IntelliMouse Explorer with any Belkin KVM I've ever tried.Naturally, it's a Belkin. I'll try the flag and see if that works, or I could just have 2 mice and not KVM-switch them! Thanks everyone.
Hi, Years ago, I encountered a problem with my XFree86, KVM and PS/2 mouse where the cursor would jump to the side of the screen and only wiggle when I moved the mouse. I eventually found a solution searching for messages like psmintr: out of sync (0000 != 0008) based on what I saw in my syslog. This message looks familiar: <http://docs.freebsd.org/cgi/getmsg.cgi? fetch=238003+0+archive/1998/freebsd-bugs/19980301.freebsd-bugs> I think the solution I used was setting a bit in my kernel's psm config to not sync and rebuilding. YMMV Excuse me if this has already been answered. I only get the digest version. cheers Ken On Mon, Jun 02, 2003 at 04:07:00PM +1000, Gregory Bond wrote: > Has anyone got hints on using KVM switches with XFree86? I'm using a wheel > mouse and moused, but something gets out of whack when I switch away then back > to X. Next time I touch the mouse, all sorts of weird things happen for a > fraction of a second, then the mouse starts working OK. This is annoying and > dangerous because it often winds up pasting random stuff into xterms..... > > Are there any hints for making this less of a problem?