Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: jjreina on August 02, 2010, 06:47:56 AM
-
I do:
tc@box:/$ aplay /mnt/sdc1/Front_Center.wav
aplay: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
i have installed libasound.tcz but nothing, too i hava searched in the forums
Any suggest, thaks
-
sudo find / -iname libasound*
-
tinypoodle thank you very much, sorry to be heavy, but I'm very noob xxDD
tc@box:/usr$ sudo find -name libasound.so.2
./local/lib/libasound.so.2
tc@box:/usr$ cd ..
tc@box:/$ sudo find / -iname libasound*
/mnt/hda3/tce/libasound.tcz.md5.txt
/mnt/hda3/tce/libasound.tcz
/mnt/hda3/tclocal/tce.installed/libasound
/mnt/hda3/tclocal/lib/libasound.so.2
/mnt/hda3/tclocal/lib/libasound.so.2.0.0
/mnt/hda3/tclocal/lib/libasound.la
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_pcm_oss.so
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_ctl_arcam_av.la
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_pcm_upmix.so
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_rate_speexrate.so
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_pcm_vdownmix.la
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_rate_speexrate.la
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_pcm_vdownmix.so
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_pcm_upmix.la
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_pcm_oss.la
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_pcm_usb_stream.so
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_rate_speexrate_best.so
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_rate_speexrate_medium.so
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_ctl_arcam_av.so
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_ctl_oss.la
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_ctl_oss.so
/mnt/hda3/tclocal/lib/alsa-lib/libasound_module_pcm_usb_stream.la
/mnt/hda3/tclocal/lib/libasound.so
/usr/local/tce.installed/libasound
/usr/local/lib/libasound.so.2
/usr/local/lib/libasound.so.2.0.0
/usr/local/lib/libasound.la
/usr/local/lib/alsa-lib/libasound_module_pcm_oss.so
/usr/local/lib/alsa-lib/libasound_module_ctl_arcam_av.la
/usr/local/lib/alsa-lib/libasound_module_pcm_upmix.so
/usr/local/lib/alsa-lib/libasound_module_rate_speexrate.so
/usr/local/lib/alsa-lib/libasound_module_pcm_vdownmix.la
/usr/local/lib/alsa-lib/libasound_module_rate_speexrate.la
/usr/local/lib/alsa-lib/libasound_module_pcm_vdownmix.so
/usr/local/lib/alsa-lib/libasound_module_pcm_upmix.la
/usr/local/lib/alsa-lib/libasound_module_pcm_oss.la
/usr/local/lib/alsa-lib/libasound_module_pcm_usb_stream.so
/usr/local/lib/alsa-lib/libasound_module_rate_speexrate_best.so
/usr/local/lib/alsa-lib/libasound_module_rate_speexrate_medium.so
/usr/local/lib/alsa-lib/libasound_module_ctl_arcam_av.so
/usr/local/lib/alsa-lib/libasound_module_ctl_oss.la
/usr/local/lib/alsa-lib/libasound_module_ctl_oss.so
/usr/local/lib/alsa-lib/libasound_module_pcm_usb_stream.la
/usr/local/lib/libasound.so
-
Personally i couldn't help much with your particular set up...
Couldn't harm though to:
sudo ldconfig
and then run
sudo alsaconf
again and see what happens.
-
tc@box:/$ sudo ldconfig
ldconfig: skipping /usr/local/lib/libasound.so.2: No such file or directory
ldconfig: skipping /usr/local/lib/libasound.so.2.0.0: No such file or directory
ldconfig: skipping /usr/local/lib/libusb-1.0.so.0: No such file or directory
ldconfig: skipping /usr/local/lib/libusb-0.1.so.4.4.4: No such file or directory
ldconfig: skipping /usr/local/lib/libusb.so: No such file or directory
ldconfig: skipping /usr/local/lib/libusb-0.1.so.4: No such file or directory
ldconfig: skipping /usr/local/lib/libusb-1.0.so: No such file or directory
ldconfig: skipping /usr/local/lib/libusb-1.0.so.0.0.0: No such file or directory
ldconfig: skipping /usr/local/lib/libasound.so: No such file or directory
tc@box:/$ sudo alsaconf
ERROR: modinfo: could not find module snd
ERROR: modinfo: could not find module snd
ERROR: modinfo: could not find module snd
-
Looks like your whole set up is all broken... :(
If you qualify yourself as "noob", why don't you try with default modes and options first?
You seem to complicate things a lot for yourself in this way first, and also you reduce any chance of getting help from others if you use non defaults without particularly specifying in detail how and why you do so and what you try to achieve.
-
Sorry, but it's a university project and they want embedded system has tc with audio.
I will continue investigating, thank you very much anyway
-
I don't know anything about alsa, but OSS has always worked very well for me. I installed the OSS extension on my TC3.x laptop, downloaded the front_center.wav file from the web (google: front_center.wav + "parent directory"), performed osstest (passed) and then played the wav file using "ossplay front_center.wav".
hth
-
thank you very much, I tried it and it works.
that rare is the problem with alsa
-
hi
I admit the wiki needs expansion
http://wiki.tinycorelinux.com/Setting+up+Sound
but can you advise what exactly do you have installed for alsa please?....Name the packages is what I mean.
b) are you able to use a gui audio player like vlc?
2) did you read this page or from the appsbroswer?
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/alsa.tcz.info
3) I do not have your hardware but I assume you reboot and need sound to persist over reboots.
regards
-
thanks for the info, I read everything and I still have the same problem with alsa driveers.
The extension I installed was alsa.tcz and I have not tried vlc
A greeting and thanks
-
hi
I don't use OSS but you are free to ....the balance assumes you might try alsa ok?
1) simple tests
open a terminal and run command
speakertest
If no sound there can be multiple reasons such as
1) onboard sound disabled at bios
2) hardware failure
3) multiple devices and wrong device has captured index=0 (will be explained later in wiki)
4) current kernel or its modules can not handle your device or needs a setting or quirk
(explained later in wiki)
5) you are not a member of audio group
6) mixer settings are muted or too low
7) One or more settings has not been made Persistent
Lets start with (6)
(http://stashbox.org/968921/alsamixergui.jpeg)
green colour means its On or active and white means disabled or not applicable etc
padlock means left and right channels are "locked" so changing one changes both
Install alsamixergui if you like or another mixer
min to activate are master and speaker....maybe PCM and raise the volumes
2) Irrespective of whether you prefer oss or alsa can you show results for
cat /proc/asound/modules
cat /proc/asound/devices
cat /etc/group
Name your device....and is it a variant of Intel?
If cat asound has no output you have not correctly loaded alsa which we can look at
-
The extension I installed was alsa.tcz
It appears that you have additional extensions like alsa-dev and alsa-plugins installed which are not deps of alsa, but that several files from alsa install can not be found.
There is no way alsa will ever work if alsaconf doesn't run properly.
Have you read and understood "Core Concepts" ?
Did you go through appsaudit to check and configure your extensions, especially the missing dependencies part?
-
tinypoodle
thanks for helping.
I will try to do a min setup in vbox on the weekend to see if its possible to install only alsa and get sound.
In the meantime....cat /proc/asound/modules should catch that alsa is not running?
jjreina
2) if in a terminal you run ....speaker-test.....I believe it complains about missing things if you are missing things as well?
but the man pages does not say
http://linux.die.net/man/1/speaker-test
regards
-
oops
my host site for the alsamixergui is down.
sorry about that.
this affects my other wiki pages as well....I shall adapt on the weekend
-
I have no asound directory inside proc.
When i do: spearker-test->
speaker-test: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
and
tc@box:/$ cat /etc/group
root:x:0:
lp:x:7:lp
nogroup:x:65534:
staff:x:50:
audio:x:1:tc
How go i uninstall extension?
I'd like to start everything from the beginning.
Thanks
-
to anyone my pic server host site is back up....hopefully forever?
jjreina
tc is mentioned at group for audio so that can be eliminated...yippee.
Your cat /proc etc is sufficient to show you do not have all alsa packages installed or not configured.
No need to uninstall your current alsa package ok?
Try to install, Use apps browser.
alsa.tcz
alsa-plugins.tcz
alsamixergui.tcz
alsa-config.tcz
alsa-modules-2.6.33.3-tinycore.tcz.....or ...if you prefer 64 bit change to that package
The order should not matter as TC is smart to check for dependencies.
Reboot
I assume you are using persistence, if not please state what you prefer pls.
On reboot just check for /proc/asound folder ...if there we may not need to follow the advice as per
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/alsa.tcz.info
2) I can not verify until the weekend....good luck
-
Thanks man
work alsamixer, alsamixergui, aplay :)
Thanks very much