Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Oct 2014 18:09:30 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Nathan Whitehorn <nwhitehorn@FreeBSD.org>, freebsd-current@FreeBSD.org
Subject:   Re: vt_suspend / vt_resume
Message-ID:  <5436A52A.30802@FreeBSD.org>
In-Reply-To: <542EBEF1.1080200@freebsd.org>
References:  <542A43E1.5010401@FreeBSD.org> <542EBD1F.2060604@FreeBSD.org> <542EBEF1.1080200@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/10/2014 18:21, Nathan Whitehorn wrote:
> 
> On 10/03/14 08:13, Andriy Gapon wrote:
>> The patch (I am not sure if fbd_attach is the right place to register the event
>> handlers):
> 
> It's not, I don't think, since fbd_attach() isn't called for all vt backends
> (e.g. the VGA and EFI backends don't call it). vt_fb_suspend() also only calls
> vt_suspend(), so it's probably best to put this in the core vt code.

I looked at the vt code and I was not able to figure out what would be the
proper place there.
Initially I thought that vt_allocate() would be it, but then it seems that
vt_allocate() might not be called. So, perhaps vtterm_cnprobe() ? Something else?

Thanks!
-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5436A52A.30802>