WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: proble with audio test  (Read 5450 times)

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
proble with audio test
« on: August 02, 2010, 03: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

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: proble with audio test
« Reply #1 on: August 02, 2010, 03:54:02 AM »
Code: [Select]
sudo find / -iname libasound*
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
Re: proble with audio test
« Reply #2 on: August 02, 2010, 03:58:56 AM »
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

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: proble with audio test
« Reply #3 on: August 02, 2010, 04:48:38 AM »
Personally i couldn't help much with your particular set up...

Couldn't harm though to:
Code: [Select]
sudo ldconfig
and then run
Code: [Select]
sudo alsaconf
again and see what happens.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
Re: proble with audio test
« Reply #4 on: August 02, 2010, 04:53:14 AM »
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

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: proble with audio test
« Reply #5 on: August 02, 2010, 05:08:48 AM »
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.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
Re: proble with audio test
« Reply #6 on: August 02, 2010, 05:42:42 AM »
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

Offline 3rail

  • Full Member
  • ***
  • Posts: 114
Re: proble with audio test
« Reply #7 on: August 02, 2010, 07:52:44 AM »
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
« Last Edit: August 02, 2010, 07:54:33 AM by 3rail »

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
Re: proble with audio test
« Reply #8 on: August 03, 2010, 11:04:00 AM »
thank you very much, I tried it and it works.
that rare is the problem with alsa

aus9

  • Guest
Re: proble with audio test
« Reply #9 on: August 03, 2010, 03:40:46 PM »
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

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
Re: proble with audio test
« Reply #10 on: August 04, 2010, 01:03:14 AM »
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

aus9

  • Guest
Re: proble with audio test
« Reply #11 on: August 04, 2010, 05:14:47 AM »
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)



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



« Last Edit: August 04, 2010, 05:18:27 AM by aus9 »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: proble with audio test
« Reply #12 on: August 04, 2010, 12:18:23 PM »
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?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

aus9

  • Guest
Re: proble with audio test
« Reply #13 on: August 04, 2010, 03:57:30 PM »
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
« Last Edit: August 04, 2010, 04:01:36 PM by aus9 »

aus9

  • Guest
Re: proble with audio test
« Reply #14 on: August 04, 2010, 04:03:34 PM »
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