Adding USB SVGA: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(20 intermediate revisions by 7 users not shown)
Line 1: Line 1:
On XO-1.5 and using recent Operating Systems, it is easy to make a USB2VGA adapter work. Using USB2VGA adapters slows your XO down, and has some limitations (see below for details).
Using recent Operating Systems, it is easy to make a USB2VGA adapter work with your XO. Using USB2VGA adapters has some limitations (see below for details).


= Selecting the right USB-SVGA adapter =
= Selecting the right USB-SVGA adapter =


Short version: The devices tested and known to work are
This technique is supported with some USB-SVGA adapters based on the SIS USB-SVGA device, which uses the 'sisusbvga'(kernel) and 'sisusb'(xorg) drivers.


This driver supports cards based on the Net2280/SiS315 chipset, according to [http://www.winischhofer.eu/linuxsisusbvga.shtml the author's page here]. Some devices reported to work [http://www.nslu2-linux.org/wiki/HowTo/AddVGAAdapter according to the NSLU2 wiki]

* [http://www.sitecom.com/product.php?productcode=CN-105&productid=292 Sitecom CN-105]
* [http://www.sweex.com/product.asp?pid=460 Sweex KB100050]
* [http://www.startech.com/Product/ItemDetail.aspx?productid=USB2VGA&c=UK Startech.com USB2VGA]
* [http://www.startech.com/Product/ItemDetail.aspx?productid=USB2VGA&c=UK Startech.com USB2VGA]
* [http://www.startech.com/Product/ItemDetail.aspx?productid=USB2VGA2&c=UK Startech.com USB2VGA2]
* [http://www.startech.com/Product/ItemDetail.aspx?productid=USB2VGA2&c=UK Startech.com USB2VGA2]

While in general, this feature works with USB-SVGA adapters based on the SIS Net2280/SiS315 chipset, which uses the 'sisusbvga'(kernel) and 'sisusb'(xorg) drivers, '''only those two models have been reported to work'''. Other devices from Startech.com are available, with similar model names, but you should not expect them to work.

For more details, see [http://www.winischhofer.eu/linuxsisusbvga.shtml the author's page here]. Some devices reported to work [http://www.nslu2-linux.org/wiki/HowTo/AddVGAAdapter according to the NSLU2 wiki]


Using lsusb, we have seen these identifiers on devices that work:
Using lsusb, we have seen these identifiers on devices that work:
Line 16: Line 16:
Bus 004 Device 005: ID 0711:0900 Magic Control Technology Corp. SVGA Adapter
Bus 004 Device 005: ID 0711:0900 Magic Control Technology Corp. SVGA Adapter


= On XO OS 10.1.3 and newer =
'''Important notice :''' In older OSs, unless you compiled the sisusbvga module for your kernel, the module can possibly not be fully powered on, do not think the XO is not powerful enough to handle it, just insert the module to make sure it gets powered on.


Just plug the USB2VGA device to the XO, and start it up (or restart it if it is on). The desktop will only appear on the external display. The LCD of the XO will not be operational.
= On XO OS 10.1.3 or newer (XO-1.5 only)=


= On XO OS 10.1.1 and 10.1.2=
Just plug the USB2VGA device to the XO, and start it up (or restart it if it is on). The desktop will appear smaller on the LCD of the XO, because it will be a 1024x768 desktop.

= On XO OS 10.1.1 and 10.1.2 (XO-1.5 only)=


You will need to install some required modules from the main repositories
You will need to install some required modules from the main repositories


yum install xorg-x11-drv-sisusb xorg-x11-server-Xephyr
yum install xorg-x11-drv-sisusb


And then a test RPM that contains the required auto-configuration scripts
And the RPM containing the required auto-configuration scripts


wget http://dev.laptop.org/~martin/test-usbvga/olpc-utils-1.0.29-1.fc11.i586.rpm
wget http://dev.laptop.org/~martin/public_rpms/f11/olpc-utils-1.0.31-1.fc11.i586.rpm


rpm -Uvh olpc-utils-1.0.29-1.fc11.i586.rpm
rpm -Uvh olpc-utils-1.0.31-1.fc11.i586.rpm


Connect the USB SVGA adapter, and restart your XO.
Connect the USB SVGA adapter, and restart your XO.

= XO-1 support =

The OS releases based on Fedora 11 (the 10.1.x series) crash when using a SiS USB device. This is fixed in newer versions of the driver (ie: in Fedora 14) -- see http://dev.laptop.org/ticket/10387


= On XO OS 8.2.1 and earlier =
= On XO OS 8.2.1 and earlier =
Line 46: Line 40:
= Limitations and quirks =
= Limitations and quirks =


* '''No mirroring, external display only'''. When you are using the USB VGA device, we disable the internal LCD screen. This is for two reasons
** Performance is bad when trying to drive the 2 screen simultaneously. This is in part because the internal display is very differentrom a conventional screen.
** On XO-1, the OS releases based on Fedora 11 (the 10.1.x series) cannot run both the internal video card and a SiS USB device.
* '''Sometimes changes are not shown on screen immediately'''. Move the pointer to get the external display updated. There is a bug in the SiSUSBVGA driver that "forgets" to update the screen. We are investigating.
* When using the USB SVGA device, power saving mode is ''disabled'' so you battery will drain faster.
* When using the USB SVGA device, power saving mode is ''disabled'' so you battery will drain faster.

* Performance is slower.
* Performance is slower.

* Sometimes, the image on the SVGA output will not be updated immediately. Moving the pointer (touchpad or mouse) a bit will fix it.

* Minor screen corruption is sometimes visible.

* Switching between VT (Text console) and X shows some minor screen corruption.

* After a bit of inactivity, the SVGA port will "blank".

* It does not interact well with sleep -- if you close the XO lid, and reopen, the behaviour might be buggy.

* It does not constrain the mouse to the desktop area

* Some activities (for example Pippy) do not work or display correctly on the "smaller" screen.
* Some activities (for example Pippy) do not work or display correctly on the "smaller" screen.

* There may be a visible difference in color temperature
* There may be a visible difference in color temperature
* Earlier than 10.1.3 the kernel module may be missing in some OS/XO model combinations -- compile the kernel and modprobe sisusbvga.

* Some alternate keyboard glyphs are unreachable


= Pictures =
= Pictures =

Latest revision as of 02:26, 26 October 2011

Using recent Operating Systems, it is easy to make a USB2VGA adapter work with your XO. Using USB2VGA adapters has some limitations (see below for details).

Selecting the right USB-SVGA adapter

Short version: The devices tested and known to work are

While in general, this feature works with USB-SVGA adapters based on the SIS Net2280/SiS315 chipset, which uses the 'sisusbvga'(kernel) and 'sisusb'(xorg) drivers, only those two models have been reported to work. Other devices from Startech.com are available, with similar model names, but you should not expect them to work.

For more details, see the author's page here. Some devices reported to work according to the NSLU2 wiki

Using lsusb, we have seen these identifiers on devices that work:

 Bus 004 Device 005: ID 0711:0900 Magic Control Technology Corp. SVGA Adapter

On XO OS 10.1.3 and newer

Just plug the USB2VGA device to the XO, and start it up (or restart it if it is on). The desktop will only appear on the external display. The LCD of the XO will not be operational.

On XO OS 10.1.1 and 10.1.2

You will need to install some required modules from the main repositories

yum install xorg-x11-drv-sisusb

And the RPM containing the required auto-configuration scripts

wget http://dev.laptop.org/~martin/public_rpms/f11/olpc-utils-1.0.31-1.fc11.i586.rpm
rpm -Uvh olpc-utils-1.0.31-1.fc11.i586.rpm

Connect the USB SVGA adapter, and restart your XO.

On XO OS 8.2.1 and earlier

The process is more complex as you will have to compile kernel and xorg modules. See Adding_USB_SVGA/Fedora_9_and_earlier

Limitations and quirks

  • No mirroring, external display only. When you are using the USB VGA device, we disable the internal LCD screen. This is for two reasons
    • Performance is bad when trying to drive the 2 screen simultaneously. This is in part because the internal display is very differentrom a conventional screen.
    • On XO-1, the OS releases based on Fedora 11 (the 10.1.x series) cannot run both the internal video card and a SiS USB device.
  • Sometimes changes are not shown on screen immediately. Move the pointer to get the external display updated. There is a bug in the SiSUSBVGA driver that "forgets" to update the screen. We are investigating.
  • When using the USB SVGA device, power saving mode is disabled so you battery will drain faster.
  • Performance is slower.
  • Some activities (for example Pippy) do not work or display correctly on the "smaller" screen.
  • There may be a visible difference in color temperature
  • Earlier than 10.1.3 the kernel module may be missing in some OS/XO model combinations -- compile the kernel and modprobe sisusbvga.

Pictures

Here are some pictures of the OLPC working with the USB-SVGA adapter.

Other Resources