https://redmine.graphics-muse.org/https://redmine.graphics-muse.org/favicon.ico?16278048512013-08-15T20:53:25ZGraphics Muse Issue TrackerPiBox - Feature #216: Add DisplayLink USB driver to kernel and create optional xorg.conf for ithttps://redmine.graphics-muse.org/issues/216?journal_id=6872013-08-15T20:53:25ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/687/diff?detail_id=446">diff</a>)</li></ul> PiBox - Feature #216: Add DisplayLink USB driver to kernel and create optional xorg.conf for ithttps://redmine.graphics-muse.org/issues/216?journal_id=6902013-08-17T23:28:48ZHammelmjhammel@graphics-muse.org
<ul></ul><p>Gentoo uses this to control the DisplayLink display from the main X session: <a class="external" href="http://www.the-labs.com/X11/#x2x">http://www.the-labs.com/X11/#x2x</a></p>
<p>I can try this or see if Synergy works on a single host.</p> PiBox - Feature #216: Add DisplayLink USB driver to kernel and create optional xorg.conf for ithttps://redmine.graphics-muse.org/issues/216?journal_id=6912013-08-17T23:54:55ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>50</i></li></ul><p>Enabled DisplayLink monitor in kernel. Added monitor to usbhandler.conf. Added and initial xorg.conf.dl X.org configuration for it. Added initial displaylink.sh shell script to bring up X on the monitor manually. This is all pushed upstream. Much of the configuration is based on the <a href="http://wiki.gentoo.org/wiki/DisplayLink" class="external">Gentoo examples</a>. Note that this is running on fbdev, not the special xserver-xorg-video-displaylink X server that ubuntu users appear to be using.</p>
<p>I'll add a photo to show this working, just cuz its kinda cool, a little later. (See below)</p>
<p>Wow. That was easy. So now the DisplayLink monitor becomes available at boot time. However, you have to run the displaylink.sh script manually to bring up X on it. I need to integrate this (along with a better default xinitrc) into the S90UI init script.</p>
<p>Another thing that Gentoo uses is x2x, which allows sharing keyboard and mouse between two monitors. I need to look into getting and trying this. It isn't available in Buildroot yet.</p>
<p>Finally, xset is missing. This is needed to disable screen blanking. I may want to review the rest of the X11 applications in Buildroot that are not enabled to see if there are others I may need.</p>
<p><img src="http://www.graphics-muse.org/wiki/uploads/RaspberryPi/ScreenShots/DisplayLink.jpg" alt="" /></p> PiBox - Feature #216: Add DisplayLink USB driver to kernel and create optional xorg.conf for ithttps://redmine.graphics-muse.org/issues/216?journal_id=6922013-08-18T21:21:05ZHammelmjhammel@graphics-muse.org
<ul><li><strong>File</strong> <a href="/attachments/12">synergy.conf</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/12/synergy.conf">synergy.conf</a> added</li></ul><p><a href="http://synergy-foss.org/" class="external">Synergy</a> works to share the keyboard and mouse between the HDMI monitor and the Display Link.</p>
<p>First, start the server with the following command (configuration file is attached):</p>
<blockquote>
<p><code>synergys -c /etc/synergy/synergy.conf</code></p>
</blockquote>
<p>The configuration file is assumed to be stored under /etc/synergy. Next, start the client. Remember that the DisplayLink is being run as a second X server so we tell synergy client to use that server.</p>
<blockquote>
<p><code>synergyc --display :1 --name displaylink 127.0.0.1</code></p>
</blockquote>
<p>Both commands can be debugged by adding the following options:</p>
<blockquote>
<p><code>-f --debug INFO</code></p>
</blockquote>
<p>So we don't need x2x after all. We can use synergy instead.</p>
<p>Next up: get the synergy server config into the Buildroot skeleton and integrate synergy startup with S90UI. Important: Synergy should only start if both the HDMI and DisplayLink are are attached. So if there are not two X servers running, synergy should not start.</p> PiBox - Feature #216: Add DisplayLink USB driver to kernel and create optional xorg.conf for ithttps://redmine.graphics-muse.org/issues/216?journal_id=7052013-08-21T16:23:13ZHammelmjhammel@graphics-muse.org
<ul><li><strong>% Done</strong> changed from <i>50</i> to <i>60</i></li></ul><p>Pushed synergy.conf upstream.</p>
To integrate with S90UI:
<ol>
<li>S90UI tests for fb devices: /dev/fb0 /devfb1</li>
<li>S90UI tests for DisplayLink USB device</li>
<li>If only one fb but no DisplayLink, start only the original X server.</li>
<li>If only one fb but has DisplayLink, start the DisplayLink server</li>
<li>If two fb
<ol>
<li>start both servers</li>
<li>start synergy server</li>
<li>start synergy client</li>
</ol></li>
</ol>
<p>Each server is started by <a href="http://wiki.gentoo.org/wiki/DisplayLink#displaylink.sh" class="external">telling xinit which xorg.conf</a> to use.</p>
<p>Note: I may want to remove the matchbox config stuff from S90UI for now. I may still use BUI (re: my version of matchbox) but not yet.</p> PiBox - Feature #216: Add DisplayLink USB driver to kernel and create optional xorg.conf for ithttps://redmine.graphics-muse.org/issues/216?journal_id=7642013-10-18T15:13:52ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li><li><strong>Target version</strong> changed from <i>1.0 - Atreides</i> to <i>3.0 - Corrino</i></li><li><strong>Severity</strong> changed from <i>03 - Medium</i> to <i>05 - Very Low</i></li></ul><p>My Lilliput Displaylink was stolen out of my house (along with a bunch of other stuff). Based on what else they took from my office, I think the morons thought it was a tablet.</p>
<p>Anyway, I can't do any more testing on this without another DisplayLink. Since this isn't a necessary component, I'll move it way out and come back to it later.</p> PiBox - Feature #216: Add DisplayLink USB driver to kernel and create optional xorg.conf for ithttps://redmine.graphics-muse.org/issues/216?journal_id=19242016-07-27T22:28:12ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>60</i> to <i>100</i></li></ul><p>Closing issue as something that will never get done and isn't really needed anyway.</p>