Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-01-2012, 03:58 PM   #1
LQ Newbie
Registered: Oct 2007
Posts: 27

Rep: Reputation: 0
Strange ALSA problem - sound works once, but not again.

I have an odd problem with alsa on my beaglebone.
I've spent some time setting up alsa with a usb-snd device, and I've got what seems to be a working setup. The problem occurs when I go to test sound output. After a reboot, sound works fine - once. Then, any subsequent attempts to play sound fail. So for instance, if I use
PHP Code:
$aplay test.wav
Playing WAVE 
'test.wav' Signed 16 bit Little EndianRate 44100 HzStereo 
I get exactly what I would expect. If I try to play the file again, I see the same thing, but hear nothing. I get this error:
PHP Code:
aplaypcm_write:1710write errorInput/output error 
From then on, I get the exact same response from aplay, but no sound.

The same goes for speaker-test, for instance, it only works once and gives an error:

PHP Code:
speaker-test 1.0.25

Playback device is 
Stream parameters are 48000HzS16_LE2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz 
(requested 48000Hz)
Buffer size range from 96 to 262144
Period size range from 48 to 131072
Using max buffer size 262144
was set period_size 
was set buffer_size 
Front Left
Front Right
Write error
: -77,File descriptor in bad state
xrun_recovery failed
: -77,File descriptor in bad state
Transfer failed
Operation not permitted 
Any suggestions?
Old 11-01-2012, 04:04 PM   #2
LQ Newbie
Registered: Oct 2007
Posts: 27

Original Poster
Rep: Reputation: 0
My Alsa Info:
Old 11-02-2012, 09:10 AM   #3
LQ Newbie
Registered: Oct 2007
Posts: 27

Original Poster
Rep: Reputation: 0
Solved, it was an /etc/modules problem.


alsa, sound, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with ALSA, no sound through alsa, oss works SB Live! 5.1 Michalxo Linux - Hardware 2 01-21-2007 05:24 AM
strange, strange alsa problem: sound is grainy/pixellated? fenderman11111 Linux - Software 1 11-01-2004 05:16 PM
Strange sound problem in FC2T3 (ALSA) Thetargos Fedora 0 05-09-2004 05:35 PM
ALSA ESD --> no sound, but OSS sound works intense Slackware 1 03-23-2004 02:34 PM
ALSA sound works...and then goes away bhay Linux - Hardware 3 08-30-2002 05:04 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration