2 Jan 2009 12:11
Re: [Christmas] Both ALSA and OSS sound devices
Jan Willies <jan <at> willies.info>
2009-01-02 11:11:37 GMT
2009-01-02 11:11:37 GMT
Hi Nicolas,
Nicolas Boullis schrieb:
> The patch is somewhat invasive; it would be nice if as many people as
> possible could give it a try (even if you only use a style of audio
> device). Please give it a try and report back!
OSS plays fine but I can't get ALSA to work. I can't use alsaplayer or
alsamixer:
[jan <at> server em8300-nboullis]$ alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or
directory
[root <at> server ~]# cat /sys/module/em8300/parameters/audio_driver
alsa,alsa,alsa,alsa
[root <at> server ~]# cat /proc/asound/cards
0 [EM8300 ]: EM8300 - Sigma Designs' EM8300
Sigma Designs' EM8300
[jan <at> server modules]$ ll /dev/dsp
lrwxrwxrwx 1 root root 9 2. Jan 12:07 /dev/dsp -> sound/dsp
Jan 2 12:03:21 server Sigma Designs EM8300 0000:02:05.0: PCI INT A ->
GSI 17 (level, low) -> IRQ 17
Jan 2 12:03:21 server em8300-0: EM8300 8300 (rev 2) <6>bus: 2, devfn:
40, irq: 17, <6>memory: 0xf4100000.
Jan 2 12:03:21 server em8300-0: mapped-memory at 0xd0f80000
Jan 2 12:03:21 server em8300-0: using MTRR
(Continue reading)
> but I can't get ALSA to work. I can't use alsaplayer or
> alsamixer:
>
> [jan <at> server em8300-nboullis]$ alsamixer
> alsamixer: function snd_ctl_open failed for default: No such file or
> directory
Hmmm...
Did you use the ALSA-style audio device of the em8300 driver before?
The EM8300 chip has no hardware volume control so alsamixer is not
expected to find anything...
Well, not exacly in fact: if you have /usr/share/alsa/cards/EM8300.conf
installed (or wherever you preferred distro puts its ALSA configuration
files), you'll have software-emulated volume control. But unless I'm
mistaken, it requires that the PCM device is open (or has been opened).
What if you try to play some sound with
aplay -D default:CARD=EM8300
? (I hope the syntax is good, I'm still away from my H+ and DXR3
boards...)
RSS Feed