sisusbvga driver does not work with StarTech USB2VGAE2

Bug #517934 reported by EdwardMorris
60
This bug affects 10 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned
Declined for Jaunty by Brad Figg
Declined for Karmic by Brad Figg
Nominated for Lucid by EdwardMorris
Nominated for Maverick by PhE

Bug Description

Complete details (as best as I could) for Ubuntu 9.10 64-bit

http://ubuntuforums.org/showthread.php?t=1398488

Please see the comments below, I've posted all the details in multiple comments since this field is not big enough.

Revision history for this message
Brian Murray (brian-murray) wrote :

To receive the most readers it would be useful if you were to put information about the bug in the bug report rather than directly people to a forum thread and expecting them to wade through an unknown number of postings and collate information.

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
EdwardMorris (the-shaitaan) wrote :

So, heres a looooooooooooooooooooong sad journey to get this thing to work right, I bet you won't be surprised with the results.

SYSTEM: ThinkPad T500 with ATI 3650 HD

I bought the StarTech.com USB2VGAE2 adapter after finding and article on the Ubuntu wiki that explains that it might actually work. So first thing to try was to do a simple

Code:

sudo modprobe sisusbvga

believing that the driver is built in. Hooked up the device and the result :

FAIL!

So I went ahead and did a

Code:

lsusb

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0711:5100 Magic Control Technology Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 17ef:4807 Lenovo
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 08ff:2810 AuthenTec, Inc.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

So I see that its detecting the device just fine, but doing nothing

Code:

dmesg

[ 1.501358] usb 2-2: new high speed USB device using ehci_hcd and address 2
[ 1.658718] usb 2-2: configuration #1 chosen from 1 choice

So, I download the kernel source code to check out the driver related files and sisusb.c (...../drivers/usb/misc/sisusbvga in the kernel source) and I couldn't find the VIDID for my device listed (see lsusb output above) so I add it to source

Code:

.....
....
...
static struct usb_device_id sisusb_table [] = {
 { USB_DEVICE(0x0711, 0x0550) },
 { USB_DEVICE(0x0711, 0x5100) },
 { USB_DEVICE(0x0711, 0x0900) },
 { USB_DEVICE(0x0711, 0x0901) },
 { USB_DEVICE(0x0711, 0x0902) },
 { USB_DEVICE(0x0711, 0x0903) },
 { USB_DEVICE(0x0711, 0x0918) },
 { USB_DEVICE(0x182d, 0x021c) },
 { USB_DEVICE(0x182d, 0x0269) },
 { }
};
...
....
.....

Then I compiled it

Code:

sudo make menuconfig
make

Then I took a back up of the existing /lib/modules/2.6.31-17-generic/kernel/drivers/usb/misc/sisusbvga/sisusbvga.ko and replaced it with the freshly compiled one. Reboot and,

Code:

sudo modprobe sisusbvga

dmesg
usbcore: registered new interface driver sisusb

Hookup the device and

Code:

