# Re: Changing which device has VTs?

- From: Dave Airlie \<airlied@gmail.com\>
- Date: 2013-08-15 05:49:06 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/08/13465172
- Thread: https://ratatoskr.run/linux-fbdev/2013/08/13465171/t.md

```text
(resend, gmail went html again).

On Thu, Aug 15, 2013 at 4:47 AM, Andy Lutomirski [ref] wrote:
> I have a box with a real graphics card (radeon) and an onboard
> graphics card (mgag200).  I want to use the radeon and ignore the
> mgag200.  For reasons of extreme firmware suckage, I have two choices:
>
> 1. Leave both devices enabled in BIOS and set the mgag200 device
> primary.  This causes efifb and later mgag200 to both point at the
> mgag200.  All of my text consoles end up on the mgag200.  This is
> unfortunate, especially because if, even if I set xorg to ignore the
> mgag200 device, hitting ctrl-alt-f2 causes X to suspend itself and my
> text console to show up on a device with no monitor attached.
>
> 2. Set the radeon device as primary in BIOS.  System doesn't boot.

get vendor to fix BIOS :-)

>
> I'd like to leave mgag200 primary but tell Linux to put all the text
> consoles on the radeon device once it shows up.  I could compile out
> both efifb and mgag200, but that seems like a waste.  Is there any way
> to do this with a command-line parameter?  I tried fbcon=map:1, and I
> get no fbcon at all.

the mapping stuff should work, alternative is to write some code to
call the fbcon
event, FB_EVENT_REMAP_ALL_CONSOLE, which is what the GPU switcher
code uses to remap fbcon between switchable GPU systems.

Dave.
```
