centos

Can someone help me? I try to run your adapter under a CentOS. I installed the Drivers from the CD and updated my Xorg.conf.
But screen is black :frowning:
Can someone help me?

I think i have a problem with the fbdev in my xorg.conf. Can someone help me with this? How do i set the fbdev?

Section “Device”
Identifier “USB1”
VendorName “Videocard Vendor”
BoardName “USB UGA Adapter1”
Driver “displaylink”
Option “fbdev” “/dev/fd0”
EndSection

Hi Roberto,

Thanks for your question! Linux requires manual editing of text configuration files, particularly xorg.conf, as you already know and are walking into … so it’s only for very advanced users. Even though Plugable has contributed quite a bit to the Linux driver, we actually try to steer Linux users away from purchasing the product, unless they’re really determined!

Those expectations set, let’s work to get your setup going. Two quick questions to start:

  1. Can you say what version of Centos you’re using, and can you do a uname -a and tell us the kernel version?
  2. Are you trying to get X running independently on the USB display - where you can run apps, but can’t drag windows between displays; or a Xinerama setup spanning more than one PCI and USB displays (which is much more complex to set up)?

Thanks again for your question - let’s try to get this going together.

Thank you!
Bernie

Hi Bernie,

I’m using Centosd 5.5 with this Kernel: Linux 2.6.18-194.17.4.el5 #1 SMP Mon Oct 25 15:51:07 EDT 2010 i686 i686 i386 GNU/Linux
And we need the Xinerama. I know a little bit about the complexity of xorg.conf. So i think i can handle this :slight_smile:

Thanks for your help

Roberto

Hi Roberto,

Ok, great. Here’s a tutorial to start from:

http://plugable.com/2009/11/16/settin…

This is for separate X instances for multiseat, so we only need steps 1, 2, and 5 (with 5 being the one we’ll have to heavily modify) but we can start from these basics to work on Xinerama. For the Xinerama part, we’ll draw from posts like:
http://lists.freedesktop.org/archives…
and the recent 3 parts of this thread: http://lists.freedesktop.org/archives…

So where do things stand for you now? Do you have a green screen (udlfb successfully loaded) on your USB attached display? Can you post your current xorg.conf?

Thank you!
Bernie

Hi Bernie,
i’m really sorry as i was not writing back. I was not in the office for 4 weeks now and i could not take care on this project.
I have now set up a clean Ubuntu 10.10 with all updates on it. but i can not bring up the second screen.
I made all the settings from the two Links and the unbuntu logo is on my second screen. But i can not get any data on my screen.

This is my xorg.conf

Section “ServerLayout”
Identifier “X.org Configured”
Screen 0 “Screen0” 0 0
Screen 1 “DisplayLinkScreen” RightOf “Screen0”
InputDevice “Mouse0” “CorePointer”
InputDevice “Keyboard0” “CoreKeyboard”
Option “Xinerama” “on”
Option “Clone” “off”

Option “BlankTime” “1200”

Option “StandbyTime” “0”

Option “SuspendTime” “0”

Option “OffTime” “1320”

EndSection

#################################################

Section “Files”
ModulePath “/usr/lib/xorg/modules”
ModulePath “/usr/local/lib/xorg/modules/drivers”
ModulePath “/usr/lib/xorg/modules/drivers”
ModulePath “/usr/local/lib”
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 “extmod”
Load “dbe”
Load “glx”
Load “dri”
Load “record”
Load “dri2”
EndSection

############### Default Device ###############

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

############### Default Video Device ###############

Section “Device”

Available Driver options are:-

Values: _: integer, : float, : “True”/“False”,

: “String”, : " Hz/kHz/MHz",

: “%”

[arg]: arg optional

#Option “NoAccel” # ]
#Option “SWcursor” # ]
#Option “ColorKey” #
#Option “CacheLines” #
#Option “Dac6Bit” # ]
#Option “DRI” # ]
#Option “NoDDC” # ]
#Option “ShowCache” # ]
#Option “XvMCSurfaces” #
#Option “PageFlip” # ]
Identifier “Card0”
Driver “intel”

Option “Accel” “on”

VideoRam 32256
BusID “PCI:0:2:0”
EndSection

Section “Screen”
Identifier “Screen0”
Device “Card0”
Monitor “Monitor0”
SubSection “Display”
Viewport 0 0
Depth 1
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 4
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 8
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 15
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 16
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 24
EndSubSection
EndSection

############### DisplayLink Stuff ###############

Section “Device”
Identifier “DisplayLinkDevice”

driver “displaylink”

Driver “fbdev”
Option “fbdev” “/dev/fb0”
EndSection

Section “Monitor”
Identifier “DisplayLinkMonitor”
EndSection

Section “Screen”
Identifier “DisplayLinkScreen”
Device “DisplayLinkDevice”
Monitor “DisplayLinkMonitor”
SubSection “Display”
Viewport 0 0
Depth 16
Modes “1280x1024” “1024x768”
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 24
Modes “1280x1024” “1024x768”
EndSubSection
EndSection

I hope as this is helping.

Thanks

Roberto_

Hi,
hmmmmm … ok one display (the one withe the USB adapter) is coming up with the ubuntu logo and than i can switch with CTRL+ALT+F1. The other display is coming automatic.
I think i have to switch something as it comms up just with Xorg.

The rest should be ok.

Roberto

Good, your system has the framebuffer driver which does all the talking to the device, up and running well.

Configuring X is the tricky part, then. Here is a recent post (yesterday) from someone getting aDisaplyLink-based device working on Ubuntu 10.10: http://lists.freedesktop.org/archives…

Sorry there isn’t a simpler answer on Linux. All the pieces are there, but it’s a lot of work to configure.

Hi Roberto,

These Linux xorg.conf problems are difficult to debug, unfortunately.

A few questions:

When you run with this configuration, does X come up on neither monitor (probably an xorg error) or is it just the USB display that is blank?

And if you run without xorg.conf (that is, auto-configured from PCI), does the USB display come up green? (or does it take a Ctrl-Alt-F1 to switch the text console to the USB display)?

And a few recommendations. You may have to fiddle a little bit to get the necessary prerequisites installed on Centos …

  1. Change the “Depth” setting in the final section to “16” for both. uldfb only supports 16bpp, and Xinerama requires that all displays have the same depth.

  2. Update to the latest udlfb:

sudo apt-get install module-assistant
sudo module-assistant prepare
git clone http://git.plugable.com/webdav/udlfb/
cd udlfb
make
sudo make install
sudo depmod -a

  1. Update to the fbdev x server with the special “damage notification” patch that udlfb needs:

sudo apt-get install xutils-dev
git clone http://git.plugable.com/webdav/xf86-v…
/autogen.sh && make && sudo make install

Hope these ideas help make some progress. Let us know!

Thanks!
Bernie