LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-14-2020, 09:32 PM   #1
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 545

Rep: Reputation: 54
Pulseaudio defaults not working for USB DAC, but fine in Windows, Ubuntu, MacOS


Currently on my Slackware64 14.2 system I cannot get my USB DAC working at all unless I set the sample rate to 48000Hz in daemon.conf using 'default-sample-rate = 48000'. the output of iecset on my system shows

control "IEC958 Playback Default" (index -1) not found

however if I run this on Ubuntu Live I actually output except the rate is 44100 Hz. I've tried looking on the Ubuntu Live system and do not see anything changed with daemon.conf and the sample rate still seems to be set to 44100Hz. any idea what I might be missing so that the system matches that of Ubuntu's configuration?
 
Old 02-15-2020, 06:04 PM   #2
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,633

Rep: Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925
It would be interesting to know what kernel & alsa & pulseaudio versions you are running in Ubuntu Live, I guess they're newer (latest) than what you get in the stable Slackware64 14.2.
You could try running Slackware Live and test your desired configuration:
https://docs.slackware.com/slackware:liveslak
https://slackware.nl/slackware-live/latest/
If it works, maybe you should use Slackware -current instead of Slackware64 14.2

These are some relevant links I found looking after your reported issue (basically, you can try the advice you find there on your Slackware system ):
https://askubuntu.com/questions/8688...match-hardware
https://askubuntu.com/questions/1386.../245240#245240
https://ubuntuforums.org/showthread.php?t=1939711
 
1 members found this post helpful.
Old 03-18-2020, 06:36 PM   #3
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 545

Original Poster
Rep: Reputation: 54
@abga thank you for your response! it's been a while that I totally forgot about Slackware Live and after your suggestion I was able to test and confirm that this seems to be an issue with 14.2 and not inherent on Slackware Live. that said I made the plunge to upgrade to -current and to my dismay this did not fix this issue! I've even installed -current from liveslak, but that also did not work... there seems to be something in liveslak that's been tweaked or added that's causing this, but I'll have to look further
 
Old 03-27-2020, 09:32 PM   #4
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,633

Rep: Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925
Sorry for the late reply, really busy lately, actually started already in mid January and now ... hell just broke loose with this Chinese bat-shit virus

I was suggesting to try the Live version because it has an actual kernel (drivers) + pulseaudio + alsa.
Don't know why the Live works and -current doesn't, both should use the same latest code (the above packages). - @Alien Bob (Eric) could help here.
I would investigate (compare) if there are different/additional kernel boot parameters, the pulseaudio conf (/etc/pulse/) files and maybe how udev is launched in /etc/rc.d/rc.udev together with the rules in /lib/udev/rules.d/

P.S. Wait, I believe I went too far with the above recommendations and haven't focused on the actual kernel you were booting with the Live Slackware.
I don't have too much experience with the Live image and also too lazy to parse the build script(s). This help page isn't really helpful in identifying which kernel is used by the Live image by default:
https://docs.slackware.com/slackware:liveslak
But I believe Live uses the generic kernel and -current is using the huge one by default. There could be some differences in Sound HW support between the two. Never used the generic kernel on my own, can't tell the difference.
You should boot Live, check what kernel you're running generic/huge and use it also in your -current installation. Also, run a dmesg and paste the section where your Sound HW is identified in the Live Slackware. That will help in identifying if there are some kernel drivers/modules missing in one of the kernels and can be supported (enabled) in the next -current kernel release.

Last edited by abga; 03-27-2020 at 11:50 PM. Reason: P.S.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audioengine HD3 USB DAC shows in Volume Control, but no audio coming out! dimm0k Slackware 12 05-10-2020 06:45 AM
usb DAC not working after first shutdown Pip Mac Linux - Newbie 4 10-21-2017 11:03 AM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 04:57 AM
USB mouse and USB DAC can't be used simultaneously Ben2210 Linux - Hardware 6 03-29-2010 09:53 AM
Can I use both a USB DAC and a USB soundcard ? spiug53 Linux - General 0 03-12-2006 02:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration