You are not logged in.

#1 2007-08-01 15:24:20

haole
Member
Registered: 2006-08-16
Posts: 17

C-Media 8738 sound card with alsa getting only noise

The title says it all: everything seems to be correct, except that every sound in my computer looks like "cat /dev/urandom > /dev/dsp".

Does anyone have any idea of what is wrong?

lsmod | grep snd

snd_cmipci             31104  1 
gameport               11784  1 snd_cmipci
snd_opl3_lib            8704  1 snd_cmipci
snd_hwdep               7300  1 snd_opl3_lib
snd_mpu401_uart         7040  1 snd_cmipci
snd_rawmidi            19232  1 snd_mpu401_uart
snd_seq_oss            29312  0 
snd_seq_midi_event      6528  1 snd_seq_oss
snd_seq                46672  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          6924  4 snd_opl3_lib,snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss            38560  0 
snd_pcm                69124  2 snd_cmipci,snd_pcm_oss
snd_timer              19204  3 snd_opl3_lib,snd_seq,snd_pcm
snd_page_alloc          7816  1 snd_pcm
snd_mixer_oss          14592  1 snd_pcm_oss
snd                    44644  14 snd_cmipci,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               6496  1 snd

rc.conf

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="pt_BR.iso88591"
HARDWARECLOCK="localtime"
TIMEZONE="Brazil/East"
KEYMAP="br-abnt2"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(capability 8139too 3c59x mii slhc snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-seq snd-hwdep snd-page-alloc snd-pcm snd-rawmidi snd-timer snd snd-mpu401-uart snd-opl3-lib snd-cmipci soundcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="santos"
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="eth0  10.1.1.4 netmask 255.255.255.0 broadcast 10.1.1.255"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 10.1.1.1"
ROUTES=(gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond dbus avahi-daemon avahi-dnsconfd samba alsa)


# End of file

ls -l /dev/snd/

total 0
crw-rw---- 1 root audio 116,  0 2007-08-01 08:51 controlC0
crw-rw---- 1 root audio 116,  4 2007-08-01 08:51 hwC0D0
crw-rw---- 1 root audio 116, 24 2007-08-01 08:51 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2007-08-01 08:51 pcmC0D0p
crw-rw---- 1 root audio 116, 17 2007-08-01 08:51 pcmC0D1p
crw-rw---- 1 root audio 116, 26 2007-08-01 08:51 pcmC0D2c
crw-rw---- 1 root audio 116, 18 2007-08-01 08:51 pcmC0D2p
crw-rw---- 1 root audio 116,  1 2007-08-01 08:51 seq
crw-rw---- 1 root audio 116, 33 2007-08-01 08:51 timer

Offline

#2 2007-08-02 16:05:40

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: C-Media 8738 sound card with alsa getting only noise

Udev should be able to sort out the soundcard automagically, without having all the drivers loaded explicitly in the MODULES line of /etc/rc.conf.

The only other thing I can see that's any different to my setup is that I don't have hwC0D0 in /dev/snd, but that's probably because we have different cards, albeit with the same chipset.


0 Ok, 0:1

Offline

Board footer

Powered by FluxBB