Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KVM mouse problem
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
scootersmk
Apprentice
Apprentice


Joined: 17 May 2003
Posts: 186
Location: Knoxville, TN

PostPosted: Sun Jul 13, 2003 1:21 am    Post subject: KVM mouse problem Reply with quote

I have a Belkin Omniview SE 4-port KVM switch and I have a problem every time i switch from gentoo box to another computer and back the mouse does not work. I have read other posts on the forums with similar problems, but the only solution i found was to kill x and start it again. The only other work around i found was to switch to a different xsession(ex: Ctrl+Alt+F1) which is alot better that having to kill X all together. I have tried all the different mouse protocols(ex: PS/2, IMPS/2, ExplorerPS/2). They all work intially, but not after a switch. Just wanted to make this post if anyone has this problem they can either post another fix or atleast so they will see this work around that kinda solves the problem.

Help is greatly appreciated and also hope this might help some others.
Back to top
View user's profile Send private message
phunni
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 217
Location: Bristol, UK

PostPosted: Wed Nov 05, 2003 3:14 pm    Post subject: Reply with quote

Any other fix found for this?
_________________
Old School is the way forward!
Back to top
View user's profile Send private message
BarryJ
n00b
n00b


Joined: 13 Apr 2003
Posts: 72
Location: Wisconsin, USA

PostPosted: Wed Nov 05, 2003 5:51 pm    Post subject: Reply with quote

I used to have the same problem. I think I fixed it by disabling sleep mode for the monitor in X. I think that was the problem because if I switched quickly and came back, it still worked, but if I waited a while (long enough for it to put the monitor in sleep mode) then the mouse wouldn't work when I came back. I have since formatted and rebuilt everything and I no longer have this problem (although the monitor also doesn't seem to go into sleep at all by default now). Also I don't think what brand of KVM matters because I'm using a Starview.
Back to top
View user's profile Send private message
phunni
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 217
Location: Bristol, UK

PostPosted: Wed Nov 05, 2003 6:17 pm    Post subject: Reply with quote

My mouse still works - it just goes crazy! I do not need to wait for the monitor to go to sleep for this to happen.

I found this issue mentioned in the back of my KVM switch manual (Belkin) but none of the suggested fixes help...
_________________
Old School is the way forward!
Back to top
View user's profile Send private message
BarryJ
n00b
n00b


Joined: 13 Apr 2003
Posts: 72
Location: Wisconsin, USA

PostPosted: Wed Nov 05, 2003 6:22 pm    Post subject: Reply with quote

does dmesg give you any strange messages when the mouse is going crazy?
Back to top
View user's profile Send private message
phunni
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 217
Location: Bristol, UK

PostPosted: Thu Nov 06, 2003 8:15 am    Post subject: Reply with quote

dmesg shows nothing when this happens.

The troubleshooting section of my KVM switch manual says:

1) Make sure you do not have more than one mouse driver loaded and that mouse is standard ps/2

2) mentions AUTOEXEC.BAT - not relevant

3)avoid moving the mouse when switching

4) you can reset the mouse by unpluggin it fomr the front and waiting 2-3 seconds before plugging it in again


