not recognizing any device

Help for Audacity 2.x.x on GNU/Linux.

ImageThis forum is for Audacity 2.x.x on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.

not recognizing any device

Permanent link to this post Posted by kemasolar » Sun Apr 01, 2018 6:58 pm

OS: Linux mint 18 Cinammon 64-bit. Linux kernel: 4.4.0-43-lowlatency
Audacity 2.1.2

Hello,
I suddenly started having this problem with audacity. It used to work perfectly until some days ago. I don't recall changing anything to make this happen...

When I try to listen to an audio file I get this message:
Error while opening sound device. Please check the playback device settings and the project sample rate.

When I try to record, this other:
Error while opening sound device. Please check the recording device settings and the project sample rate


Project rate has always been 44100 Hz.
Since I have that problem, I have uninstalled and installed again from "Software Manager" and then with "sudo apt install audacity" in terminal. Still not working.
Rescan audio devices makes nothing.
In edit/preferences/devices/interface I can't choose any "host" and a little under that line I can read: Using PortAudio V19.6.0-devel, revision 396fe...(quite long numbers and letters list).
In playback device and recording device there is nothing I can choose from, too.

I don't think that is the problem, because I tried it without it too, but I use an external audio interface: Steinberg UR 22 mkII. I have also tried changing between that and internal audio soundcard in sound settings. I have also tried to see if it recognizes jack, turning on jack and then opening audacity. but also not working.
Does anybody have an idea of how can this be solved? Am I missing ALSA drivers?
Everything else works perfectly, Ardour, playback and record through external soundcard; sounds from firefox, and all other audio and music programs...
Thanks.
kemasolar
 
Posts: 8
Joined: Sun Apr 01, 2018 6:32 pm
Operating System: Linux Mint

Re: not recognizing any device

Permanent link to this post Posted by steve » Sun Apr 01, 2018 7:02 pm

Try this:

1) From the "Help" menu, select "Audio Device Info". When the info appears, save it as a text file.
2) Log out and back in again (or reboot)
3) Repeat step 1.

Then post the two text files with your reply (see here for how to attach a file to a forum post: https://forum.audacityteam.org/viewtopi ... 49&t=64936)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 46549
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: not recognizing any device

Permanent link to this post Posted by kemasolar » Sun Apr 01, 2018 7:33 pm

True! I forgot to say that. I checked that before and this is what appears there:
==============================
Default recording device number: -1
Default playback device number: -1
No devices found
kemasolar
 
Posts: 8
Joined: Sun Apr 01, 2018 6:32 pm
Operating System: Linux Mint

Re: not recognizing any device

Permanent link to this post Posted by steve » Sun Apr 01, 2018 7:36 pm

kemasolar wrote:True! I forgot to say that. I checked that before and this is what appears there:
==============================
Default recording device number: -1
Default playback device number: -1
No devices found

and that is even after a reboot?

What do you get from:
Code: Select all
aplay -l

(that's "hyphen, lower case L" at the end)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 46549
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: not recognizing any device

Permanent link to this post Posted by kemasolar » Sun Apr 01, 2018 7:44 pm

Yes, I just rebooted my computer and it was showing the same thing.

This appears in terminal:

[email protected] ~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD 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 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: UR22mkII [Steinberg UR22mkII], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
kemasolar
 
Posts: 8
Joined: Sun Apr 01, 2018 6:32 pm
Operating System: Linux Mint

Re: not recognizing any device

Permanent link to this post Posted by steve » Sun Apr 01, 2018 8:12 pm

What happens with the command:
Code: Select all
pavucontrol
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 46549
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: not recognizing any device

Permanent link to this post Posted by kemasolar » Sun Apr 01, 2018 11:01 pm

the pulse audio volume control opens. I remember installing that to record sounds from firefox with audacity. It worked well the last time I used it. Not so long ago.
In "output devices" in pulseaudio I can see:
-GF108 high definition Audio Controller Digital Stereo (HDMI 4)
-Steinberg UR22mkII Analogue Stereo,
-Built-in Audio Digital Stereo (IEC958).

In "input devices" I can see:
-Steinberg UR22mkII Analogue Stereo.
-Built-in Audio Analogue Stereo.
kemasolar
 
Posts: 8
Joined: Sun Apr 01, 2018 6:32 pm
Operating System: Linux Mint

Re: not recognizing any device

Permanent link to this post Posted by steve » Mon Apr 02, 2018 12:16 am

This is very strange. It seems that your sound system is as it should be, and you say that Audacity was working correctly, but now does not see the sound system at all.
You could try resetting Audacity back to its "factory defaults". To do that, find the folder:
Code: Select all
~/.audacity-data

(where "~/" means your home folder)
Ensure that Audacity is not running, then delete everything in there except for "EQCurves.xml" (if present).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 46549
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: not recognizing any device

Permanent link to this post Posted by kemasolar » Mon Apr 02, 2018 1:03 am

steve wrote:This is very strange. It seems that your sound system is as it should be, and you say that Audacity was working correctly, but now does not see the sound system at all.
You could try resetting Audacity back to its "factory defaults". To do that, find the folder:
Code: Select all
~/.audacity-data

(where "~/" means your home folder)
Ensure that Audacity is not running, then delete everything in there except for "EQCurves.xml" (if present).


Even that it's not working... nothing has changed, only that I see the "how to get help" window when I open audacity again.
This is very bad, I am starting to thinking that I will have to get used to a life without Audacity... or maybe wait for it to work again suddenly.... :-/
kemasolar
 
Posts: 8
Joined: Sun Apr 01, 2018 6:32 pm
Operating System: Linux Mint

Re: not recognizing any device

Permanent link to this post Posted by steve » Mon Apr 02, 2018 8:52 am

How did you install Audacity?
(If you installed it from the main repository or a PPA, then it may have been updated from a version that worked to a version that doesn't. If you installed it from a deb, or built it from source, then that will not be the case.)

Do you also have a generic Linux kernel installed? If so, have you tried selecting that at boot?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 46549
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Next

Return to GNU/Linux



Who is online

Users browsing this forum: No registered users and 1 guest