GithubHelp home page GithubHelp logo

pkpio / bard-linux Goto Github PK

View Code? Open in Web Editor NEW
14.0 4.0 7.0 872 KB

[GSoC] Beagle -> Android remote display. Kernel modules source.

License: GNU General Public License v2.0

Makefile 0.80% C 99.20%

bard-linux's Introduction

bard-linux

Android remote display for BeagleBoard. This is a proposal for Google Summer of Code 2014 under Beagle.org. Check the complete proposal.

Developers / GSoC aspirants

Please start by reading this

Weekly reports

Weekly reports can be found at here

Framebuffer

Developed upon udlfb. udlfb is DisplayLinks's kernel framebuffer + USB driver. Most of the framebuffer work in this driver is taken directly from udlfb.

Usb communication

USB communication is done using Android Open Accessory (AOA) protocal with the Android device setup into Accessory Development Kit (ADK). Read about ADK on Android developers webpage.

A bare-bone implementation of the ADK driver, with only usb communication, can be found here

Setup

  1. make and insmod both drivers udlfb and adk

    cd adk && make && sudo insmod adk.ko && cd .. && make && insmod udlfb.ko

  2. Install Android app from Alpha testing or build from source

  3. Attach your device - app opens popus up showing a green screen

Note: You may check the list of supported OEMs here

Starting remote display

Note: The value of X in \dev\fbX should be replaced with value new framebuffer device - appears after setup.

To start xserver on the framebuffer, run,

On PC :
FRAMEBUFFER=/dev/fbX xinit -- /usr/bin/X :1 -config /etc/X11/xorg.conf.fb

On BeagleBone :
FRAMEBUFFER=/dev/fb1 startx -- /usr/bin/X :1

bard-linux's People

Contributors

atodorov avatar bernieplug avatar gregkh avatar joeperches avatar partialgestalt avatar pkpio avatar sanuj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bard-linux's Issues

Merging adk and udlfb driver

Two drivers have to be loaded for the setup to work. Merge the drivers to work seamlessly.

Merging is being kept on hold deliberately until the driver reaches stable stage.

Slow transfer path issue

When the bandwidth is not sufficient enough to send the frame data at the specified rate, a buffer overflow occurs in usb sub-system functions and throws errors. Need to check if they can be fixed from driver or decrease the update rate accordingly.

VID/PID Database

A few months ago http://usbhost.chainfire.eu/ had a list with vid/pid that support USB Host capabilities. We should find a way to query that data and include it in a .h file so the user does not need to edit the module code.

Now the server is down, maybe contact chainfire on IRC...

Android application not working

Hi,
I installed the android app on my MotoG device, but it crashes as soon as I try to open it. Any ideas on how to resolve this issue?

Compiled code

Please do not push compiled code to GitHub. Keep just the sources here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.