User:Samir/USB2VGA UVT-100 dev

From OLPC
Jump to navigation Jump to search
Public domain This file has been released into the public domain by its copyright holder, its copyright has expired, or it is ineligible for copyright. This applies worldwide.

Info

The unit is from MCT, the UVT-100 (see http://www.esysmall.com/detail_prod.asp?prod_Id=5544 ) one.

Download

Unpack

Go to your /linux source directory. Untar the mcttrigger archive in drivers/usb/misc

Compile

  • Add the line :

source "drivers/usb/misc/mcttrigger/Kconfig" in the file linux/drivers/usb/misc/Kconfig

  • go to include/linux directory and
cd /usr/src/linux/include/linux
ln -s autoconf.h config.h
  • Then on the linux source directory,
make menuconfig

and choose Device Support>>USB Support add the USB VGA MCT support as a module

Exit and Save the new configuration

  • compile:
cd /usr/src/linux
make drivers/usb/misc/mcttrigger/triggerusbvga.ko

Install

If there is no sisusbvga0 device file on /dev, type as root:

mknod /dev/sisusbvga0 c 180 133
mknod /dev/sisusbvga1 c 180 134
mknod /dev/sisusbvga2 c 180 135
mknod /dev/sisusbvga3 c 180 136
mknod /dev/sisusbvga4 c 180 137
mknod /dev/sisusbvga5 c 180 138
mknod /dev/sisusbvga6 c 180 139
mknod /dev/sisusbvga7 c 180 140
chmod 660 /dev/sisusbvga*

insmod the new driver, if your running kernel matches the linux source only, otherwise there will be a magic version issue.

You have to install the sisusb Xorg driver too, package name: xserver-xorg-video-sisusb

Configure the xorg.conf by modifying the device section:

Section "Device"
        Identifier "SiS USB2VGA"
        Driver     "sisusb"

# Please see http://www.winischhofer.at/linuxsisusbvga.shtml for more 
# information

EndSection