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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to