Blog Archives

Find the Yesterday

On GNU/Linux platform finding the particular date from current date is a no brainer task. For example: Yesterday: date –date=’yesterday’ Nextday: date –date=’next day’ OR date –date=’tomorrow’ Other Tricks: date –date=’10 year’ date –date=’10 year ago’ date –date=’this sunday’ But

Tagged with: , ,
Posted in Uncategorized

Android Udev Rules

Linux Udev rule file to interface Android Hardware for Application/System development. # Acer 0502 SUBSYSTEM==”usb”, ATTR{idVendor}==”0502″, MODE=”0666″, GROUP=”plugdev” # ASUS 0b05 SUBSYSTEM==”usb”, ATTR{idVendor}==”0b05″, MODE=”0666″, GROUP=”plugdev” # Dell 413c SUBSYSTEM==”usb”, ATTR{idVendor}==”413c”, MODE=”0666″, GROUP=”plugdev” # Foxconn 0489 SUBSYSTEM==”usb”, ATTR{idVendor}==”0489″, MODE=”0666″, GROUP=”plugdev” #

Tagged with: , ,
Posted in Uncategorized

Android Layer Interaction: Application to Kernel

Like any other OS platform, Android also designed in layered approach. Theoretically explaining the software layer interaction is bit difficult. So let me share my understanding, with an simple Vibrator application example. In this, we will see th…

Tagged with: ,
Posted in Uncategorized

My old I18N and L10N Work

Some of the stuff, which I have done it in DONLab, IIT-Madras, in the year of 2000 and 2001. I was adding Indian Language support in GNU/Linux system, both at Kernel and XLib Level. During that time, lot of Encoding (Ext ASCII, ISCII, TSCII, UTF-1…

Tagged with: , ,
Posted in Uncategorized

Linux Kernel Device Model

In the 2.4 and earlier Linux kernels, there was no unified database of what devices were present in the system, and how they were connected with each other. The implications of this are: The user had to grep through log messages to find out if a p…

Tagged with: ,
Posted in Uncategorized

The TTY demystified

The TTY subsystem is central to the design of Linux, and UNIX in general. Unfortunately, its importance is often overlooked, and it is difficult to find good introductory articles about it. I believe that a basic understanding of TTYs in Linux is …

Tagged with: ,
Posted in Uncategorized

Resistive Touch Screen Interface

I did few touchscreen integrations and like to share some of basic understanding: Resistive Touch Screen (RTS) is a low cost and easy to integrate solution of touch panels. RTS is available in with 4/5/8 wires interface. From the operation perspec…

Tagged with: , , ,
Posted in Uncategorized

Linux Local Privilege Escalation Bug

Here is the nice write-up about the “Linux (2.6.39) Local Privilege Escalation via SUID /proc/pid/mem Write” with an example. Link: http://blog.zx2c4.com/749

Tagged with: ,
Posted in Uncategorized

RIP: Dennis Ritchie (9/9/41 – 10/10/2011)

Good Bye DMR and Thanks for all your contributions and perticularly for the C and Unix.

Tagged with: ,
Posted in Uncategorized

VirtualBox ProgressProxy IProgress Error

Recently, I upgraded the VirtualBox to version 4.1 on my Ubuntu 10.04 machine. After that, my Win7 VM instance failed to start and showed the ProgressProxy and IProgress Error. When I started it from command line, got segmentation error. So I am p…

Tagged with: ,
Posted in Uncategorized