mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Peter Illmayer" <pete@jbo.com.au>
To: <linux-kernel@vger.kernel.org>
Subject: Dual es1371 SB cards, unable to get 2nd card to work
Date: Thu, 12 Feb 2004 22:40:24 +1100	[thread overview]
Message-ID: <000001c3f15d$04831d60$6401a8c0@sandman> (raw)

Hello

I am unable to get the 2nd soundcard in my server to work.  I have read
as many threads as I can and am stumped. Any guidance would sincerely be
appreciated, I want to learn ! The first soundcard continues to work
fine.....

Configuration Information is as follow:
------------------------------------------------------------------------
-----------------------------
Kernel: 2.4.20-8smp (Redhat 9.0)

PCI devices: ie: lspci -v

00:08.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
        Subsystem: Ensoniq Creative SoundBlaster AudioPCI 128
        Flags: bus master, slow devsel, latency 104, IRQ 5
        I/O ports at 7800 [size=64]
        Capabilities: [dc] Power Management version 1

00:0a.0 Multimedia audio controller: Creative Labs ES1371
        Subsystem: Creative Labs: Unknown device 5938
        Flags: bus master, slow devsel, latency 104, IRQ 15
        I/O ports at 7840 [size=64]
        I/O ports at 7880 [size=32]
        Capabilities: [dc] Power Management version 2

Lsmod shows:
[root@server root]# lsmod
Module                  Size  Used by    Not tainted
es1371                 34920   0  (autoclean)
gameport                3508   0  (autoclean) [es1371]
ac97_codec             13768   0  (autoclean) [es1371]
soundcore               7044   8  (autoclean) [es1371]

I have created the following devices via the command

Mknod /dev/dsp2 c 14 35
Mknod /dev/dsp3 c 14 51

[root@server dev]# ls -al dsp*
crw-------    1 root     root      14,   3 Jan 30  2003 dsp
crw-------    1 root     root      14,  19 Jan 30  2003 dsp1
crw-------    1 root     root      14,  35 Feb 11 20:11 dsp2
crw-------    1 root     root      14,  51 Feb  9 21:35 dsp3
crw-------    1 root     root      14,  67 Feb  9 21:31 dsp4

I have added the following lines to /etc/modules.conf:

alias sound-slot-0 es1371
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
>/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
>/dev/null 2>&1 || :

alias sound-slot-2 es1371
post-install sound-slot-2 /bin/aumix-minimal -f /etc/.aumixrc1 -L
>/dev/null 2>&1 || :
pre-remove sound-slot-2 /bin/aumix-minimal -f /etc/.aumixrc1 -S
>/dev/null 2>&1 || :

------------------------------------------------------------------------
------------------------------

I am unable to play a wav file when doing:

Play -d /dev/dsp2 blah.wav , the machine sits there for the correct time
however no audio

Performing a dd to /dev/dsp, I get the following:


[root@server dev]# dd if=/dev/dsp2 | od -i
0000000  30840  30840  30840  30840  30840  30840  30840  30840
*
58+0 records in
58+0 records out

[root@server dev]

I have read the thread
http://www.ussg.iu.edu/hypermail/linux/kernel/0010.2/1137.html and tried
all of the suggestions however it doesn't work.  I apologise if this is
a lame question however I cant seem to get my head around it.

Many thanks in anticipation !

Peter....vk2yx






                 reply	other threads:[~2004-02-12 11:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='000001c3f15d$04831d60$6401a8c0@sandman' \
    --to=pete@jbo.com.au \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®