Messages in this thread | | | Date | Wed, 07 Jun 2006 07:15:56 +0800 | From | "Antonino A. Daplas" <> | Subject | Re: [PATCH 0/7] Detaching fbcon |
| |
Jon Smirl wrote: > On 6/6/06, Dave Airlie <airlied@gmail.com> wrote: >> > > > >> > How is the stack maintained of what was previously bound to console? >> > What if I unbind fbcon on a system that doesn't have VGAcon for a >> backup? >> >> You could try actually reading the patches... > > I was working on a patch for this but now I've lost interest.
How come? I never believed you're the type to lose interest so easily :-)
> > Detach should be an attribute off from /dev/console. /dev/console is > using the standard device support and appears at > /sys/class/tty/console so /sys/class/tty/console/detach can be added > as an attribute. /sys/class/tty/console could have another attribute > which lists the available drivers. One solution would be for the > attribute to list the names of the available drivers that have > registered with console and then copy one of those names back to the > attribute to select where console is bound. > > In my opinion attach/detach does not belong as an attribute on fbcon, > it is part of /dev/console. The fact that fbcon has to ask console to > unbind from it implies these attributes are in the wrong place.
Okay, you and Andrew persuaded me to change the location of the control. I did say that if someone makes the necessary change to the vt layer that it won't be a problem. The necessary infrastructure is already introduced by this patch to make it work like what you and Andrew want.
Tony
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |