Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2015 20:15:38 -0500
From:      Shawn Webb <lattera@gmail.com>
To:        freebsd-current@freebsd.org
Cc:        Hans Petter Selasky <hps@selasky.org>
Subject:   Re: Pluggable frame buffer devices
Message-ID:  <1963872.pLReSBKNjx@shawnwebb-laptop>
In-Reply-To: <5013637.Hs60HQbBR0@shawnwebb-laptop>
References:  <54E11A57.3030105@selasky.org> <5013637.Hs60HQbBR0@shawnwebb-laptop>

next in thread | previous in thread | raw e-mail | index | archive | help

--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: <vendor 0x8087 product 0x8000, class 9/0, rev 2.00/0.05, addr 2> on 
usbus2
[3] ugen1.2: <vendor 0x8087> at usbus1
[3] uhub4: <vendor 0x8087 product 0x8008, class 9/0, rev 2.00/0.05, addr 2> on 
usbus1
[3] uhub4: 6 ports with 6 removable, self powered
[3] ugen0.3: <Generic> 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: <Unknown> 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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1963872.pLReSBKNjx>