Wednesday, July 23, 2008

USBConnect 881U

It's actually a Sierra-Wireless 881U 3G GSM modem.
The settings:

user=ISPDA@CINGULARGPRS.COM
password=CINGULAR1
init1 box enter: AT+CGDCONT=1"IP,"isp.cingular"


Enter the following AT command in any terminal application (e.g. Minicom) to obtain the signal quality (RSSI):
at!rssi?
A range from -60 dbm to -90 dBm is considered adequate.
Enter the following AT command to see whether your AirCard modem is online:
at!pcinfo

Enter the following AT command to turn the radio on (if the modem is in low power mode (LPM) the radio is off):
at!pcstate=1

For AirCards modems, the power LED on the card will light up.

Enter the following AT command in any terminal application (e.g. Minicom) to obtain the signal quality (RSSI):
at+csq
The first number indicates the signal strength above -109 dBm (in 2 dBm increments). A value of 7 or higher (-95 dBm) can be considered adequate.
Enter the following AT command to see whether your AirCard modem is online:
at!gstatus?

Enter the following AT command to turn your radio on (if the modem is in low power mode (LPM) the radio is off):
at+cfun=1
For AirCard modems, the power LED on the card will light up.

Sunday, June 1, 2008

Get fit with Wii Fit

Finally I've got this device (I bought it at Best Buy when it had it in stock, I guess not very long would dissapear again). The package is similar to MacBook Pro package with stylist elegant white color and minimalist (not to much graphics but yet still informative to consumers).

The board is quite large, enough to seat my big feet. It's quite heavy (they put some weight for stability, not because of its electronics). I had to add extension (included in the package) to their pegs because carpet in my house is thick enough to make the balance being inaccurate. There is only a single button with a blue color LED at the back for power on switch. As other Wii remotes, it uses Bluetooth to connect hence require synchronization with Wii Console for the first time before use.

The software (called "Wii Fit") has two parts: "Body Test" and "Training". Body Test is all stuff related to measure our weight, BMI, balance and Wii Age. It's really good. It is able to track our daily weight measures and set target to reach our target BMI.

The training section contains 4 sections: Yoga, Strength, Aerobic, and Balance. For yoga, we are guided by an virtual instructor (with preference is set during setup. We can choose to use male or female instructor). It's very easy to follow, although not that easy to do what it is said (I sometimes fidget or wiggle a little and these all are detected with its very sensitive accelerometer in the Wii surve board).

My favorite game is Hulla-hoop, dance (forgot the exact name) and boxing. Similar to other Wii games, some of the games/activities are locked and can only be unlocked by doing more work-out (collecting more minutes over time).

Atom Processor

It's well known, Intel is one of the greatest chip maker in the world. While other companies might have developed mind-bogling processor or SoC architecture, Intel is still on the top of all in the term of fabrication process technologies.

The recent Intel System-on-Chip (SoC) processor called Atom processor reveals the use all new hafnium-infused 45nm high-k silicon technology while packs an astounding 47 million transistors on a single chip measuring less than 25mm².

The power consumption is astounding. While idling, it sucks up only milliwatts of power. In full throttle, it may go up to 2.5 W, which is still far away from the most power-efficient other processors made by Intel. Although a recent news reveals that VIA also is making a competitive processor, yet it is uncomparable to Atom in term of clock and CMOS size (they still use 65nm process).

The family of this processors is named Z5xx series (previously called Silverthorne). With clock frequencies spand from 800 MHz to 1.83 GHz and 533 MHz FSB, this processor is definitely going to compete heavily with it's own elder brother, Pentium4 Centrino.

