nanogui: Mouse problems


Previous by date: 15 Oct 2001 06:30:39 -0000 Re: Mouse is dead, Greg Haerr
Next by date: 15 Oct 2001 06:30:39 -0000 Re: build problem, ??? Harper Jia
Previous in thread: 15 Oct 2001 06:30:39 -0000 Re: Mouse problems, Greg Haerr
Next in thread:

Subject: Re: [nanogui] Mouse problems
From: Sunil Phatak ####@####.####
Date: 15 Oct 2001 06:30:39 -0000
Message-Id: <3BCA8224.8C7D785F@tatainfotech.com>

> : When I run the app from an uncompressed file system on a test HDD
> : instead of flash, the app runs fine. When I try to use ramdisk or tmpfs
> : for storing a part of fs (/usr/local directory), the mouse response
> : becomes very bad. Mouse seems to move very slowly and the cursor blinks
> : rapidly. The refresh on screen seems to have been badly affected.
> : Another observation is the characters typed on keyboard take time to
> : appear on the screen.
> 
> It almost seems like the system may be polling, rather than waiting
> for an event.  Are you running the same kernel?  Perhaps the system
> you've built for ramdisk is failing during the select() call, and polling
> as a result.  I suggest putting a printf() in the mouse driver read routine,
> to check whether the application is really waiting for an event, or polling
> constantly.  The cursor blink is because Microwindows uses a soft
> cursor and must hide the cursor on every mouse move, which can
> cause a blink if it happens too rapidly.  Hope this helps!

I am using the same kernel and rest of the files. I just moved
/usr/local from HDD to memory (I made a tarball of /usr/local/, I mount
a tmpfs volume at /usr/local and uncompress the above tarball there). I
tried putting a printf() just before return in the mouse driver read
routine in mou_gpm.c but this printf() never appears on the terminal o/p
of the application.

BTW, could this be a framebuffer refresh issue?

Regards
Sunil


Previous by date: 15 Oct 2001 06:30:39 -0000 Re: Mouse is dead, Greg Haerr
Next by date: 15 Oct 2001 06:30:39 -0000 Re: build problem, ??? Harper Jia
Previous in thread: 15 Oct 2001 06:30:39 -0000 Re: Mouse problems, Greg Haerr
Next in thread:


Powered by ezmlm-browse 0.20.