A collection of drivers oriented for IoT systems. Includes mock drivers for integration/testing.
Linux module that simulates 24 digital inputs with high (1) and low (0) states.
The states of the inputs change randomly every 10 seconds.
The ihubx24-sim
module creates multiple character devices /dev/ihubx24-sim0
, /dev/ihubx24-sim1
, etc. Each device independently simulates 24 digital input channels.
ihubx24-sim is designed for integration and testing.
The driver exposes 24 output lines (channels), each controllable via a bit.
The ohubx24-sim
module creates multiple character devices /dev/ohubx24-sim0
, /dev/ohubx24-sim1
, etc. When sequences of binary digits (0/1) up to 24 digits are written to the devices they are timestamped and logged to output files /tmp/ohubx24-output0
, /tmp/ohubx24-output1
, etc. Each log file maintains a maximum of 30 entries, with older entries being overwritten, and newest entries appear first.
ohubx24-sim is designed for integration and testing.
Linux module that simulates 24 digital I/O channels with high (1) and low (0) states.
The device supports both reading and writing of 24 digital channel states. When writing, input sequences are automatically padded to 24 digits with zeros (000000000000000000000000). If no values have been written yet, reading returns all zeros.
iohubx24-sim is designed for integration and testing.
The lcd-sim
module creates character devices that simulate LCD text displays.
When text is written to these devices, it processes the input text (first 120 characters only), filters out non-printable characters and converts newlines to spaces for LCD display and logs all text updates with timestamps to /tmp/lcd-output*
files.
lcd-sim is designed for integration and testing.
The video-sim
module creates a device simulating a video player.
When commands are written to these devices, they control video playback simulation (20-second duration). Commands include SET SRC, LOAD, PLAY, PAUSE, SET CURRENT_TIME, and SET LOOP. Reading from the device returns current playback time every 100ms during playback and "END" when video completes.
video-sim is designed for IoT integration and testing.
Linux module for interfacing with a Phidget VINT Hub x6 IO device using a series of 6 bits (010010).
The driver uses a hybrid kernel/userspace architecture with a kernel module providing /dev/phidgetvintx6*
device files and a userspace daemon using the Phidget22 library for hardware communication. When hardware input states change, the driver outputs the new state, and it supports both reading and writing 6-bit channel states.
phidgetvintx6 is designed for production use with real Phidget VINT hardware. What is VINT?