ctrLinux

  • About

Corrupted Blocks on ext4 FS

By smokypeete February 5, 2019 Uncategorized No Comments

Recently my Intel 1TB boot SSD started exhibiting some odd behavior. Frequently Ubuntu would crash unexpectedly whenever I would navigate into a folder which had large image files in it…

Read more

I2C – Cannot find smbus_* functions

By smokypeete December 25, 2018 Uncategorized No Comments

Recently I have been writing some userspace applications on x86 to interact with some i2c devices when I noticed that gcc was having some difficulties finding the i2c_smbus_* symbols. The…

Read more

Setting up Duply with Amazon S3

By smokypeete February 14, 2017 Uncategorized No Comments

1.0 Introduction I had previously been using a DigitalOcean server to do nightly backups, however considering the total file size of what I wanted backed up was only around 10GB,…

Read more

Bit Bang GPIO UART from Linux Kernel

By smokypeete May 23, 2016 Uncategorized No Comments

Introduction Lately I have had the need to bit bang a UART from inside the Linux kernel over a GPIO. Unsurprisingly, the code is quite simple but handy to have…

Read more

Efficient Data Transfers – DD + PV – Performance Analysis

By smokypeete February 20, 2016 Uncategorized No Comments

1.0 Introduction Recently, I had the need of observing the progress of a dd command while transferring data between devices. While searching online, I noticed that one of the suggestions…

Read more

Enabling PWM on Beagle Bone Black

By smokypeete July 8, 2014 Uncategorized No Comments

So I decided to try and get 4 independent PWM ports up and running on the Beagle Bone Black. The process is fairly straightforward with a couple of caveats. Firstly,…

Read more

Introduction to Kernel Modules

By smokypeete January 27, 2014 Uncategorized No Comments

1.0 What is a Kernel Module A kernel module is compiled code which can be loaded and linked into the kernel at runtime. A kernel module can and often is,…

Read more

Timekeeping in Linux Userspace

By smokypeete December 30, 2013 Uncategorized No Comments

Thus far our discussions have extended mostly to the data acquisition side of a control system. In particular, how to sample data from a sensor. There is also one crucial…

Read more

UART Communication from Linux Userspace

By smokypeete December 30, 2013 Uncategorized No Comments

1.0 Introduction Oftentimes sensors used in embedded systems, have as a method of communication a UART interface to send and receive data to/from the sensor. There are several advantages and…

Read more

Linux Userspace vs Kernel Space

By smokypeete December 30, 2013 Uncategorized No Comments

1.0 Introduction I would like to take some time in this post to talk a little bit about the differences between userspace and kernel space.  We have thrown the term…

Read more

  • « Previous
Copyright © 2023 ctrLinux | Theme by: Theme Horse | Powered by: WordPress