[gutsy] midi not working

Bug #134064 reported by aguy on 2007-08-22
This bug report is a duplicate of:  Bug #111292: Midi should always work!. Edit Remove
Affects Status Importance Assigned to Milestone

Bug Description

Sound card works ok for mp3 etc but has trouble playing midi via amarok, xmms-midi and kmidi etc.

root@asty-desktop:/home/asty# uname -a
Linux asty-desktop 2.6.22-9-generic #1 SMP Fri Aug 3 00:50:37 GMT 2007 i686 GNU/Linux
root@asty-desktop:/home/asty# lspci
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 02)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)
02:0a.0 Multimedia video controller: Brooktree Corporation Bt849A Video capture (rev 12)
02:0b.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
02:0c.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 09)
02:0d.0 Communication controller: Conexant HCF 56k Data/Fax/Voice/Spkp Modem (rev 08)

dmesg returns

[ 3616.740062] rawmidi drain error (avail = 4016, buffer_size = 4096)
[ 3626.792595] rawmidi drain error (avail = 4095, buffer_size = 4096)
[ 3636.913108] rawmidi drain error (avail = 4016, buffer_size = 4096)
[ 3646.965659] rawmidi drain error (avail = 4095, buffer_size = 4096)

I have just read

MIDI, unfortunately is not an open file format, so Ubuntu does not support it by default.

Ubuntu should then inform the user the reason why it cannot play midi format files.

Installing timidity allows playing of midi files but it should play them out of the box or warn the user.

root@asty-desktop:/home/asty# apt-get install timidity
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
Suggested packages:
The following NEW packages will be installed
  freepats timidity
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 29.5MB of archives.
After unpacking 35.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get: 1 http://gb.archive.ubuntu.com gutsy/universe freepats 20060219-1 [29.0MB]
Get: 2 http://gb.archive.ubuntu.com gutsy/universe timidity 2.13.2-14ubuntu1 [555kB]
Fetched 29.5MB in 43s (671kB/s)
Selecting previously deselected package freepats.
(Reading database ... 210883 files and directories currently installed.)
Unpacking freepats (from .../freepats_20060219-1_all.deb) ...
Selecting previously deselected package timidity.
Unpacking timidity (from .../timidity_2.13.2-14ubuntu1_i386.deb) ...
Setting up freepats (20060219-1) ...
Setting up timidity (2.13.2-14ubuntu1) ...
 * Starting timidity * Starting TiMidity++ ALSA midi emulation...

LevTermen (theremin) wrote :

This bug is still valid under Hardy. It occurs when I shutdown the jack server when started on a Native Instruments Audio Kontrol 1 soundcard, or when I close Mixxx set up on the same soundcard.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers