nanogui: problem with USB mouse and keyboard


Previous by date: 7 Oct 2008 12:18:04 -0000 Re: Standalone Nano-X GUI., Greg Haerr
Next by date: 7 Oct 2008 12:18:04 -0000 FreeType2 and SetPortrait, Rafael Schwarz
Previous in thread: 7 Oct 2008 12:18:04 -0000 Re: problem with USB mouse and keyboard, Vinod Chaudhary
Next in thread:

Subject: Re: [nanogui] problem with USB mouse and keyboard
From: "Mangesh Edake (ext)" ####@####.####
Date: 7 Oct 2008 12:18:04 -0000
Message-Id: <1223382030.7171.3.camel@localhost.localdomain>

Thanks Vinod.. sorry for the late response.

It is working with /dev/mice.
The user interface driver for mouse (mousedev.c)
was absent in my kernel image. Problem was solved once I added the
driver.

--
Thanks and Regards,
Mangesh Edake.



On Wed, 2008-10-01 at 19:17 +0530, Vinod Chaudhary wrote:
> Hi,
> 
> I think you are using linux kernel so build the Device Drivers  ---> Input 
> device support  --->Mouse interface and specify screen resolution with that 
> driver. Use "/dev/mice" interface created by this interface.
> 
> Because on "/dev/input/event0" provide the raw data and not calibrated.
> 
> For the keypad you have to write driver like scan_kbd.c to read from 
> ""/dev/input/event0" or "/dev/input/event1" where your keyboard is attached.
> 
> Thanks,
> Vinod
> 
> 
> ----- Original Message ----- 
> From: "Mangesh Edake (ext)" ####@####.####
> To: ####@####.####
> Sent: Wednesday, October 01, 2008 6:29 PM
> Subject: [nanogui] problem with USB mouse and keyboard
> 
> 
> > Hello all,
> >
> > I am having following setup on ARM9 Linux board,
> > microwin/nano-X => CVS snapshot
> > nxlib-0.45
> > fltk-1.1.6
> >
> > The microwin/nano-X configuration I'm using is config.uclibc with
> > SERMOUSE=Y and SCANKBD=Y.
> >
> > I am using USB keyboard and Mouse as input devices, which gets detected
> > as soon as connected to board.  But when I run fltk demo or the nano-X
> > demo application, mouse pointer gets displayed on middle of the screen
> > and as mouse is slightly moved, the pointer goes to the top of the
> > screen and stays there. For any further movement, it moves horizontally
> > at the top of the screen. Also the fltk demo detects random click events
> > and opens too many windows and finally hangs....
> >
> > I have MOUSE_PORT=/dev/mouse which is symlink to /dev/input/event1 and
> > MOUSE_TYPE=ps2 in mou_ser.c. Also tried with ms, pc and logi MOUSE_TYPE
> > but the behavior is same.
> >
> > With USB keyboard I could not test the alphanumeric keys because
> > application hangs due to mouse... although keys like tab( for
> > navigation), space (for selection) and escape (for exit) works to some
> > extent.
> >
> > I am executing fltk demo this way,
> >
> > microwin # ./bin/nano-X &
> >
> > fltk # ./test/demo
> >
> >
> > Is it that microwin/nano-X need special handling for USB-HID, as X11 has
> > something like mouUSBRead()..?
> >
> > I may be doing something wrong... but I hope someone on the list would
> > suggest some solution.
> >
> > Thanks in anticipation.
> >
> > --
> > Best Regards,
> > Mangesh Edake.
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ####@####.####
> > For additional commands, e-mail: ####@####.####
> >
> >
> >
> > Email Scanned for Virus & Dangerous Content by : www.CleanMailGateway.com
> > 



Previous by date: 7 Oct 2008 12:18:04 -0000 Re: Standalone Nano-X GUI., Greg Haerr
Next by date: 7 Oct 2008 12:18:04 -0000 FreeType2 and SetPortrait, Rafael Schwarz
Previous in thread: 7 Oct 2008 12:18:04 -0000 Re: problem with USB mouse and keyboard, Vinod Chaudhary
Next in thread:


Powered by ezmlm-browse 0.20.