I have been through all this and 4 is the only one that looked relevant - but it simply causes the mouse to stop working :-( This problem seems to defeat the object of having a KVM switch as I can't switch back to my gentoo box unless I'm preppared to restart X!
_________________
Old School is the way forward!
Back to top
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Thu Nov 06, 2003 1:31 pm    Post subject: Reply with quote

This is a KVM problem.
I have a D-link DKVM-2 and I can switch pc's like crazy no problems at all...
I did not have to configure anything... I have had it almost 18 months, in which time I have tried several differrent linux distro's, and none have given me any problems with this.
Back to top
View user's profile Send private message
phunni
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 217
Location: Bristol, UK

PostPosted: Thu Nov 06, 2003 2:15 pm    Post subject: Reply with quote

I had pretty much figured out that this is a KVM problem and not a Linux one (although this does not happen if my main PC is running windows...) - I need a fix for it though (if there is one!) - I can't just go out and buy an ew KVM box!
_________________
Old School is the way forward!
Back to top
View user's profile Send private message
phunni
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 217
Location: Bristol, UK

PostPosted: Thu Nov 06, 2003 4:55 pm    Post subject: Reply with quote

As a point of interest - this problem does not occur when I'm switching to a machine using Red Hat.

I'm therefore wondering maybe if this is something to do with my X setup. My current XF86Config-4 file is to be found here

I figured that saved making this a huge post
_________________
Old School is the way forward!
Back to top
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Thu Nov 06, 2003 5:52 pm    Post subject: Reply with quote

Try add this to your XF86Config-4 Section "ServerFlags"
Code:
Option "AllowMouseOpenFail" "1"
Back to top
View user's profile Send private message
phunni
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 217
Location: Bristol, UK

PostPosted: Thu Nov 06, 2003 8:40 pm    Post subject: Reply with quote

no difference... :( Also tried unplugging to see if it would now reset - but no

I compared the Red Hat XF86Config to the gentoo one and the only difference in the mouse section is the device - /dev/input/mice in red hat. This doesn't exist on my gentoo machine
_________________
Old School is the way forward!
Back to top
View user's profile Send private message
paranode
l33t
l33t


Joined: 06 Mar 2003
Posts: 679
Location: Texas

PostPosted: Thu Nov 06, 2003 8:43 pm    Post subject: Reply with quote

/dev/input/mice I think comes from the Input Core support section of the kernel configuration. Might want to check that out. Also, are you using USB?
_________________
Meh.
Back to top
View user's profile Send private message
FruitCake
n00b
n00b


Joined: 24 Oct 2002
Posts: 34
Location: Perth, Western Australia

PostPosted: Fri Nov 07, 2003 6:31 am    Post subject: Reply with quote

I have the same problem, none of the fixes work.

I'd also strongly suggest you dont bother going to kernel 2.6. Changing consoles and restarting X cant even fix the problem under 2.6.

to anyone considering a Belkin KVM dont bother with the Omniview E series get something where you can manage it settings and change the Mouse Emulation mode.
Back to top
View user's profile Send private message
phunni
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 217
Location: Bristol, UK

PostPosted: Fri Nov 07, 2003 9:07 am    Post subject: Reply with quote

I don't have input core support enabled and I'm only using a ps/2 mouse and keyboard.

If I'm not using ps/2 - is there any benefit in trying to enable Input Core support?
_________________
Old School is the way forward!
Back to top
View user's profile Send private message
phunni
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 217
Location: Bristol, UK

PostPosted: Fri Nov 07, 2003 6:05 pm    Post subject: Reply with quote

OK - I have found that <ctrl>-<alt>-<f3> followed by <ctrl>-<alt>-<f7> sorts the mouse out - but it makes my colours go absolutely screwy!

Anyone have any ideas as to how I can fix this? If I can get my colours back to normal then the problem is fixed enough for me...
_________________
Old School is the way forward!
Back to top
View user's profile Send private message
digitalsy
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2003
Posts: 107
Location: North Bend, WA

PostPosted: Sat Nov 08, 2003 2:06 am    Post subject: Reply with quote

I also have a D-Link kvm (DKVM-4) and in on switching from pc to pc the mouse still works....this was a relatively cheap kvm also, about 99$CAN a year ago.
_________________
Always remember you are unique...just like everybody else.
Life sucks, get a helmet
Back to top
View user's profile Send private message
slarti`
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 376
Location: UK

PostPosted: Mon Nov 17, 2003 7:59 pm    Post subject: Reply with quote

Man.. I have an OmniView E series 4-Port as well. I've been having the same problem. It seems the mouse is recognized as a keyboard :S

I'm trying using /dev/input/mice instead of /dev/mouse for both gpm and X now, and I'll see if that works... I really hope so...
_________________
Gentoo/AMD64, shell-tools, net-mail, vim, recruiters
IRC: slarti @ irc.freenode.net
Devspace
Back to top
View user's profile Send private message
phunni
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 217
Location: Bristol, UK

PostPosted: Tue Nov 18, 2003 9:51 am    Post subject: Reply with quote

Please post and let us know how you get on...
_________________
Old School is the way forward!
Back to top
View user's profile Send private message
phunni
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 217
Location: Bristol, UK

PostPosted: Tue Nov 18, 2003 1:20 pm    Post subject: Reply with quote

I seem to have found a solution to the problem :D

In my XF86Config-4 the mouse protocol was defined as "ImPS/2", by changing this to "PS/2" I now no longer have the crazy mouse problem

I have to say though, I don't know why...
_________________
Old School is the way forward!
Back to top
View user's profile Send private message
phunni
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 217
Location: Bristol, UK

PostPosted: Tue Nov 18, 2003 2:03 pm    Post subject: Reply with quote

Discovered that this is not such a wonderful solution - I have lost the use of my mouse wheel... :(
_________________
Old School is the way forward!
Back to top
View user's profile Send private message
slarti`
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 376
Location: UK

PostPosted: Tue Nov 18, 2003 3:43 pm    Post subject: Reply with quote

By unplugging my mouse from the KVM after the switch and then plugging it back in again seems to fix the problem. No restarting X needed either. This is annoying though and sooner or later it's gonna mean that the pins on the plug are gonna wear down... PS/2's were never designed to be being unplugged / plugged in all the time, were they?
_________________
Gentoo/AMD64, shell-tools, net-mail, vim, recruiters
IRC: slarti @ irc.freenode.net
Devspace
Back to top
View user's profile Send private message
phunni
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 217
Location: Bristol, UK

PostPosted: Tue Nov 18, 2003 3:48 pm    Post subject: Reply with quote

Doesn't work for me...

The only solution I have found is to wither change virtual console and then change back - but this causes weird colours, or to change the mouse protocol as above - but this causes me to lose the use of my mouse wheel...

The latter is the lesser of the two problems
_________________
Old School is the way forward!
Back to top
View user's profile Send private message
Linuxboy
n00b
n00b


Joined: 18 Sep 2003
Posts: 13

PostPosted: Fri Nov 21, 2003 8:12 pm    Post subject: Reply with quote

I have a Belkin Omniview SE 4-Port and the live CD (1.4 8 something) does not work with the KVM keyboard shortcut but once the install is done and I'm running the real OS the keyboard, mouse, wheel and everything works even when I use the KVM keyboard shortcut.

Moving the mouse while switching sometimes locks everything, so I just don't do it and I do occasionaly get stray characters when using the KVM keyboard shortcut.

During install I have to make sure to use the channel button on the KVM when leaving the Gentoo screen or the keyboard locks up until I warm boot.

I've got other Gentoo and other Linux's of many versions and vintages on Avocent (Cybex) AV424 as well as their old Autoview8 switches and they all work just fine for me. (these are a bit pricey for use outside the data-center)

I didn't think I'd done anything special, but if you'll tell me which config files you want, Ill post them.

Linuxboy
Back to top
View user's profile Send private message
phunni
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 217
Location: Bristol, UK

PostPosted: Sat Nov 22, 2003 6:04 pm    Post subject: Reply with quote

IT would be interesting to see at least the mouse portion of your XF86Config-4

What kind of mouse do you have?
_________________
Old School is the way forward!
Back to top
View user's profile Send private message
Linuxboy
n00b
n00b


Joined: 18 Sep 2003
Posts: 13

PostPosted: Fri Nov 28, 2003 9:00 pm    Post subject: Reply with quote

phunni wrote:
IT would be interesting to see at least the mouse portion of your XF86Config-4

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"

# Mouse-speed setting for PS/2 mouse.

# Option "Resolution" "256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice

# Option "ChordMiddle"

EndSection

...

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Quote:

What kind of mouse do you have?

Microsoft Intellimouse 1.2A PS/2 compatible.

I have had problems with the 2.0 mouse on Cybex boxes with SCO unix, but I dumped the last SCO a few years back and it's no longer broken... If you have a 2.0 or 2.0a, try another mouse version.

I hope this helps.
Linuxboy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum