Re: Kernel 2.6.x mouse and KVM help needed

From: Johan Kullstam (kullstj-nn_at_comcast.net)
Date: 01/29/04


Date: 29 Jan 2004 10:08:50 -0500

Andi Kleen <freitag@alancoxonachip.com> writes:

> Kris Sanders <kris@solanix.org> writes:
>
> > I have just recently upgraded to kernel 2.6.1 using Slackware 9.1 with
> > pretty much all the current updates. I have found that when I am in X
> > Windows and switch to a different box and then back that I lose control of
> > the pointer. I had this problem with XFree 3.3.x and when 4.x.x came out
> > they added a reinit routine. That solved the problem that time. The temp
> > fix that I had was to switch to a console and then back.
>
> The 2.6 in kernel mouse driver is to blame whose auto detection
> tries to be too clever for some KVMs.
>
> In 2.6.0 you can pass "psmouse_noext" on the kernel command line to disable
> that. On 2.6.1 it is "psmouse_base.psmouse_noext"
> In 2.6.2 it will be apparently "psmouse.max_proto=bare"

Is there a similar kernel command line incantation for keyboards?

I have a similar problem with a Linksys 2-Port KVM (PS2KVM2). Linux
2.6 keyboard serial driver i8042 doesn't detect my keyboard. I have
to plug in a keyboard directly to the PS/2 port. After sacrificing
this goat, linux finds the keyboard and I can hot-swap in the KVM
again. Everything is fine after that. Since I don't reboot all that
often it's not *that* big a deal but it is annoying.

Another wacky data point is that with newer kernels or X (since later
linux 2.4 or xfree86 4.2 I think) the mouse wheel now works through
the above mentioned KVM.

I have an older Linksys at home (for which there is no keyboard hotkey
to switch KVM) which has no problems at all. Curiouser and curiouser.

> Yes, you have to reboot to change the mouse settings. It's not a joke,
> even though it looks like one. I find it sad too.

Is this a job for something in /proc/sys? Is there some consensus
about how to fix this?

> With some luck at least the command line argument will settle in 2.6.2,
> although I am not very optimistic given past experiences.

Sigh. Thanks.

> -Andi

-- 
Johan KULLSTAM <kullstj-nn@comcast.net> sysengr


Relevant Pages

  • Re: DEC Keyboard Question
    ... > I presume you mention Pathworks 32 because you want to try Powerterm? ... The switch is as it is. ... I have booted the DS10 several times now with the KVM and it has not had ... I do not know if that resets the keyboard driver. ...
    (comp.os.vms)
  • Re: DEC Keyboard Question
    ... > I presume you mention Pathworks 32 because you want to try Powerterm? ... The switch is as it is. ... I have booted the DS10 several times now with the KVM and it has not had ... I do not know if that resets the keyboard driver. ...
    (comp.sys.dec)
  • Re: USB Cable Link, and desperate!
    ... Mouse device that will switch the Keyboard, Video and Mouse ... What you may experience is that if the KVM is not switched ...
    (microsoft.public.windowsxp.general)
  • Re: [OT] PC Equipment recommendation.
    ... Windows PC with the same keyboard, ... And why does it need this switch thing? ... client on the Linux box and not have to worry about turning the Windows PC ...
    (uk.rec.motorcycles)
  • RE: ps/2 mouse problem with KVM switch
    ... the switch" to act as a largest-common-denominator. ... trying to hook up a "new-fangled" keyboard (with the media control key ... drivers cannot find the special buttons and you call the KVM switch vendor ... boxes with different driver revisions and settings. ...
    (Linux-Kernel)