Archive for July, 2008

Ubuntu CPU Frequency Selector

July 29th, 2008 by michael.stahlman

Something I have been wanting recently in Ubuntu for laptops and specifically my Eee PC is the ability to control the CPU frequency easily. With Asus’s unwillingness to provide their “Super Hybrid Machine” for Ubuntu and the several times I can run applications that push the frequency to its limit, my Eee PC can get a little toasty in the lap. Many thanks go to The Ubuntu Labrador for the instructions.

The first step to be able to adjust the CPU frequency in Ubuntu is to add the “CPU Frequency Scaling Monitor” to a panel in Gnome. Do this by right-clicking in an open area on a panel and choosing “Add to panel.” Next, choose the monitor from the list. This will show the frequency your CPU is running at during that exact moment. If on an Eee PC with an Intel Atom processor, it will show 800MHz when idle and jump to 1.6GHz when running applications.

In order to enable manual control of the CPU frequency, a command must be executed to configure the applet. Start by opening a Terminal window and enter the following command:

sudo dpkg-reconfigure gnome-applets

This will show a text-based GUI informing that a component can be added to the CPU Frequency Scaling Monitor with the SUID bit set. Select “OK” and it will prompt you to confirm that you want to install the component. Select “Yes” and you should be returned to the terminal. Close the terminal and yoou should now have control by left-clicking on the monitor in the panel. You automatically receive varying frequencies and pre-defined modes of frequency management!

Menus!

Dual Boot The New Eee 901 & 1000

July 27th, 2008 by michael.stahlman

With the release of the new Eee PCs has come larger solid state hard drives. Previously it was unfeasible to dual boot these UMPCs due to the lack of space, but now it is possible for the Eee 901 & 1000. Unfortunately, these models have two solid state disks (one small & fast for the system, one larger & slower for the user data), so the process can be confusing.

I prefer Linux over Windows XP, so I prefer to have Linux on the faster disk even though it is smaller. I have also found that I can install everything I need for the Linux system in 4GB if I keep my data elsewhere (the Eee 1000 has an 8GB system disk, so this is not an issue). With this in mind, I decided to use the 4G system disk, formatted as Ext2, for Ubuntu and the 12GB data disk, formatted as FAT32, for Windows XP and my user data storage. I am also using a 16GB SDHC card for additional storage.

Since Windows XP does not allow installation to a secondary hard disk without writing to the first disk, a few additional (sometimes lengthy) steps must be taken to optimize the dual boot setup. So, the general steps to dual boot the system are as follows:

  1. Format both drives
  2. Install Windows XP to the first drive
  3. Image a duplicate of the first drive to the second drive
  4. Expand the second drive partition to full potential
  5. Format first drive
  6. Install Linux to the first drive

Installing Windows
To start, insert the Windows XP installation disc into an external CD drive attached to the Eee PC. The Eee PC can boot from an external drive by pressing ESC during the ASUS splash screen. When the Windows XP installation menu has started, provided a backup of any user data is made, all partitions should be erased and a new partition on the first hard disk should be made. This partition should be the full size of the first disk. Instruct the installation of Windows XP onto that partition and indicate it should be formatted with FAT32 (quick). Follow the instructions to complete the installation of Windows XP.

Move Windows Installation
Once the Windows XP installation is complete, insert a copy of Ubuntu-Eee into the external CD drive. Boot from this disc into a live session to perform the move of Windows XP. For this process, I chose to use the “dd” command included in Linux for imaging the drive. There are several other methods available, but this is a simple method for the size of the drive. With a few commands, the master boot record (MBR) and the Windows XP partition can be duplicated to the second drive. This duplication method is an exact duplicate of the entire partition, so the process can take a long time (approximately 50 minutes).

Start by opening a terminal from “Applications > Accessories > Terminal.” The first command executed will take just a couple seconds to duplicate the MBR. Provided a backup of all essential data on the second disk has been made, issue this command in the terminal:

sudo dd if=/dev/sda of=/dev/sdb bs=512 count=1

This command will duplicate the MBR from the first disk to the second, which includes the Windows bootloader and the partition size. For safe measure, I formatted the partition created on the second disk with FAT32 using the Partition Editor in “System > Administration.” In order to format that partition, select “/dev/sdb” from the drop-down menu in the upper-right corner. Next, right-click on the partition labeled “/dev/sdb1″ and choose “Format to > fat32.”

Now, the long process of duplicating the partition with Windows must be completed. Issue the following command, in terminal, to do that:

sudo dd if=/dev/sda1 of=/dev/sdb1

Once that command has completed, it is a good idea to format the first disk to Ext2 in the Partition Editor. I have 2GB of RAM in my Eee 901, so I chose to not establish a swap partition.