usb 2-2: USB2VGA dongle found at address 2 :D
usb 2-2: Allocated 8 output buffers :D
usb 2-2: Failed to early initialize device :(

Result : JACKS***

Revision history for this message
EdwardMorris (the-shaitaan) wrote :
Download full text (7.4 KiB)

Here is my custom xorg.conf (9.10 doesn't use this file so there is another long painful story which I don't wanna post here)

Code:

Section "ServerLayout"
 Identifier "X.org Configured"
 Screen 0 "Screen1" 0 0
 Screen 1 "Screen0" RightOf "Screen1"
 Screen 2 "Screen[SISUSBVGA]" LeftOf "Screen1"
 InputDevice "Mouse0" "CorePointer"
 InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
 ModulePath "/usr/lib/xorg/modules"
 FontPath "/usr/share/fonts/X11/misc"
 FontPath "/usr/share/fonts/X11/cyrillic"
 FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
 FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
 FontPath "/usr/share/fonts/X11/Type1"
 FontPath "/usr/share/fonts/X11/100dpi"
 FontPath "/usr/share/fonts/X11/75dpi"
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
 FontPath "built-ins"
EndSection

Section "Module"
 Load "dri2"
 Load "dbe"
 Load "record"
 Load "glx"
 Load "extmod"
 Load "dri"
EndSection

Section "InputDevice"
 Identifier "Keyboard0"
 Driver "kbd"
EndSection

Section "InputDevice"
 Identifier "Mouse0"
 Driver "mouse"
 Option "Protocol" "auto"
 Option "Device" "/dev/input/mice"
 Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
 Identifier "Monitor0"
 VendorName "Monitor Vendor"
 ModelName "Monitor Model"
EndSection

Section "Monitor"
 Identifier "Monitor1"
 VendorName "Monitor Vendor"
 ModelName "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option "NoAccel" # [<bool>]
        #Option "SWcursor" # [<bool>]
        #Option "ColorKey" # <i>
        #Option "CacheLines" # <i>
        #Option "Dac6Bit" # [<bool>]
        #Option "DRI" # [<bool>]
        #Option "NoDDC" # [<bool>]
        #Option "ShowCache" # [<bool>]
        #Option "XvMCSurfaces" # <i>
        #Option "PageFlip" # [<bool>]
 Identifier "Card0"
 Driver "intel"
 VendorName "Intel Corporation"
 BoardName "Mobile 4 Series Chipset Integrated Graphics Controller"
 BusID "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option "NoAccel" # [<bool>]
        #Option "SWcursor" # [<bool>]
        #Option "Dac6Bit" # [<bool>]
        #Option "Dac8Bit" # [<bool>]
        #Option "BusType" # [<str>]
        #Option "CPPIOMode" # [<bool>]
        #Option "CPusecTimeout" # <i>
        #Option "AGPMode" # <i>
        #Option "AGPFastWrite" # [<bool>]
        #Option "AGPSize" # <i>
        #Option "GARTSize" # <i>
 ...

Read more...

Revision history for this message
EdwardMorris (the-shaitaan) wrote :
Download full text (94.0 KiB)

and the error log for it

Code:

X.Org X Server 1.6.4
Release Date: 2009-9-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server x86_64 Ubuntu
Current Operating System: Linux ubuntu 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.31-17-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro quiet splash
Build Date: 14 November 2009 05:48:57PM
xorg-server 2:1.6.4-2ubuntu4.1 (buildd@)
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 4 13:39:05 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen1" (0)
(**) | |-->Monitor "Monitor1"
(**) | |-->Device "Card1"
(**) |-->Screen "Screen0" (1)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Card0"
(**) |-->Screen "Screen[SISUSBVGA]" (2)
(**) | |-->Monitor "Monitor[SISUSBVGA]"
(**) | |-->Device "Device[SISUSBVGA]"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
 Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
 Entry deleted from font path.
(**) FontPath set to:
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/100dpi/:unscaled,
 /usr/share/fonts/X11/75dpi/:unscaled,
 /usr/share/fonts/X11/Type1,
 /usr/share/fonts/X11/100dpi,
 /usr/share/fonts/X11/75dpi,
 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
 built-ins,
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/100dpi/:unscaled,
 /usr/share/fonts/X11/75dpi/:unscaled,
 /usr/share/fonts/X11/Type1,
 /usr/share/fonts/X11/100dpi,
 /usr/share/fonts/X11/75dpi,
 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
 built-ins
(**) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0xb40
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.4
 X.Org Video Driver: 5.0
 X.Org XInput driver : 4.0
 X.Org Server Extension : 2.0
(II) Loader running on linux
(++) using VT number 7

(--) PCI:*(0:0:2:0) 8086:2a42:17aa:2115 Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xfc000000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
(--) PCI: (0:1:0:0) 1002:9591:17aa:2116 ATI Technologies Inc Mobility Radeon HD 3650 rev 0, Mem @ 0xc0000000/268435456, 0xbfff0000/65536, I/O @ 0x00002000/256, BIOS @ 0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
 [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [5] ...

description: updated
Revision history for this message
Mark Cariaga (mzc) wrote :

The startech usb2vgae2 device does not work in lucid as well

Revision history for this message
Joel Lesher (joel-lesher) wrote :
Download full text (3.7 KiB)

I have a similar USB to VGA device that uses sisusbvga and am now having a problem with it in 10.04. It was working perfectly in 9.10 and 9.04.

joel@disco2:~$ lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 04f2:0111 Chicony Electronics Co., Ltd KU-9908 Keyboard
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 09da:0006 A4 Tech Co., Ltd Optical Mouse WOP-35 / Trust 450L Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0711:0900 Magic Control Technology Corp. SVGA Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So mine has a slightly different ID (compared to above entries) that did not need manually entered into the driver or anything like that to load.

What is happening is that it loads fine at start up and appears to be working great until I start to manipulate a window on the display connected to the USB->VGA device. After doing this it will completely lock the machine up and freeze both displays while it shows the mouse cursor flickering and slightly moving back and forth. This does not happen *everytime* I do something on the usb display but it is happening consistently enough to make it completely unusable. When it happens I have to do a hard reboot.

dmesg:

[ 37.756772] usb 1-4: USB2VGA dongle found at address 4
[ 37.756894] usb 1-4: Allocated 8 output buffers
[ 37.941613] usb 1-4: 8MB 1 ch/1 r SDR SDRAM, bus width 32
[ 40.410259] usbcore: registered new interface driver sisusb

joel@disco2:/var/log$ cat Xorg.0.log | grep SISUSB
(**) |-->Screen "Screen[SISUSBVGA]" (1)
(**) | |-->Monitor "Monitor[SISUSBVGA]"
(**) | |-->Device "Device[SISUSBVGA]"
(II) SISUSB: driver for SiSUSB chipsets: SIS315E/PRO USB
(II) SISUSB(1): SiSUSB driver (2005/09/28-1, compiled for X.org 1.7.2.0)
(II) SISUSB(1): Copyright (C) 2001-2005 Thomas Winischhofer <email address hidden>
(II) SISUSB(1): *** See http://www.winischhofer.at/linuxsisusbvga.shtml
(II) SISUSB(1): *** for documentation and updates.
(--) SISUSB(1): Found USB dongle (device /dev/sisusbvga0, kernel driver 0.0.8)
(--) SISUSB(1): sisusbfb not found
(**) SISUSB(1): Depth 24, (--) framebuffer bpp 32
(==) SISUSB(1): RGB weight 888
(==) SISUSB(1): Default visual is TrueColor
(==) SISUSB(1): Device will be re-probed forever after disconnection
(==) SISUSB(1): Using HW cursor
(==) SISUSB(1): Color HW cursor is enabled
(==) SISUSB(1): SiSCtrl utility interface is disabled
(--) SISUSB(1): DRAM type: Single channel 1 rank SDR SDRAM
(--) SISUSB(1): Memory clock: 143.180 MHz
(--) SISUSB(1): DRAM bus width: 32 bit
(II) SISUSB(1): Using 7616K of framebuffer memory
(==) SISUSB(1): Using gamma correction (1.0, 1.0, 1.0)
(II) SISUSB(1): Gamma correction is enabled
(--) SISUSB(1): Memory bandwidth at 32 bpp is 143.18 MHz
(==) SISUSB(1): Min pixel clock is 10 MHz
(--) SISUSB(1): Max pixel clock is 119 MHz
(II) SISUSB(1): Replaced entire mode list with built-in modes
(II) SISUSB(1): Monitor[SISUSBVGA]: Using hsync range of 30.00-90.00 kHz
(II) SISUSB(1): Monitor[SISUSBVGA]: Using vrefresh value of 70.00 Hz
(II) SISUSB(1): Clock range: 10.00 t...

Read more...

Revision history for this message
ironstorm (ironstorm-gmail) wrote :

I've started a thread on Ubuntu Forums about this... you may be interested to read the bit on the cousin of this product the MWS300 which may have some support in MAXI linux from Madrid.

http://ubuntuforums.org/showthread.php?p=11239619

Revision history for this message
ironstorm (ironstorm-gmail) wrote :

A video showing off Trigger 1+ ( ID 0711:5100 Magic Control Technology Corp.) based MWS300 clients being used to power a classroom, 6-usb video cards per desktop server.

http://mediateca.educa.madrid.org/reproducir.php?id_video=9n1orim32f61z8tv

Revision history for this message
ironstorm (ironstorm-gmail) wrote :

I can personally confirm that video on the Tritton XD300 (0711:5100 - Trigger 1+) is functional w/ the drivers on MaX 6.5RC2 w/ max-multiseat package installed.

To make it work I had to use a USB to PS2 splitter in the USB port next to the sound input/output jacks.

There's a lot of magic done with dynamic xorg.conf and gdm config in the background all wrapping around a libusb based driver set-up that I'm not entirely sure I understand....

But if we can pump video over usb to a Trigger 1+ with this, I don't see why it couldn't also used for other 0711:5100 devices.

Revision history for this message
penalvch (penalvch) wrote :

EdwardMorris, thank you for reporting this and helping make Ubuntu better. This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-upstream-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Anthony Hook (anthonyhook) wrote :

Marking as incomplete because I am currently having this issue.

Changed in linux (Ubuntu):
status: Expired → Incomplete
Revision history for this message
penalvch (penalvch) wrote :

Anthony Hook, could you please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Bug Control and Ubuntu Bug Squad article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette

When opening up the new report, please feel free to subscribe me to it. Thank you for your understanding.

Helpful Bug Reporting Links:
https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported
https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug
https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug

Revision history for this message
Anthony Hook (anthonyhook) wrote :

@Christopher - apologies. Created a new bug at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1050566 and I will subscribe you.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.