[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Package: xserver-xorg-video-siliconmotion
Version: 1:1.7.3-2
Severity: normal
Tags: patch
User: debian-yeeloong-project@lists.alioth.debian.org
Usertags: yeeloong
X-Debbugs-CC: debian-yeeloong-project@lists.alioth.debian.org

After using the patch to xorg-server detailed in #594684
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=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
<http://lists.alioth.debian.org/pipermail/debian-yeeloong-project/2010-August/000009.html>

details several patches including
http://www.bjlx.org.cn/loongson2f/squeeze/xserver-xorg-video-siliconmotion/98_sm712_CRT_enable.diff
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.

Regards,
Mike.

-- 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"
EndSection
 
Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultDepth    16
EndSection

/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

--- ../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)) ||

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: