From owner-freebsd-current@FreeBSD.ORG Fri Feb 20 01:15:45 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F5E21A6 for ; Fri, 20 Feb 2015 01:15:45 +0000 (UTC) Received: from mail-qg0-x22c.google.com (mail-qg0-x22c.google.com [IPv6:2607:f8b0:400d:c04::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E3768263 for ; Fri, 20 Feb 2015 01:15:44 +0000 (UTC) Received: by mail-qg0-f44.google.com with SMTP id j5so11091589qga.3 for ; Thu, 19 Feb 2015 17:15:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-type; bh=HjWJgeolUh2XfuMDKSaYK/jAEzzOEmcq9ncmQE/Ki1k=; b=K/g3uhQdF4tDDS4dyY/cp3HNcFXiL9xqvYdUKcCUslX/5uYJShpCVYejdCiub54ryK snOqQ0YKynOGjjoUt9tax0Gzl4mjlxaKLxg8zXbxFHG7kU0HpidMdInnwCe7U3+pn3Rj dWo/8YiWY8q1V4BGJTUAqMCvyZaijK10EHmzxvViSMXBX1kJx0TOPbpSID4+5aVy4FdJ pCVb9FKJP86AIie6eEj724PSSXQvt3/T76zhUxIOs5yzMNdVglsapyk0AoUsnUT/3TnZ a3J2rGLnfOfyTLdrYBSqtuEQnzph3NFVo0fH7lwI5ksm3/jizUqkfvbMMjsyiB00sMFZ 5ImQ== X-Received: by 10.140.105.97 with SMTP id b88mr1409882qgf.94.1424394943951; Thu, 19 Feb 2015 17:15:43 -0800 (PST) Received: from shawnwebb-laptop.localnet ([73.173.99.185]) by mx.google.com with ESMTPSA id e13sm20950231qaa.48.2015.02.19.17.15.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Feb 2015 17:15:42 -0800 (PST) From: Shawn Webb To: freebsd-current@freebsd.org Subject: Re: Pluggable frame buffer devices Date: Thu, 19 Feb 2015 20:15:38 -0500 Message-ID: <1963872.pLReSBKNjx@shawnwebb-laptop> User-Agent: KMail/4.14.2 (FreeBSD/11.0-CURRENT; KDE/4.14.2; amd64; ; ) In-Reply-To: <5013637.Hs60HQbBR0@shawnwebb-laptop> References: <54E11A57.3030105@selasky.org> <5013637.Hs60HQbBR0@shawnwebb-laptop> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1690202.gmnr6za4hR"; micalg="pgp-sha256"; protocol="application/pgp-signature" Cc: Hans Petter Selasky 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: Fri, 20 Feb 2015 01:15:45 -0000 --nextPart1690202.gmnr6za4hR Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: > > -------------------------------------------------------------- > > >>> stage 3.2: building everything > > -------------------------------------------------------------- > linking kernel.debug > udl.o: In function `udl_attach': > /usr/src/sys/dev/usb/video/udl.c:(.text+0xa07): undefined reference to > `edid_parse' > /usr/src/sys/dev/usb/video/udl.c:(.text+0xa0f): undefined reference to > `edid_print' > --- kernel.debug --- > *** [kernel.debug] Error code 1 > > Thanks, > > Shawn I got it building. I had to add "device videomode" to my kernel as well. It looks like when I plug in the device I bought, identifying the device just stalls out. Log posted below: [3] uhub3: on usbus2 [3] ugen1.2: at usbus1 [3] uhub4: on usbus1 [3] uhub4: 6 ports with 6 removable, self powered [3] ugen0.3: at usbus0 [4] Root mount waiting for: usbus2 usbus0 [5] Root mount waiting for: usbus2 usbus0 [6] Root mount waiting for: usbus2 usbus0 [6] usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT [7] Root mount waiting for: usbus2 usbus0 [7] usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) [8] uhub_attach: Getting USB 2.0 HUB descriptor failed,error=USB_ERR_TIMEOUT [8] device_attach: uhub3 attach returned 6 [8] usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT [9] Root mount waiting for: usbus0 [10] Root mount waiting for: usbus0 [10] usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) [10] usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT [11] Root mount waiting for: usbus0 [11] usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) [12] Root mount waiting for: usbus0 [12] usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT [13] Root mount waiting for: usbus0 [14] usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) [14] Root mount waiting for: usbus0 [14] usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT [14] ugen0.4: at usbus0 (disconnected) [14] uhub_reattach_port: could not allocate new device [15] Root mount waiting for: usbus0 [16] Root mount waiting for: usbus0 [17] Root mount waiting for: usbus0 [18] Root mount waiting for: usbus0 [19] Root mount waiting for: usbus0 [20] Root mount waiting for: usbus0 [21] usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_TIMEOUT [21] usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_IOERROR, ignored) --nextPart1690202.gmnr6za4hR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJU5oq6AAoJEGqEZY9SRW7uVUgP/1fRcMXLTCWY7m/EEAhHDvTA AuXON3b7oaeoGHmbbHJ38ev4XdoOuzRmv3+ux8LB3e6uV/ByoZaMPQxPm79KRFS5 ktFCRmB52eIR6s2D0NqKOEAVpWAZTt6nM0JT9Htg/6CmcrsLxmgqwAVCe11NVyd7 XE6i3/MBbPmHAMUiZjVoh8sSf0DuMLL5SdYpApsbtQugk33uxyxt/+6h47foL3Ar ObrGaoJU1TPwJP7WR5bUbDJSAB5a8L7N0zYxFOL+C/kcA5wUI37pU7d46fw5aWEq ON8JcaC4DHE1PICNePVVqFvFYdrl82Hu8O+1vdeXh3pnyV6wz45WtX392bRMNDZy TxyjO8EUObQOfCBJzfcRPgvRiix29afTI3K9D+IFyhZd5bBZJgnWnSdWmMGZ8BGX 5AJjyTgSXZo75saI7LbtXg3A8gN2jFgWgozzblDYVPs1BRu9T5CLb1ESq8vgJ2jJ 8OtyxmvnErVq+YsiBefhTTkTot5fvnKnDi1h3Bo+epgL5fq5KRWVJ+uUw4nH+Fvd M2bJh4HcofTkDepg4X+mrelYFW2XirLaZYXX+wETKJAtZd2v4R24+SmAzCqSNZCy l12Hiuxt32eNSbxdXWKRXuH906qGbdV3dgJa65jP0iBFRB3yW99lqj6qzst1fjkk /HlL2zI4lkXx86e7GzJD =Ot/R -----END PGP SIGNATURE----- --nextPart1690202.gmnr6za4hR--