LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-13-2005, 08:54 AM   #1
raven.sorrow
Member
 
Registered: Oct 2004
Distribution: Gentoo/FBSD/Slack
Posts: 65

Rep: Reputation: 15
Question 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?
 
Old 12-13-2005, 02:07 PM   #2
CatGrampy
LQ Newbie
 
Registered: Aug 2005
Location: SoCal Desert
Distribution: SUSE 10.1
Posts: 18

Rep: Reputation: 0
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.
 
Old 12-13-2005, 03:44 PM   #3
raven.sorrow
Member
 
Registered: Oct 2004
Distribution: Gentoo/FBSD/Slack
Posts: 65

Original Poster
Rep: Reputation: 15
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?
 
  


Reply



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
Xandros delux 2.0 When I try to run Sound server Control ,Media Player & Sound Record Jesta Linux - Distributions 0 05-15-2004 09:35 PM
Sound not working with Kernel 2.6, ALSA, FC1, C-media 8738 crdiscoverer Linux - Hardware 5 03-01-2004 02:13 AM
C-Media (cm8738) sound card & alsa problems BBQ_Matt Linux - Hardware 3 02-05-2004 03:39 AM
flaky sound on alsa 0.9rc8 with c-media on the mobo LavaDevil94 Linux - Hardware 16 12-03-2003 03:37 PM
problem with sound device on alsa 0.90rc8 with onboard c-media LavaDevil94 Linux - Hardware 0 11-15-2003 04:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:50 PM.

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