Skip to content

Commit

Permalink
[PATCH] USB: sisusb[vga] update
Browse files Browse the repository at this point in the history
here is a new and extended version of the sisusbvga (previously: sisusb)
driver. The patch is against 2.6.13 and updates the driver to version 0.0.8.

Additions include complete VGA/EGA text console support and a build-in
display mode infrastructure for userland applications that don't know
 about the graphics internals.

Fixes include some BE/LE issues and a get/put_dev bug in the previous
version.

Other changes include a change of the module name from "sisusb" to
"sisusbvga". The previous one was too generic IMHO.

Please note that the patch also affects the Makefile in
drivers/video/console as the driver requires the VGA 8x16 font in case
the text console part is selected.

Heavily tested, as usual. Please apply.

One thing though: I already prepared for removal of the "mode" field and
the changed "name" field in the usb_class_driver structure. This will
perhaps need some refinement depending on whether you/Linus merge the
respective core changes before or after 2.6.14.

Signed-off-by: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
realA10001986 authored and gregkh committed Sep 12, 2005
1 parent 8090830 commit 1bbb4f2
Show file tree
Hide file tree
Showing 10 changed files with 4,236 additions and 56 deletions.
42 changes: 37 additions & 5 deletions drivers/usb/misc/sisusbvga/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,43 @@ config USB_SISUSBVGA
depends on USB && USB_EHCI_HCD
---help---
Say Y here if you intend to attach a USB2VGA dongle based on a
Net2280 and a SiS315 chip.
Note that this device requires a USB 2.0 host controller. It will not
Net2280 and a SiS315 chip.

Note that this device requires a USB 2.0 host controller. It will not
work with USB 1.x controllers.

To compile this driver as a module, choose M here: the module will be
called sisusb. If unsure, say N.
To compile this driver as a module, choose M here; the module will be
called sisusbvga. If unsure, say N.

config USB_SISUSBVGA_CON
bool "Text console and mode switching support" if USB_SISUSBVGA
depends on VT
select FONT_8x16
---help---
Say Y here if you want a VGA text console via the USB dongle or
want to support userland applications that utilize the driver's
display mode switching capabilities.

Note that this console supports VGA/EGA text mode only.

By default, the console part of the driver will not kick in when
the driver is initialized. If you want the driver to take over
one or more of the consoles, you need to specify the number of
the first and last consoles (starting at 1) as driver parameters.

For example, if the driver is compiled as a module:

modprobe sisusbvga first=1 last=5

If you use hotplug, add this to your modutils config files with
the "options" keyword, such as eg.

options sisusbvga first=1 last=5

If the driver is compiled into the kernel image, the parameters
must be given in the kernel command like, such as

sisusbvga.first=1 sisusbvga.last=5



4 changes: 3 additions & 1 deletion drivers/usb/misc/sisusbvga/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
# Makefile for the sisusb driver (if driver is inside kernel tree).
#

obj-$(CONFIG_USB_SISUSBVGA) += sisusb.o
obj-$(CONFIG_USB_SISUSBVGA) += sisusbvga.o

sisusbvga-objs := sisusb.o sisusb_init.o sisusb_con.o

0 comments on commit 1bbb4f2

Please sign in to comment.