[<prev] [next>] [day] [month] [year] [list]
Message-ID: <524c95d0f11a150a1bd9a68609dbe41e.squirrel@intranet.cs.nmsu.edu>
Date: Wed, 25 Nov 2009 12:05:28 -0700
From: "Rick L. Vinyard, Jr." <rvinyard@...nmsu.edu>
To: "LKML" <linux-kernel@...r.kernel.org>
Subject: What's needed in a driver to start a console on a framebuffer
I'm still playing around with the G13 driver and have everything worked
out except how I want to handle graphics and console.
In the driver I have a framebuffer device as well (it can't be a separate
device due to the way the messages are handled). This portion of the
driver is based on fbdefio.
Where I'm stuck is testing a console on the framebuffer. Everything I've
looked at assumes that a console is started at boot time or when the
driver is loaded.
I've thought about modifying the fbcon map, but I'd like this to happen
when the G13 is plugged in rather than at boot.
I noticed that fbcon watches for FB_EVENT_SET_CONSOLE_MAP and I could use
that to remap a console.
Any suggestions on how to approach this?
Thanks,
Rick
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists