Discussion:
[snd_hda] Sony VAIO VGN-SZ5MN - headphones off
(too old to reply)
Marcin Cieslak
2009-04-18 22:52:32 UTC
Permalink
Hello,

Seems like with snd_hda sound output gets muted once I plug in my headphones.

Also, skype (2.0.0.72) complains that there is a "Problem with audio capture".
Is skype hitting some other audio device?

% sysctl hw.snd
hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 1
hw.snd.feeder_buffersize: 16384
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.verbose: 1
hw.snd.maxautovchans: 16
hw.snd.default_unit: 0
hw.snd.version: 2007061600/amd64
hw.snd.default_auto: 0

Verbose dmesg plus sysctl dev.hdac.0.pindump output for various output
configurations:

http://akson.sgh.waw.pl/~saper/FreeBSD/snd_hda/
--
<< Marcin Cieslak // ***@system.pl >>
Patrick Lamaizière
2009-04-19 11:50:22 UTC
Permalink
Le Sat, 18 Apr 2009 22:52:32 +0000 (UTC),
Post by Marcin Cieslak
Hello,
Hi,
Post by Marcin Cieslak
Seems like with snd_hda sound output gets muted once I plug in my headphones.
Also, skype (2.0.0.72) complains that there is a "Problem with audio
capture". Is skype hitting some other audio device?
I don't know for this.
Post by Marcin Cieslak
Verbose dmesg plus sysctl dev.hdac.0.pindump output for various
http://akson.sgh.waw.pl/~saper/FreeBSD/snd_hda/
If I understand well snd_hda you need a quirk to associate the
headphones to the speaker.

The speaker is on nid15 as 1 seq 0, headphones on nid10 as 2 seq 0. The
headphones should be associated to the as 1 seq 15 with a quirk

/boot/devices.hints:
hint.hdac.0.cad0.nid10.config="as=1 seq=15"

HTH, Regards.
Marcin Cieslak
2009-04-24 21:54:56 UTC
Permalink
Post by Patrick Lamaizière
Le Sat, 18 Apr 2009 22:52:32 +0000 (UTC),
Post by Marcin Cieslak
Seems like with snd_hda sound output gets muted once I plug in my headphones.
Verbose dmesg plus sysctl dev.hdac.0.pindump output for various
http://akson.sgh.waw.pl/~saper/FreeBSD/snd_hda/
If I understand well snd_hda you need a quirk to associate the
headphones to the speaker.
The speaker is on nid15 as 1 seq 0, headphones on nid10 as 2 seq 0. The
headphones should be associated to the as 1 seq 15 with a quirk
hint.hdac.0.cad0.nid10.config="as=1 seq=15"
Yes indeed, this was worked perfectly. I hope one day this magic will get
documented in the handbook, but for now - thanks for the excellent advice.
--
<< Marcin Cieslak // ***@system.pl >>
Alexander Motin
2009-04-25 06:35:34 UTC
Permalink
Post by Marcin Cieslak
Post by Patrick Lamaizière
If I understand well snd_hda you need a quirk to associate the
headphones to the speaker.
The speaker is on nid15 as 1 seq 0, headphones on nid10 as 2 seq 0. The
headphones should be associated to the as 1 seq 15 with a quirk
hint.hdac.0.cad0.nid10.config="as=1 seq=15"
Yes indeed, this was worked perfectly. I hope one day this magic will get
documented in the handbook, but for now - thanks for the excellent advice.
This magic described with examples in snd_hda man page.
--
Alexander Motin
Loading...