Linux DeepinThis forum is for the discussion of Linux Deepin.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well tried uninstalling alsa and pulseaudio in order to install them again. could do it for pulseaudio but alsa returns ~$ sudo apt-get install alsa-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package alsa-base is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'alsa-base' has no installation candidate
also for some reason uninstalling those 2 also uninstalled the "settings" control center, which is actually a bigger problem than no sound ^^
As already mentioned I'm not a Deepin user, so can only provide limited/general advice here. I'm not sure what alsa* packages would constitute a working ALSA environment, but perhaps show us what is installed...
alsa-base packages are designed to "just" work. The alsa-base package does not load modules; instead, udev detects the sound hardware and loads the right ALSA modules and then alsa-base takes care of setting usable mixer levels.
Configure alsa by running the command 'alsactl init' as root. Then reboot and try to test your sound. For more details please see this thread.
You can also try to detect and configure your sound card manually.
If you have a PCI soundcard, do a 'lspci -v' to list all available pci devices. The list will most probably include a reference to a multimedia audio device: that is your SoundCard.
For a USB card, use lsusb.
You could now have a look at the ALSA's soundcard-matrix to find out which driver name can be used for the chipset you found.
As already mentioned I'm not a Deepin user, so can only provide limited/general advice here. I'm not sure what alsa* packages would constitute a working ALSA environment, but perhaps show us what is installed...
Code:
sudo apt list --installed |grep alsa
~$ sudo apt list --installed |grep alsa
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Ok, it seems that your alsa environment is not complete. I can't help further as I just don't know enough about the distro you're using. You should share the configured sources (/etc/apt/sources.list and the files contained in /etc/apt/sources.list.d/ assuming there are additional repos configured there). Hopefully another Deepin user can chime in here.
which suggests min for alsa should return alsa-base and alsa-utils
Which is what I would surmise, but earlier in the thread the OP attempted to reinstall with an error message...
Code:
~$ sudo apt-get install alsa-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package alsa-base is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'alsa-base' has no installation candidate
could be that OP has only the cd repo enabled or failed to update the apt repo database with
Code:
sudo apt update
in which maybe Vlvi could show the list repos by
Code:
cat /etc/apt/sources.list # for me thats empty so instead
ls /etc/apt/sources.list.d/
# and likely
cat /etc/apt/sources.list.d/debian.list
Code:
~$ cat /etc/apt/sources.list
## Generated by deepin-installer
deb [by-hash=force] http://packages.deepin.com/deepin lion main contrib non-free
#deb-src http://packages.deepin.com/deepin lion main contrib non-free
~$ cat /etc/apt/sources.list.d/debian.list
cat: /etc/apt/sources.list.d/debian.list: No such file or directory exits
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.