From owner-freebsd-current@FreeBSD.ORG Sun Feb 22 09:08:49 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 85DC55A0 for ; Sun, 22 Feb 2015 09:08:49 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 457811F7 for ; Sun, 22 Feb 2015 09:08:49 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 9E8671FE022; Sun, 22 Feb 2015 10:08:46 +0100 (CET) Message-ID: <54E99CCE.5030401@selasky.org> Date: Sun, 22 Feb 2015 10:09:34 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Shawn Webb Subject: Re: Pluggable frame buffer devices References: <54E11A57.3030105@selasky.org> <1963872.pLReSBKNjx@shawnwebb-laptop> <54E6F060.2010301@selasky.org> <4020865.FJlWBPXrRZ@shawnwebb-laptop> In-Reply-To: <4020865.FJlWBPXrRZ@shawnwebb-laptop> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 09:08:49 -0000 On 02/21/15 23:59, Shawn Webb wrote: > On Friday, February 20, 2015 09:29:20 AM Hans Petter Selasky wrote: >> On 02/20/15 02:15, Shawn Webb wrote: >>> On Thursday, February 19, 2015 07:04:50 PM Shawn Webb wrote: >>>> On Sunday, February 15, 2015 11:14:47 PM Hans Petter Selasky wrote: >>>>> Hi, >>>>> >>>>> I've added support for USB display link adapters to FreeBSD-11-current, >>>>> but the kernel panics once "vt_fb_attach(info)" is called from >>>>> "fbd_register(struct fb_info* info)" when the USB device is plugged or >>>>> udl.ko is loaded. Is this a known issue? >>>>> >>>>> REF: https://svnweb.freebsd.org/base/head/sys/dev/usb/video/udl.c >>>>> >>>>> --HPS >>>> >>>> I just bought a DisplayLink adapter that's compatible. Compiling a new >> >>>> kernel with device udl brings this error: >> Hi, >> >> You need to also build the "sys/modules/videomode" and install and kldload. >> >> Does your device need a power supply? >> >> Can you plug the device through an external USB HUB after boot? >> >> Also you need some VT patches, before it will attach to VT which I can >> send you. See attachment. >> >> Beware the unplugging the device is not supported. It will crash / panic >> which needs to be resolved. >> >> --HPS > > (FYI: I'm switching email accounts from lattera@gmail.com to > shawn.webb@hardenedbsd.org) > > So I'm a little unsure how to test this. Could you provide some instructions? > > I bought this device: http://www.iogear.com/support/dm/driver/GUC2020DW6 > It's listed in udl.c as supported: > https://svnweb.freebsd.org/base/head/sys/dev/usb/video/udl.c?revision=278852&view=markup#l151 > > What kind of setup should I have in my xorg.conf to tell xorg to use that > instead of the built-in laptop display? Can you provide an example xorg.conf? > Xorg config is here: http://pastebin.com/W9yPBvcR I'll see if I can put the rest of the patches in place this week, so that it will be more easy for you. --HPS