OpenQNX :: The QNX Community Portal

Oct 06, 2008 - 06:53 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 47 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Mike Gorchak
Post subject: Strange bug while unloading devi-hid input manager  PostPosted: Jan 15, 2008 - 07:15 AM
Guest





Hello, All!

I need to use mouse and also full keyboard (usb and ps/2) in the console,
without Photon. For this purpouse I am starting devi-hid input manager like
this "/usr/photon/bin/devi-hid -Pr mouse kbd" . I'm spawning process
devi-hid from the my application when it needs keyboard and mouse support
(this is dynamically loaded application, also spawn by other application).
So I need to run and slay devi-hid input manager appr. 10 or 20 times per
day.

Here we go. After few devi-hid process starts/slays devi-hid hangs during
start.

Try to run the following simplified script few times to reproduce the
problem (2-5 times to run to reproduce hangings):

Is it known problem ? If not, are there ways to avoid hangings ?

#--------------------------------------------------------------
#!/bin/sh
echo "devi-hid start"
/usr/photon/bin/devi-hid -Pr mouse kbd
echo "slay devi-hid"
slay devi-hid
echo "devi-hid start"
/usr/photon/bin/devi-hid -Pr mouse kbd
echo "slay devi-hid"
slay devi-hid
echo "devi-hid start"
/usr/photon/bin/devi-hid -Pr mouse kbd
echo "slay devi-hid"
slay devi-hid
echo "devi-hid start"
/usr/photon/bin/devi-hid -Pr mouse kbd
echo "slay devi-hid"
slay devi-hid

#--------------------------------------------------------------

Thanks in advance !

With best regards, Mike Gorchak. E-mail: mike@malva.ua
 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.