No sound from kmid

Bug #11134 reported by hazylazysusan
12
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Invalid
Medium
Ben Collins

Bug Description

Fine distro, but /dev/sequencer can't be found when I install kmid to try and
play midis!

(would be nice if rhtymbox or xmms could play them but oh well)

Revision history for this message
Matt Zimmerman (mdz) wrote :

/dev/sequencer appears only if your MIDI sequencer device is detected. Please
provide the following information:

- make and model of the sound device that you expect to play the MIDI sequence
- output of "cat /dev/sndstat"
- output of "lsmod"
- output of "dmesg"

Revision history for this message
hazylazysusan (hazylazysusan) wrote :
Download full text (16.7 KiB)

HI, well since this report, I've been trying to follow this howto: http://ubuntuforums.org/
showthread.php?t=8736 . Unfotunately, not much success. Kmid appars to play the midi files but
no sound comes out. Therefore the midi modules you see in lsmod were loaded by me manually, not
detected automatically by ubuntu.

I also blacklisted the intel ac97 drivers in /etc/hotplug/blacklist that seemed to be causing a
few problems. This was called sndintel8x0 and seems to be unneccesary for my system. I also had
to do ln -s /dev/audio1 /dev/dsp to get any sound, period.

Sound card: Creative Soundblaster Live 5.1

Sound Blaster Live! (rev.7) at 0xb800, irq 9
Intel 82801AA-ICH at 0xe000, irq 3

Audio devices:
0: EMU10K1 (DUPLEX)
1: Intel 82801AA-ICH (DUPLEX)

Synth devices:
0: Emu10k1

Midi devices:
0: EMU10K1 MPU-401 (UART)

Timers:
7: system timer

Mixers:
0: SigmaTel STAC9708/11
1: SigmaTel STAC9744
---------------------------
Module Size Used by
radeon 115236 4
proc_intf 3968 0
cpufreq_powersave 2048 0
cpufreq_userspace 5336 0
freq_table 4356 0
ds 17796 0
yenta_socket 19328 0
pcmcia_core 63156 2 ds,yenta_socket
button 6680 0
ac 5132 0
battery 9740 0
ipv6 230020 6
af_packet 20872 2
ohci1394 32004 0
ieee1394 100536 1 ohci1394
8139too 23936 0
8139cp 19072 0
mii 4864 2 8139too,8139cp
crc32 4608 2 8139too,8139cp
emu10k1_gp 3840 0
usbhid 28864 0
snd_intel8x0 33068 3
snd_mpu401_uart 7296 1 snd_intel8x0
uhci_hcd 29328 0
usbcore 104292 4 usbhid,uhci_hcd
hw_random 5652 0
intel_agp 20512 1
agpgart 31784 2 intel_agp
pcspkr 3816 0
rtc 12216 0
analog 10784 0
gameport 4736 3 emu10k1_gp,snd_intel8x0,analog
floppy 54996 0
nls_iso8859_1 4352 1
nls_cp437 6016 1
md 44744 0
dm_mod 51068 1
capability 4872 0
commoncap 7168 1 capability
snd_emu10k1_synth 6784 0
snd_emu10k1 80776 8 snd_emu10k1_synth
snd_pcm_oss 48168 0
snd_mixer_oss 16640 6 snd_pcm_oss
snd_pcm 85540 4 snd_intel8x0,snd_emu10k1,snd_pcm_oss
snd_ac97_codec 59268 2 snd_intel8x0,snd_emu10k1
snd_page_alloc 11144 3 snd_intel8x0,snd_emu10k1,snd_pcm
snd_emux_synth 33408 1 snd_emu10k1_synth
snd_seq_virmidi 7296 1 snd_emux_synth
snd_seq_midi_emul 7680 1 snd_emux_synth
snd_hwdep 9120 2 snd_emu10k1,snd_emux_synth
snd_util_mem 4608 2 snd_emu10k1,snd_emux_synth
snd_seq_midi 8096 0
snd_rawmidi 23232 4 snd_mpu401_uart,snd_emu10k1,snd_seq_virmidi,snd_seq_midi
snd_seq_oss 29440 0
snd_seq_midi_event 7552 3 snd_seq_virmidi,snd_seq_midi,snd_seq_oss...

Revision history for this message
hazylazysusan (hazylazysusan) wrote :

Here is my modified /etc/modules

psmouse
mousedev
ide-cd
ide-generic
lp
snd-seq-oss
snd-seq-midi
snd_emu10k1_synth
snd_emux_synth
snd_seq_oss
snd_seq
snd_emu10k1
snd_rawmidi

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #2)
> I also blacklisted the intel ac97 drivers in /etc/hotplug/blacklist that
seemed to be causing a
> few problems. This was called sndintel8x0 and seems to be unneccesary for my
system. I also had
> to do ln -s /dev/audio1 /dev/dsp to get any sound, period.

If snd-intel8x0 was being loaded, it's because you have an i810-based sound
device in your system. It seems likely that your system has onboard sound in
addition to the Sound Blaster card.
Please explain the problems that you saw before, and why you believed them to be
caused by the ac97 driver.

