snd_hda(4): getting line-in to work

Alexander Motin mav at FreeBSD.org
Thu Jan 8 11:11:18 PST 2009


Garrett Cooper wrote:
>     Ok, I got stuck again. Can you possibly push me in the right
> direction (complete verbose dmesg attached)? The line-in and SPDIF
> (not so much of a concern) are the only issues that I'm aware of. I'll
> have to open up my case and wire up the front ports in order to test
> them for you.

Ok. Let's stop for a moment and start from the beginning, because now it 
is already like a puzzle for me too. Let me explain once more what I see 
you have and then you explain me where is your problem.

You have 3 PCM devices configured:
- pcm0: 7.1 playback via 4 rear jacks (Green, Black, Orange and Grey) + 
record from mic (front Pink), line (rear Blue), monitor (second mic, 
rear Pink), cd (internal Black) or mix (sum of all these).
- pcm1: stereo playback via front Green jack.
- pcm2: SPDIF output

As for me, this configuration is correct and good enough. You can record 
from your line-in via pcm0 after selecting that source via `mixer =rec 
line` command. You can playback via SPDIF by using pcm2 device.

So what's wrong? What are you doing and what is not working and how?

>     Also, the knobs that show up in xfce4-mixer are completely useless
> for snd_hda(4) (every time I move the sliders it sets the volume back
> to 0). Is this a known issue?

You are the first.

-- 
Alexander Motin


More information about the freebsd-current mailing list