Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA stopped working suddenly.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
knud
n00b
n00b


Joined: 27 Jan 2004
Posts: 5
Location: Trondheim, Norway

PostPosted: Fri Feb 13, 2004 1:09 pm    Post subject: ALSA stopped working suddenly. Reply with quote

Hi!

Upgraded gcc, xfree and kde the other day and afterwards sound won't work. It is not arts-related because sound won't even work in console or WindowMaker.

Symptoms:

When I open an mp3 file with xmms the file will simply not play. Same happens with zinf, mplayer, the lot! Tried reemerging alsa-driver, xmms and alsa-xmms with no results. But when I try aplay I get an error:
Code:
$ aplay /usr/kde/3.2/share/sounds/KDE_Click.wav
Playing WAVE '/usr/kde/3.2/share/sounds/KDE_Click.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo
ALSA lib pcm_hw.c:523:(snd_pcm_hw_drain) SNDRV_PCM_IOCTL_DRAIN failed: Input/output error
$


What is wrong here?

I use kernel 2.4.22-gentoo-r5, and my lsmod is
Code:

Module                  Size  Used by    Tainted: P 
snd-pcm-oss            39108   0
snd-mixer-oss          13200   1  [snd-pcm-oss]
snd-via82xx            13696   1  (autoclean)
snd-ac97-codec         43032   0  (autoclean) [snd-via82xx]
snd-pcm                65188   0  (autoclean) [snd-pcm-oss snd-via82xx]
snd-page-alloc          6260   0  (autoclean) [snd-via82xx snd-pcm]
snd-mpu401-uart         3680   0  (autoclean) [snd-via82xx]
snd-rawmidi            14112   0  (autoclean) [snd-mpu401-uart]
snd-seq-oss            27360   0  (unused)
snd-seq-midi-event      3776   0  [snd-seq-oss]
snd-seq                40208   2  [snd-seq-oss snd-seq-midi-event]
snd-timer              15396   0  [snd-pcm snd-seq]
snd-seq-device          4176   0  [snd-rawmidi snd-seq-oss snd-seq]
snd                    34660   0  [snd-pcm-oss snd-mixer-oss snd-via82xx snd-ac97-codec snd-pcm snd-mpu401-uart snd-rawmidi snd-seq-oss snd-seq-midi-event snd-seq snd-timer snd-seq-device]
soundcore               4196   6  [snd]
nvidia               1631168  11
sg                     28748   0  (unused)
ide-scsi               10160   0
scsi_mod               96724   2  [sg ide-scsi]
hid                    21572   0  (unused)
ehci-hcd               18248   0  (unused)
usb-uhci               24236   0  (unused)
usbcore                40640   0  [hid ehci-hcd usb-uhci]
mousedev                4276   1
input                   3744   0  [hid mousedev]
via-rhine              14320   1
crc32                   2912   0  [via-rhine]


My soundcard is an onboard VIA VT8233/A/8235 AC97 Audio Controller.

Regards,
Øyvind Knudsen
Back to top
View user's profile Send private message
marvin
n00b
n00b


Joined: 29 Jan 2003
Posts: 58

PostPosted: Fri Feb 13, 2004 5:38 pm    Post subject: Reply with quote

Do you have already tried to set the volume with alsamixer (in pkg media-sound/alsa-utils)?
Depending on your alsa version 4 controls named VIA DXS may show up (scroll to the right in alsamixer) which have to be set to 100%. And of course Master and PCM should not be zero.

Are your alsa-libs and alsa-drives the same version? Perhaps they are not compatible.

You could also try a more recent version of alsa. I have 1.0.1 installed and it works, but then I also have kernel 2.6.2.
_________________
Join the adopt an unanswered post initiative today!
Back to top
View user's profile Send private message
knud
n00b
n00b


Joined: 27 Jan 2004
Posts: 5
Location: Trondheim, Norway

PostPosted: Mon Feb 16, 2004 12:21 pm    Post subject: Reply with quote

The DXS controls were set to 0%. Setting them to 100% fixed the problem. Thanks for the help!

Øyvind Knudsen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum