Debian Bug report logs - #624695
xserver-xorg-video-siliconmotion: No VGA output on Lemote Yeeloong.

version graph

Package: xserver-xorg-video-siliconmotion; Maintainer for xserver-xorg-video-siliconmotion is Debian X Strike Force <>; Source for xserver-xorg-video-siliconmotion is src:xserver-xorg-video-siliconmotion.

Reported by: Michael Dorrington <>

Date: Sat, 30 Apr 2011 18:03:02 UTC

Severity: normal

Tags: patch

Found in version xserver-xorg-video-siliconmotion/1:1.7.3-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox

Report forwarded to,, Debian X Strike Force <>:
Bug#624695; Package xserver-xorg-video-siliconmotion. (Sat, 30 Apr 2011 18:03:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Dorrington <>:
New Bug report received and forwarded. Copy sent to, Debian X Strike Force <>. (Sat, 30 Apr 2011 18:03:05 GMT) Full text and rfc822 format available.

Message #5 received at (full text, mbox):

From: Michael Dorrington <>
Subject: xserver-xorg-video-siliconmotion: No VGA output on Lemote Yeeloong.
Date: Sat, 30 Apr 2011 19:00:33 +0100
[Message part 1 (text/plain, inline)]
Package: xserver-xorg-video-siliconmotion
Version: 1:1.7.3-2
Severity: normal
Tags: patch
Usertags: yeeloong

After using the patch to xorg-server detailed in #594684
<> and the
include xorg.conf for help, X works on the attached screen (LVDS) of the
Lemote Yeeloong. However, the VGA output under X does not work. Further,
under a virtual console the VGA output does work.

This post to the debian-yeelong-project list

[debian-yeeloong-project] Loongson console display text

details several patches including
I guess that 'CRT' in the name is referring to external monitor output
(the VGA). I am not sure of the correctness of the patch, it could
certainly do with being reformatted. But applying the patch results in
VGA output under X working as expected.


-- Package-specific info:
X server symlink status:
lrwxrwxrwx 1 root root 13 Mar 20 17:16 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 2196096 Mar 20 23:40 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
00:08.0 VGA compatible controller [0300]: Silicon Motion, Inc. SM712 LynxEM+ [126f:0712] (rev b0)

Xorg X server configuration file status:
-rw-r--r-- 1 root root 553 Mar 20 19:45 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
Section "Device"
        Identifier      "Card0"
        Driver          "siliconmotion"
        Option          "pci_burst"      "true"
        Option          "HWCursor"       "true"
        Option          "VideoKey"       "45000"
        Option          "UseBIOS"        "false"
        Option          "PanelSize"      "1024x600"
        Option          "CSCVideo"       "false"
Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultDepth    16

/etc/X11/xorg.conf.d does not exist.

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
Linux version 2.6.38-libre-lemote (oliva@loongson2f-1) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 PREEMPT Wed Mar 16 05:33:51 UTC 2011

Xorg X server log files on system:
-rw-r--r-- 1 root root 20926 Apr 16 10:08 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 20444 Apr 30 17:18 /var/log/Xorg.0.log

DRM Information from dmesg:

-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: mipsel (mips64)

Kernel: Linux 2.6.38-libre-lemote (PREEMPT)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xserver-xorg-video-siliconmotion depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  xserver-xorg-core [xorg-video 2:1.7.7-13 Xorg X server - core server

xserver-xorg-video-siliconmotion recommends no packages.

xserver-xorg-video-siliconmotion suggests no packages.

-- no debconf information

[98_sm712_CRT_enable.diff (text/x-patch, inline)]
--- ../xx/xserver-xorg-video-siliconmotion-1.7.3/src/smi_driver.c	2010-03-09 23:39:23.451798382 +0800
+++ xserver-xorg-video-siliconmotion-1.7.3/src/smi_driver.c	2010-03-10 10:36:58.835798871 +0800
@@ -1805,6 +1797,11 @@
     pScreen->SaveScreen = SMI_SaveScreen;
     pSmi->CloseScreen = pScreen->CloseScreen;
     pScreen->CloseScreen = SMI_CloseScreen;
+        /* Added by Belcon to enable LCD Panel Control Select */
+        if (pSmi->Chipset == SMI_LYNXEMplus)
+        {
+                VGAOUT8_INDEX (pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x22, 2);
+        }
     if ((IS_MSOC(pSmi) &&
 	 !xf86DPMSInit(pScreen, SMI501_DisplayPowerManagementSet, 0)) ||
[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.

Debian bug tracking system administrator <>. Last modified: Wed Apr 16 16:03:41 2014; Machine Name:

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.