> Sound card: Creative Soundblaster Live 5.1
>
> Sound Blaster Live! (rev.7) at 0xb800, irq 9
> Intel 82801AA-ICH at 0xe000, irq 3
>
> Audio devices:
> 0: EMU10K1 (DUPLEX)
> 1: Intel 82801AA-ICH (DUPLEX)

As you can see, you do indeed seem to have two sound devices. If you don't wish
to use the onboard sound, you may wish to disable it in the BIOS, thus avoiding
any issues with drivers or selection of the default audio device (see bug#8050).

> Synth devices:
> 0: Emu10k1
>
> Midi devices:
> 0: EMU10K1 MPU-401 (UART)

Your Sound Blaster's MIDI device is recognized and an appropriate driver is
loaded, so I presume you have /dev/sequencer now?
You also said that kmid appeared to play, so I assume so. Otherwise I would
expect it to print an error if /dev/sequencer was missing, unless it's using
ALSA directly.
Check the mixer and ensure that the appropriate channels are unmuted, etc. The
Sound Blaster Live! can be tricky to configure in this respect, since it has a
very large number of mixer controls.

In the future when providing large files, please attach them rather than pasting
them into a comment. This makes the bug information easier to read and access.

I assume you added those modules to /etc/modules so that your Sound Blaster
would be the primary sound device. I recommend the following:

- Remove all audio modules from /etc/modules
- Disable your onboard sound device in your BIOS setup
- Boot the system normally

Check that /dev/dsp exists and that sound works. Then try MIDI.

Revision history for this message
hazylazysusan (hazylazysusan) wrote :

I wonder if this is related to the hotplug problems with multiple sound cards?

Revision history for this message
Matt Zimmerman (mdz) wrote :

Could you answer my questions from comment #4?

Revision history for this message
hazylazysusan (hazylazysusan) wrote :

SOrry, I lost track! I will try this..

Revision history for this message
hazylazysusan (hazylazysusan) wrote :

- Remove all audio modules from /etc/modules
  OK, did so

- Disable your onboard sound device in your BIOS setup
  The thing is the only real soundcard here is my Soundblaster live. Ubuntu just
  detects my modem/ethernet card as a soundcard for some reason..
  https://bugzilla.ubuntu.com/show_bug.cgi?id=1293

- Boot the system normally
  Still no go :(

BTW this worked with Suse9.1, although it sounded very crappy compared to
Windows! I have had no success with Midi on debian-based distros (Xandros,
sarge, etc). Thank you for your time..

Revision history for this message
Matt Zimmerman (mdz) wrote :

OK, from the information available, it sounds like this is just a duplicate of
#1293, which is now addressed in the development branch

This bug has been marked as a duplicate of bug 8050.

Revision history for this message
hazylazysusan (hazylazysusan) wrote :

HI, it's at breezy and still can't play midis.

Revision history for this message
Matt Zimmerman (mdz) wrote :

You still haven't told us whether you have /dev/sequencer or not...

Revision history for this message
Thomas Hood (jdthood) wrote :

(Repeating some questions already asked, I know...)

> /dev/sequencer can't be found

Please do "ls -l /dev/sequencer"

> Kmid appars to play the midi files but no sound comes out

Try adjusting the mixer levels.

> The midi modules you see in lsmod were loaded by me manually, not
> detected automatically by ubuntu.

Do you have this line in /etc/modprobe.d/alsa-base ?:

    install snd-emu10k1 modprobe --ignore-install snd-emu10k1 && {
/lib/alsa/modprobe-post-install snd-emu10k1 ; modprobe --quiet snd-emu10k1-synth ; }

and no other lines beginning with 'install snd-emu10k1'? If not then please
upgrade your alsa-base to the latest version.

> I also had to do ln -s /dev/audio1 /dev/dsp to get any sound, period.

Hmm. udev problem?

> Here is my modified /etc/modules
> ...
> snd-seq-oss
> snd-seq-midi
> snd_emu10k1_synth
> snd_emux_synth
> snd_seq_oss
> snd_seq
> snd_emu10k1
> snd_rawmidi

You should not have to add these. Hotplug and udev should take care of
loading these modules.

> I also blacklisted the intel ac97 drivers in /etc/hotplug/blacklist
>
> ...
> snd_ac97_codec

It seems your blacklisting didn't prevent the ac97 driver from being loaded.

Are you able to play midi files with pmidi?

Revision history for this message
Ben Collins (ben-collins) wrote :

If possible, please upgrade to Dapper's 2.6.15-8 kernel. If you do not want to
upgrade to Dapper, then you can also wait for the Dapper Flight 2 CD's, which
are due out within the next few days.

Let me know if this bug still exists with this kernel.

Revision history for this message
Carthik Sharma (carthik) wrote :

Thank you for reporting this bug and following up on it.

I am marking this bug Closed since there has been no response from you for over three months.

Should you still have a problem with the Latest up to date Dapper kernel and packages, please reopen this bug, answering the questions that have already been asked of you before.

Thanks again, please report any other issues you have after checking that they haven't already been reported.

Changed in linux-source-2.6.15:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.