« Return to Thread: [Christmas] Both ALSA and OSS sound devices

Re: [Christmas] Both ALSA and OSS sound devices

by Nicolas Boullis :: Rate this Message:

Reply to Author | View in Thread

Hi Jan,

On Sun, Jan 04, 2009 at 11:05:27AM +0100, Jan Willies wrote:
>
> I could hear sound through the analog jack but not via optical back then.

When we are successful with analog, it should not be too complex to
switch to digital (but not optical) output...

>
> > 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).
>
> /usr/share/alsa/cards/EM8300.conf is in place.

That's fine.


> > 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...)
>
> [jan@server modules]$ LANG=C aplay -D default:CARD=EM8300
(...)

Hmmm... my syntax must be broken. What about "default:EM8300",
"default:0" or simply "default"?
Not that I think you have to specify a file (probably uncompressed) to
play.


> [jan@server modules]$ aplay -lL
> aplay: device_list:217: no soundcards found...

That certainly does not seem good; I'll see later how it works on my
system (when I'm back home).

>
> [jan@server modules]$ LANG=C alsaplayer --verbose -o alsa -d plughw:0,0
> bla.mp3
(...)

It looks very bad.
I would not recommend using plughw since it does not unswap the left and
right channels, and also does not implement volume control.


> [jan@server modules]$ cat /proc/asound/devices
>    0: [ 0]   : control
>    1:        : sequencer
>   16: [ 0- 0]: digital audio playback
>   17: [ 0- 1]: digital audio playback
>   33:        : timer

At first sight, it looks fine.


> > Hmmm... Also that's unreated to sound, this is an interesting
> > information: it seems that your EEPROM chip did not acknowledge the i2c
> > communication... :-/
>
> It's not always that I get these NAK bailout messages.

It might be kernel-version dependant... I'll chec this as well...


Cheers,

Nicolas

------------------------------------------------------------------------------
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

 « Return to Thread: [Christmas] Both ALSA and OSS sound devices