Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Nima Ghassemi <ngn928@web.de>
To: alsa-devel@lists.sourceforge.net
Subject: alsa - 0.9.8 (and today's cvs - 16.11.2003) interwave problem.
Date: Mon, 17 Nov 2003 17:04:11 +0100	[thread overview]
Message-ID: <3FB8F17B.3010505@web.de> (raw)

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

             reply	other threads:[~2003-11-17 16:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-17 16:04 Nima Ghassemi [this message]
2003-11-16 17:35 ` alsa - 0.9.8 (and today's cvs - 16.11.2003) interwave problem 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FB8F17B.3010505@web.de \
    --to=ngn928@web.de \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox