Tiny Core Extensions > TCE Talk

alsa issues

<< < (3/7) > >>

Jason W:
Great, there are also two things I noticed that have to be done that can be put in the extension start script:

mknod /dev/dsp c 14 3
mknod /dev/mixer c 14 3
modprobe snd_pcm_oss
modprobe snd_mixer_oss

I have not rebooted and tested what udev and such does if alsa is loaded during boot, but I had to do the above to make alsa-oss work.  No harm in putting a test case for each of those commands and issuing them if needed.  I will post it then.

jpeters:
Almost there....alsamixer  now works. I'm not getting any sound yet out of xmms, probably due to missing libs and OSS sound.h header.

Still getting:


--- Code: ---ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
--- End code ---

edit: lsmod:


--- Code: ---snd_pcm                57092  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
--- End code ---

Jason W:
That is most likely due to the fact that alsaconf deletes the /dev/dsp and /dev/mixer files.  I have noticed that too and I have a solution that I am running by Juanito now.  For a workaround, see if this works:

mknod /dev/dsp c 14 3
mknod /dev/mixer c 14 3

That restores alsa-oss for me, and an update should be soon to resolve the issue.

jpeters:

--- Quote from: Jason W on February 07, 2009, 08:11:47 PM ---That is most likely due to the fact that alsaconf deletes the /dev/dsp and /dev/mixer files.  I have noticed that too and I have a solution that I am running by Juanito now.  For a workaround, see if this works:

mknod /dev/dsp c 14 3
mknod /dev/mixer c 14 3

That restores alsa-oss for me, and an update should be soon to resolve the issue.

--- End quote ---

I already made them, re your last post (/dev/mixer, dev/dsp).  This error occurs when skype dials a number, using alsa.  I doesn't seem to affect anything, however, as the sound works fine.  Not so with xmms, however, where there's no sound.  Interestingly....there's no error message  if loading from the terminal "xmms music.mp3". Xmms loads and plays as if muted; volume appears to be up on alsamixer.   

tc@box:~$ skype
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

Jason W:
That same behavior was noticed with XMMS and is fixed with what is being discussed about the alsa extensions.  Hopefully by tomorrow the solution can be uploaded and further tested.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version