Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45919 - ALSA: no poliphony
Summary: ALSA: no poliphony
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-27 12:25 UTC by crusaderky
Modified: 2004-04-17 00:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crusaderky 2004-03-27 12:25:45 UTC
I can't get two ALSA applications to work contemporaneously, without using dmix or a sound server.

I've got
alsa-lib-1.0.3b-r1
alsa-oss-1.0.3a
alsa-tools-1.0.3
alsa-utils-1.0.3
alsaplayer-0.99.75-r1

I'm using the kernel modules.




$ grep subdevices /proc/asound/card0/pcm0p/sub0/info
subdevices_count: 1
subdevices_avail: 1




$ cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.2c emulation code)
Kernel: Linux crusaderbox 2.6.4-gentoo #1 Mon Mar 15 18:57:08 CET 2004 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
C-Media PCI CMI8738-MC6 (model 55) at 0xb000, irq 17

Audio devices:
0: C-Media PCI DAC/ADC (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: CMedia PCI



$ cat /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf-rc,v 1.1 2002/12/21 06:31:52 agenkin Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd_cmipci
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-28 16:34:00 UTC
are you sure your card is really full duplex?
Comment 2 crusaderky 2004-03-29 11:39:42 UTC
According to specifications, it is.... both playback and recording.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-29 14:39:16 UTC
did this work when you were using older drivers?  This smells like an upstream bug to me, so you can probablly get better help on alsa's bug tracker or mailing lists... keep me updated here so I can include a fix.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-17 00:34:38 UTC
send this upstream to the alsa devs...