Adding USB SVGA

From OLPC
Revision as of 12:57, 27 January 2008 by FlorianFainelli (talk | contribs) (New page: = Adding an USB-SVGA adapter = It is possible to make use of the USB connectors on the XO to plug in an USB-SVGA adapter. Note that Linux supports these kind of chips with the '''sisusbvg...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Adding an USB-SVGA adapter

It is possible to make use of the USB connectors on the XO to plug in an USB-SVGA adapter. Note that Linux supports these kind of chips with the sisusbvga driver for the kernel side and sisusb module for the Xorg side.

Compiling the kernel module

You will need to follow the instructions about rebuilding your kernel at

Modify the olpc_defconfig to include the SiS USB-SVGA driver :

{{{ diff --git a/arch/i386/configs/olpc_defconfig b/arch/i386/configs/olpc_defconfig index 8439431..74abf3b 100644 --- a/arch/i386/configs/olpc_defconfig +++ b/arch/i386/configs/olpc_defconfig @@ -215,7 +215,6 @@ CONFIG_NR_QUICK=1

# CONFIG_MATH_EMULATION is not set
# CONFIG_MTRR is not set
# CONFIG_SECCOMP is not set

-# CONFIG_VGA_NOPROBE is not set

CONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set

@@ -1711,7 +1710,8 @@ CONFIG_USB_SERIAL_PL2303=m

# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set

-# CONFIG_USB_SISUSBVGA is not set +CONFIG_USB_SISUSBVGA=m +CONFIG_USB_SISUSBVGA_CON=y

# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set

}}}

Note that we actually chose to have support for the console on the driver, which is not mandatory but can be convenient when testing.

Now recompile your kernel using this olpc_defconfig. The newly generated kernel RPM package will include this driver.