Slackware 15.0+ plasma kde desktop not recognizing motherboard on board audio device
5 Attachment(s)
I just built a new PC with a Slackware distribution and cannot get the audio to work. I have another PC that I build last year with the same MB, processor, and RAM, basically the same machine and the audio works on it. I have attached screenshots from the Configure audio devices of the plasma KDE desktop. As can be noticed on the configure audio settings of the working box it shows drop downs for port and profile in the upper right whereas the non working box does not show these. I have tried to find the answer on line, but don't seem to have tripped upon it yet. I have run these commands and still can't seem to find the issue.
These commands listed the same thing on both the working and non working boxes: Code:
|
I forgot to add these two commands:
From the one that works: Code:
Code:
|
I thought I had hit upon something with this in Settings --> Devices --> PCI on the desktop itself:
Code:
|
Another thing I came across was to try this for a test:
on the working box: Code:
Code:
It seems I'm just running circles. |
After much reading I finally resolved the issue. It was a matter of permissions. One post I read, https://www.linuxquestions.org/quest...oogle_vignette , was self explanatory. All the commands I had executed before to troubleshoot the problem had been from root. I dropped back to the specific user, which is where I launched KDE from and got this:
Code:
Code:
Quote:
Code:
Code:
|
Yes, adding your user to the audio group does the trick. Another solution which also would be persistent between boots would be to make audio devices accessible by all users with an udev rule in some file in /etc/udev/rules.d, the content of that rule would be something like:
Code:
# alsa devices regards Henrik |
Good that you got it working. But...
Among other things, sound works here out-of-the-box without adding groups. Code:
$ groups Code:
getfacl -Rs /dev Code:
# file: dev/snd/controlC0 Code:
$ loginctl list-sessions Quote:
|
Thanks henca and Petri Kaukasoina. To henca I believe I would prefer audio to work for only selected users, I am the only user that actively uses this box, so I would like to leave things as is.
In response to Petri Kaukasoina...I see a /lib/udev/rules.d/71-seat.rules. I also see two entries for sound in it: Working box Code:
Code:
working box Code:
Code:
working box Code:
Code:
Code:
I could change that user to robby for the second box I was working on, but not sure if that would "break" things. |
Quote:
Code:
root@robrutrm:/lib/udev/rules.d# getfacl -Rs /dev Quote:
|
Thanks again Petri Kaukasoina.
In response to your comment on "it seems this system was originally installed before the 14.2 release and you have upgraded it since", this is true. I built my first slacker system, I believe, in 2014 or 2015, and I think it was 14.0 then. I do not however have package consolekit2: Code:
Code:
Code:
Also since I managed to get the sound working on the box that was not working the lsof shows user robby now: Code:
I hope this doesn't mean I have a "broken" install. Over the years I just kept doing the updates and thought that kept all my boxes, I have three slacker boxes running, current. I really did not, nor do not, want to install from scratch and re-build what I have working. The main thing is I run mythtv on all of my slacker boxes and I had to install a lot, and I mean a lot, of dependencies to get mythtv working so I especially didn't want to have to re-build mythtv and all of its dependencies. |
Quote:
Code:
-rw-r--r-- 1 root root 658 Feb 19 2020 login You should usually move all .new files in place unless you have a good reason not to. Quote:
Code:
robby@robrutrm:~/src$ whereis utmp |
Thanks again for the response. Sorry for getting the syntax wrong on ConsoleKit2. There still appears to be no ConsoleKit2 after correcting the case.
Code:
I then made the changes suggested to Quote:
Code:
Code:
|
Quote:
A couple of things you could check. The eudev package replaced udev (Nov 20, 2015). So, you should not have the old udev but only this: Code:
$ ls /var/log/packages | grep udev Code:
$ ls -l /etc/rc.d/rc.messagebus /etc/rc.d/rc.udev Code:
5. Fix your config files. Some of the config files in /etc are going to |
Thanks again for the quick response. It looks like I've got quite a bit of work cut out for me.
Here is what I see in /var/log/packages Code:
It looks like the rc.d files are set as execute: Code:
Code:
Code:
|
Quote:
Code:
slackpkg remove udev Code:
slackpkg -batch=on -default_answer=n clean-system Quote:
|
All times are GMT -5. The time now is 08:37 AM. |