Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2012 08:50:18 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Jan Beich <jbeich@tormail.net>
Cc:        freebsd-multimedia@FreeBSD.org, FreeBSD current <freebsd-current@freebsd.org>
Subject:   Re: [RFT] Major snd_hda rewrite
Message-ID:  <4F12772A.10106@FreeBSD.org>
In-Reply-To: <1RmEaz-0008f9-Du@internal.tormail.net>
References:  <4F0DE3FD.2020203@FreeBSD.org> <1RmEaz-0008f9-Du@internal.tormail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/15/12 03:06, Jan Beich wrote:
> Alexander Motin<mav@FreeBSD.org>  writes:
>
>> I would like request for testing of my work on further HDA sound
>> driver improvement.
> [...]
>>   - Codec pins and GPIO signals configuration was exported via set of
>> writable sysctls. Another sysctl dev.hdaa.X.reconfig allows to trigger
>> driver reconfiguration in run-time. The only requirement is that all
>> pcm devices should be closed at the moment, as they will be destroyed
>> and recreated. This should significantly simplify process of fixing
>> CODEC configuration. It should be possible now even to write GUI to do
>> it with few mouse clicks.
>
> reconfig seems to not honor hw.snd.default_unit sysctl. After
> reconfiguration the sysctl was reset to `0' (default). Is this expected?
> Even if it is specified as a tunable in loader.conf?

Audio drivers know nothing about default_unit. reconfig destroys pcm 
devices and that probably changes default_unit.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F12772A.10106>