Code Monkey home page Code Monkey logo

beckhoff's Introduction

beckhoff CX-1000

Linux kernel level driver to allow access to the I/O of the Beckhoff CX-1100 power supply used with the Beckhoff CX-1000 embedded PC. This allows access to the K-Bus and IP-Bus of the Beckhoff system.

This repo is imported from my original SourceForge repo, https://sourceforge.net/projects/beckhoffdriver/

While writing the example code I found a nasty bug in the kernel driver code the call to the ioctl IOCTL_BHKLDRV_BOARDMAP does not check the input and can be overflowed causing kernel problems when you try to read. Easily fixed in the driver with a check of the input data.

The driver should be ported to the 4.0 kernel at some stage or preferably added as a bitbake recipe to a yocto build.

Looking at the current Beckhoff catalogue (26/07/2016) to use this software with Linux on a beckhoff controller you would need to purchase the CX1020-0000 or the CX1020-0100 with the CX1100-0002 power supply.

I do not have access to the hardware anymore and am as such unable to do much work on this project. With access to the hardware it would not take long to upgrade and fix the driver and wrapper code.

beckhoff's People

Contributors

ridale avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

svmukhin

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.