Te following features are copied-pasted from Intel website:

  • Fastest performance in a sub 3 watt thermal power envelope based on industry leading benchmarks (EEMBC) and web page rendering performance
  • Greater energy efficiency enabled by incredibly low average power (160-220 mW) and idle power (80-100 mW) and scaling performance from 800MHz to 1.86GHz
  • Power-optimized front side bus of up to 533MHz for faster data transfer on demanding mobile applications†
  • Scalable performance and increased power efficiency with multi-threading support²
  • Improved performance on multimedia and gaming applications with support for Streaming SIMD Extensions 3 (SSE3)
  • Improved power management with new Deep Power Down (C6) technology state, non-grid clock distribution, clock gating, CMOS bus mode, and other power saving architectural features
  • 10x lower thermal power level enabled by improved power management technologies delivering high performance to run the real Internet and a broad range of software applications³

I'm eager to see a device using this processor. Perhaps next generation iPhone or googlePhone? Who knows.

Wednesday, May 28, 2008

My Broadband speed is optimum now!

Finally, after more than a year my DSL suffered slowliness due to lack of AT&T responsibility to fix it, now they've fixed it. I subscribe to their DSL Elite, so I am suppose d to get at least 4.5 Mbps download and 600 kbps upload. The recent test I performed gave a very close result:

Monday, May 26, 2008

Wii Transformation

While most games nowadays, either on PC, PS3 or XBox 360 tend to make people become coach-potatoes, Wii (and its new Wii Fit board) could make people being active. You may argue, there are some games (and require extra controllers) that try to imitate the innovation made by Nintendo, yes but they're not the same.

A few weeks ago I bought this Wii because I was trying to buy Wii Fit and it requires Wii Console. At the time of this writing, all Wii Fit boards are sold out in many brick-and-mortar stores. I saw some were available on the Net, but the price tag was scarying me (double or even 5 times more expensive that its MRP).

