nanogui: Thread: Cannot initialise mouse


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Cannot initialise mouse
From: ####@####.####
Date: 11 Nov 2006 07:08:27 +0000
Message-Id: <1163228887.455576d7eda4b@www-mail.usyd.edu.au>


Hi all,

I'm trying to run nano-x in a pxa board that has no mouse, in my
configuration file I have NOMOUSE as Y but I'm still getting this error.


# ./nano-X
createfont: (height == 0) found builtin font System (0)
Cannot initialise mouse
#

How can I solve this?

Thanks,

David


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Subject: Re: [nanogui] Cannot initialise mouse
From: "Greg Haerr" ####@####.####
Date: 12 Nov 2006 03:24:17 +0000
Message-Id: <04d701c70609$cee6e820$6401a8c0@winXP>

: I'm trying to run nano-x in a pxa board that has no mouse, in my
: configuration file I have NOMOUSE as Y but I'm still getting this error.

Perhaps you have some other mouse driver also set to Y?
Set VERBOSE=Y and check the link line, make sure you're
in fact using the mou_null mouse driver.

Regards,

Greg
Subject: RE: [nanogui] Cannot initialise mouse
From: ####@####.####
Date: 13 Nov 2006 12:09:25 +0000
Message-Id: <1163419750.455860660e90a@www-mail.usyd.edu.au>


Thanks for the answer Greg...

I went through the configuration file and I have
OPTIMIZA		=Y
DEBUG		=Y
VERBOSE		=N
THREADSAFE	=Y
GPROF 		= N

I also have NOMOUSE = Y and the rest =N and after make I can see
Compiling mou_null.c....
Conpiling kbd_null.c

(Is that what you mean with the link line?)

After compiling I copy nano-X to my board and run it with the same error...

"Cannot initialize mouse"

Thanks for the help,

David


-----Original Message-----
From: Greg Haerr ####@####.####
Sent: Sunday, November 12, 2006 2:23 PM
To: ####@####.#### ####@####.####
Subject: Re: [nanogui] Cannot initialise mouse

: I'm trying to run nano-x in a pxa board that has no mouse, in my
: configuration file I have NOMOUSE as Y but I'm still getting this error.

Perhaps you have some other mouse driver also set to Y?
Set VERBOSE=Y and check the link line, make sure you're
in fact using the mou_null mouse driver.

Regards,

Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Subject: Re: [nanogui] Cannot initialise mouse
From: "Greg Haerr" ####@####.####
Date: 14 Nov 2006 18:30:46 +0000
Message-Id: <0c9a01c7081a$cf4e3710$0300a8c0@RDP>

> I also have NOMOUSE = Y and the rest =N and after make I can see
Compiling mou_null.c....
Conpiling kbd_null.c
"Cannot initialize mouse"

Put a printf() in mou_null.c, make sure that it's returning
-2 on the open routine, this tells the server that
there is no mouse.  Check the return code again
in nanox/srvmain.c, GsOpenMouse() return value.

Regards,

Greg




-----Original Message-----
From: Greg Haerr ####@####.####
Sent: Sunday, November 12, 2006 2:23 PM
To: ####@####.#### ####@####.####
Subject: Re: [nanogui] Cannot initialise mouse

: I'm trying to run nano-x in a pxa board that has no mouse, in my
: configuration file I have NOMOUSE as Y but I'm still getting this error.

Perhaps you have some other mouse driver also set to Y?
Set VERBOSE=Y and check the link line, make sure you're
in fact using the mou_null mouse driver.

Regards,

Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Subject: RE: [nanogui] Cannot initialise mouse
From: ####@####.####
Date: 15 Nov 2006 12:32:31 +0000
Message-Id: <1163593936.455b08d017fc8@www-mail.usyd.edu.au>


Thanks for your help Greg....

I looked at the mou_null.c file and it was indeed returning -2, and
srvmain.c seems fine as well. After adding the printf statement in the
open mouse routine I was able to see that the null mouse was actually not
running.

Then I decided to do a make clean and started a new config file from
scratch.
And I finally got nano-X running... I still have some issued with my LCD so
I can't see anything in the screen, but at least I have no errors in my
console.  Hopefully as soon as I fix my LCD I will have some graphs
running.

Regards,

David


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.