First check the usb cable.
When it is connected into your Paca(rana) USB port directly check DSP Rescan by dropdown DSP status.
Go to MIDI input at the right and click to check it it's there.
When it is seen by the Paca(rana) you can check Midi messages by Midi configuration.
Hope this helps.