2012年10月3日星期三

2012年9月24日星期一

Samsung Q1 Touch Screen Calibration (Ubuntu)

Download Calibrate Touchscreen from Ubuntu apps store.

run Calibrate Touchscreen
 
--> Making the calibration permanent <--
  copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf'

Section "InputClass"
    Identifier    "calibration"
    MatchProduct    "Touchkit HID-USB Touchscreen"
    Option    "Calibration"    "92 3966 170 3915"
EndSection

Samsung NP-Q1 Ubuntu Linux sound problem

Reference : https://help.ubuntu.com/community/HdaIntelSoundHowto 
 
 
sudo nano /etc/modprobe.d/alsa-base.conf

Then paste the following line at the end of the file (change MODEL with 
the type of sound card's model, in our example it should be "acer" 
(without quotation marks)): 

options snd-hda-intel model=samsung

2012年9月6日星期四

unknow hard error c00000135

Blue screen with the message “STOP C0000135 unknown Hard Error”. 
Anti-virus deleted some essential files in windows system and caused this problem. Normally, the loss of advapi32.dll, Gdi32.dll, Kernel32.dll, or/and User32.dll will show this message. Try to copy the files from other computer to fix it.

Another case is the file c:\windows\system32\csrsrv.dll was detected by some antivirus but it is false positive. Please restore the file from virus vault or from other computer.
 

2012年8月17日星期五

WIN 7 Spooler always down! All Printers is missing & not working

Try this :
Check for the spooler whether it’s turn on in services
1. Start > Start Search > services.msc
2. If spooler is not on, turn it on.
If after turn on, it turn off automatically, proceed to step 3,
if can turn on go to step 4
3. Start > Start Search > C:\Windows\System32\spoolsv.exe (Right click > Properties)
4. Click on Security Tab > Advanced > Owner.
Take ownership of the file and give full permission to the file.
Once done, close everything and try to start the service again.
5. Start > Start Search > cmd (Run as Admin)
6. del /Q C:\WINDOWS\system32\spool\PRINTERS\*.* > Press Enter
7. Once done, try to start the spooler in Services

or create a batch file "reset1020.bat"
in Command Prompt
copy con reset1020.bat
del /Q C:\WINDOWS\system32\spool\PRINTERS\*.*
net stop spooler
net start spooler
^Z or F6

or use notepad & put all lines in the "reset1020.bat"
del /Q C:\WINDOWS\system32\spool\PRINTERS\*.*
net stop spooler
net start spooler

run reset1020.bat as administrator for fix the problem.

The problem is caused by the HP1020 or HP1080 Printer Driver. I had not find a solution for that until now!

2012年7月22日星期日

IBM / Lenovo Rescue Recovery Factory Restore Media

If you encounter this message. you can try this below:

“You can have only one copy of the Microsoft Windows operating system. The Product Recovery Media Creator will exit now.”

Open FactoryRecovery folder and look for service_done.ini. Copy this file in a different place just to have a backup file. After that, open the original one FactoryRecovery\service_done.ini and change the string done=1 to done=0.

After that , you can make the recovery media once more. Good luck!

2012年7月20日星期五

ddrescue

Command for ddrescue

using rescuecd
----------------------
ddrescue -b 4096 /dev/sda1 /mnt/windows

using ubuntu live cd
---------------------------
sudo -i
start update manage and enable univise
apt-get install gddrescue

ddrescue --no-split /dev/sda /dev/sdb --force

--force * sometimes will be needed to force it to write on the target drive. Use with care. It will erase all data on the target harddisk.

*** Remarks

/dev/sda is the source & bad drive
/dev/sdb is the new & empty drive

*** Some examples procedures

First you copy as much data as possible, without retrying or splitting sectors:
  • ddrescue --no-split /dev/hda1 imagefile logfile 
Now let it retry previous errors 3 times, using uncached reads:
  • ddrescue --direct --max-retries=3 /dev/hda1 imagefile logfile 
If that fails you can try again but retrimmed, so it tries to reread full sectors:
ddrescue --direct --retrim --max-retries=3 /dev/hda1 imagefile logfile