How to obtain kernel config.gz of Running Linux / Android Device ?

If we want to check what is the default kernel configuration our device is using, the Linux … Read more

How to print logs on Single Line using PrintK in Kernel ?

In Linux kernel or device drivers if you are using printk, by default every message we pass … Read more

Passing command line Arguments / Parameters to Linux kernel module

In Our previous post, “Writing first Linux kernel Module” We learned how to write a simple Linux … Read more

Writing First Linux kernel Module

We will try to understand the simple kernel driver, its compilation and ways to load the kernel … Read more

Understanding Linux LED Sysfs Class architecture

The LED class just allows control of LEDs from userspace. LEDs appear in /sys/class/leds/. In this post … Read more

How to assign IDC File for Input Device in Android ?

As we have seen in “How to identify which IDC file used by Input Device in Android … Read more

How to identify which IDC file used by Input Device in Android ?

Input device configuration files (.idc files) contain device-specific configuration properties that affect the behavior of input devices. … Read more

Understanding use of ABS_MT_TRACKING_ID in Multi-touch Driver

Multitouch tracking ID defines the touch starting and touch end ( one touch session from start to … Read more

Understanding Android Touch Event , onTouchEvent ( Motion Event )

When we just touched the touchscreen and printed the logs in application using “onTouchEvent” it printed following … Read more

How to get Android Display Resolution using adb shell command ?

Display resolution indicates the height and width of the physical display which the android device is using. … Read more

How to identify and change input device location in Android ?

Identify what is the current location of the input device using getvent command as, So, the output … Read more