Writing Linux Modules in Ada - Part 3

Posted on Fri 25 November 2016 in misc • Tagged with ada, linux, kernel, os

View on Github Star on Github Download Pt-3

In this part, I will continue porting capabilities to the run-time

Image

The 'Image attribute is used to return the string representation of a value. This value can be integer, boolean, enumeration etc.

The run-time have a separate implementation of the attribute …


Continue reading

Writing Linux Modules in Ada - Part 2

Posted on Sat 05 November 2016 in misc • Tagged with ada, linux, kernel, os

View on Github Star on Github Download Pt-2

In the previous post I demonstrated that writing Linux kernel modules in Linux is not science fiction.

Yet, the produced module was extremely simple. Before improving it, some foundation needs to be added. Today I want to introduce the secondary stack.

Secondary …


Continue reading

Writing Linux Modules in Ada - Part 1

Posted on Sun 23 October 2016 in misc • Tagged with ada, linux, kernel, os

View on Github Star on Github

In the following series of blog posts I will document my attempts to write Linux modules using the Ada language.

I am not a professional and my knowledge of the Linux kernel and gnat is not comprehensive. Please pardon me for any inaccuracies I …


Continue reading

Making Legacy Software Work On Windows

Posted on Sat 09 November 2013 in misc • Tagged with Linux, Windows, Wine

It sometimes happens that programs written for old versions of Windows will not work on new versions even with compatibility mode enabled. It is not uncommon for such program to crash and show some cryptic message that even a person of technical background can not understand. Sometimes only a simple …


Continue reading

Combining ls and cat Commands

Posted on Sat 17 August 2013 in misc • Tagged with shell, sh, linux

Very often, when exploring contents of directory trees, I find myself confused between the the "ls" and "cat" commands and mistakenly type one instead of the other. Both these commands are used pretty often and conceptually they have similar meanings. One says "print out a content of directory". The other …


Continue reading

OpenNI2 Samples and Dynamic Library Problems

Posted on Fri 02 August 2013 in misc • Tagged with openni, linux

While experimenting with the OpenNI2 samples, I sometimes would get the following error when trying to run one of the executables:

~/OpenNI-Linux-x86-2.2$ Samples/Bin/SimpleViewer
Samples/Bin/SimpleViewer: error while loading shared libraries: libOpenNI2.so: cannot open shared object file: No such file or directory

The dynamic library file …


Continue reading

How to Install an Acer Scanner Under Linux

Posted on Mon 12 November 2012 in misc • Tagged with Linux

I own an old Acer szw4300U scanner. Making it work with Linux is not exactly a plug and play, but not very complex either. Here is how it is done.

Drivers

An easy way is to use SANE which is a framework that connects scanning software (frontends) with the scanners' …


Continue reading