Today we answer a question by a reader… what is basic input output system? Whenever a machine is powered on , the 1st program to run is the Basic Input Output System or BIOS. Basic Input Output System or BIOS is a simple an assembly language program . Primary jobs of BIOS are: POST : Performs the Power On Self Test, or POST , to test the peripherals if they are functioning properly at hardware level. CPU Initialization : BIOS checks the clock…"What is Basic Input Output System"
Now, let’s do a small exercise of writing Linux device driver char. Let’s assume that you have attached an imaginary character device named my_device with your computer. Let’s write driver for this device from whatever we have discussed so far. Step 1: Creating the device node First step includes creating a device node in user space. Just go to your home directory and create a device node by using ‘mknod,. # cd /home/llk # mknod /dev/my_device c 256 0 Fig. 5.6 creating a…"Step By Step Tutorial : Write Linux Device Driver Char"
Now let’s put whatever we have learnt so far into writing a basic char device driver. Here is the code of a basic char driver for you, Finally. unsigned long copy_to_user (void* destination_address, const void* source_address, unsigned long num_of_bytes_to_copy); /* Your First Driver – Basic Char Driver ** Author: LLK ** Kernel version: 2.6 */ #include <linux/module.h> #include <linux/fs.h> #include <asm/uaccess.h> // for copy_to_user & copy_from_user. #include <linux/init.h> #include <linux/sched.h> #include <linux/types.h> #include <linux/cdev.h> /* Initial Declarations */ static int char_device_id; #define CHAR_DEVICE_NAME ”llk_chrdev” #define MAX_LENGTH 4000 #define MY_MAJOR 254…"Device Drivers Basics Char : Putting it all together"
If you are a regular reader, you will probably have picked up on the fact that we do enjoy great and innovative new charging solutions, devices or gizmos that take some of the pain away from having so many power thirsty gadgets. Well, here is another one in the form of ZNAPS, a magnetic phone charger adaptor that has already met its Kickstarter pledge target with 24 days remaining! The project was aiming for $120,000…"Magnetic Phone Charger Adaptor ZNAPS Its’ Way to its’ Kickstarter Goal"
The good: The Asus Transformer Book T100 runs full Windows 8.1, comes with a keyboard, has great battery life, and is a steal if you can find it for $350. The bad: The cramped keyboard feels like an old Netbook’s used to; not as fast as zippier, larger, more expensive Windows products; display not that vibrant. The bottom line: The Asus Transformer Book T100 revives the Netbook value proposition (and Netbook usability issues) in a…"Asus Transformer T100 review: Long live the New Netbook"
Many online business people will always tell you the most important factor to their growth online is traffic to their site, and then proceed to ask the industry experts the same question they’ve heard many a times. I need SEO help for my website? When it comes to producing content for the web, checking that every page is search engine optimised is vital. Doing so is less time-consuming than you’d think and can do wonders for…"Find yourself asking , ” I need SEO help for my website.” : Follow the Rules"