Linux USB Composite Gadget Architecture: ConfigFS, Drivers, and Execution Flow
Explore Linux USB composite gadget architecture: ConfigFS setup scripts, struct usb_function kernel driver flows, UDC bindings, and endpoint allocation.
Lynxbee topic
Linux Kernel
Explore Linux USB composite gadget architecture: ConfigFS setup scripts, struct usb_function kernel driver flows, UDC bindings, and endpoint allocation.
Rfkill is a tool for enabling and disabling wireless devices. We use “rfkill list” command as below … Read more
Rfkill is a tool for enabling and disabling wireless devices. Using “rfkill list” command we first check … Read more
[ Note: following commands has been tried on ubuntu 16.04, but should work on other Linux distros … Read more
What is JFFS2 ?=> JFFS2 is a log-structured file system designed for use on flash devices in … Read more
LKML https://lkml.org/ is an unofficial Linux Kernel Mailing List archive. This mailing list is a rather high-volume … Read more
If you want to install device-tree-compiler i.e. dtc command on Ubuntu, use following command, This command will … Read more
Lets say, you have been trying to compile Linux kernel source code for Raspberry Pi following steps … Read more
Major distribution kernels set the default value of /proc/sys/vm/overcommit_memory to zero, which means that processes can request … Read more
In our previous post, we understood “What is Out of Memory Killer ?” In this post, we … Read more
We tried to write a simple class driver framework which will create a directory in /sys/class, we … Read more
The main Linux kernel versions comes from the Linux Torvald who is author of Linux kernel, from … Read more
As we have seen in “How to cross compile static dtc for ARM” we are able to … Read more
Sometimes it happens that you don’t have source code of the device on which you are working … Read more
Whenever you are trying to do kernel menuconfig very first time after installation of Ubuntu, its chances … Read more
setup_irq belongs to historical early-platform code. Current device drivers should register handlers with request_irq, request_threaded_irq, or a device-managed wrapper.
Write a C program in Linux using inotify_init and inotify_add_watch to monitor directory file creation, modification, and deletion events in real time.
Program Linux framebuffer devices (/dev/fb0) in C: query screen resolution via ioctl, map video memory with mmap, and render raw RGB pixel buffers.
Learn how to manually trigger the Linux Kernel Out-Of-Memory (OOM) killer via SysRq, inspect /proc/pid/oom_score, and protect critical processes.
As mentioned in Linux kernel souce code net/netlink/af_netlink.c, netlink is a Kernel-user communication protocol which allows user … Read more
Learn bi-directional user-space to Linux kernel communication using Netlink sockets (AF_NETLINK) with full C kernel module and user client examples.