User:Samir/USB2VGA UVT-100 dev: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 46: | Line 46: | ||
package name: xserver-xorg-video-sisusb |
package name: xserver-xorg-video-sisusb |
||
Configure the xorg.conf by modifying the device section: |
|||
<code> |
|||
# ----------- This stuff needs to be adapted to your machine ------------ |
|||
Section "Files" |
|||
FontPath "/usr/lib/X11/fonts/misc" |
|||
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" |
|||
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" |
|||
# FontPath "/usr/lib/X11/fonts/Type1" |
|||
FontPath "/usr/lib/X11/fonts/Speedo" |
|||
FontPath "/usr/lib/X11/fonts/100dpi" |
|||
FontPath "/usr/lib/X11/fonts/75dpi" |
|||
EndSection |
|||
Section "Module" |
|||
Load "GLcore" # MUST be there if DRI is enabled |
|||
Load "dbe" |
|||
Load "extmod" |
|||
Load "record" |
|||
Load "bitmap" |
|||
Load "freetype" |
|||
Load "speedo" |
|||
EndSection |
|||
Section "InputDevice" |
|||
Identifier "Generic Keyboard" |
|||
Driver "keyboard" |
|||
Option "CoreKeyboard" |
|||
Option "XkbRules" "xfree86" |
|||
Option "XkbModel" "pc104" |
|||
Option "XkbLayout" "de" |
|||
Option "XkbVariant" "nodeadkeys" |
|||
EndSection |
|||
Section "InputDevice" |
|||
Identifier "Configured Mouse" |
|||
Driver "mouse" |
|||
Option "CorePointer" |
|||
Option "Device" "/dev/psaux" |
|||
Option "Protocol" "PS/2" |
|||
Option "Emulate3Buttons" "true" |
|||
Option "ZAxisMapping" "4 5" |
|||
EndSection |
|||
Section "InputDevice" |
|||
Identifier "USB Mouse" |
|||
Driver "mouse" |
|||
Option "SendCoreEvents" "true" |
|||
Option "Device" "/dev/input/mice" |
|||
Option "Protocol" "ImPS/2" |
|||
Option "Emulate3Buttons" "true" |
|||
Option "ZAxisMapping" "4 5" |
|||
EndSection |
|||
# ----------------- End of machine specific stuff ------------------------ |
|||
# ---------------------------------------------------------- |
|||
# MONITOR section |
|||
# ---------------------------------------------------------- |
|||
# This section contains data for monitor configuration. |
|||
# The sisusb driver does not support DDC. |
|||
Section "Monitor" |
|||
Identifier "Generic" |
|||
VendorName "Monitor Vendor" # value does not matter |
|||
ModelName "Monitor Model" # value does not matter |
|||
VertRefresh 50-75 |
|||
HorizSync 30-90 |
|||
EndSection |
|||
# ---------------------------------------------------------- |
|||
# DEVICE section |
|||
# ---------------------------------------------------------- |
|||
# This section contains configuration data of the video card. |
|||
<pre> |
|||
Section "Device" |
Section "Device" |
||
Identifier "SiS USB2VGA" |
Identifier "SiS USB2VGA" |
||
VendorName "SiS" # Value does not matter |
|||
BoardName "SiS" # Value does not matter |
|||
Driver "sisusb" |
Driver "sisusb" |
||
# BusID: Does not matter if you have only one USB2VGA dongle. |
|||
# If you have more than one, you can specify the device node |
|||
# name or the device number here. |
|||
BusID "USB:/dev/sisusbvga0" |
|||
# Please see http://www.winischhofer.at/linuxsisusbvga.shtml for more |
# Please see http://www.winischhofer.at/linuxsisusbvga.shtml for more |
||
Line 138: | Line 57: | ||
EndSection |
EndSection |
||
</pre> |
|||
# ---------------------------------------------------------- |
|||
# SCREEN section |
|||
# ---------------------------------------------------------- |
|||
# This section defines the available resulutions and depths. |
|||
Section "Screen" |
|||
Identifier "screen1" |
|||
Device "SiS USB2VGA" |
|||
Monitor "Generic" |
|||
DefaultDepth 8 |
|||
SubSection "Display" |
|||
Depth 16 |
|||
Modes "1024x768" "800x600" "640x480" |
|||
EndSubSection |
|||
SubSection "Display" |
|||
Depth 8 |
|||
Modes "1024x768" "800x600" "640x480" |
|||
EndSubSection |
|||
SubSection "Display" |
|||
Depth 24 |
|||
Modes "1024x768" "800x600" "640x480" |
|||
EndSubSection |
|||
EndSection |
|||
# ---------------------------------------------------------- |
|||
# Server layout: Combine Monitor, Screen and Device sections |
|||
# ---------------------------------------------------------- |
|||
Section "ServerLayout" |
|||
Identifier "Default Layout" |
|||
Screen "screen1" |
|||
InputDevice "Generic Keyboard" |
|||
InputDevice "Configured Mouse" |
|||
InputDevice "USB Mouse" |
|||
EndSection |
|||
</code> |
Revision as of 16:56, 16 May 2008
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
- Tested unit : UVT-100 from MCT, also known as eMagic UTV-100 SXGA adapter
- Windows Driver : http://cs.chipsetcomm.com.tw/support/download/USB2.0_TO_VGA.rar
- Spec : chipset unknown
- lsusb gives : 0711:5001
- Need USB 2.0
The unit is from MCT, the UVT-100 (see http://www.esysmall.com/detail_prod.asp?prod_Id=5544 ) one.
Download
- The alpha source code driver : does compile with a 2.6.22 linux kernel but does not work
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
type : ln -s autoconf.h config.h
- Then on the linux source directory,
make menuconfig Device Support>>USB Support add the USB VGA MCT support as a module Exit and Save the new configuration
- compile: make drivers/usb/misc/mcttrigger/triggerusbvga.ko
Install
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