FrescoLogic / FL2000

Fresco Logic FL2000 Linux/Android Kernel driver
GNU General Public License v2.0
290 stars 117 forks source link

support for Ubuntu 16.04 kernel 4.x? #16

Open gastonnina opened 6 years ago

gastonnina commented 6 years ago

Hi people,

please update this for the next LTS Ubuntu 16.04 and in future 18.04

Cinerar commented 6 years ago

There is user on reddit who is ready to write driver if he will be sponsored with devices https://www.reddit.com/r/linux/comments/7165gs/fresco_logic_just_dropped_an_open_source_linux/

FrescoLogic? @fresco-fl2000 Cmon.

fresco-fl2000 commented 6 years ago

Hi Cinerar, I've brought up the "free sample device" issue to the Fresco management team. Hopefully the management team would setup "FL2000 driver sponsoring" program. After all, the sample device is cheap, and I don't think it would cost too much to sponsor with free sample devices.

Lucas

ulli-kroll commented 6 years ago

@gastonnina Hi you could try my testing branches on https://github.com/ulli-kroll/FL2000/tree/testing-v1 https://github.com/ulli-kroll/FL2000/tree/testing-v2 but please be are there is NO DRM support here

phaltness commented 6 years ago

Hi, @ulli-kroll, i was playing with testing-v* branches, but - nothing seen at my hdmi display - no one pictures or desktop video stream. nothing (((. probably it was missed something. if you wish, i could provide my logs to be helpful.

ulli-kroll commented 6 years ago

As I said no DRM DRM -> Direct Render Manager as "service" with you can talk to the graphics hardware via various user space programs. I have a DRM framework on my side, but as mentioned here sometimes my big problem is memory. Maybe I do code some hack here

phaltness commented 6 years ago

@ulli-kroll, could you please provide your methods of DRM usage - maybe as simple "how-to" - ill try to help with testing-v* branches.

CanNuhlar commented 6 years ago

@ulli-kroll Yeah would love to see the source code of your DRM work.

prusswan commented 6 years ago

@fresco-fl2000 It shouldn't be very hard to ship one from your TW/CN factories..

Also, I have one such device and can possibly connect it to VMware as part of a remote testing setup. However, I don't know how feasible it is for a remote user to access the display output without an actual monitor.

fresco-fl2000 commented 6 years ago

Hi prusswan, and those who are interested in getting FL2000 device samples, I am not in position to make any promise. I would suggest you to go through Fresco Logic Sales team or marketing team (sales@frescologic.com , marketing@frescologic.com ).

ulli-kroll commented 6 years ago

Some update, for those who can understand. I have currently (barely) no time, busy at my main job

[  107.176938] fl2k: loading out-of-tree module taints kernel.
[  107.186122] usb 3-2.3: FL2000DX found
[  107.189955] usb 3-2.3: streaming interface detected
[  107.991066] i2c i2c-0: fl2k-ic2 probed
[  107.995556] i2c i2c-0: IT66121 not found on 4c
[  108.000274] usb 3-2.3: fl2k alloc shadow buffer
[  108.005054] cma: cma_alloc(cma 0000000074c44d54, count 1519, align 8)
[  108.005655] cma: cma_alloc(): returned 000000003c9399fa
[  108.010113] usb 3-2.3: mapped shadow buffer 6220800 bytes 0000000012de4ac5 -> 000000003b6f554e
[  108.029856] usb 3-2.3: drm_connector_init()
[  108.035420] usb 3-2.3: read EDID length 128
[  110.047572] open /dev/fb0 user=0 fb_info=00000000c18ed97c count=1
[  110.048942] usb 3-2.3: fl2k_crtc_mode_set() hdisplay 1366 vdisplay 768
[  110.048960] Console: switching to colour frame buffer device 170x48
[  110.083580] usb 3-2.3: fb0: fl2k-drmfb frame buffer device
[  110.089297] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  110.096225] [drm] No driver support for vblank timestamp query.
[  110.106576] usb 3-2.3: Notify system to add monitor.
[  110.111804] [drm] Initialized fl2k 0.0.1 20120220 for 3-2.3 on minor 0
[  110.118458] [drm] Initialized fl2k on minor 0

buildroot-4 ~ # cat /proc/cmdline 
BOOT_IMAGE=/boot/bzImage.64bit console=ttyS0,115200n8 cma=20M

buildroot-4 ~ # zcat /proc/config.gz | grep CMA
CONFIG_CMA=y
CONFIG_CMA_DEBUG=y
CONFIG_CMA_DEBUGFS=y
CONFIG_CMA_AREAS=7
CONFIG_DMA_CMA=y
CONFIG_CMA_SIZE_MBYTES=0
CONFIG_CMA_SIZE_SEL_MBYTES=y
CONFIG_CMA_ALIGNMENT=8

You need DMA CMA No HDMI, because the I2C device is crazy and of course no actual screen

fresco-fl2000 commented 6 years ago

For those who are interested in free samples:

I got instructions from management team that we don't have sample adapters for give-away. FrescoLogic only sells chip IC, instead of adapters.

prusswan commented 6 years ago

@fresco-fl2000 then get one from your downstream clients, or write the drivers yourself..

davidhscope commented 6 years ago

Dear,

I had bought a device with fl2000 buy, i use ubuntu18.04 and i can't get display running. Please help me!!!

CanNuhlar commented 6 years ago

It's because there is no drm support yet. From a user's point of view you may say it's unsupported at the moment.

On Oct 19, 2018 9:34 AM, "davidhscope" notifications@github.com wrote:

Dear,

I had bought a device with fl2000 buy, i use ubuntu18.04 and i can't get display running. Please help me!!!

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/FrescoLogic/FL2000/issues/16#issuecomment-431259625, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ6dcgI3xvZoG8S2PFhL2HS6QkfGAKKbks5umXJ7gaJpZM4S11yJ .

fabiusks commented 6 years ago

Cmooonn!! Ubuntu support is commodity :(

robmro27 commented 6 years ago

Hey I am also interested on run this on Ubuntu > 14. No open source driver ? :( I think I need to return this I don't want to downgrade Ubuntu or playing with Kernel to run this device. Nobody can help ?

davidhscope commented 5 years ago

Hi all,

any commit change for ubuntu 18.04?

mbaric commented 5 years ago

Hey guys, I also have Ubuntu 18.04 and my 2nd shiny monitor keeps sitting in the dark for this to come live. Brrr

tuxedo0801 commented 5 years ago

+1 for a working linux display driver for FL2000 ...

lironmo commented 5 years ago

+1 for a working linux display driver for FL2000 ...

sim1234 commented 5 years ago

cmon

Leocardoso94 commented 5 years ago

news?

Ni55aN commented 5 years ago

Do anyone know a working adapters (USB -> VGA) for Ubuntu 18?

CalColson commented 5 years ago

Any update? Thinking about returning this and getting a displaylink adapter

kishan93 commented 5 years ago

they got so long time still no linux support yet ?

simon511000 commented 5 years ago

Up!

bsbeats commented 5 years ago

I'm waiting too +1!!

orlandorode97 commented 5 years ago

:(

grodriguezl commented 5 years ago

Nothing?

bsbeats commented 5 years ago

I give up to wait and bought in usa a 4k usb adapter and now working very well in ubuntu 18!

https://www.diamondmm.com/product/bvu5500h-display-adapter/

probonopd commented 5 years ago

That one is using chips and drivers from https://www.displaylink.com/.

grodriguezl commented 4 years ago

I bought the adapter @bsbeats suggested (thanks), it works like a charm on ubuntu 18

bsbeats commented 4 years ago

Haha i really appreciate to help someone! Regards @grodriguezl !

Mhowser commented 4 years ago

Any progress on this?

eduardobcastro commented 3 years ago

Fortunately I've reach out to this before buying it

ovidiovazquez commented 3 years ago

I'm not lucky as you @eduardobcastro , well... at least my wife may use it in her Win10 Laptop

MRROOX commented 3 years ago

2021 - this is not working :bug: :bug: :bug: :c

jrszoio commented 3 years ago

Hello everyone, can you send me a link with the adapter to buy? USB to VGA to use on ubuntu 20.04(displaylink chipset). I found this one "https://pt.aliexpress.com/item/33022768893.html?spm=a2g0o.cart.0.0.3a6f3c00uPCK99&mp=1", but I don't know it's the best choice.

nishant-k1 commented 2 years ago

Do anyone know a working adapters (USB -> VGA) for Ubuntu 18?

NOT YET