Although I paid overprice for the console ($340'ish instead of $250), I was satisfied with it. It comes with one remote motion-sensor controller (it uses Bluetooth and IR for connection) and a Nunchuck (some games require it) that can be connected at the end of the controller. The game that comes in the box is WiiSports consisting of Tennis, Baseball, Bowling, Golf and Boxing.
My favorite sport is Tennis, Bowling and Boxing. Playing tennis is almost like playing a real tennis game. The boxing requires nunchuck so your both hands can do jab (not many variations like overcut), but still it is fun. Unfortunately, the console comes with only one set of controller, so I had to spend money to buy second controller (and another sports game for kids).

After playing those games a few days, I've lost 3 pounds of weight and got sore in my arms. My daughter lost 2 lbs and more (wow!). After seeing how fun it is to play with, I bought another two games (Table Tennis and something, I forgot the name). Yes, they mostly require using arms and not much body or leg movements required, but somehow when we played them, we tend to to simulate the real games, like catching the ball, swing etc.

We then bought another one for our daughter. It is Hannah Montana dancing game. Yet it uses mostly hands to play, it looks so fun and our daughter was so excited and addicted to it (in a good way, because she now moves her body more. It's a good work out for her and even me!).

If you want to see a bleeding-edge graphic quality, Wii is not the thing you can compare against PC, XBox 360 or PS3. For PC (which currently is the highest quality graphic among them if we use the top NVidia card and the most expensive one), it is even far better than any consoles (with the downside ofcourse its price tag).

I cannot wait to get the Wii Fit. I saw the ads, it looks more fun. It comes with a CD for playing surfboard, yoga, dancing (now it requires our legs to do steps), hulla-hop, balancing and soccer goalie (and use our head to block ball coming to our goal gate). The official price tag is $89.99 (at least when I checked at Best Buy, Game Stop, Target even they didn't have in stock yet).

Wednesday, May 14, 2008

Burn CD with wodim

#!/bin/bash

function getkey()
{
read yourentry
}
DEV=/dev/scd0
TMP_FILE=/tmp/cd_data.raw

wodim dev=${DEV} -setdropts driveropts=singlesession
wodim dev=${DEV} -v -sao -dummy -data speed=18 $1
wodim dev=${DEV} -eject
wodim dev=${DEV} -load

Clone a CD in Linux with wodim

Here's the content of my ~/bin/copycd:


function getkey()
{
read yourentry
}
DEV=/dev/scd0
TMP_FILE=/tmp/cd_data.raw
echo Please enter the CD/DVD to copy from ....
getkey

readom dev=${DEV} -nocorr f=${TMP_FILE}
echo Please enter a blank CD/DVD and press enter when ready ....
getkey

#readom dev=${DEV} -w -nocorr f=${TMP_FILE}
wodim dev=${DEV} -setdropts driveropts=singlesession
wodim dev=${DEV} -dao -v ${TMP_FILE}


wodim -eject

Friday, May 9, 2008

Why VirtualBox is better

I'd tried to load up QEMU or Xen with no success on my OpenSUSE 64-bit ver 10.3 (I am running kernel version 2.6.25).  I then tried VirtualBox OSE (Open Source Edition) downloadable from www.virtualbox.de.  After installing all the needed libraries as instructed and compiled this VB, it worked as charm!

With QEMU or Xen, there were problems I couldn't fix (this because my Linux is heavily customized and not running kernel from openSuSE anymore).  I also tried the pre-compiled (proprietary/non-OSE) version, and this actually even better.  As mentioned on the website, the proprietary version supports USB and file sharing between host and guest O/S.

So far, I am able to run my Windows XP Pro SP3 under this Linux 64-bit with no problem.  I could print, browse internet and even play games (eventhough it is slower than running in native/standalon XP).  With file sharing, I could install Microsoft Office in the guest O/S and share the doc/xls/ppt files.

For the networking, the VB provides a firewall and NAT.  The subnet it gives is in 10.x.x.x subnet, but work with no issues. 

I still have small issue though as the screen resolution under XP is limited to 1024x968, eventhough the host O/S (Linux) has nvidia driver and was running resolution 1680x1050.  But interestingly, on my MacBook running OSX 10.4 Tiger, I could set the screen resolution as much as 1680x1050 (which is even beyond my laptop resolution).  Why?

With Windows XP as host O/S, I initially tried Microsoft Virtual PC.  The interface is good, but when I installed Linux OpenSUSE 10.3 (32-bit), the network worked sporadically and took almost a week to download necessary modules from opensuse.org!   I tried installed offline, the same issue happened.

After this painful waiting, finally I managed to install it, but everytime I rebooted the guest O/S it never came up correctly (the screen stayed blank after the initial OpenSUSE login screen).  I eventually dumped this stupid Virtualization tool completely and install VirtualBox.  Yes, as you might guess, it works like a charm on Windows XP too.  

I still need to try on Windows Vista though.  Will report it later.


What a tool!

Wednesday, April 23, 2008

VirtualBox 1.5.6 with Linux Kernel 2.6.25

While compiling VirtualBox was successful, the loading failed with kernel message (seen using dmesg | tail -f):

release/bin/src ; USER=root ; COMMAND=/sbin/modprobe vboxdrv
Apr 23 22:20:16 linux-hp kernel: vboxdrv: Unknown symbol change_page_attr


With the introduction of the new API, no driver nor non-archcore code needs to use change_page_attr anymore. What I did was to grep for "change_page_attr" in VirtualBox source directory:

grep -R --include=*.? "change_page_attr"

And comment out all calls to this procedure. Loading the module then succeeded:

release/bin/src ; USER=root ; COMMAND=/sbin/modprobe vboxdrv
Apr 23 22:27:53 linux-hp kernel: vboxdrv: Trying to deactivate the NMI watchdog permanently...
Apr 23 22:27:53 linux-hp kernel: vboxdrv: Successfully done.
Apr 23 22:27:53 linux-hp kernel: vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
Apr 23 22:27:53 linux-hp kernel: vboxdrv: Successfully loaded version 1.5.6_OSE (interface 0x00050002).

Monday, April 21, 2008

Canon 4200F is still unsupported on Linux

lsusb -d 04a9:221b -vvv


lsusb -d 04a9:221b -vvv

Bus 007 Device 002: ID 04a9:221b Canon, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x04a9 Canon, Inc.
idProduct 0x221b
bcdDevice 2.00
iManufacturer 3 Canon
iProduct 4 CanoScan
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 10mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 8
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered

Creative XFi driver on Linux 2.6.25

There is still a problem with beta2 version of Creative Sound Blaster XFi driver on Linux kernel 2.6.25. If we do what is said by the driver installation instruction, it ends up with some errors. Here's a trick how to manually compile and install it:



  1. Download the driver from http://us.creative.com/support/downloads/download.asp?searchString=XFiDrv_Linux. or directly from shell: wget http://ccftp.creative.com/manualdn/Drivers/AVP/10530/0xE84AB36F/XFiDrv_Linux_US-1.18.tar.gz
    The latest is version 1.18

  2. Extract the tar.gz file from your build folder:

    tar zxvf XFiDrv_Linux_US-1.18.tar.gz

    This will extract all files to XFiDrv_Linux_US-1.18
  3. cd to the XFiDrv_Linux_US-1.18/drivers
  4. Try to do make (gotta be a root). It will cause some errors (the errors don't appear on the screen. They are logged in /var/log/creative-installer.log and need root access to see it). We can open another window/shell and just type: sudo tail -f /var/log/creative-installer.log to see what's going on.
  5. OK, now we're about to fix these problems. First, just typ: ./configure
  6. Don't do make yet. We need to modify some files.
  7. edit file LinuxSys.c: vi src/ossrv/LinuxSys.c
  8. Goto line 648 and replace SA_SHIRQ with IRQF_SHARED (Kernel 2.6.22 has told us that it was going to deprecate it although still defines it, but in kernel 2.6.25 this SA_SHIRQ is now gone!)
  9. Add the following line after line 33:


  10. #include <linux/fs.h> // for definitions of filp_*
  11. Add the following lines after line 37:

    #include <asm-generic/fcntl.h> // otherwise, some MACROS are undefined


  12. Compile with the following command: sudo make KBUILD_NOPEDANTIC=1 or modify (temporarily!) file /usr/src/linux/scripts/Makefile.build and comment out statements around line 46 as below:

  13.  #ifeq ($(KBUILD_NOPEDANTIC),)
    #ifneq ("$(save-cflags)","$(CFLAGS)")
    #$(error CFLAGS was changed in "$(kbuild-file)". Fix it to use EXTRA_CFLAGS)
    #endif

  14. Edit file in drivers/ctsound and change the order to:

    drivers="ctossrv emupia ctsfman haxfi ctalsa ct20xut ctexfifx cthwiut"

    #endif
  15. Install it: sudo make install

Saturday, April 19, 2008

Distributed Compile and Caching

This trick has boosted my compilation several times faster now. Here is the steps:

  1. First, you need to install both ccache and icecream (search on the Internet!). The default place for icecream files are under /opt/icecream.
  2. Create a folder /opt/ccache and /opt/ccache/bin
  3. Create file named "gcc" and type:
  4. #! /bin/sh
    export CCACHE_PATH=/opt/icecream/bin
    export PATH=/opt/icecream/bin:/usr/bin:$PATH
    ccache gcc "$@"
  5. Repeat step 3 and 4, but change line "ccache gcc" to "ccache c++" and name the file c++.
  6. Do the same thing (step 5) for cc abd g++
  7. Modify path (I put this in my ~/.profile): export PATH=/opt/ccache/bin:$PATH


To start icecream, as root do this: /etc/init.d/icecream restart
This will start the icecc daemon (iceccd). Here is my processes:

> ps -ef | grep ice
icecream 3944 1 0 19:33 ? 00:00:03 /usr/sbin/scheduler -d -l /var/log/icecc_scheduler -n icecream -vv
root 3957 1 0 19:33 ? 00:00:06 /usr/sbin/iceccd -d -l /var/log/iceccd --nice 5 -s linux-hp -n icecream -u icecream -b /var/cache/icecream -vv


(Modify file /etc/sysconfig/icecream as you needed (especially the scheduler and netname). I still not able to make my other computer to participate in the parallel compile (it is separated by a wireless router but in the same IP subnet). I don't know the root cause yet (the log said it was not able to find the scheduler, although I explicitly specify it [not thru broadcast]).

NVIDIA driver on Linux Kernel 2.6.25

The current Nvidia driver (NVIDIA-Linux-x86_64-169.12-pkg2.run) is somehow broken with Linux kernel 2.6.25. I googled and found discussion about this. Some people suggested to replace EXPORT_UNUSED_SYMBOL(init_mm) to EXPORT_SYMBOL(init_mm) in
/usr/src/linux/arch/x86/kernel/init_task.c. It didn't work (at least on my machine).

I look at the error log in /var/log/nvidia-installer.log. The last few lines in the file told me the global_flush_tlb() was implicitly declared (meaning, it was no longer exported by the Linux kernel. People in the discussion forum mentioned since 2.6.24 or something) while trying to compile nv-vm.c. This look weird, so I extracted the Nvidia driver with the following command:

sh download/nvidia/NVIDIA-Linux-x86_64-169.12-pkg2.run -a -q -n -x

This command extracted both binary files and its source codes onto NVIDIA-Linux-x86_64-169.12-pkg2/
I then cd to NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv and commented out calling to that procedure. Here's my modified procedure of that file:

static void nv_flush_caches(void)
{
#if defined(KERNEL_2_4)
// for 2.4 kernels, just automatically flush the caches and invalidate tlbs
nv_execute_on_all_cpus(cache_flush, NULL);
#else
// for 2.6 (and later) kernels, rely on global_flush_tlb
#if defined(NV_CPA_NEEDS_FLUSHING)
nv_execute_on_all_cpus(cache_flush, NULL);
#endif
#if defined (NVCPU_X86) || defined (NVCPU_X86_64)
//global_flush_tlb();
#endif
nv_ext_flush_caches(); // handle other platform flushes if present
#endif
}

I then manually compile the code usual way (make module) from that folder and did "make install" (executed as root). For the binary files, I just manually copied them to their proper places.

Nervously, I typed "startx" and voila....my Xwindows started successfuly! So far, I haven't noticed any anomalies nor problems (this blog is actually done from my machine running the new driver). Apparently, the latest kernel doesn't require flushing cache anymore (it must be done automatically elsewhere).

Thursday, April 17, 2008

Virtualization Era!

Rebooting a machine to switch to another OS on multi-operating-system machine sounds out dated now. With recent VT-enabled technology from both Intel and AMD on certain x86 CPUs, virtualization goes smoother and better.

I just tested Microsoft Virtual PC which enable me to install multiple windows or even Linux under my Windows XP host OS. There are other Virtualization software available, either freeware or not. Here I am trying to list some of them:

Non-free ones:
VMWare: https://www.vmware.com/tryvmware/?a=l&eval=workstation-l
Microsoft Virtual PC: http://www.microsoft.com/windowsxp/virtualpc/
Novel SUSE Linux Exterprise VM Driverpack: http://www.novell.com/products/vmdriverpack/

Freeware versions:
Bochs: http://bochs.sourceforge.net/
QEMU: http://fabrice.bellard.free.fr/qemu/
VirtualBox: http://www.virtualbox.de/ (this software has dual licenses: free and proprietary)


While, to just run windows application on Linux, we can use wine or its sibling, the commercialized one: CrossOver for Linux: http://www.codeweavers.com/products/cxlinux/

To learn more about virtualization and/or virtual machine (don't get confused with Java VM as it's not a system VM): http://en.wikipedia.org/wiki/Virtualization

The more complete list of VM packages:
http://en.wikipedia.org/wiki/Comparison_of_virtual_machines

I will report further once I try some of them. In most cases, the host OS will be OpenSUSE 64-bit ver 10.3 with guest OSs will be: Vista Home Premium SP1, Vista Ultimate 64-bit, Mac OSX 10.4 Tiger and some variants of Linux [Redhat, UBuntu, Debian]. The host system will be my desktop CPU: Intel Quad-core 2.4 GHz, 4 GB RAM, with almost 768 GB total space.

x86 Technical Info

Some very interesting technical information related to x86 (besides, of course, Intel/AMD official sites and Micro$oft):

http://www.sandpile.org
http://www.mgreene.org/wikka/LdrNotes

Wednesday, April 16, 2008

HP 1020 on Linux is now working!

Finally, I am able to print to HP LaserJet 1020 from my Linux machine. Thanks to the guys at http://foo2zjs.rkkda.com/.

Just follow the instructions in the INSTALL file, you should be able to successfuly print. One thing I was unaware was to control CUPS via web (in my case, browse to http://localhost:631). From there, I could then test.  Although I've tested remote printing, it shouldn't be a problem because CUPS will handle all!

Great!!

Tuesday, April 15, 2008

Alternatives to Window$

I've found some alternatives to Windows, which some of them are quite attractive:

http://www.reactos.org/en/index.html

http://www.ecomstation.com/

OS/2 clones:

http://www.osfree.org/
http://voyager.netlabs.org/en/site/index.xml

Vista Is a Pain in the Butt!

The more I use Vista, the more frustation I get. My Vista has been updated with SP1 (as it always be, because it's been running Update scheduler since day one). Recently, my PC locks up more frequently than before. What I mean "lock up" is really a locked-up condition (freeze) to user. The mouse pointer freezes, there is no way to shutdown/reboot and doesn't get any response for any inputs either from keyboard nor mouse. I notice there is some activity on the hard disk, though.

With this issue, my list of dissapointment with Vista has even longer. Here's some of them:

  1. No support for 4 GB RAM (only 64-bit does support it). What the heck? Mac OS-X and Linux much better (Mac OS-X 10.4 or later is actually a 64-bit OS so no issue, while on Linux 64-bit, support for 32-bit apps are excellent). Why doesn't Micro$oft just sell one version of the OS?
  2. GUI freezes frequently (Yeah, no BSOD, but what's the difference? both render my PC as dead anyway!)
  3. To-much minimum hardware requirements
  4. Many compatibility issues with older applications
  5. Costly (As comparation: Mac OS-X Leopard cost only $100'ish [there is only single version! no home, ultima bla...bla...edition]. Linux is even totally free!). Vista Ultimate? $300'ish!!!
  6. Still immature driver support.
  7. Super-fetch which is not super (it keeps my hard-disk busy for most of the time, although my PC has 4 GB of RAM and it's a Quad-core Intel 2.4 GHz!). Instead of a boost, it slows down the PC.
  8. Slower than XP !! (and takes more space than XP too).
  9. Lack of bundled development environment (Mac OS has XCode comes in its OS installation CD as an optional application. Linux has GCC and many others). Microsoft sells the development packages separately as MSVC, .NET bla..bla and cost hundreds of dollars each.

I now boot to Linux partition more than its Vista. openSUSE ver 10.3 now supports writing to NTFS partition, so there is no issue with mixed partitions. There are some limitations too on openSUSE, but at least I am in control if an application is going south (I can switch to text console, I can force-kill an application, I can even modify the operating system as I want!)

Windows versions

Windows, internally, have been versioned with numbers instead of codename like "Longhorn", "Vienna" etc. For example, Windows XP is internally versioned with "5.x", while Vista is basically Windows version 6. The next windows version (Windows 7) is trully windows version 7.
All are rooted since Windows 3.x Users mostly see product name (e.g, XP or Vista), but developers usually can see the versions (WinAPI doc from MSDN).  The numbers correspond to their major version and revision.  So expect a another big revision from Vista to Windows 7 (although users may not see or feel it, because the changes may be only internal to the system).

Here I try to list the versions:

Windows 3.0 -> winver 3
Windows 3.1 -> winver 3
Windows 95 -> winver 4
Windows NT -> winver 4
Windows 98 -> winver 4
Windows 2000 -> winver 5
Windows XP -> winver 5
Windows Vista -> winver 6
Windows 7 -> winver 7

Wednesday, March 26, 2008

Post a blog Right from WORD

So far I hadn't been much of using Microsoft Word 2007. A few minutes ago I just tried to exlore this look-totally-different-than-before word processor. All the menus were rearranged differently. At first, I got lost as I was only familiar with its predecessors (which had not change the menus that much).

One cool feature is its direct-posting your document to bloggers. such Bloggers, Wordpress etc. Just click "Publish" and select "Blog". The first time we use the feature, we need to set it up. It will guide us by asking which blog site we are going to publish to and then our account and password. That easy!

COMPUSA USB VIDEO GRABBER

High Speed USB Video Grabber


 

SKU: 318714


 


 

FCC and CE Radiation Norm

FCC

This equipment has been tested and found to comply with limits for Class B digital device pursuant to Part 15 of Federal Communications Commission (FCC) rules. 


CE

This equipment has been tested and found to comply with the limits of the European Council Directive on the approximation of the law of the member states relating to electromagnetic compatibility (89/336/EEC) according to EN 55022 Class B.

 

FCC and CE Compliance Statement

These limits are designed to provide reasonable protection against frequency interference in residential installation. This equipment generates, uses and can radiate radio frequency energy, and if not installed or used in accordance with the instructions, may cause harmful interference to radio communication. However, there is no guarantee that interference will not occur in television reception, which can be determined by turning the equipment off and on. The user is encouraged to try and correct the interference by one or more of the following measures:


 

PACKAGE CONTENTS:

  • High Speed USB Video Grabber
  • User's Manual
  • Ulead® VideoStudio™ 7.0 DVD Software & Driver CD

SYSTEM REQUIREMENTS:

  • Windows® 2000 and XP
  • CPU: Intel® Pentium or AMD Athlon® 1.5GHz or Higher Recommended
  • 256MB RAM Recommended
  • DirectX® 9.0 or Higher
  • 300MB HDD Space, Additional 4GB Required for every 20 minutes of captured video
  • An Available USB 2.0 Port (backward compatible with USB 1.1)
  • An Available Line-In or Mic Port (for Audio Input)
  • CD-ROM Drive (for driver & software installation)


SYSTEM SPECIFICATIONS:

  • Capture Video Signals from DVD, VCR, Camcorders and Video Game Systems
  • Supports Composite (RCA) and S-Video Inputs
  • Supports NTSC, PAL and SECAM Formats
  • Maximum Resolution 720x480 Pixels at 30 Frames Per Second for USB 2.0, 320x240 at 30 Frames Per Second for USB 1.1
  • Records in AVI, VCD, MPEG and WMV Formats
  • USB 2.0 Compliant
  • USB Powered (no external adapter needed)

DRIVER INSTALLATION:

  1. Please make sure that you have the latest Windows® updates before installing the driver.
  2. Insert the Driver CD into the CD-ROM Drive of your computer. The Ulead® Products installation menu will start automatically. If the menu does not start up automatically, click "Start", then "Run…", then type in "D:\Autorun.exe" where D designates the letter of your CD-ROM Drive, and then click "OK."

    Note: If D is not the letter of your CD-ROM drive, please substitute D with the correct drive     letter.

  1. Click "Install Grabber Driver" to install the driver.
  2. Follow the on-screen instructions to install the driver files onto your computer.
  3. Connect the USB connector of your Video Grabber to an available USB port and the 3.5mm audio jack of your Video Grabber to the Line-In or Mic port of your computer. (See image below)


 

  1. For Windows® 2000, your system will automatically detect and install the necessary driver, please continue to step 9. For Windows® XP the "Add New Hardware Wizard" will appear, click "Next" and continue to step 7.
  2. If the Microsoft digital signature box appears, click "Continue Anyway."
  3. Follow the on-screen instructions to complete the driver installation and click "Finish" to close the wizard. Your video grabber is now ready to be used.
  4. If you do not have video editing software installed, please go through the Software Installation procedures to install "Ulead VideoStudio 7.0 SE Basic" onto your computer.

SOFTWARE INSTALLATION:

  1. If the Ulead® Products installation menu is not running, refer to Step 2 under Driver Installation on how to run the Ulead® Products installation menu.
  2. Click "Install Ulead VideoStudio 7.0 SE Basic."
  3. Follow the on-screen instructions to complete the software installation.
  4. Restart your computer. For instructions on how to use Ulead® VideoStudio™ 7.0, please click on "Start", go to "Programs", then "Ulead VideoStudio 7", and then select "User Manual" to open the VideoStudio™ User's Manual.



Monday, March 3, 2008

My Dream Digital Camera

Nowadays digital cameras are used every where with various features. The latest news I read last time was a camera that could submit pictures online to a website/blog space.

My dream camera actually is more than that. I am dreaming a camera that has GPS to tell the exact location where I took the picture, an electronic compass to tell the direction where the shot was taken to , and an electronic accelerometer to tell the orientation or tilt of the camera against horizon (e.g, postscript or landscape, altitude etc.). All these data should be stored in the picture's JPEG file as an extension to the existing EXIF format.

So, next time we want to repeat the exact snapshot, the camera can tell you. Seems thi may be helpful for crime investigators too.

Thursday, February 28, 2008

Fundamental of Electric Circuits

Wednesday, February 27, 2008

Surely You're Joking, Mr. Feynman

Read this doc on Scribd: "surely you're joking Mr feynman"

"Surely You're Joking" by Prof. Richard F. Feynman

Tuesday, February 19, 2008

Blue-Ray prevails!

Finally, after years of standard war, Toshiba has lost battleground and quit HD-DVD business. Despite some of their similar picture quality, HD-DVD is relatively cheaper to produce and sell but trade off of being less capacity to store data. Probably it's good to have a single winner, Blue-Ray, which has almost double capacity as of HD-DVD.

If you're in the market of looking for a high-definition player, now it's determined to just buy Blue-Ray! (Sony PS3 has built-in blue-ray drive with $500'ish price).


The complete story can be found here:
http://news.yahoo.com/s/ap/20080219/ap_on_bi_ge/japan_toshiba;_ylt=AuYF1vqdcqbvnMkC7sD41UCs0NUE

Monday, February 4, 2008

Microsoft heard Me!

Finally, folks from Microsoft seem had read my blog :-)
On my blog last time (see "Why Windows sucks"), I listed some weaknesses on Windows XP. Microsoft has added most of those missing features in Vista, although still not as what I expected. First, Vista now has stronger scripting capability on its console/shell. Another thing is, it now is capable of creating symbolic links of actual files.

But, they've also added a supposedly-cool feature, super-fetch, but it turns out swamped most of resouce on my new quad-core PC (which has already 4 GB of RAM). Most of the time my hard disk is busy doing something. I admit, I've installed many applications, but unlike Linux or OSX, the more you install on any Windows, the slowliness you'd get (thanks to its stupid registry, an now super-fetch).

Look, I am not a typical user who just use Office or games for my PC. I am a super-user and love to hack things (well, this is just my self-proclaim :). But from my experience, Windows Vista in general is the most resource-eater among OSs I have tried so far (I've used various O/S, including DEC VMS on VAX machines, IBM OS/2, various DOSes since version 2.x, VxWorks, OSE, all the Windows variants since 3.x, some Linux variants [SUSE, RedHat, Debian], Solaris, Novell Netware, Mac OS9 & OS-X, Unix variants [FreeBSD, SCO, Xenix, Minix, etc.], FreeOS, even the open-source-IOS-like Vyatta).