On Thu, 19 Dec 2002, Egbert Eich wrote:
> P.R. Patil writes:
> > Dear All,
> > If ps mouse is not connected to the pc then it hangs the kbd.
> > Can any one solve the problem?Thanks and Regds,
>
> This is not the fault of the Xserver.
> It is partly the fault of the archaic
> hardware design:
> When you open the PS/2 mouse device
> without a mouse being connected the
> chipset will generate a fault data byte
> after a long timeout period.
What chip generates a fault data byte?
> Since
> this data byte doesn't get serviced
> (appearantly no interrupt is generated)
> the keyboard/mouse controller doesn't
> generate any interrupt for any further
> events.
> If at all the kernel needs to
> handle this.
> The funny thing is: if you access the
> keyboard thru an ioctl (ie when terminating
> X or by setting the keyboard rate) the
> fault package is serviced and the keyboard
> starts working again.
> If at all this problem needs to be handled
> in the kernel.
There are two things that don't match this explanation very well:
1) Starting into text mode, even with gpm running doesn't show any such
problem. How come? The mechanism regarding the HW is the same as under
X or isn't it?
2) If what P.R. Patil mantions happens and you log into the machine
through ssh you can do a chvt to a console and the keyboard is there.
How come? Does switching from X to console do a ioctl?
*t
--
-----------------------------------------------------------
Tomas Pospisek
SourcePole - Linux & Open Source Solutions
http://sourcepole.ch
Elestastrasse 18, 7310 Bad Ragaz, Switzerland
Tel: +41 (81) 330 77 11
-----------------------------------------------------------
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert