Friday, June 17, 2011

ubuntu 10.04 LTS USB3 hibernate/suspend failure

In Ubuntu 10.04 LTS, if USB3 module is activated, a system will not go into hibernation or suspend mode. At this moment, the best way to fix the problem is manually load/unload USB3 module for hibernation.
Create file /etc/pm/sleep.d/01fix_usb3

This file was created by Adamo Ferro on May 18th 20010

#!/bin/sh
# May, 18 2010, Adamo Ferro
# Fix USB3 suspend and hibernate problems

case $1 in
hibernate)
modprobe -r xhci
;;
suspend)
modprobe -r xhci
;;
thaw)
modprobe xhci
;;
resume)
modprobe xhci
;;
*) echo "USB3 fix script: wrong argument!"
;;
esac

Then put executable rights on the file.

sudo chmod +x /etc/pm/sleep.d/01fix_usb3


Thursday, June 16, 2011

Fixing Hashsum mismatch problem with ubuntu 10.04 LTS

After long search for hashsum mismatch error from APT.
I found really nice help from ubuntu community.

I created apt.conf file under /etc/apt directory

APT
{
// Options for the downloading routines
Acquire
{
http
{
No-Cache "true";
};
};
}

Tuesday, August 05, 2008

Setting up USB devices in Windows on Virtualbox

If you want to use USB devices in virtualbox, you need to add USB filters in settings menu.
Shutdown the system (means virtual machine)
Then you can access "settings" menu
Click on USB
Click on USB icon with plus sign
Then you can see various filters which is currently connected to your physical machine
Select what you want and add it.
Then start the virtual system
Windows will ask the location of the Drivers.

Good luck

Saturday, May 03, 2008

Update HP Slimline 3200T to Ubuntu Hardy

Use your update manager from system -> administration menu.

Everything will work fine, except nVidia proprietary driver. I have nVidia 8500GT card installed in the system and as soon as I installed nvidia-glx-new package from synaptic. Oh my! Fan will run full speed and noise from GPU fan will disturb you. I disabled the driver. I am waiting for next driver release.

Noticeable improvement is wireless. RT73 driver runs way stable in hardy. I don't have to connect lan cable to my router anymore.

Thank you Ubuntu team

Sunday, January 06, 2008

World Wide Soccer Manager 2007 runs great on Ubuntu under Virtualbox

Wow, I thought I could run this application natively on Ubuntu since this game is written in Java. If somebody who is good at programming can make wrapper for linux, I am sure this game will run in linux natively.

By the way, I could run this game smoothly under VirtualBox. I installed windows xp on VirtualBox and installed this game and it runs great.
This is the screen shot

Friday, January 04, 2008

Enable AHCI on HP S3200T after Windows XP installation

Wow, This was one of the hardest task I have ever done. Damn Microsoft.
Okay, as a supplement for the previous post, I will explain one by one how to enable AHCI on HP slimline S3200T after windows XP installation.

Follow the instruction carefully

1. You need to download Intel Chipset Device Software installer from intel website
the file name is infinst_autol.exe

2. Install that software

3. You need to download Intel Matrix Storage Manager from intel website
the file name is iata78_enu.exe

4. Next run that application in the command mode like this (of course you need to go to the directory where you downloaded the file)

iata78_enu -a

5. Default location of the extracted file will be c:\Program Files\Intel\Intel Matrix Storage Manager

6. go to that directory and copy iaStor.sys to c:\windows\system32\drivers

7. open notepad and cut and paste following code

Code: (<= do not copy this line =>)

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_27c1&cc_0106]"Service"="iaStor""ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor]"Type"=dword:00000001"Start"=dword:00000000"Group"="SCSI miniport""ErrorControl"=dword:00000001"ImagePath"="system32\\drivers\\iaStor.sys""tag"=dword:00000019"DisplayName"="Intel AHCI Controller"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Parameters]"queuePriorityEnable"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Enum]"0"="PCI\\VEN_8086&DEV_27C0&SUBSYS_2A53103C&REV_01\\3&2411e6fe&0&FA""Count"=dword:00000001"NextInstance"=dword:00000001

8. Save the file as ahci.reg on your desktop (don't forget to choose file type as all files. Don't leave it to txt)

9. now right-click on the file add it to registry.

10. Restart computer

11. open your eyes wide & Don't go to the rest room and keep pressing F10 to go in to the BIOS set up and choose AHCI for HDD control instead of IDE

12. save and exit

13. Now windows will boot without blue screen of death.

14. Windows will look for drivers then point the driver location by manually choosing directory to c:\Program Files\Intel\Intel Matrix Storage Manager\Driver

15. Now windows will install new drivers properly then reboot.

16. Now you installed windows XP on HP S3200T slimline with full power.


Peace out vista and enjoy your new year with XP and Ubuntu.

Installing Ubuntu AMD64 on HP Slimline S3200T

Yeah, Ironically, it is easier to install linux on HP slimline S3200T than to install
Windows XP. Of course, Vista sucks. Microsoft I am talking to you. You are a big loser. I worked on this new machine which I purchased after I sold my macbook pro to install Ubuntu 7.10 Gusty Gibbon AMD64 version. Man, I love linux no matter what. Installation can not be any easier compare to Windows XP Pro.
This is the information that I want to share

Machine Specification:
CPU: Intel core 2 duo 2.2GHz
RAM: 4GB DDR (3.5GB on Linux, HP said max ram is 2GB, hey this machine can hold more than that and I am quite happy)
Chipset: intel 945G
Video: nVidia Geforce 8500GT <=works out of the box
HDD: 500GB DVDRW light scribe
Lite-On USB 801.11b/g (Ralinktech RT2571 usb) <= hey this works right out of box. Amazing! better than XP)
Ethernet: Intel 82562 <= works out of the box
Audio: RealTek HD audio ALC 888 <= of course works out of the box
13in1 card reader

Windows XP and Ubuntu 7.10 dual boot note
well it is same as other dual boot procedures. I will list things you have to be careful.
First, most of you would start installing windows XP. Be careful not to use AHCI. If you set HDD controller in BIOS as AHCI then you will get blue screen of death. Set it as IDE. I am working on it now to enable AHCI. I will post update ASAP.

Second, when you install ubuntu go to bios set HDD controller to AHCI. Sounds weird right? but you have to do this way. It will work better. Install ubuntu and set up dual boot.

Now, set your HDD controller back to IDE. You can boot both OS without a problem. And yeah you find XP drivers on your own. What the crap! But if you go to corresponding manufacturer website you can find driver easily. Of course, our lovely UBUNTU will work out of the box.
Enable nVidia proprietary driver using restricted drivers manager.
Oh man you will love this environment.

My final note for 64bit Ubuntu is that go to this link to enable adobe flash. http://ubuntuforums.org/showthread.php?t=476924

And for SCIM input method go to the following links:
https://help.ubuntu.com/community/SCIM

Hey make sure you enabled --> apply --> disable --> apply --> enable --> apply --> log out --> log in for complex character input check box. This would sound weird but you have to do this, otherwise SCIM will not show up Okay?

Wednesday, January 02, 2008

Windows XP and Xubuntu Dual Boot Success!!

I have old gateway M405 laptop with 1.3GHz celeron processor. I have been trying to install windows and linux. The main problem was after xubuntu or whatever ubuntu installation windows gives me many different errors and refuse to boot.
Errors were;
NTLDR missing
BSOD with unbootable disk volume errors ....

Finally I solved the problem by leaving about 8MB gap between Windows partition and Linux partition. You can do it by using fdisk and tweaking around little bit.
Also, for linux, I only used logical partition instead of primary partition.

After that, everything is good to go.