can not use usb mouse in QTdemo

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

Murphy
Posts: 2
Joined: Wed Jun 06, 2018 4:05 am

can not use usb mouse in QTdemo

Fri Jul 13, 2018 10:38 am

i download a prebuild image "linux4sam-poky-sama5d4_xplained_hdmi-5.8.zip" from at91.com, than i run the demo in my sama5d4_xplained board,but found my usb mouse cant work,i try to add "export QT_QPA_GENERIC_PLUGINS=evdevmouse:/dev/input/event1 "(event1 is my usb mouse device ) to /etc/rc5.d/S99qtdemo ,still cant work.

so how to use USB mouse for input ?
nferre
Site Admin
Posts: 198
Joined: Wed Feb 14, 2007 11:17 am

Re: can not use usb mouse in QTdemo

Fri Jul 13, 2018 5:15 pm

Hi

Is you mouse send events? You can test it with evtest and select the proper input. If you see events coming it means that the kernel behaves correctly. If not, then the HID driver is probably missing.

Best regards,
Nicolas
Craig
Posts: 5
Joined: Wed Feb 20, 2019 6:21 am

Re: can not use usb mouse in QTdemo

Sun Feb 24, 2019 6:49 am

I am also wanting to use the mouse to move in the demo on the sama5d4xplained 6.0 demo.
I don't have a touch screen and using HDMI.
There is no cursor.
I have tested that there are mouse events generated.
I have done an export as shown above, but not sure if that is relevant or necessary.
If you have any ideas please let me know.
Is the mouse supposed to work within the demo?

Return to “LINUX”

Who is online

Users browsing this forum: Bing [Bot] and 6 guests