WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] I've got the sound settings crushed.  (Read 9037 times)

Offline ferran

  • Full Member
  • ***
  • Posts: 159
[Solved] I've got the sound settings crushed.
« on: April 18, 2020, 03:07:54 AM »
Hello everybody

Due to serious problems I reciently had with my computer (which have largely been solved) much of the /usr/local/etc/alsa directory has disappeared.

I noticed it right away when neither pulseaudio nor alsactl init were working. So I looked for the root of the problem in alsa.tcz

I tried to uninstall alsa.tcz from the computer from Apps browser to reinstall it but I am informed that it does not let me do so. Instead I tried to reinstall alsa.tcz and have it rewrite what is left but it does nothing.

So I don't know what to do now.

« Last Edit: April 21, 2020, 04:26:09 PM by Rich »
TC CorePlus v.11.1 i686 & lots of coffe

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: I've got the sound settings crushed.
« Reply #1 on: April 18, 2020, 03:27:31 AM »
It's not recommended, but in extremis you can boot "base" "norestore" and manually delete the alsa extensions from your tce/optional directory.

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I've got the sound settings crushed.
« Reply #2 on: April 18, 2020, 04:23:43 AM »
It's not recommended, but in extremis you can boot "base" "norestore" and manually delete the alsa extensions from your tce/optional directory.

