Oleg Bolshakov
|
Re: USB input device of photon
|
Oleg Bolshakov
11/30/2017 7:52 AM
post118253
|
Re: USB input device of photon
Hi Ulrich,
QNX 4 doesn't support hotplugging. But it is possible to implement your own specific hotplugging manager. You can parse
usb utility output in your shell script to catch insertion of HID devices and relaunch Input. Also you can use USB SDK
to develop manager that can monitor USB events.
Respectfully,
Oleg
29 нояб. 2017 г., в 11:31:20, Mailaender, Ulrich <community-noreply@qnx.com> написал:
> Hi,
>
> I am using usb-keyboard and usb-mouse as input device of photon. If I boot the PC everything is ok, keyboard and mouse
working fine.
> If I unplug the mouse and plug it in again, the mouse is not working anymore.
>
> sysint:
> #io-usb
> #devu-mouse
> #devu-kbd
>
> input.xx:
> kbd –R fd-dev-usbkbd0 msoft fd –d/dev/usbmouse0
>
> I noticed, after plug in the mouse again there is a new /dev/mouse1.
> The Input is still looking for /dev/mouse0.
>
> I am able to fix this manual:
> slay devu-mouse
> devu-mouse &
> Input msoft fd –d/dev/mouse0
>
> After that, mouse is working.
> But I need a solution without any manual operation.
>
> Is there a solution??
>
> Regards
>
> Ulrich Mailänder
>
> <Вложенный файл Почты.html>
|
|
|