LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   C-Media & ALSA Sound Issues (https://www.linuxquestions.org/questions/linux-general-1/c-media-and-alsa-sound-issues-392333/)

raven.sorrow 12-13-2005 08:54 AM

C-Media & ALSA Sound Issues
 
I have an AMD Athlon that was gifted to me and it has a C-Media sound card that came built on-to the motherboard.
Code:

LittleGeek dev # lspci | grep C-Media
0000:00:0e.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
LittleGeek dev #

To know more about my system you can go to this link
System Information

As far as I can tell, portage says I have everything installed as far as ALSA excpt for media-sound/alsa-driver becaue I have the ALSA Drivers compiled into the kernel.
Code:

LittleGeek ~ # emerge -vp alsa-lib alsa-oss xmms-alsa alsa-firmware alsa-headers alsa-utils alsamixergui alsa-driver

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  R  ] media-libs/alsa-lib-1.0.10_rc3  -doc -jack 0 kB
[ebuild  R  ] media-libs/alsa-oss-1.0.10_rc3  0 kB
[ebuild  R  ] media-plugins/xmms-alsa-1.2.10-r2  0 kB
[ebuild  R  ] media-sound/alsa-firmware-1.0.8-r1  0 kB
[ebuild  R  ] media-sound/alsa-headers-1.0.10_rc3  0 kB
[ebuild  R  ] media-sound/alsa-utils-1.0.10_rc3  +nls 0 kB
[ebuild  R  ] media-sound/alsamixergui-0.9.0.1.2-r4  0 kB
[ebuild  N    ] media-sound/alsa-driver-1.0.10_rc3  -doc +oss 0 kB

Total size of downloads: 0 kB
LittleGeek ~ #


I am able to get some sound ..... via XMMS/XINE/WINE.
I am *NOT* able to get sound via games such as Chrumium B.S.U.
Code:

xaero@LittleGeek ~/public_html/images $ chromium
randomizing.
SDL initialized.
video mode set (bpp=32 RGB=888 depth=16)
-OpenGL-----------------------------------------------------
Vendor    : Mesa project: www.mesa3d.org
Renderer  : Mesa GLX Indirect
Version    : 1.2 (1.5 Mesa 6.2.1)
Extensions :
GL_ARB_imaging                  GL_ARB_multitexture
GL_ARB_texture_border_clamp    GL_ARB_texture_cube_map
GL_ARB_texture_env_add          GL_ARB_texture_env_combine
GL_ARB_texture_env_dot3        GL_ARB_transpose_matrix
GL_EXT_abgr                    GL_EXT_blend_color
GL_EXT_blend_minmax            GL_EXT_blend_subtract
GL_EXT_texture_env_add          GL_EXT_texture_env_combine
GL_EXT_texture_env_dot3        GL_EXT_texture_lod_bias
------------------------------------------------------------
1 CDROM drive(s).
ERROR! Could not access CDROM device 0 :
open /dev/[sound/]dsp: No such device
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! ATTENTION !! - one or more errors were encountered during audio check.
!!                Audio will be disabled.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
...startup complete.
high scores:
01/01/2000          nobody 250000
01/01/2000          nobody 200000
01/01/2000          nobody 150000
01/01/2000          nobody 100000
01/01/2000          nobody 50000
exit.
wrote config file (/home/xaero/.chromium)
done.

Download the latest version of Chromium B.S.U. at
http://www.reptilelabour.com/software/chromium

xaero@LittleGeek ~/public_html/images $

as you can see it is looking at /dev/dsp and /dev/sound/dsp which arn't my sound devices. After doing some experimenting, I've found that /dev/dsp1 /dev/sound/dsp1 are my sound devices. This was acheived by doing the following command.
Code:

xaero@LittleGeek ~ $ cat /dev/urandom > /dev/sound/dsp1

xaero@LittleGeek ~ $ cat /dev/urandom > /dev/sound/dsp
bash: /dev/sound/dsp: No such device
xaero@LittleGeek ~ $

'catting' to dsp says no such device but catting to dsp1 and I get static on the speakers. I am also unable to acheive sound from applications such as GAIM or thunderbird (thunderbird is supposed to provide a styalized ding when new mail is received, instead I get a PC-Speaker DING that is load and just sounds very bad and ugly).

So given the information provided can someone help me get my sound working?

CatGrampy 12-13-2005 02:07 PM

Hmmm, as I like to try the different kernels on my ancient PIII system, I have found that compiling the alsa drivers after installing the 'new' kernel gets the sound working every time. I have the same sound chip on my sound card.

raven.sorrow 12-13-2005 03:44 PM

The Kernel Level ALSA Drivers are compiled into the kernel. Should I recompile my kernel and OPT-out on the Kernel Level ALSA Drivers and use media-sound/alsa-driver instead?


All times are GMT -5. The time now is 03:22 PM.