All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@attbi.com>
To: Paul Davis <paul@linuxaudiosystems.com>
Cc: Alsa-Devel <alsa-devel@lists.sourceforge.net>
Subject: Re: alsasound init script (Re: possible problems with rc6 aplay )
Date: 16 Dec 2002 19:46:55 -0800	[thread overview]
Message-ID: <1040096816.3766.16.camel@Godzilla> (raw)
In-Reply-To: <E18O7m1-0002AU-00@sc8-sf-list1.sourceforge.net>

On Mon, 2002-12-16 at 18:51, Paul Davis wrote:

> 
> i think it would something like this:
> 
> options snd-hdsp snd_index=0
> options snd-usb-foo snd_index=1
> 
> i'm sure that takashi or jaroslav will correct me if i got this wrong.
> 
> --p

Paul,
   This makes perfect sense, and it isn't what I did. (!!)

   The PlanetCCRMA has a Nano-HOWTO on how to install the MidiMan 2X2 by
hand. It's a little USB-based MIDI interface (not a sound card) that is
not recognized by alsaconf, so we do a bit of editing by hand.

   alsaconf sets up modules.conf for the HDSP

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-hdsp
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd major=116 cards_limit=1 device_mode=0666
options snd-hdsp index=0
# --- END: Generated by ALSACONF, do not edit. ---


We then modify one line in the file to look like this:

options snd major=116 cards_limit=2 device_mode=0666


and we also do the following:

<SNIP from the Planet>
add usb-midi and audio to the /etc/hotplug/blacklist file
So that the OSS audio and usb-midi modules are not automatically loaded
when the device reconnects after the firmware download. Add ``usb-midi''
and ``audio'' in separate lines at the end of the list of blacklisted
modules in that file. 
<End SNIP>

I think, according to your info, that the problem is caused by not
having some sort of 

options snd-midiman index=1

line. That makes sense to me, except that I don't know what to put there
since there actually isn't a driver. The goal is to get the system to
make some devices in /dev/snd. This works fine on a cold boot, but fails
sometimes on a warm boot. (At least I think it does, since sometimes I
get pcmC1D0 when I have no pcmC0D0

Thanks,
Mark



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/

  reply	other threads:[~2002-12-17  3:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20021216152035.CZFC3512.sccrgwc01.attbi.com@newmx1.fast.net>
2002-12-16 21:18 ` alsasound init script (Re: possible problems with rc6 aplay ) Mark Knecht
2002-12-17  2:51   ` Paul Davis
2002-12-17  3:46     ` Mark Knecht [this message]
2002-12-17 11:06       ` Takashi Iwai
2002-12-17 19:36         ` Fernando Pablo Lopez-Lezcano
2002-12-18 10:46           ` Takashi Iwai
2002-12-18 11:17             ` Takashi Iwai
2002-12-18 13:11               ` Mark Knecht
2002-12-20 15:10                 ` Takashi Iwai
2002-12-20 16:10                   ` Clemens Ladisch
     [not found] <E18PTTN-0004YV-00@sc8-sf-list2.sourceforge.net>
2002-12-20 22:53 ` Pedro Lopez-Cabanillas
2002-12-23 13:44   ` Takashi Iwai
2002-12-23 17:18     ` Patrick Shirkey
2002-12-16 13:57 possible problems with rc6 aplay Takashi Iwai
2002-12-16 14:29 ` Paul Davis
2002-12-16 14:53   ` alsasound init script (Re: possible problems with rc6 aplay ) Takashi Iwai
2002-12-16 15:23     ` Paul Davis

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=1040096816.3766.16.camel@Godzilla \
    --to=markknecht@attbi.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=paul@linuxaudiosystems.com \
    /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 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.