Adapted code from keyboard fix for ENODEV to do the same thing for the mouse
Use normal read() calls for reading from the mouse so we can get the ENODEV
errors, instead of going through the Xisb*() wrappers, which are needed for
reading directly from serial ports (which this code never does since it's
only used with VUID mouse event streams from the kernel).
Fixes http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6844148
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>