Re: Pluggable frame buffer devices

From: Mehmet Erol Sanliturk <m.e.sanliturk_at_gmail.com>
Date: Mon, 16 Feb 2015 13:51:46 -0800
On Mon, Feb 16, 2015 at 1:33 PM, Hans Petter Selasky <hps_at_selasky.org>
wrote:

> On 02/16/15 22:30, Mehmet Erol Sanliturk wrote:
>
>> On Mon, Feb 16, 2015 at 9:10 AM, Hans Petter Selasky <hps_at_selasky.org>
>> wrote:
>>
>>  On 02/16/15 16:39, 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 personally can't answer your question. But I'd love to help test this,
>>>> especially since Haswell graphics isn't supported, yet, and my laptop is
>>>> running Haswell. What would be a good USB display device to buy to help
>>>> test
>>>> this awesome work out?
>>>>
>>>>
>>> Hi Shawn,
>>>
>>> I think any USB device that uses the brand name "DisplayLink" will work.
>>>
>>> Current list of supported devices:
>>>
>>>   /*
>>>
>>>>   * Matching devices.
>>>>   */
>>>> static const STRUCT_USB_HOST_ID udl_devs[] = {
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_
>>>> LCD4300U,
>>>> DL120)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_
>>>> LCD8000U,
>>>> DL120)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_
>>>> GUC2020,
>>>> DL160)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK,
>>>> USB_PRODUCT_DISPLAYLINK_LD220,
>>>> DL165)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_
>>>> VCUD60,
>>>> DL160)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK,
>>>> USB_PRODUCT_DISPLAYLINK_DLDVI,
>>>> DL160)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK,
>>>> USB_PRODUCT_DISPLAYLINK_VGA10,
>>>> DL120)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK,
>>>> USB_PRODUCT_DISPLAYLINK_WSDVI,
>>>> DLUNK)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK,
>>>> USB_PRODUCT_DISPLAYLINK_EC008,
>>>> DL160)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_
>>>> HPDOCK,
>>>> DL160)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK,
>>>> USB_PRODUCT_DISPLAYLINK_NL571,
>>>> DL160)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_
>>>> M01061,
>>>> DL195)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_
>>>> NBDOCK,
>>>> DL165)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK,
>>>> USB_PRODUCT_DISPLAYLINK_SWDVI,
>>>> DLUNK)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK,
>>>> USB_PRODUCT_DISPLAYLINK_UM7X0,
>>>> DL120)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_CONV,
>>>> DL160)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_
>>>> PLUGABLE,
>>>> DL160)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK,
>>>> USB_PRODUCT_DISPLAYLINK_LUM70,
>>>> DL125)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_
>>>> POLARIS2,
>>>> DLUNK)},
>>>>          {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_
>>>> LT1421,
>>>> DLUNK)}
>>>> };
>>>>
>>>>
>>>
>>> Also see:
>>>
>>> man udl
>>>
>>> Some work needs to be done to fully integrate with the VT console
>>> subsystem. I had Xorg up and running today with the DisplayLink I
>>> adapter I
>>> have, and I works quite well. With USB 3.0 ones I think we can expect
>>> more.
>>>
>>> --HPS
>>> _______________________________________________
>>>
>>>
>>>
>>
>> Will there be support for the devices like the following USB video
>> adapters
>> ?
>>
>>
>> http://www.amazon.com/gp/product/B00GUE5LGS/ref=s9_
>> simh_gw_p147_d0_i11?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=desktop-2&pf_rd_r=
>> 1QXWR8TQVH25A4KZWMDM&pf_rd_t=36701&pf_rd_p=1970566542&pf_rd_i=desktop
>>
>>
>> http://www.amazon.com/gp/product/B00A2E1MQA/ref=s9_
>> simh_gw_p147_d0_i3?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=desktop-2&pf_rd_r=
>> 1QXWR8TQVH25A4KZWMDM&pf_rd_t=36701&pf_rd_p=1970566542&pf_rd_i=desktop
>>
>>
>> http://www.amazon.com/gp/product/B00612ZPQA/ref=s9_
>> simh_gw_p147_d0_i2?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=desktop-2&pf_rd_r=
>> 1QXWR8TQVH25A4KZWMDM&pf_rd_t=36701&pf_rd_p=1970566542&pf_rd_i=desktop
>>
>>
> Depending on what USB protocol they are using we can add support for them.
> Maybe you need to buy one and dump the USB descriptors :-)
>
> --HPS
>
>

I will attempt to find sample ones ( this may require some time ) and send
their descriptors .
( Some of the following are sold in Turkey )


http://www.digitus.info/pt/productos/multimedia/video/usb-grafik-adapter/r-grafikadapter-usb-20-auf-vga-da-70833/
http://www.digitus.info/pt/productos/multimedia/video/usb-grafik-adapter/r-grafikadapter-usb-20-auf-dvi-da-70834/
http://www.digitus.info/pt/productos/multimedia/video/usb-grafik-adapter/usb-20-auf-hdmi-videoadapter-da-70851/
http://www.digitus.info/pt/productos/multimedia/video/usb-grafik-adapter/r-usb-30-zu-vga-adapter-da-70450/
http://www.digitus.info/pt/productos/multimedia/video/usb-grafik-adapter/usb-30-zu-dvi-adapter-da-70451/
http://www.digitus.info/pt/productos/multimedia/video/usb-grafik-adapter/usb-30-zu-hdmi-adapter-da-70452/
http://www.digitus.info/pt/productos/multimedia/video/usb-grafik-adapter/mhl-micro-usb-20-adapterkabel-ak-300305-002-s/




My main aim is to use such devices to attach to a computer extra
conventional monitors ( they may be very cheap or already  present at hand
) and to divert  stdin , stdout , and stderr to different monitors and
study outputs during working on GUI desktops and programs to follow their
execution steps for their debugging by defining stdin , stdout , stderr
ports in boot loader.conf or elsewhere ( I need help on this subject also )
.


Thank you very much .

Mehmet Erol Sanliturk
Received on Mon Feb 16 2015 - 20:51:48 UTC

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