Friday, March 27, 2009

Review : Ubuntu 9.04 Jaunty Jackalope whats new in it?

Ubuntu Ubuntu 9.04 Jaunty Jackalope final release on April 23rd, 2009. whats new in it?
You can track upcoming changes on Launchpad and Ubuntu. There is some revolutionary changes. Introducing Ext4 Filesystem in it.

Ubuntu 9.04 supports the option of installing the new ext4 file system. ext3 will remain the default filesystem for Jaunty,

Ubuntu 9.04 includes the latest GNOME 2.26 desktop environment with a number of great new features including . new version of Brasero CD burning Software, Improved handling of multiple monitors with an updated gnome-display-properties .

The latest X.Org server, version 1.6, is available in Jaunty. A number of video cards have been transitioned to free drivers as part of this update.

Boot Performance Improved
A number of improvements to the Ubuntu start-up process bring significantly improved boot performance to Ubuntu 9.04

Kernel version 2.6.28 included in Jaunty

Jaunty come with a simple menu which can be used to set preferences for notification icons, such as where they pop up on the taskbar. It Includes Notification for Mail , Wi-Fi Zone, Network connection etc..
See a demo here

Jaunty Supports Cloud Computing

Cloud computing is Internet("cloud") based development and use of computer technology ("computing").It is a style of computing in which dynamically scalable and often virtualised resources are provided as service over the internet. Users need not have knowledge of, expertise in, or control over the technology infrastructure "in the cloud" that supports them.

Ubuntu 9.04 Server Edition makes it easy to experiment with cloud computing. Eucalyptus, an open source technology which is included in Ubuntu as a technology preview, enables you to use your own servers to deploy, experiment and test your own private cloud that matches the Amazon EC2 API. You can dynamically create virtual machines, configure multiple clusters into a single Cloud and even provide an EBS (elastic block storage) equivalent and an S3 compatible storage manager.

Supports Advanced Mail Servers

The dovecot-postfix package in Ubuntu 9.04 provides an easy-to-deploy mail server stack, with support for SMTP, POP3, and IMAP with TLS and SASL.

Thursday, March 26, 2009

How to Install GCC (c/c++) Compiler in Ubuntu Linux

Install package called build-essential is the best way

build-essential contains a list of packages which are essential for building Ubuntu packages including gcc compiler, make and other required tools.


$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install build-essential
$ gcc -v
$ make -v

Now, you should able to compile software using C / C++ compilers.

Wednesday, March 25, 2009

Install More Than 4Gb Memory in 32 bit Ubuntu - How to Install PAE ( Physical Address Extension)

If You Install More than 4 GB Memory in your 32bit ubuntu Machine It will not access the memory beyond 4GB.The x86 architecture presently uses only 36 bits out of 52 bits possible. On x86-64 processors, PAE is obligatory in native long mode; currently 40 bits are used out of 52 bits possible. How do I find out if my Linux kernel supports 36-bit or more physical addressing?

$ sudo grep physical /proc/cpuinfo

shows

physical id : 0
address sizes : 36 bits physical, 48 bits virtual .........


$ free -m will show only <>$ sudo apt-get update
$ sudo sudo apt-get install linux-headers-server linux-image-server linux-server
Once kernel images installed, just reboot your machine ,

$ sudo reboot
After reboot, login into your system and type the following command to verify memory usage:
$ free -m

Friday, March 20, 2009

Microchip PIC18 Family Video Tutorial


The PIC18 family utilizes a 16-bit program word architecture and incorporates an advanced RISC architecture with 32 level-deep stack, 8x8 hardware multiplier, and multiple internal and external interrupts. With the highest performance in Microchip’s 8-bit family, the PIC18 family provides up to 16 MIPS and linear memory. PIC18 is the most popular architecture for new 8-bit designs where customers want to program in C. Choose from over 150 PIC18 products supporting both 3V and 5V applications with packages ranging from 18 to 100 pins. Integration is key on the PIC18 devices, with support for connectivity and human interface peripherals including: USB, Ethernet, touch sensing, LCD display drivers – all with free supporting software and application notes to help you get to market faster.

See a Video Tutorial about PIC 18 Family here http://www.youtube.com/watch?v=iC3BTlfFHM4

Tuesday, March 17, 2009

Scrolling LCD Display in CCS C




Most popular 2 x 16 LCD Display HD44780 chipset have a display memory up to 40 charactors.
]
Only 16 can display on a line. See the program for display the screen to the left or right shift operation .


#include <16f877.h>
#fuses XT,NOWDT,PUT,NOPROTECT,BROWNOUT,NOLVP
#use delay(clock=4000000)
#include "lcd.c"

void forword_dir(void)
{
lcd_send_byte(0, 0X18);
}

void backword_dir(void)
{
lcd_send_byte(0, 0X1E);
}
void main() {
int a,i;

lcd_init(); //lcd initialize
lcd_putc("\f"); //lcd clear
// lcd memory can hold up to 40 characters
lcd_putc(" http:// shibuvarkala . blogspot . com");

for(;;){
for(i = 0; i <>
{
backword_dir();
delay_ms(50); // scroll delay
}

for(i = 0; i <>
{
forword_dir();
delay_ms(50);
}
}
}


Tuesday, March 10, 2009

How to Access Linux Partition from Windows : Linux Reader


How to get safe and quick access to Linux file systems? DiskInternals Linux Reader is a new tool for do this. This program act as a bridge between MS Windows and Ext2/Ext3 Linux file systems. This easy-to-use tool runs under Windows and allows you to browse Ext2/Ext3 Linux file systems and extract files from there. Linux Reader is absolutely free. Download it Here

Monday, March 2, 2009

How to Make Password Protected Encrypted Text Files Using vi Editor

You can make encrypted text file with Password Using Famous Text Editor vi.

For Making an encrypted file , Use vi -x filename to edit a new file. Then vi will prompts you to set a password, after that it will encrypts the contents of the file. Whenever you access this file, vi will ask for the correct password.

Sunday, March 1, 2009

How to set PORTA as Digital I/O Port in PIC16F877A

If you want to set PORTA of PIC16F877/877A/874, You have to use some extra register configurations with ADCON1 and COMCON registers .

COMCON=0x07 disables the comparators
ADCON1 = 0x06 makes all the pins of PORTA as Digital I/O by default it is Analog .

Example
void main (){

ADCON1 =0x06 ; // Changes PORTA to digital
CMCON = 0x07 ; // Disable analog comparators
TRISA = 0x00 ;

while(1)
{
PORTA = 0XFF ;
Delay_ms(500) ;
PORTA = 0X00 ;
Delay_ms(500) ;
}
}

You need a special care in the case of PORTA4 (RA4), it is Vref to the comparator . A pull up resister is need to wok it. So read details of PORTA before using RA4.