Linux MintThis forum is for the discussion of Linux Mint.
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.
In actual use, however, there is one bizarre stumbling block. I like to use an external USB connected DAC, it shows as recognised by the system when I enter the command $ lsusb
Code:
lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Bus 003 Device 027: ID 26f2:0100 Micromega MICROMEGA MYDAC
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 056d:0002 EIZO Corp. HID Monitor Controls
Bus 001 Device 005: ID 056e:010c Elecom Co., Ltd M-HT1URBK HUGE Optical TrackBall
Bus 001 Device 004: ID 2efd:7812 SONiX USB Keyboard
Bus 001 Device 002: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 010: ID 13fe:3600 Kingston Technology Company Inc. flash drive (4GB, EMTEC)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
yet the DAC doesn´t appear in Sound preferences and in consequence there is no sound.
Pulse Audio doesn´t recognise the DAC and no matter how I changed the settings there was no change.
Above I labeled the problem as ‘bizarre’ because otherwise the USB audio works (with wireless-usb headphones) and the headphones output is also functional. When I boot in Windows the DAC function straightaway.
From another thread about a similar problem I checked with the command
Code:
$ curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2349 100 2349 0 0 3209 0 --:--:-- --:--:-- --:--:-- 3213
cat: /etc/pulse/client.conf.d/01-enable-autospawn.conf: No such file or directory
lsof: WARNING: can't stat() tmpfs file system /run/snapd/ns
Output information may be incomplete.
lsof: WARNING: can't stat() nsfs file system /run/snapd/ns/kompozer.mnt
Output information may be incomplete.
/usr/sbin/alsa-info: line 661: tree: command not found
/usr/sbin/alsa-info: line 661: tree: command not found
/usr/sbin/alsa-info: line 661: tree: command not found
alsactl: get_control:255: Cannot read control '2,0,0,MICROMEGA USB Audio 1.0 Output Playback Swi,0': Invalid argument
cat: /tmp/alsa-info.tDZWhHh5Ct/alsactl.tmp: No such file or directory
https://termbin.com/fxjl
Any suggestions how to tackle the problem? Thank you in advance.
Frankly, I am new to Mint and inexperienced, and have no idea about the tree command you mention,
I saw the script in a thread about a similar, if not identical, issue, here it is
As for additional firmware packages I haven´t installed any. I tried booting with Mint live ISO and still no sound from the DAC
As the DAC shows up everywhere in the system (I attach 2 screenshots from Alsamixer interminal though not sure if useful) except at the end of the chain in PA/ Sound I agree that the problem must be some sort of permission.
I suspect you may be missing some packages to make pipewire work.
You have both pulse and pipewire active, this in not correct. They are fighting with each other. I'm not running LM, but have been using pipewire for months, since it was introduced in Slackware. Here is what inxi looks like on a running system.
The other thing you could do, is remove pipewire, and run only pulse, since they both do the similar functions.
The auther of the link I posted gives you the pros and cons of running pipewire. It is your choice.
I understand the logic of what you're saying about PA and PW and I tried to deactivate, or even remove one or the other, but to no avail for each time after using terminal to stop or remove afterwards both appear to be running again.
Yes, I checked the link, its interesting with nice step by step instructions, but when I verified if PW is still present in my system the terminal shows only PA as installed and active.
Code:
$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 8
Tile Size: 65472
User Name: flo
Host Name: florentis
Server Name: pulseaudio
Server Version: 15.99.1
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_03_00.6.analog-stereo
Default Source: alsa_output.pci-0000_03_00.6.analog-stereo.monitor
Cookie: 955f:2c22
This is confusing, I thought you have PW installed. Reinstalling is not likley to fix anything.
I think you need to look as ML forums for help, there must be people there that have made this work.
On Slackware, there are several steps, that are now done with a script file. They alter desktop files amnongs other things.
I can not supply that information, since each distro has their own approach on how to integrate and configure the componets.
Yes, I had installed PW and subsequently removed it after you rightly pointed that there might be a conflict between PW and PA running at the same time.
Its another matter that probably I didn't set it up properly.
Unfortunately I couldn't get any feedback on LM forums.
Just installed PW following the instructions for the link you provided.
Its one step forward, thanks, for now both Sound and PA Volume Control (curiously it remained even after deleting PA) show the DAC.
Yet still no joy since the DAC remains silent. I suspect something optional hasn't been installed because when I go to the Volume Control/ Configuration for the DAC is available just one profile 'Pro Audio'. The same profile is available for my USB-headphones and when I select it they stop playing, they work only with the other profile avilable for them 'Digital stereo (IEC958).
And the other strange thing is that when in Terminal / Alsamixer I select the DAC soundcard and press Enter the Terminal respond with this
See the man page for alsamixer. Since you have more than 1 card, you have to specify the card.
Example alsamixer -c1 will display card 1. You get the Invalid argument because the software doesn't know which card to show. Run aplay -l to see a list of the cards you have.
Finally a success! Not sure though how I did it... I fiddled with alsamixed, couldn't resolve the 'Invalid argument' issue, but managed to open and unmute some of the audio channels and probably that finally did it.
Once more thank you for your guidance and suggestions, without the PW properly installed and running nothing would have happened.
My joy was premature I am afraid for after putting the PC to sleep and returning I checked the audio again and this time there was completely no sound, neither from the DAC nor from the headphones.... yet the settings are the same, nothing seems to have changed.
I am really at a loss what to do.
Update: the headphones started to sing, but the DAC no
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.