All of lore.kernel.org
 help / color / mirror / Atom feed
* alsa - 0.9.8 (and today's cvs - 16.11.2003) interwave problem.
@ 2003-11-17 16:04 Nima Ghassemi
  2003-11-16 17:35 ` Jaroslav Kysela
  0 siblings, 1 reply; 5+ messages in thread
From: Nima Ghassemi @ 2003-11-17 16:04 UTC (permalink / raw)
  To: alsa-devel

hi,

there's some problem which I tracked down to

~alsa-driver/sound/core/control.c

int snd_ctl_add(snd_card_t * card, snd_kcontrol_t * kcontrol)
{
        snd_ctl_elem_id_t id;
        unsigned int idx;

    snd_runtime_check(card != NULL && kcontrol != NULL, return -EINVAL);
        snd_assert(kcontrol->info != NULL, return -EINVAL);
        id = kcontrol->id;
        down_write(&card->controls_rwsem);
    if (_ctl_find_id(card, &id)) {
                up_write(&card->controls_rwsem);
                snd_ctl_free_one(kcontrol);
                return -EBUSY;
    }
[...]

the problem lies in _ctl_find_id (card, &id). by commenting the if-block 
out, everything (as well
as the sound-card) works perfectly (as far as I could test it...).

this is the error-message I get when I leave eveything as it is:
----------------------------------------
root@sipiyou :/tmp/alsa/alsa-driver> modprobe snd-interwave
/lib/modules/2.4.22/kernel/sound/isa/gus/snd-interwave.o: init_module: 
No such device
Hint: insmod errors can be caused by incorrect module parameters, 
including invalid IO or IRQ parameters
/lib/modules/2.4.22/kernel/sound/isa/gus/snd-interwave.o: insmod 
/lib/modules/2.4.22/kernel/sound/isa/gus/snd-interwave.o failed
/lib/modules/2.4.22/kernel/sound/isa/gus/snd-interwave.o: insmod 
snd-interwave failed
----------------------------------------
/etc/modules.conf:
options snd-interwave index=0 id="GusPnP" enable=1 port=0x220 irq=11 
dma1=5 dma2=7

this is my config:
- devfs
- kernel 2.4.22
- amd interwave (ultrasound pnp)


Nima.


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-11-18  9:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-17 16:04 alsa - 0.9.8 (and today's cvs - 16.11.2003) interwave problem Nima Ghassemi
2003-11-16 17:35 ` Jaroslav Kysela
2003-11-17  1:40   ` Paul Hanly (Hotmail)
     [not found]   ` <3FB9E24B.5000602@web.de>
     [not found]     ` <Pine.LNX.4.53.0311171022090.16992@pnote.perex-int.cz>
2003-11-17 10:19       ` Nima Ghassemi
2003-11-18  9:18   ` Nima Ghassemi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.