Pluggable frame buffer devices

Hans Petter Selasky hps at selasky.org
Sun Feb 22 09:08:49 UTC 2015


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 at gmail.com to
> shawn.webb at 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


More information about the freebsd-current mailing list