Re: Pluggable frame buffer devices

From: Shawn Webb <lattera_at_gmail.com>
Date: Thu, 19 Feb 2015 20:15:38 -0500
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)
Received on Fri Feb 20 2015 - 00:15:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:55 UTC