1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun 3*4882a593Smuzhiyunconfig USB_SISUSBVGA 4*4882a593Smuzhiyun tristate "USB 2.0 SVGA dongle support (Net2280/SiS315)" 5*4882a593Smuzhiyun depends on (USB_MUSB_HDRC || USB_EHCI_HCD) 6*4882a593Smuzhiyun select FONT_SUPPORT if USB_SISUSBVGA_CON 7*4882a593Smuzhiyun help 8*4882a593Smuzhiyun Say Y here if you intend to attach a USB2VGA dongle based on a 9*4882a593Smuzhiyun Net2280 and a SiS315 chip. 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun Note that this device requires a USB 2.0 host controller. It will not 12*4882a593Smuzhiyun work with USB 1.x controllers. 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun To compile this driver as a module, choose M here; the module will be 15*4882a593Smuzhiyun called sisusbvga. If unsure, say N. 16*4882a593Smuzhiyun 17*4882a593Smuzhiyunconfig USB_SISUSBVGA_CON 18*4882a593Smuzhiyun bool "Text console and mode switching support" if USB_SISUSBVGA 19*4882a593Smuzhiyun depends on VT && BROKEN 20*4882a593Smuzhiyun select FONT_8x16 21*4882a593Smuzhiyun help 22*4882a593Smuzhiyun Say Y here if you want a VGA text console via the USB dongle or 23*4882a593Smuzhiyun want to support userland applications that utilize the driver's 24*4882a593Smuzhiyun display mode switching capabilities. 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun Note that this console supports VGA/EGA text mode only. 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun By default, the console part of the driver will not kick in when 29*4882a593Smuzhiyun the driver is initialized. If you want the driver to take over 30*4882a593Smuzhiyun one or more of the consoles, you need to specify the number of 31*4882a593Smuzhiyun the first and last consoles (starting at 1) as driver parameters. 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun For example, if the driver is compiled as a module: 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun modprobe sisusbvga first=1 last=5 36*4882a593Smuzhiyun 37*4882a593Smuzhiyun If you use hotplug, add this to your modutils config files with 38*4882a593Smuzhiyun the "options" keyword, such as eg. 39*4882a593Smuzhiyun 40*4882a593Smuzhiyun options sisusbvga first=1 last=5 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun If the driver is compiled into the kernel image, the parameters 43*4882a593Smuzhiyun must be given in the kernel command like, such as 44*4882a593Smuzhiyun 45*4882a593Smuzhiyun sisusbvga.first=1 sisusbvga.last=5 46*4882a593Smuzhiyun 47*4882a593Smuzhiyun 48*4882a593Smuzhiyun 49