Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 2.6: MIDI won't work (/dev/sequencer: No such...)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
trick
n00b
n00b


Joined: 10 Feb 2003
Posts: 36
Location: Norway

PostPosted: Thu Apr 01, 2004 8:36 pm    Post subject: Kernel 2.6: MIDI won't work (/dev/sequencer: No such...) Reply with quote

I can't get midi working on my box, I always get the message "/dev/sequencer: No such device or address" whenever something wants to access the sequencer (such as sfxload). Kernel is 2.6.3-gentoo-r1, soundcard SB Live! Player 1024. (Midi worked great under kernel 2.4.)

Code:
# sfxload /usr/share/sfbank/8mbgmsfx.sf2
/dev/sequencer: No such device or address
# cat /dev/sequencer
cat: /dev/sequencer: No such device or address
# ls -l /dev/sequencer
lr-xr-xr-x    1 root     root           15 apr  1 15:32 /dev/sequencer -> sound/sequencer
# ls -l /dev/sound/sequencer
crw-------    1 trick    audio     14,   1 jan  1  1970 /dev/sound/sequencer
# lsmod
Module                  Size  Used by
agpgart                32776  0
nvidia               1701516  10
snd_emu10k1_synth       7776  0
snd_emux_synth         40224  1 snd_emu10k1_synth
snd_seq_virmidi         7488  1 snd_emux_synth
snd_seq_midi_emul       7968  1 snd_emux_synth
snd_emu10k1           100612  3 snd_emu10k1_synth
snd_util_mem            4672  2 snd_emux_synth,snd_emu10k1
snd_hwdep               9888  2 snd_emux_synth,snd_emu10k1
rtc                    12952  0
wacom                  11360  0
# cat /proc/asound/seq/oss
OSS sequencer emulation version 0.1.8
ALSA client number 63
ALSA receiver port 0

Number of applications: 0

Number of synth devices: 1

synth 0: [Emu10k1]
  type 0x1 : subtype 0x20 : voices 64
  capabilities : ioctl enabled / load_patch enabled

Number of MIDI devices: 0
# pmidi -l
 Port     Client name                       Port name
 64:0     Rawmidi 0 - EMU10K1 MPU-401 (U    EMU10K1 MPU-401 (UART)
 65:0     Emu10k1 WaveTable                 Emu10k1 Port 0
 65:1     Emu10k1 WaveTable                 Emu10k1 Port 1
 65:2     Emu10k1 WaveTable                 Emu10k1 Port 2
 65:3     Emu10k1 WaveTable                 Emu10k1 Port 3


I also tried doing this as myself and through aoss, but with the same results.

I've enabled this in the kernel config (2.6.3-gentoo-r1):

Code:
Device drivers
-> Sound
---> (x) Sound card support
---> (x) Advanced Linux Sound Architecture:
-----> (x) Sequencer support
-----> (x) OSS API emulation
-------> (x) OSS Mixer API
-------> (x) OSS PCM (digital audio) API
-------> (x) OSS Sequencer API
-----> PCI devices
-------> (m) EMU10K1 (SB Live! & Audigy, E-mu APS)


Anyone know what's wrong ?
Back to top
View user's profile Send private message
dmouritsendk
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2002
Posts: 138
Location: Denmark

PostPosted: Thu Apr 01, 2004 9:16 pm    Post subject: Reply with quote

Have you checked if everything seem right(alias'es for /dev/[mixer|dsp|midi] etc) in /etc/modules.d/alsa ?

Also, have you tried(/are-you-using) the enable_midi=1 option? (im not sure its needed, but you could give it a try. just in case)
Back to top
View user's profile Send private message
trick
n00b
n00b


Joined: 10 Feb 2003
Posts: 36
Location: Norway

PostPosted: Thu Apr 01, 2004 9:46 pm    Post subject: Reply with quote

dmouritsendk wrote:
Have you checked if everything seem right(alias'es for /dev/[mixer|dsp|midi] etc) in /etc/modules.d/alsa ?

Yes, everything seems right:
Code:
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-card-0

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias /dev/sequencer snd-seq-oss
alias /dev/sound/mixer snd-mixer-oss
alias /dev/sound/dsp snd-pcm-oss
alias /dev/sound/midi snd-seq-oss
alias /dev/sound/sequencer snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1 enable_midi=1

(I added the /dev/sequencer, /dev/sound/*, and enable_midi=1, same results)

Quote:
Also, have you tried(/are-you-using) the enable_midi=1 option? (im not sure its needed, but you could give it a try. just in case)

Just tried, same result.
Back to top
View user's profile Send private message
dmouritsendk
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2002
Posts: 138
Location: Denmark

PostPosted: Thu Apr 01, 2004 9:53 pm    Post subject: Reply with quote

Try using

Code:
options snd-emu10k1 enable_midi=1


instead of

Code:
options snd cards_limit=1 enable_midi=1
Back to top
View user's profile Send private message
trick
n00b
n00b


Joined: 10 Feb 2003
Posts: 36
Location: Norway

PostPosted: Fri Apr 02, 2004 12:10 am    Post subject: Reply with quote

No effect.
Back to top
View user's profile Send private message
dmouritsendk
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2002
Posts: 138
Location: Denmark

PostPosted: Fri Apr 02, 2004 2:48 pm    Post subject: Reply with quote

Well, im out. your modules config seems perfectly fine to me (although from your first post it seems like /dev/sequencer is a symbolic link to /dev/sound/sequencer, and you then later added a /dev/sequencer alias to your config. Im not sure if this can be a problem (ofcourse it have absolutely nothing to do with your original problem, i just wanted to mention it))

Anyways, i afraid i cant help anymore (i dont own a SB myself, so i cant really test anything out). So good luck and i hope you get it working ASAP :)
Back to top
View user's profile Send private message
Kirschsaft
n00b
n00b


Joined: 05 Jul 2003
Posts: 22

PostPosted: Sat Apr 03, 2004 3:21 pm    Post subject: Reply with quote

Have you tried asfxload? It's in the awesfx package from version 0.5.0 upwards (0.5.0b is in portage; alsa USE-flag is required for asfxload). awesfx is the same as sfxload, but accesses ALSA directly (sfxload uses OSS).
Back to top
View user's profile Send private message
trick
n00b
n00b


Joined: 10 Feb 2003
Posts: 36
Location: Norway

PostPosted: Sat Apr 03, 2004 5:56 pm    Post subject: Reply with quote

Kirschsaft wrote:
Have you tried asfxload? It's in the awesfx package from version 0.5.0 upwards (0.5.0b is in portage; alsa USE-flag is required for asfxload). awesfx is the same as sfxload, but accesses ALSA directly (sfxload uses OSS).

Yay, that worked! Thank you! =D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum