LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Closed Thread
  Search this Thread
Old 12-01-2018, 07:16 PM   #1
triode3
LQ Newbie
 
Registered: Dec 2018
Posts: 5

Rep: Reputation: Disabled
Slackware 14.2 fresh install, alsa audio to Focusrite USB not working in some applications, but works in others


Hello,

Been using linux a long time, but wanted to try out slack again after a 15 year hiatus.

My machine has multiple sound cards (one built-in, one in the hdmi), but I only use the outboard focusrite Scarlett Solo USB. This was working fine installed under another linux distro, and oddly, it works fine under slackware, but seemingly only under Audacity.

If I try to use the sound with say firefox+youtube, I just receive no output.

If I try to use it with say audacious, I receive an error saying: ALSA error: snd_pcm_hw_params_set_format failed: Invalid argument.

Searching the web for that specific issue just brings up errors that I do not seem to be having.


I have verified the hardware:

Code:
 aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: USB [Scarlett Solo USB], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
I have also modified the /etc/asound.conf file, according to the slackware howto:
https://docs.slackware.com/howtos:ha...s_on_slackware

The asound.conf contains:

Code:
defaults.pcm.card 2
defaults.pcm.device 0
defaults.ctl.card 2

pcm.!default {
   type plug
   slave.pcm "softvol"
}
     
pcm.softvol {
   type softvol
   slave {
      pcm "dmix:2,0"
   }
   control {
      name "Pre-Amp"
      card 1
   }
   min_dB -5.0
   max_dB 20.0
   resolution 6
}


ctl.equal {
  type equal;
  }
  pcm.plugequal {
    type equal;
    #slave.pcm "plug:dmix";
    slave.pcm "plughw:2,0";
  }
  pcm.!default {
    type plug;
    slave.pcm plugequal;
}

At one time, I removed all of the extras (softvol and equalization) from the asounds.conf file, but that did not fix the issue either.

I can not figure out what is going wrong, but I need playback outside of just audacity (I record and edit in audacity, but I use audacious, mplayer, vlc, etc for playback of other items, and also firefox/youtube sound is not working).

If I switch to the other sound card (builtin card0 for example, I get the same error). Again, I do not really understand why audacity works, perhaps because I built it and it just detects the USB interface and I choose that as output.

I would like to try to work with slack for a while, but no sound other than audacious would be the deal breaker...

Any input or direction would be appreciated.
 
Old 12-06-2018, 11:11 AM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,787

Rep: Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


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
Slackware 14.2 fresh install, alsa audio to Focusrite USB not working in some applications, but works in others triode3 Slackware 13 12-10-2018 11:11 AM
[SOLVED] How to configure external USB soundcard (Focusrite Scarlett Solo) to play sound in Linux? Letrix Linux - Hardware 8 07-13-2018 05:23 PM
Focusrite 18i8 usb mixer interface board Ubuntu 14.04 LTS Toshiba S875D asalford Linux - Hardware 3 02-22-2018 08:00 AM
[SOLVED] Focusrite Scarlett Solo (USB) latency and getting it recognized by ALSA hokkupi Linux - Hardware 1 07-31-2015 09:07 AM
Fresh install - Sound works but only in some applications Robstro Mandriva 1 08-23-2004 07:40 AM

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

All times are GMT -5. The time now is 06:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration