Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-02-2006, 09:37 PM
|
#1
|
Member
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138
Rep:
|
no sfxload command?
Hi, Im posting here because I think I'll get better answers here than in the software forum.
The topic says it all really. I dont have an sfxload command to load soundfonts.
Is this normal in Slackware or is it something in the kernel that has to be activated or something?
If it is normal, how can I get it? I've searched google but havnt found anything good.
|
|
|
07-02-2006, 11:19 PM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
try the command as root, or try 'asfxload' instead
|
|
|
07-02-2006, 11:19 PM
|
#3
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
Quote:
Originally Posted by Synt4x_3rr0r
Hi, Im posting here because I think I'll get better answers here than in the software forum.
The topic says it all really. I dont have an sfxload command to load soundfonts.
Is this normal in Slackware or is it something in the kernel that has to be activated or something?
If it is normal, how can I get it? I've searched google but havnt found anything good.
|
On Debian you would need the awesfx package installed perhaps it is named similar in Slackware.
Code:
apt-file search sfxload
awesfx: etc/sfxloadrc
awesfx: usr/bin/asfxload
awesfx: usr/bin/sfxload
awesfx: usr/share/man/man1/asfxload.1.gz
awesfx: usr/share/man/man1/sfxload.1.gz
|
|
|
07-02-2006, 11:37 PM
|
#4
|
Member
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138
Original Poster
Rep:
|
Quote:
Originally Posted by nadroj
try the command as root, or try 'asfxload' instead
|
Tried that allready, no use.
@HappyTux:
Ok, ill look into that.
EDIT: Ok, I got ahold of the awesfx utility. But when I try to load the font it tells me:
/dev/sequencer: No such device
I have an Soundblaster Audigy 1 and I'm using the EMU10K1 driver for it.
Last edited by Synt4x_3rr0r; 07-02-2006 at 11:45 PM.
|
|
|
07-04-2006, 11:24 PM
|
#5
|
Member
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138
Original Poster
Rep:
|
Does anyone know what is wrong?
|
|
|
07-04-2006, 11:42 PM
|
#6
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
Quote:
Originally Posted by Synt4x_3rr0r
Does anyone know what is wrong?
|
Seems like you do not have the sequencer modules loaded for the device to be created here is what I have loaded.
Code:
snd_emu10k1_synth 7552 0
snd_emux_synth 34368 1 snd_emu10k1_synth
snd_seq_virmidi 7616 1 snd_emux_synth
snd_seq_midi_emul 6912 1 snd_emux_synth
snd_seq_dummy 4420 0
snd_seq_oss 31332 0
snd_seq_midi 9408 0
snd_seq_midi_event 7936 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq 50584 9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_emu10k1 115012 2 snd_emu10k1_synth
snd_rawmidi 26144 4 snd_mpu401_uart,snd_seq_virmidi,snd_seq_midi,snd_emu10k1
snd_ac97_codec 101948 2 snd_via82xx,snd_emu10k1
snd_ac97_bus 3008 1 snd_ac97_codec
snd_pcm_oss 41568 0
snd_mixer_oss 17664 1 snd_pcm_oss
snd_pcm 88332 5 snd_via82xx,snd_bt87x,snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_seq_device 9104 8 snd_emu10k1_synth,snd_emux_synth,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer 23496 3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc 10448 4 snd_via82xx,snd_bt87x,snd_emu10k1,snd_pcm
snd_util_mem 5440 2 snd_emux_synth,snd_emu10k1
snd_hwdep 10696 2 snd_emux_synth,snd_emu10k1
snd 58432 18 snd_via82xx,snd_mpu401_uart,snd_bt87x,snd_emux_synth,snd_seq_virmidi,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
I would try a modprobe snd_emu10k1_synth and see what it loads/creates for you.
|
|
|
07-05-2006, 12:07 AM
|
#7
|
Member
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138
Original Poster
Rep:
|
It worked! Thanks for your help.
Now how can I load this every time I start my computer?
And can you explain what these are for:
Code:
snd_emux_synth 34368 1 snd_emu10k1_synth
snd_seq_virmidi 7616 1 snd_emux_synth
snd_seq_midi_emul 6912 1 snd_emux_synth
|
|
|
07-05-2006, 12:10 AM
|
#8
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
add the commands to your /etc/rc.d/rc.local file. if it doesnt exist, create it; if it isnt executable, make it. i think youll need to specify the full path to the command, like '/sbin/modprobe snd_emu10k1_synth'
|
|
|
07-05-2006, 12:31 AM
|
#9
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
Quote:
Originally Posted by Synt4x_3rr0r
It worked! Thanks for your help.
Now how can I load this every time I start my computer?
And can you explain what these are for:
Code:
snd_emux_synth 34368 1 snd_emu10k1_synth
snd_seq_virmidi 7616 1 snd_emux_synth
snd_seq_midi_emul 6912 1 snd_emux_synth
|
The snd_seq_virmidi is the sequencer virtual midi device module, snd_seq_midi_emul is the sequencer midi emulation and the third I have not a clue. Good to hear it is working BTW.
|
|
|
07-05-2006, 12:46 AM
|
#10
|
Member
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138
Original Poster
Rep:
|
Quote:
Originally Posted by nadroj
add the commands to your /etc/rc.d/rc.local file. if it doesnt exist, create it; if it isnt executable, make it. i think youll need to specify the full path to the command, like '/sbin/modprobe snd_emu10k1_synth'
|
It worked great. I never knew that you had to specify the whole path to the command.
I also put in a few other commands that I've wanted to start automaticly.
HappyTux: Ok, good to know. I loaded them all
Thanks to both of you for your answers.
|
|
|
07-05-2006, 12:49 AM
|
#11
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
Quote:
I never knew that you had to specify the whole path to the command.
|
in the method that you are doing (adding the commands to the script file), yes, i believe you do have to specify the full path.. try it without the full path, maybe itll work but from the last experience i had with that it didnt. probably because the PATH environment variable isnt setup yet at that stage in booting.
|
|
|
07-05-2006, 12:55 AM
|
#12
|
Member
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138
Original Poster
Rep:
|
Yeah I have tried whithout the full path before and it didnt work. The computer just hangs before the login.
And thats why I asked because I wasnt sure about how to do
|
|
|
07-05-2006, 10:04 AM
|
#13
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
Another reason for using the full path is if you have a local install of the package as well then if the local was in your PATH before the "normal" install and the "normal" was the one you wanted to use then the system would find the local version first and use it.
|
|
|
All times are GMT -5. The time now is 12:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|