Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
inxi shows an Nvidia GK208 and has snd_hda_intel driver loaded. Your quickcam is also an audio device. You have most of what is required to make sound work.
Open the Audio Mixer and go to the configuration tab. What profile is selected? If you click on the drop down, are there any more shown? Have you tried them.
Have you tried to play any .wav file on your system?
If it has a driver it's already detected. It should show up in /proc/asound/cards. It's just a matter of selecting the soundcard, the default is hw:0,0 aka card 0 device 0. Technically hw:0,0,0 aka card, device, sub-device, although the shorthand hw:0 works in most instances. It gets odd if you expect HDMI out as that tends to be device 3 or higher depending on which port you plugged into, so hw:0,3 and such.
Pulse will normally show the cards and let you change things. But... for some cards you have to edit / force things, my Delta 44 used to be that way. As long as you're not trying to get things working on ubuntu 9.x or something or running a 2.6.x kernel from a decade plus ago with hardware much younger than that, it shouldn't be an issue.
Where the things ending in p are playback (OUTPUT) and c are capture (INPUT). This laptop currently has 3 options. hw:0,3 which is the HDMI audio. hw:1,0 which is the onboard soundcard. And hw:2,0 which is a USB audio interface.
$ cat /proc/asound/cards
Code:
0 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xf0560000 irq 35
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xf0564000 irq 36
2 [USB ]: USB-Audio - Scarlett 2i2 USB
Focusrite Scarlett 2i2 USB at usb-0000:00:12.0-1.1.4, high speed
Beyond that you can use pulseaudio to select the right card. Or edit up a .asoundrc to default to something other than hw:0,0[,0].
speaker-test -c 2 -l 1 -D hw:0
Progress! will provide output to the headphone output
but
alsamixer PCM has no effect, headphone levels do work
Quirk: the headphone out does have noise seeping in, if I mouse or type there is some low level noise; weirdly there is a steady low level squeal noise if I remove an USB thumbdrive from the computer.
I've toggled/muted all unused alsamixer controls, this used to work years ago but not anymore.
There is also more steady noise if I hover over the pulseaudio mixer plugin and the GUI popsup, yuk.
Note: there are no audio input devices opened via voice apps, no skype, no mumble, no synth ...
Quote:
Originally Posted by Shadow_7
If it has a driver it's already detected. It should show up in /proc/asound/cards.
It's just a matter of selecting the soundcard, the default is hw:0,0 aka card 0 device 0. Technically hw:0,0,0 aka card, device, sub-device, although the shorthand hw:0 works in most instances. It gets odd if you expect HDMI out as that tends to be device 3 or higher depending on which port you plugged into, so hw:0,3 and such.
Pulse will normally show the cards and let you change things. But... for some cards you have to edit / force things, my Delta 44 used to be that way. As long as you're not trying to get things working on ubuntu 9.x or something or running a 2.6.x kernel from a decade plus ago with hardware much younger than that, it shouldn't be an issue.
Where the things ending in p are playback (OUTPUT) and c are capture (INPUT). This laptop currently has 3 options. hw:0,3 which is the HDMI audio. hw:1,0 which is the onboard soundcard. And hw:2,0 which is a USB audio interface.
$ cat /proc/asound/cards
Code:
0 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xf0560000 irq 35
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xf0564000 irq 36
2 [USB ]: USB-Audio - Scarlett 2i2 USB
Focusrite Scarlett 2i2 USB at usb-0000:00:12.0-1.1.4, high speed
Beyond that you can use pulseaudio to select the right card. Or edit up a .asoundrc to default to something other than hw:0,0[,0].
Some cheaper audio devices are not full duplex (can record independently while also playing back). These will leak output to input and vice versa (no mic required). And tend to have noise in general (plugin power). Also avoid running your cables near your monitor or other sources of interference (cell phones / wifi antennae / ...). When I first started recording, I had a cheap mic that I hung over the monitor and everytime the clock ticked in ardour the audio would too. With it's little timer LED at the top center of the screen. That's when you learn the difference between balanced and unbalanced, shielding, and other audiophile type things.
Theoretically you're able to play one thing and record another, e.g. record a symphony while playing pop. But your input, and perhaps your output go through the same 3.5" jack, sharing a common lead :-/. Your speakers aren't supposed to be picked up by your monitor's builtin mike, etc. Personally, I treat sound cards as low-fi.
AFAIK Duplex is only for having output & input available. no sense having mic/input only or output only
Quote:
Originally Posted by business_kid
This Full duplex crap forces a wry smile.
Theoretically you're able to play one thing and record another, e.g. record a symphony while playing pop. But your input, and perhaps your output go through the same 3.5" jack, sharing a common lead :-/. Your speakers aren't supposed to be picked up by your monitor's builtin mike, etc. Personally, I treat sound cards as low-fi.
Last edited by galen; 06-14-2019 at 06:29 PM.
Reason: AFAIK
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.