Installing Ubuntu-Eee
To complete the dual boot configuration, start the install of Ubuntu-Eee. When prompted to partition the disks, I always choose to manually configure. From there, edit the partition on /dev/sda to use the Ext2 partition type, formatted, and mounted at “/” Next, I editted the partition on /dev/sdb to use the fat32 partition type, not formatted, and mounted at “/media/winxp”

Uboontu Eee

Once the installation of Ubuntu has completed, upon restart, the option to boot into Windows XP or Ubuntu should be given by the GRUB menu. Congratulations, the Eee PC is now dual booted.

Currently, Ubuntu-Eee does not work 100% upon install on the Eee 901, but there are a few work-arounds. I have tested these and will be posting my findings on these soon.

Eee PC 1000 Advanced Full Desktop Mode

July 25th, 2008 by troycoon

My new Eee 1000 is here and it is sweet. The larger screen and keyboard are just what I needed, not to mention the 40gb SSD. So now that I have it Hmmm….. what to do? Eee Ubuntu does not have a compatible version yet but I want a full desktop. It seems that the 901s and the 1000 don’t have that as an option in the repositories, well I know that the two packages that were need to get full desktop on the 701 were ksmserver and kicker, so why not try them. so here are the steps I took to get it working, and it seems to be working fine. Disclaimer, try these are your own risk. I assume that these steps will work with the 901s also, but Michael is not interested in trying it on his.

How to set up Advanced Desktop or Full Desktop on an Eee PC 1000

  1. Press Ctrl & Alt and T at the same time to get to the terminal.
  2. Type sudo synaptic
  3. Click settings and then repositories
  4. Click add in the bottom left corner
  5. Put http://download.tuxfamily.org/eeepcrepos/ in the URl:
  6. Put p701 in the distribution
  7. Put main etch in the sections
  8. You have just added the 701 repositories
  9. Now close the repository window and click reload in synaptic
  10. Next search for ksmserver and then kicker right click on each one and mark install
  11. Click apply at the top of the page and wait for synaptic to finish
  12. Close synaptic and the terminal window
  13. You should now have a full desktop option in you shutdown options.

I hope that you will find this useful, I will keep you up to date when we get eee-Ubuntu running on the 901 and the 1000

Eee PCs Have Arrived!

July 25th, 2008 by michael.stahlman

After much delay and waiting for a release of the new Eee 901 and 1000, we now have the new Eee PCs in hand! The 701 version was very nice and now the new versions are that much better. I chose the 901 version because I was satisfied with the keyboard size of the 701 and wanted the higher screen resolution, faster processor, and more SSD space. Troy chose the 1000 for the same reasons and because he wanted the larger screen size and keyboard.

So, it seems after all that hassle with Amazon and Asus, it turns out that Newegg knows what’s going on. I gave another call to Amazon and it seems they didn’t even order the laptops so they would be ready to fulfill the pre-orders… They told me that I might expect it in September! I was very pleased that the information I received from calling Asus previously was correct and they did release on July 23rd.

I realized that Newegg had stock of the new 901 and 1000, so we decided to trust them and purchase. First the 1000 was purchased and overnighted. Newegg was truthful and indeed, the 1000 was in hand the next day. After realizing the 1000 was shipped, I decided to also purchase the 901 through Newegg. I ordered yesterday and it was here today.

When I purchased, Newegg was apparently restocking as I looked, so I was unsure whether I would actually receive it soon. I decided to use their live online chat and spoke with a representative that gave me accurate and detailed information. I was informed that the stock was truly there and my order would be filled. Thanks Newegg!

You can expect reviews of Xandros, Ubuntu, and Windows XP on the new Eee PCs soon.

How to make or build Musical Instruments

July 19th, 2008 by troycoon

I have been interested in building musical instruments for as long as I can remember. Some of my first attempt into building instruments happened when I discovered the ocarina. I could not have been older than about nine and I tried to build one with both play-doe and modeling clay using various other materials to provide more stiffness. I don’t think I ever even got a peep out of those but it provided me days and days worth of activity. I also was very intrigued with washtub basses, having seen some muppet filled program on TV and they seemed to have success. I would never put a hole in my moms wash tube so I never built one, but rubber bands of different lengths provided me with many hours of satisfaction.
Now I’m a bit older and understand the physics and design of instruments a bit better but the child in me still wants to build an instrument and make it work. As an adult I usually build whistles, high D whistles to be more precise, but I am working on low D whistles now.
Michael knowing my odd attraction to building instruments sent me some links to some instrument maker forums which prompted me to write this post. here is his link http://www.mimf.com/ I Also have several books that I can recommend some of which I have and a few of which I would not mind reading.