User:Samir/USB2VGA UVT-100 dev

From OLPC

Jump to: navigation, 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.

Contents

[edit] Info

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

[edit] Download

[edit] Unpack

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

[edit] 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

[edit] 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

[edit] Bugs

The alpha version does not work. Currently the Xorg.0.log would show this error :

(II) SISUSB(0): SiSUSB driver (2005/09/28-1, compiled for X.org 7.2.0.0)
(II) SISUSB(0): Copyright (C) 2001-2005 Thomas Winischhofer <thomas@winischhofer.net>
(II) SISUSB(0): *** See http://www.winischhofer.at/linuxsisusbvga.shtml
(II) SISUSB(0): *** for documentation and updates.
(--) SISUSB(0): Found USB dongle (device /dev/sisusbvga0, kernel driver 0.0.8)
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"(II) Module already built-in
(--) SISUSB(0): sisusbfb not found
(**) SISUSB(0): Depth 8, (--) framebuffer bpp 8
(==) SISUSB(0): Default visual is PseudoColor

Backtrace:
0: X(xf86SigHandler+0x81) [0x80c95d1]
1: [0xffffe420]
2: X(ProcessInputEvents+0x5c) [0x80ca92c]
3: X(UpdateCurrentTime+0x50) [0x808f6d0]
4: /usr/lib/xorg/modules/drivers//sisusb_drv.so [0xb71f22ce]
5: /usr/lib/xorg/modules/drivers//sisusb_drv.so(__inSISIDXREG+0x79) [0xb71f3189]
6: /usr/lib/xorg/modules/drivers//sisusb_drv.so(sisusbSaveUnlockExtRegisterLock+0x5d) [0xb71f4b5d]
7: /usr/lib/xorg/modules/drivers//sisusb_drv.so [0xb71f7645]
8: X(InitOutput+0x9a4) [0x80a8ea4]
9: X(main+0x27b) [0x8076ceb]
10: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7d83050]
11: X(FontFileCompleteXLFD+0x1e1) [0x8076241]

The dongle is detected, but it seems that the sisusb_drv.c should be modified ?

Personal tools
  • Log in / create account
  • Login with OpenID
About OLPC
About the XO
Projects
OLPC wiki
Toolbox
In other languages