Banner

KNX USB Linux driver

Modern PC equipment, most notably notebook PC's, expect peripheral equipment to be connected through the Universal Serial Bus (USB), while legacy hardware (like parallel or serial ports) is increasingly abandoned. USB devices are rarely plagued by obscure issues like critical signal timing and are at the same time very convenient for users. On the other side, EIB/KNX systems are traditionally connected to PC's via serial ports. Hence, in 2003, Konnex introduced Application Note 037/02 KNX on USB protocol specification & KNX USB Interface Device Requirements. Meanwhile, USB based EIB/KNX bus coupling units are available, and the MS-Windows based ETS3 software supports EIB access through USB without the need for special Windows driver installation.

On Linux platforms, USB support is generally somewhat lagging behind MS Windows-based developments. This is especially true for USB support for EIB/KNX. This study aims to fill that gap by providing an Open Source module that allows Linux programs to control EIB/KNX devices via a USB connection.

Care is taken to avoid any kernel modification, kernel-space driver installation, or low-level USB access. The module works in user space and relies on readily available USB HID devices like /dev/usb/hiddev0, thereby simplifying its application.

Downloads

Konnex Scientific Conference 2005, Pisa

Download paper

Download presentation

Driver (C source, including sample use), last updated 2005-10-30

Download as plain C file