Disklessworkstations 1520 Bogus LVDS Issue

Warren Togami <[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <[email protected]>
Stéphane Graber wrote:
> 
> XS20-xserver-intel-desktop-hack
>  - This fix is used in cases where thin clients are using netbook
> hardware for their video card. It happens for example with
> Disklessworkstation 1520 thin client that uses the exact same video card
> as Asus's EEE 1000H netbook, making it impossible to distinguish based
> on the PCIID, it uses hal to find the type of casing and disable the
> LVDS output if it's a desktop.
>  - Not having that fix makes a LVDS output appear in xrandr making it
> harder to change the display resolution (you have to change both), the
> fixes simply removes that output.
> 

This worked for me on bleeding edge X.org and Intel drivers with the 
Disklessworkstations 1520 (Atom N270 i945), but I had to change the 
syntax slightly.

     export X_DEVICE_OPTION_01='"monitor-LVDS1" "whatever"'

The name of the device LVDS or LVDS1 could be anything, and this 
arbitrary name comes from the kernel.

kernel-2.6.29-rc8-git2 i915.ko provides the following in /sys/class/drm
card0
card0-DVI-D-1
card0-LVDS-1
card0-SVIDEO-1
card0-VGA-1
controlD64
version

An ugly hack could look in /sys/class/drm to figure out the LVDS name... 
but this only works if you have loaded the i915.ko module.  If it can't 
detect it from here, fallback to "LVDS" and just hope it works...

http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=f6d8ae69b0f97e696c142f06c8038f336ed024f9
According to ajax, X attempts to check the table from the BIOS where the 
hardware is supposed to say it doesn't use the LVDS.  For KMS the kernel 
likely does something similar.  The manufacturer of this device could 
likely make the LVDS problem go away with a BIOS update.

ajax says that all other methods of detecting if the LVDS is bogus are 
unreliable, including that method that uses hal to determine "Desktop" 
or "Notebook".

Warren Togami
[email protected]

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.