Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@attbi.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Mark Knecht <mknecht@controlnet.com>,
	Alsa-Devel <alsa-devel@lists.sourceforge.net>
Subject: Re: aplay: pcm_write:1025: write error &	SNDRV_PCM_IOCTL_PREPAREfailed:device or resource busy
Date: 02 Jun 2003 21:14:05 -0700	[thread overview]
Message-ID: <1054613645.1430.23.camel@Wizard.knechthome.com> (raw)
In-Reply-To: <s5hznl0o8u1.wl@alsa2.suse.de>

On Mon, 2003-06-02 at 07:25, Takashi Iwai wrote:

> just add the following line to the end of /etc/modules.conf:
> 
> 	options snd-via82xx dxs_support=2
> 
> (or dxs_support=3)
> 
> and run "/etc/init.d/alsasound restart".
> 
> note that the option above is available only on the very recent ALSA 
> version.

A solution is found! But I'd like to understand why the other failed:

Wizard root # aplay -D hw:0,1 /home/mark/data/wave/seque~10.wav 
Playing WAVE '/home/mark/data/wave/seque~10.wav' : Signed 16 bit Little
Endian, Rate 44100 Hz, Mono

And I get sound just fine...

Why is specifying the device required? As root I have no .asoundrc file,
but as a user I do:


pcm.via82xx {
    type hw
    card 0
}

ctl.via82xx {
    type hw
    card 0
}



Apparently my version is not new enough for your new option:

Wizard modules.d # /etc/init.d/alsasound restart
 * Shutting down ALSA
modules....                                         [ ok ]
 * Initialising ALSA....
 * Starting sound driver: snd-via82xx Warning: ignoring dxs_support=2,
no such parameter in this module
Module snd-via82xx loaded, with
warnings                                  [ ok ]
 
Wizard modules.d # 

And pcm2p did not exist...

Wizard root # ls /proc/asound/card0/
ac97#0  ac97#0regs  id  pcm0c  pcm0p  pcm1c  pcm1p
Wizard root # 


Wizard root # aplay -v /home/mark/data/wave/seque~10.wav 
Playing WAVE '/home/mark/data/wave/seque~10.wav' : Signed 16 bit Little
Endian, Rate 44100 Hz, Mono
Plug PCM: Hardware PCM card 0 'VIA 8235' device 0 subdevice 0

Its setup is:
stream       : PLAYBACK
access       : RW_INTERLEAVED
format       : S16_LE
subformat    : STD
channels     : 1
rate         : 44100
exact rate   : 44100 (44100/1)
msbits       : 16
buffer_size  : 22050
period_size  : 4410
period_time  : 100000
tick_time    : 10000
tstamp_mode  : NONE
period_step  : 1
sleep_min    : 0
avail_min    : 4410
xfer_align   : 4410
start_threshold  : 22050
stop_threshold   : 22050
silence_threshold: 0
silence_size : 0
boundary     : 1445068800
aplay: pcm_write:1025: write error: Input/output error
Wizard root # 






-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

  parent reply	other threads:[~2003-06-03  4:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-19  0:05 aplay: pcm_write:1025: write error & SNDRV_PCM_IOCTL_PREPAREfailed:device or resource busy Mark Knecht
2003-05-21 11:09 ` Takashi Iwai
2003-05-30  4:43   ` Mark Knecht
2003-06-02 11:11     ` Takashi Iwai
2003-06-02 13:41       ` Mark Knecht
2003-06-02 13:55         ` Takashi Iwai
2003-06-02 14:20           ` Mark Knecht
2003-06-02 14:25             ` Takashi Iwai
2003-06-02 14:33               ` Mark Knecht
2003-06-02 14:46                 ` Takashi Iwai
2003-06-03  4:14               ` Mark Knecht [this message]
2003-06-02 14:35           ` Mark Knecht
2003-06-02 14:48             ` Takashi Iwai
2003-06-02 14:59               ` Mark Knecht
2003-06-02 14:49             ` David E. Storey

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=1054613645.1430.23.camel@Wizard.knechthome.com \
    --to=markknecht@attbi.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=mknecht@controlnet.com \
    --cc=tiwai@suse.de \
    /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