This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: Get USB mouse to work

Part Number: TDA4VM

Hi,

I am using tda4vm. I wanted to know whether it is possible to connect a usb mouse to the evm and use it as a pointing device for e.g to run any application.? If yes then how?

The HID drivers are enabled. 

Following are the logs of lsusb after the mouse is connected:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse

Regards, 

Shravan Manerikar

  • Hi Shravan,

    I ran a simple test to connect a mouse to the TDA4 EVM and it enumerated as you described.

    Next, I ran the program called evtest which can help in catching the input events on the device, so I mouse clicks/movements are captured and displayed on the screen. So mouse functionality is working fine.

    You may use these events in your program to emulate any action.

    Also, the SDK comes packaged with weston - this provides a graphical UI that can detect and use mouse events to provide a desktop like environment. You can then create/launch applications through that as well.

    Regards

    Karthik