Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Input and devu-kbd problem: (5 Items)
   
Input and devu-kbd problem  
Hi QNX4 supporters!

I',m actually testing your newest usb stuff twogether with IAMT.

The flag -p for devu-mouse and devu-kbd is working perfectly twogether with IAMT. (the VNCviewer+ session will dissapear
 after a timeout and the /dev/usbkbd0 and /dev/usbmosue0 are going away).
But if I use the "Input" to bring the kbd and mouse event of the VNCviewer+ session using IAMT to the QNX4 host the 
problem is there. As soon as the VNCviewer session will close the devu-kbd and the Input using the devu-kbd will use all
 the CPU power. As soon as I terminate this Input the /dev/usbkbd will go away.
With the devu-mouse its a little bit different. This terminates with SIGSEGV 0005:0000C0B5.

Is there a possibility to make the attachment from the Input to the /dev/usb* dynamically?
An event as soon as there is a USB keyboard or mouse detected and  an event as soon as these devices are disconnected.

Best Regards,
Klaus Pantleon
Re: Input and devu-kbd problem  
Hello QNX4 supporters,

is there a possibility to add the running of a program or shell script if a USB device is added/removed?
The shell script I will make myself, but I need the trigger to run it.

br,
Klaus Pantleon
Re: Input and devu-kbd problem  
Hi Klaus,

Attaching example script which is monitors /dev/fd0 device. You can 
improve it to fit your needs.

-- 
Respectfully,
Oleg

> Hello QNX4 supporters,
> 
> is there a possibility to add the running of a program or shell script
> if a USB device is added/removed? The shell script I will make myself,
> but I need the trigger to run it.
> 
> br,
> Klaus Pantleon
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post85913
Attachment: Text dev_handler.20110519.tar.gz 276 bytes
Re: Input and devu-kbd problem  
Hi Oleg,

the monitoring of the device is of course a solution.
But is there also a possibility to use the event of creation of the device?
Mayby a further switch to devu-kbd to run a script?

br,
Klaus
Re: Input and devu-kbd problem  
Klaus,

The devu-kbd doesn't provide such option.

-- 
Respectfully,
Oleg

> Hi Oleg,
> 
> the monitoring of the device is of course a solution.
> But is there also a possibility to use the event of creation of the
> device? Mayby a further switch to devu-kbd to run a script?
> 
> br,
> Klaus
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post85923