Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: ordep on February 22, 2016, 07:21:20 PM
-
Unable yet to play an audio CD.
In alsamixer all needed controls are up.
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
aplay track01.cdda.wav (extracted from CD)
ALSA lib conf.c:3512:(snd_config_hook_load) cannot stat file/directory /usr/local/share/alsa/cards/aliases.conf
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.default
aplay: main:722: audio open error: No such file or directory
xmms tells me
Please check that you soundcard is configured properly
You have the correct output plugin selected
So what am I missing?
-
There was an example of a similar problem in a recent thread:
http://forum.tinycorelinux.net/index.php/topic,19621.msg121576.html#msg121576
-
Thanks!
Just now listening to an audio CD on xmms.
And after 3rd track xmms crashed and does not come-up anymore.
-
do you get an error message when you try to run xmms from a terminal window?
-
do you get an error message when you try to run xmms from a terminal window?
No messages whatsoever.
On reboot xmms started again then hang configuring drive on "check drive". Had to use xkill.
I have it installed as OnDemand.
-
xmms needs to be configured for alsa, so it's possible that loading it ondemand might cause problems if it is loaded before alsa is installed/configured.
-
Made a new install for version 7.0
xmms is playing audio CD nicely except there is no sound.
aplay plays as well w/o any error messages, except there is no sound.
alsamixer all controls are up, same for volume in xmms.
Now I am at a loss. ???
$ sudo slocate /mnt/sdb4/tce/optional/alsa*
/mnt/sdb4/tce/optional/alsa-config.tcz.dep
/mnt/sdb4/tce/optional/alsa-config.tcz.md5.txt
/mnt/sdb4/tce/optional/alsa-config.tcz
/mnt/sdb4/tce/optional/alsa-config.tcz.dep
/mnt/sdb4/tce/optional/alsa-config.tcz.md5.txt
/mnt/sdb4/tce/optional/alsa-modules-4.2.9-tinycore.tcz.dep
/mnt/sdb4/tce/optional/alsa-modules-4.2.9-tinycore.tcz.md5.txt
/mnt/sdb4/tce/optional/alsa-modules-4.2.9-tinycore.tcz
/mnt/sdb4/tce/optional/alsa-modules-4.2.9-tinycore.tcz.dep
/mnt/sdb4/tce/optional/alsa-modules-4.2.9-tinycore.tcz.md5.txt
/mnt/sdb4/tce/optional/alsa-plugins.tcz.dep
/mnt/sdb4/tce/optional/alsa-plugins.tcz.md5.txt
/mnt/sdb4/tce/optional/alsa-plugins.tcz
/mnt/sdb4/tce/optional/alsa-plugins.tcz.dep
/mnt/sdb4/tce/optional/alsa-plugins.tcz.md5.txt
/mnt/sdb4/tce/optional/alsa.tcz.dep
/mnt/sdb4/tce/optional/alsa.tcz.md5.txt
/mnt/sdb4/tce/optional/alsa.tcz
/mnt/sdb4/tce/optional/alsa.tcz.dep
/mnt/sdb4/tce/optional/alsa.tcz.md5.txt
-
A couple of suggestions based on recent posts and my hardware:
* you might have to mute the headphones channel to get sound out of the speakers
* hdmi might be the default device rather than the speakers
* you might need to load the alsa-config extension before the alsa extension (this requires editing the alsa-config dep file locally)
What does "aplay -l" output?
-
A couple of suggestions based on recent posts and my hardware:
* you might have to mute the headphones channel to get sound out of the speakers
* hdmi might be the default device rather than the speakers
* you might need to load the alsa-config extension before the alsa extension (this requires editing the alsa-config dep file locally)
What does "aplay -l" output?
* headphones are muted
* hdmi how would I change that?
* that was done
~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
~$ lsmod
Module Size Used by Tainted: G
snd_usb_audio 86016 0
snd_hda_codec_realtek 45056 1
snd_usbmidi_lib 20480 1 snd_usb_audio
snd_hda_codec_generic 36864 1 snd_hda_codec_realtek
snd_rawmidi 16384 1 snd_usbmidi_lib
snd_seq_device 12288 1 snd_rawmidi
snd_hda_intel 20480 3
snd_hda_codec 53248 3 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
snd_hwdep 12288 2 snd_usb_audio,snd_hda_codec
snd_hda_core 24576 4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec
snd_pcm 49152 5 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 20480 2 snd_pcm
snd 36864 15 snd_usb_audio,snd_hda_codec_realtek,snd_usbmidi_lib,snd_hda_codec_generic,snd_rawmidi,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 12288 1 snd
-
It doesn't look like you have hdmi, so you don't have to worry about that.
As long as the "master" is un-muted by alsamixer, it looks like things should work?
Did you try modifying your alsa-config dep file locally to remove the dep on alsa? Once done, reboot then load alsa-config followed by alsa.
-
It doesn't look like you have hdmi, so you don't have to worry about that.
As long as the "master" is un-muted by alsamixer, it looks like things should work?
Did you try modifying your alsa-config dep file locally to remove the dep on alsa? Once done, reboot then load alsa-config followed by alsa.
Did as suggested, rebooted, xmms started to play for a split second then hang. xkilled.
Rebooted and extracting extensions stopped at soundtouch. Got only into console. In mc deleted soundtouch.
Rebooted, extracting extensions stopped at sdl-sound. Can get into console. No X.
Seems I am screwed now :'(
If I will recover I will forget about xmms and see if sound will play in firefox..
-
When something like this happens, it's better to boot with the boot codes "base norestore".
Deleting extensions like that will cause problems if other extensions depend on them - it would be better to remove extensions from onboot.lst.
For the few seconds xmms played did you hear any sound?
Were you using Xvesa, Xfbdev or Xorg-7.7?
I've never, ever managed to crash xmms :P
-
When something like this happens, it's better to boot with the boot codes "base norestore".
Deleting extensions like that will cause problems if other extensions depend on them - it would be better to remove extensions from onboot.lst.
For the few seconds xmms played did you hear any sound?
Were you using Xvesa, Xfbdev or Xorg-7.7?
I've never, ever managed to crash xmms :P
There was a sound.
Possibly Xorg-7.7
And I saw it crash or hang now quite a few times. ::)
-
How much RAM does the system have?
Run memtest86.
-
How much RAM does the system have?
Run memtest86.
There is no memtest86, however:
$ free
total used free shared buffers cached
Mem: 2062100 826224 1235876 198180 54376 440752
-/+ buffers/cache: 331096 1731004
Swap: 505264 0 505264
-
Version 7.0
Made a complete new install on USB stick from CD.
Installed alsa-config then alsa.
aplay *.wav; no sound. :(
Rebooted
aplay *wav: THERE IS SOUND. :D :D
There is sound now playing a video in firefox.
Will not attempt to load xmms. May be on another stick when I have time.
-
Memtest86 is included it many install or live ISOs of several distros. Started from the boot manager, instead of the OS, and checking the memory for errors.
-
Maybe it would help some more folks to get ALSA working by adding some more commonly used files from alsa-config.tvz to alsa.tcz (because alsa-config.tcz seems to be the solltion for most of these questions)? Or merging them entirely, eliminating the need for the user to adjust .dep files?
-
I'm loathe to merge the extensions as that would mean an additional +/- 1mb of alsa-config extension for those that only require the alsa extension for things to work.
It does look like it might make sense to remove the alsa dep from alsa-config and add an explanation to the info files.
-
There is a further issue with some sound hardware (i.e. mine) that, because the default (card 0) is hdmi, sound will not work with Xvesa (with or without alsa-config loaded first):
$ tce-load -i alsa
ncurses.tcz: OK
libasound.tcz: OK
input-joystick-4.2.9-tinycore.tcz: OK
alsa-modules-4.2.9-tinycore.tcz: OK
alsa.tcz: OK
snd_hda_intel 0000:00:03.0: failed to add i915 component master (-19)
$ alsamixer
cannot open mixer: No such file or directory
If Xorg-7.7 is loaded before alsa, then everything works OK.
-
alsa removed from alsa-config dep file and comments added to alsa/alsa-config info files.
-
www.memtest86.com/
-
alsa removed from alsa-config dep file and comments added to alsa/alsa-config info files.
On a new USB stick installation loaded only alsa-config. Then rebooted and there is sound.
Without reboot there is no sound.