My friend use PC based on VIA VT8235 chipset without any real MIDI hardware. The sound (wav, MP3) is ok except MIDI.
Is it possible to use Virtual Midi (Virmidi) for playing Midi files without the real hardware?

http://tldp.org/HOWTO/MIDI-HOWTO-10.html

I had installed the virmidi, but I cannot use Pmidi, Playmidi to play any MIDI file, the program (from console) does not put out any sound or output. I have to stop it using "Ctrl-C".

I try several aconnect program, but all invalid ports.

How to play midi files using Virmidi?
Thank you.

Output:

A. List of sound cards: "cat /proc/asound/cards"
0 [V8235 ]: VIA8233 - VIA 8235
VIA 8235 with VIA1612A at 0xe000, irq 7
1 [VirMIDI ]: VirMIDI - VirMIDI
Virtual MIDI Card 1

B. Sound devices: "cat /proc/asound/devices"
0: [ 0] : control
1: : sequencer
16: [ 0- 0]: digital audio playback
17: [ 0- 1]: digital audio playback
24: [ 0- 0]: digital audio capture
25: [ 0- 1]: digital audio capture
32: [ 1] : control
33: : timer
40: [ 1- 0]: raw midi
41: [ 1- 1]: raw midi
42: [ 1- 2]: raw midi
43: [ 1- 3]: raw midi

C. "aconnect -lo"
client 20: 'Virtual Raw MIDI 1-0' [type=kernel]
0 'VirMIDI 1-0 '
client 21: 'Virtual Raw MIDI 1-1' [type=kernel]
0 'VirMIDI 1-1 '
client 22: 'Virtual Raw MIDI 1-2' [type=kernel]
0 'VirMIDI 1-2 '
client 23: 'Virtual Raw MIDI 1-3' [type=kernel]
0 'VirMIDI 1-3 '
client 0: 'System' [type=kernel]

D. "aconnect -li"
0 'Timer '
1 'Announce '
client 20: 'Virtual Raw MIDI 1-0' [type=kernel]
0 'VirMIDI 1-0 '
client 21: 'Virtual Raw MIDI 1-1' [type=kernel]
0 'VirMIDI 1-1 '
client 22: 'Virtual Raw MIDI 1-2' [type=kernel]
0 'VirMIDI 1-2 '
client 23: 'Virtual Raw MIDI 1-3' [type=kernel]
0 'VirMIDI 1-3 '

E. "pmidi -l"
Port Client name Port name
20:0 Virtual Raw MIDI 1-0 VirMIDI 1-0
21:0 Virtual Raw MIDI 1-1 VirMIDI 1-1
22:0 Virtual Raw MIDI 1-2 VirMIDI 1-2
23:0 Virtual Raw MIDI 1-3 VirMIDI 1-3