Fresco logic fl2000 linux
Fresco Logic FL2000 Linux/Android kernel driver
This is an official driver release from Fresco Logic in an attempt to help the open-source community adopting the development and use of the FL2000DX device. This driver only covers the USB part of the display logic. It does not support the Linux desktop logic (eg. extended desktop vs mirrored desktop).
2. On which kernel versions does this driver work?
This driver is tested on Ubuntu 14 LTS as well as some Android platforms with kernel version 3.10.x. This driver source might not compile on newer kernels (eg. 4.0 or above) because of the fast-moving API changes in the mainstream kernel. You might need to adapt it for your own use.
3. Target audience
This release is targeted to open-source developers, as opposed to end-users.
4. How do I enable extended desktop/mirrored desktop on my X Window?
Currently Fresco Logic does not provide desktop related manipulation. Fresco Logic hopes the community will contribute to this area so that end-users can easily adopt this solution.
5. FL2000DX limitation.
The FL2000DX chip is cheap by design where it doesn’t have a frame buffer on its own. It relies heavily on USB 3.0 transfer speed to accommodate continuous USB flow. The larger the image is, the heavier it depends on USB bandwidth. A typical 1920×1080@60 Hz requires 1920 * 1080 * 24bpp * 60 = 373,248,000 bytes/sec of traffic over the USB bus. As such, USB2.0 speed is not supported.
Connecting more than one FL2000DX device to the same bus is deprecated.
6. How do I compile & test the kernel driver?
6a. Compile the driver
Find your kernel source tree, and edit src/Makefile . Locate the following line:
Modify this line so that it points to the correct source tree. After that, run make to create fl2000.ko and run insmod fl2000.ko to load the driver.
6b. Test the driver
In the sample folder, run make to create fltest . If you you are using a cross compiler to build the binary for specific platforms, you need to specify that specific compiler in src/Makefile .
Run ./fltest 0 as superuser to run the test. The driver provides several user mode buffer access methods (e.g copy to kernel internal buffer, or directly locking down user buffer). Look at fl2000_ioctl.h for detailed information.
7. How do I file a bug to the Fresco Logic developers?
Источник
Fresco logic fl2000 linux
Fresco Logic FL2000 Linux/Android Kernel driver
This is a official driver release from Fresco Logic, in an attempt to help open-source community adopting the developement and use of the FL2000DX device. The driver contains only the USB part of the display logic. It does not support Linux desktop logic (eg. extended desktop vs mirrored desktop).
What is the Linux kerenl version that this release works on?
This driver is tested on Ubuntu 14 LTS, as well as some other Android platform where the kernel version is 3.10.x. This driver source might not compile on newer kernel (eg. 4.0 or above) because of fast-moving API changes in the mainstream kernel. You need to adapt it for your own use.
This release is targeted to open-source developer, as opposed to end user.
How do I enable extended desktop/mirrored desktop on my X Window?
Currently Fresco Logic does not provide desktop related manipulation. Fresco Logic hopes the community would contribute to this area such that end user could easily adopt this solution.
FL2000DX chip is cheap by design where it does not have frame buffer of its own. It relies heavily on USB 3.0 transfer speed to accommodate contiguous USB flow. The larger the image is, the heavier it depends on USB bandwidth. A typical 1920×1080@60 Hz requires 1920x 1080x 24bpp x 60 = 373,248,000 bytes/sec of traffic over the USB bus.
More than 1 FL2000DX devices connected to the bus is depricated.
As such, USB2.0 speed is not supported.
How do I compile & test the kernel driver?
6.1 Find your kernel source tree, and edit src/Makefile. Locate the following lines:
6.2 In the «sample» folder, use «make» to create «fltest». If you you are using
How do I file bug to Fresco Logic developer?
Источник
Fresco logic fl2000 linux
Fresco Logic FL2000 Linux/Android kernel driver
This is an official driver release from Fresco Logic in an attempt to help the open-source community adopting the development and use of the FL2000DX device. This driver only covers the USB part of the display logic. It does not support the Linux desktop logic (eg. extended desktop vs mirrored desktop).
2. On which kernel versions does this driver work?
This driver is tested on Ubuntu 14 LTS as well as some Android platforms with kernel version 3.10.x. This driver source might not compile on newer kernels (eg. 4.0 or above) because of the fast-moving API changes in the mainstream kernel. You might need to adapt it for your own use.
3. Target audience
This release is targeted to open-source developers, as opposed to end-users.
4. How do I enable extended desktop/mirrored desktop on my X Window?
Currently Fresco Logic does not provide desktop related manipulation. Fresco Logic hopes the community will contribute to this area so that end-users can easily adopt this solution.
5. FL2000DX limitation.
The FL2000DX chip is cheap by design where it doesn’t have a frame buffer on its own. It relies heavily on USB 3.0 transfer speed to accommodate continuous USB flow. The larger the image is, the heavier it depends on USB bandwidth. A typical 1920×1080@60 Hz requires 1920 * 1080 * 24bpp * 60 = 373,248,000 bytes/sec of traffic over the USB bus. As such, USB2.0 speed is not supported.
Connecting more than one FL2000DX device to the same bus is deprecated.
6. How do I compile & test the kernel driver?
6a. Compile the driver
Find your kernel source tree, and edit src/Makefile . Locate the following line:
Modify this line so that it points to the correct source tree. After that, run make to create fl2000.ko and run insmod fl2000.ko to load the driver.
6b. Test the driver
In the sample folder, run make to create fltest . If you you are using a cross compiler to build the binary for specific platforms, you need to specify that specific compiler in src/Makefile .
Run ./fltest 0 as superuser to run the test. The driver provides several user mode buffer access methods (e.g copy to kernel internal buffer, or directly locking down user buffer). Look at fl2000_ioctl.h for detailed information.
7. How do I file a bug to the Fresco Logic developers?
Источник
Fresco logic fl2000 linux
Fresco Logic FL2000 Linux/Android Kernel driver
This is a official driver release from Fresco Logic, in an attempt to help open-source community adopting the developement and use of the FL2000DX device. The driver contains only the USB part of the display logic. It does not support Linux desktop logic (eg. extended desktop vs mirrored desktop).
What is the Linux kerenl version that this release works on?
This driver is tested on Ubuntu 14 LTS, as well as some other Android platform where the kernel version is 3.10.x. This driver source might not compile on newer kernel (eg. 4.0 or above) because of fast-moving API changes in the mainstream kernel. You need to adapt it for your own use.
This release is targeted to open-source developer, as opposed to end user.
How do I enable extended desktop/mirrored desktop on my X Window?
Currently Fresco Logic does not provide desktop related manipulation. Fresco Logic hopes the community would contribute to this area such that end user could easily adopt this solution.
FL2000DX chip is cheap by design where it does not have frame buffer of its own. It relies heavily on USB 3.0 transfer speed to accommodate contiguous USB flow. The larger the image is, the heavier it depends on USB bandwidth. A typical 1920×1080@60 Hz requires 1920x 1080x 24bpp x 60 = 373,248,000 bytes/sec of traffic over the USB bus.
More than 1 FL2000DX devices connected to the bus is depricated.
As such, USB2.0 speed is not supported.
How do I compile & test the kernel driver?
6.1 Find your kernel source tree, and edit src/Makefile. Locate the following lines:
6.2 In the «sample» folder, use «make» to create «fltest». If you you are using
How do I file bug to Fresco Logic developer?
Источник
How to properly install USB display driver for Fresco Logic FL2000DX on Ubuntu?
I need to connect additional monitors on my computer and I get Fresco Logic FL2000DX USB display adapters. This adapters works perfect on Windows but I need to use on my development machine based on Ubuntu 16.04.
I find this on git hub: https://github.com/fresco-fl2000/fl2000 and try to install it but installation fail.
3 Answers 3
Telling the full story so all the keywords will be included in my response for future searchability:
I’ve been looking everywhere for a driver or chipset info for the unbranded «Mini HD USB 3.0 HDMI Adapter» for years. I finally dug though enough duck duck go results to find a page that claims it uses the Fresco logic USB display driver, which brought me here.
I was able to get the driver to work using Linux Mint 18.2 «Sonya» with linux-headers-4.13.0-45-generic , but the instructions on git hub were not perfect.
- Clone the repository git clone https://github.com/FrescoLogic/FL2000.git (If you don’t have git installed you can install it with sudo apt install git )
- Navigate to src: cd FL2000/src/
- Run make (contrary to the instructions, you don’t need to edit KERNEL_PATH as the bug was fixed)
- Insert the module sudo insmod fl2000.ko
- Change to sample cd ../sample/
- Run make (I got an error here, but was able to test the driver and see an image despite the error)
- Run sudo ./fltest 0
This crashed the first time I ran it but worked when I re-ran it a second time. Running it a 3rd time, it hangs my system.
Rebooting with the device plugged into the USB port seems to help. It will work at first launch. However, during shutdown my system is unable to disconnect from it’s built in RAMDrive and will hang, ctrl-alt-del will move it a few steps further, but then it hangs again forcing me to do a hard shutdown.
I’m not sure if fixing the error when running make in the sample directory make: /opt/hi3798/arm-hisiv200-linux/bin/arm-hisiv200-linux-gnueabi-gcc: Command not found would make this any more stable.
I googled and came across this thread saying I «need to add head file » — I didn’t know how to do that so I followed the recommendation in this thread mentioning I should install some gcc packages:
After installing, make progressed further, but I am now getting a make: /opt/hi3798/arm-hisiv200-linux/bin/arm-hisiv20/opt/hi3798/arm-hisiv200-linux/bin/arm-hisiv200-linux-gnueabi-gcc: Command not found error.
Источник