From alsa-user-owner@alsa.jcu.cz  Fri Aug 28 18:35:20 1998
Received: from knot.iegroup.com (ns.iegroup.com [24.124.2.253])
	by marvin.jcu.cz (8.8.8/8.8.8) with ESMTP id SAA04061
	for <alsa-user@alsa.jcu.cz>; Fri, 28 Aug 1998 18:35:11 +0200
Received: from knot.iegroup.com (root@localhost)
	by knot.iegroup.com with ESMTP id LAA01264;
	Fri, 28 Aug 1998 11:35:10 -0500 (CDT)
Received: from iegroup.com (pulsar.iegroup.com [10.0.1.5])
	by knot.iegroup.com with SMTP id LAA01260;
	Fri, 28 Aug 1998 11:35:10 -0500 (CDT)
Received: from iegroup.com by iegroup.com (SMI-8.6/SMI-SVR4)
	id LAA29426; Fri, 28 Aug 1998 11:35:09 -0500
Message-ID: <35E6DC3D.66C7E320@iegroup.com>
Date: Fri, 28 Aug 1998 11:35:09 -0500
From: John Fulmer <jfulmer@iegroup.com>
MIME-Version: 1.0
To: alsa-user@alsa.jcu.cz
CC: Henrik Uhrenfeldt <uhren@kom.auc.dk>
Subject: Re: Cant start driver....
References: <Pine.GSO.3.95.980828180424.11782B-100000@trabant.kom.auc.dk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

It's all in the setup:

First off, you really need to have your /etc/conf.modules set up
correctly. Here's what mine looks like for my gus classic:

<SNIP!>
alias snd-minor-oss-0 snd-mixer
alias snd-minor-oss-3 snd-pcm1-oss
alias snd-minor-oss-4 snd-pcm1-oss
alias snd-minor-oss-5 snd-pcm1-oss
alias snd-card-0 snd-gusclassic
options snd snd_major=14 snd_cards_limit=2
options snd-gusclassic snd_index=1 snd_port=0x220 snd_irq=11 snd_dma1=5
snd_dma2=7
<SNIP!>

I important parts for you to change is the alias "snd-card-0" line and
the "options snd-soundcardname" line. Make sure that you are using good
ports and dma channels.

Then, in the alsa distribution, you will find a file called "alsasound".
This is a redhat/sysv startup file that you can put in /etc/rc.d/init.d,
and then use the runlevel editor to automaticly start and stop the
script on boot up and shutdown. It works really well and also takes care
of unmuting the mixer after you have unmuted them by hand the first
time. It does this by saving the mixer settings on shutdown, so make
sure that you use the script to shutdown ALSA on reboot.


Hope this helps.


jf


Henrik Uhrenfeldt wrote:
> 
> Hi!
> 
> I have just joined this list and I am looking forward to hear some details
> about the alsa system!
> 
> I have just compiled the driver on a Redhat 5.1 system, but I am not sure
> how it works. I do the following:
> 
> [root@uhren misc]# /sbin/insmod snd-gusmax.o
> snd-gusmax.o: unresolved symbol snd_card_free_Re385c647
> snd-gusmax.o: unresolved symbol snd_unregister_ioports_Rdea04378
> snd-gusmax.o: unresolved symbol snd_gus_detach_synthesizer_Rb615761b
> snd-gusmax.o: unresolved symbol snd_delay_R7325ec15
> snd-gusmax.o: unresolved symbol snd_rawmidi_register_R483a86a7
> snd-gusmax.o: unresolved symbol snd_gf1_i_look8_R33cab719
> snd-gusmax.o: unresolved symbol snd_malloc_R80ae8995
> snd-gusmax.o: unresolved symbol snd_rawmidi_unregister_Rfabf33e6
> snd-gusmax.o: unresolved symbol snd_register_dma_channel_Rcdbcd224
> snd-gusmax.o: unresolved symbol snd_gus_set_port_R34a16e54
> snd-gusmax.o: unresolved symbol snd_cs4231_new_device_R0ab442ac
> snd-gusmax.o: unresolved symbol snd_mixer_find_channel_R0750240e
> snd-gusmax.o: unresolved symbol snd_gus_init_dma_irq_R31736c9c
> snd-gusmax.o: unresolved symbol snd_card_register_R84bb220f
> snd-gusmax.o: unresolved symbol snd_gus_interrupt_Ref128146
> snd-gusmax.o: unresolved symbol snd_pcm_free_Rca3ff286
> snd-gusmax.o: unresolved symbol snd_gf1_start_Re4d455c6
> snd-gusmax.o: unresolved symbol snd_gus_attach_synthesizer_R3c3c8f0e
> snd-gusmax.o: unresolved symbol snd_cs4231_new_mixer_Rccbfc8c2
> snd-gusmax.o: unresolved symbol snd_rawmidi_free_Rd1e8cd0a
> snd-gusmax.o: unresolved symbol snd_mixer_unregister_R5fabaa45
> snd-gusmax.o: unresolved symbol snd_pcm_register_R57a0d5eb
> snd-gusmax.o: unresolved symbol snd_gf1_pcm_new_device_Rba6149c6
> snd-gusmax.o: unresolved symbol snd_gus_check_version_R89f742b1
> snd-gusmax.o: unresolved symbol snd_gus_new_card_R05118a1f
> snd-gusmax.o: unresolved symbol snd_gf1_i_write8_R35635923
> snd-gusmax.o: unresolved symbol snd_mixer_free_R5f895f6d
> snd-gusmax.o: unresolved symbol snd_gf1_stop_Rc3d37e87
> snd-gusmax.o: unresolved symbol snd_card_new_R05afe7b2
> snd-gusmax.o: unresolved symbol snd_card_unregister_R105fc0a2
> snd-gusmax.o: unresolved symbol snd_gf1_rawmidi_new_device_Rd0bd1f41
> snd-gusmax.o: unresolved symbol snd_mixer_reorder_channel_Rddb73373
> snd-gusmax.o: unresolved symbol snd_register_ioport_R40878ea9
> snd-gusmax.o: unresolved symbol snd_gus_detect_memory_R38b27c35
> snd-gusmax.o: unresolved symbol snd_cs4231_interrupt_R64dced9f
> snd-gusmax.o: unresolved symbol snd_pcm_unregister_Rf45d7339
> snd-gusmax.o: unresolved symbol snd_mixer_register_R0fb78233
> snd-gusmax.o: unresolved symbol snd_register_interrupt_Rffeeea0c
> snd-gusmax.o: unresolved symbol snd_mixer_set_kernel_mute_R51332439
> snd-gusmax.o: unresolved symbol snd_free_Rab6d08d2
> [root@uhren misc]#
> 
> How can I make it work? Should I compile something else, or are my modules
> just setup in a wrong way?


-- 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ John Fulmer                   | "UNIX was not designed to stop     +
+ Secure Network System         |  you from doing stupid things,     +
+ Lawrence, Kansas              |  because that would also stop you  +
+                               |  from doing clever things."        +
+ jfulmer@iegroup.com           |                                    + 
+ http://www.iegroup.com        |                     -- Larry Wall  +
+   "The opinions contained above may not reflect those of SNS"      +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