Who I must to do this (I don't know no idea)?
TC CorePlus v.11.1 i686 & lots of coffe

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: I've got the sound settings crushed.
« Reply #3 on: April 18, 2020, 08:43:53 AM »
Hi ferran
... I tried to uninstall alsa.tcz from the computer from Apps browser to reinstall it but I am informed that it does not let me do so. Instead I tried to reinstall alsa.tcz and have it rewrite what is left but it does nothing. ...
Before you can  reinstall  an extension, you must finish  uninstalling it:

1. Click  Apps->Maintenance->Dependencies And Deletions.
2. Click the extension you want removed in the  Select  list.
3. Click  Dependencies->Mark for Deletion

Repeat steps 2 and 3 for any other extensions you want to remove.

4. Check the list in the right panel. If it contains something you want to keep, then select it and click the  Delete Item from list  button.
5. Click  Dependencies->Exit Dependency Check
6. Restart your computer.

When your computer comes back up, you have finished uninstalling the extensions.

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I've got the sound settings crushed.
« Reply #4 on: April 18, 2020, 12:15:09 PM »
Rich I did all this already...

In the right box of Deletions appeared this message:

Quote
alsa-dev.tcz
pavucontrol.tcz
pulseaudio.tcz
alsa.tcz cannot be deleted.


When I did restart the PC alsa was there as before

For your info: currently in /usr/local/etc/alsa/ still remains 2 files:

alsa.conf
asound.state

Obvously when i try to do alsactl init in the terminal shows this:

Code: [Select]

tc@box:~$ alsactl init
alsactl: parse:1669: Unable to open file '/usr/local/share/alsa/init/00main': No such file or directory
tc@box:~$

TC CorePlus v.11.1 i686 & lots of coffe

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: I've got the sound settings crushed.
« Reply #5 on: April 18, 2020, 12:54:21 PM »
Hi ferran
OK, I see what's happening. Another installed extension depends on  alsa.tcz.  You can't delete an extension if it is still required
by another extension. Run this:
Code: [Select]
grep -l alsa.tcz /etc/sysconfig/tcedir/optional/*.dep | cut -d/ -f6Thats a lowercase  L  after  grep.

That will give you a list of extensions you need to remove. If you remove them,  alsa.tcz  will automatically be removed.

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I've got the sound settings crushed.
« Reply #6 on: April 19, 2020, 05:56:42 AM »
Rich it's done. I already uninstalled and reinstalled alsa.tcz but the command alsactl init   does not run yet.

Code: [Select]

tc@box:~$ alsactl init
alsactl: parse:1669: Unable to open file '/usr/local/share/alsa/init/00main': No such file or directory

tc@box:~$ cd /usr/local/share/alsa/
tc@box:/usr/local/share/alsa$ ls
files


Only with the reinstallation of alsa.tcz it seems that we have not managed to include the subdirectory init/

« Last Edit: April 19, 2020, 05:59:06 AM by ferran »
TC CorePlus v.11.1 i686 & lots of coffe

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: I've got the sound settings crushed.
« Reply #7 on: April 19, 2020, 06:55:44 AM »
Hi ferran
Code: [Select]
tc@box:~$ alsactl init
alsactl: parse:1669: Unable to open file '/usr/local/share/alsa/init/00main': No such file or directory ...
You are missing  alsa-config.tcz.

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I've got the sound settings crushed.
« Reply #8 on: April 19, 2020, 07:38:19 AM »
I installed alsa-config.tcz already

Now /usr/local/etc/alsa/ and /usr/local/share/alsa/ contains:

Code: [Select]

tc@box:~$ cd /usr/local/etc/alsa/
tc@box:/usr/local/etc/alsa$ ls
asound.state  cards  pcm

tc@box:/usr/local/etc/alsa$ cd /usr/local/share/alsa/
tc@box:/usr/local/share/alsa$ ls
init  speaker-test

tc@box:/usr/local/share/alsa$ alsactl init
sh: alsactl: not found


We're making progress but there's still something missing.

TC CorePlus v.11.1 i686 & lots of coffe

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: I've got the sound settings crushed.
« Reply #9 on: April 19, 2020, 07:46:33 AM »
You should see something like this when alsa-config is loaded before alsa:
Code: [Select]
$ sudo alsactl init
Found hardware: "HDA-Intel" "Intel Haswell HDMI" "HDA:80862807,80860101,00100000" "0x1028" "0x05ca"
Hardware is initialized using a generic method

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: I've got the sound settings crushed.
« Reply #10 on: April 19, 2020, 07:54:01 AM »
Hi ferran
Code: [Select]
...
tc@box:/usr/local/share/alsa$ alsactl init
sh: alsactl: not found
Now it looks like you are missing  alsa.tcz.

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I've got the sound settings crushed.
« Reply #11 on: April 19, 2020, 08:32:27 AM »
juanito, Rich

I downloaded again alsa.ctz, after I rebooted and now alsactl init shows:

Code: [Select]

#### Testing successfully alsactl init ####

tc@box:~$ alsactl init
Found hardware: "HDA-Intel" "Realtek ALC663" "HDA:10ec0663,10431903,00100001 HDA:11c11040,10431636,00100200 HDA:10de0007,10de0101,00100100" "0x1043" "0x1903"
Hardware is initialized using a generic method
tc@box:~$

#### Testing successfully a sound text ####

tc@box:~$ speaker-test [-Ddefault:1] -c2 -t wav -l

speaker-test 1.2.1

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 8192
Period size range from 1024 to 1024
Using max buffer size 8192
Periods = 4
was set period_size = 1024
was set buffer_size = 8192
 0 - Front Left
 1 - Front Right
Time per period = 2,860001

#### Storing alsactl into /opt/bootlocal.sh and /opt/.filetool.lst

tc@box:~$ sudo alsactl store

tc@box:~$ echo alsactl restore >> /opt/bootlocal.sh

tc@box:~$ echo usr/local/etc/alsa/asound.state >> /opt/.filetool.lst


I tried to restart pulseaudio but i can't

Code: [Select]

tc@box:~$ pulseaudio -vv

pulseaudio: error while loading shared libraries: libpulsecore-13.0.so: cannot open shared object file: No such file or directory


Should I download pulseaudio.tcz now?
TC CorePlus v.11.1 i686 & lots of coffe

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: I've got the sound settings crushed.
« Reply #12 on: April 19, 2020, 09:04:12 AM »
Hi ferran
Pulseaudio looks like it is installed since it responded to the  pulseaudio -vv  command. One of its dependencies is not installed.
You are missing  libpulseaudio.tcz.

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I've got the sound settings crushed.
« Reply #13 on: April 19, 2020, 09:31:32 AM »
I downloaded libpulseaudio.tcz , i rebooted , but when i wrote into terminal pulseaudio -vv still don't works (the message shown is the same as before)




TC CorePlus v.11.1 i686 & lots of coffe

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: I've got the sound settings crushed.
« Reply #14 on: April 19, 2020, 09:45:22 AM »
Hi ferran
What do these commands return:
Code: [Select]
ls -l /etc/sysconfig/tcedir/optional/*pulse*
cat /etc/sysconfig/tcedir/optional/pulseaudio.tcz.dep