Linux kernel, Software

Linux block device driver

My article about character devices is quite popular, so I decided to write something about another big class of devices in Linux – block devices. This type of device is used to access various storage hardware types – hard disks, SSD, etc. Here I want to describe blk-mq based devices in modern (>= 5.0) Linux kernels and a previous type…

Continue Reading

Electronics, Radio & antennas

Cheap single-component RF filters

Low, Band, and High – pass filters are major components when working with RF. Depending on the application, filters can reduce output noise and unwanted signals or limit a transmit signal to a pre-specified frequency band to prevent interference with other signals. Here I want to describe how to build simple and cheap single-component (ceramic) filters for your DIY projects.

Linux kernel, Linux system development, Software

C++ in Linux kernel

Linux kernel is written in C (and in Assembly in platform-specific portions) language. C language is the only allowed language to write kernel modules. And there is no problem, in most of the cases. But sometimes some stranger things may be required. Let’s see how to use C++ for the Linux kernel modules.

Electronics, Networking, Software

RS-485 practice and theory

I just built two RS-485 adapters (version 2) and decided to write a little note about the RS-485 bus (and differential line) theory, plus perform some testing of the devices. This material mostly interesting for newbies. At the end of this article, you can find a funny way to test these devices 🙂

Uncategorized

Hello HTTPS!

From this point, my site is also available via HTTPS.   It was not mandatory, but in modern browsers HTTP sites may be marked as ‘unsecured’ and ‘untrusted’. It may happen that in the nearest future all sites without encryptions will be blocked by default in every popular web browser. I don’t want to be badged as ‘untrusted’ or be…

Continue Reading