Index: [thread] [date] [subject] [author]
  From: teunis <teunis@computersupportcentre.com>
  To  : ggi-develop@eskimo.com
  Date: Thu, 20 May 1999 02:36:41 -0700 (MST)

Re: Mouse: Error reading mouse: Resource temporarily unavailable

On Wed, 19 May 1999, Marcus Sundberg wrote:

> teunis wrote:
> > I'm still getting this errors BTW:
> > Warning: failed to set serial parameters for mouse device.
> >          Your mouse may not work as expected.
> > 
> > is it another gpm bit? (goes away if I go directly to /dev/psaux)
> 
> Most serial mice requires certain serial parameters to be set to 
> operate properly. Ad MouseSystems is a serial protocol LibGII tries
> to set the correct parameters, but this ofcourse fails because
> /dev/gpmdata is a pipe, not a serial device.
> 
> I've now fixed it so we don't try to set serial parameters on pipes,
> works fine here at least.

Great!  *testing*  it works! :)

> > ... now to figure out how to build a device that can switch between two
> > protocols: the Logitech CyberMan.  Why? Why not :)  And maybe a "zoom"
> > display target if I get real bored...  (Cyberman switches between logitech
> > mouseman and Cyberman/6dof modes.  Primitive but it works :)
> 
> What kind of a switch? Does the user request a switch, or does the
> mouse swicth by itself? In the former case, how does one do that?
> In the latter case - that's weird! ;) But shouldn't be very hard
> to implement in LibGII.

Oh - it's a command sequence that's sent to the mouse; the mouse then
switches modes.  The only way to switch back is to reset the mouse
(standard mouseman reset works :)

I'll work on it as soon as I get my #$%! garbage-collection code
working...  multithreaded code is a -pain-...

incidentally, GII works -beautifully- in multiple threads; as does GGI as
far as I can tell :)
[fbcon/2 or 3 different threads writing strings simultaneously:]
.. designing a -very- multithreaded lisp engine... if all goes well, I'll
post it... but it's kinda primitive (no lisp interpreter yet - memory work
is cudgelled by hand.  The console's a bit buggy and GC is -not- working
properly yet due to locking probs...  a lisp interpreter (scheme for now) 
will go in as soon as GC works.  I've -got- a working scheme interpreter
on the sidelines waiting for this :)

BTW - anyone have a working GGI Descent? :)

G'day, eh? :)
	- Teunis

Index: [thread] [date] [subject] [author]