Git Product home page Git Product logo

hides-drivers's Introduction

Device drivers for HiDes UT-100C DVB-T Modulator

About HiDes devices

HiDes is a company from Taiwan, a manufacturer of cheap DVB-T devices. These devices are based on chips from ITE Technologies Inc., also from Taiwan.

The UT-100C model is a USB DVB-T modulator adaptor (transmission). This device is probably the cheapest modulator on Earth for Digital TV. Other models include reception or PCIe interface.

The associated software, as currently delivered by HiDes, supports Windows and Linux. It is currently unclear who actually developed this software, HiDes or ITE.

The software is poorly packaged and its delivery mostly consists in a set of disorganized zip archives on DropBox, without fixed URL to reference in order to get notified of updates.

About this project

This project proposes an integrated packaging of the drivers for HiDes devices on Linux and Windows.

The latest repackaged drivers are available here.

Synthetic links to the latest versions are also available from the TSDuck site.

Windows drivers

The original packaging for the Windows driver for HiDes devices is acceptable. No change was made. This project only provides a fixed and known place from where the latest version can be downloaded.

Linux drivers

The original Linux driver has two problems:

  • It is delivered in source form only, in the middle of an archive containing sample test code and other software.
  • It has a polling design for send operations. A "normal" device driver for output device implements "waiting" or "blocking" send operations.

To solve the first issue, a DKMS (Dynamic Kernel Module Support) package is provided in this project. Install the DMKS package (available in .rpm or .deb form) and the driver is automatically recompiled and reinstalled after each kernel upgrade.

To solve the second issue, the Linux driver was modified to make all write operations waiting for the device to be ready. Thus, applications do not have to implement polling.

Note that the modified driver remains otherwise compatible with the original one. Thus, applications which were developed for the original driver will continue to work. But their polling code will never be used since all write calls always succeed the first time (except in case of real errors of course).

To let applications checking if the driver needs polling or not, the version string of the new driver ends with a 'w' letter.

API and SDK

The original SDK is hopeless. The API definition is not even the same between Linux and Windows. It is not possible to write portable applications using the original SDK. Moreover, the Linux version of the SDK exhibits blatant memory leaks in its so-called "API". Using the original SDK is consequently discouraged.

An alternate portable HiDes API is provided as part of TSDuck. This API is the C++ class HiDesDevice. The interface of this class is system-agnostic. Its implementation directly calls the underlying device driver but hides the differences between operating systems.

Reference links

Latest links

hides-drivers's People

Contributors

lelegard avatar

Watchers

 avatar

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.