Archive for the 'Software' Category

German (Europe, all GSM?) WebOS Update 1.3.1

Monday, November 23rd, 2009

Finally, after a month on some outdated 1.1.3 version, we Europeans (maybe all GSM Pré’s?) get the long awaited 1.3.1 update.

Why the Palm Pré (unlike Apple’s iPhone) does not have one universal software build for all phone variants, areas, is a mystery to me.

My favorite Change: Fast forward and rewind (current play position change), yay!

However some recent speedup, e.g. hardware accelerated graphics would be welcome, too, …

Now exiv2 is a little unintuitive to use

Sunday, November 22nd, 2009

Just needed to fixup some photos. Basically because I was sorting some 1600 pictures, from various cameras and people, mostly to bring them in-order and pick the best shots. Unfortunately some cameras even did not had the date set properly. Some where up to 2 year and something off (manufacturing date reset?), another just 4 months and something, yet one more about 2 and a half dayo, and the last was still running on daylight saving (winter time) and thus was one hour off, :-(

As a reminder for myself, for the next batch:

Adjust the timestamp:

exiv2 -Y 2 -O 3 -a -8:10 adjust *

Remove some random comment noise:

exiv2 -M”set Exif.Photo.UserComment charset=Ascii” *

Normalize the filenames:

exiv2 -r ‘%Y%m%d_%H%M%S_:basename:’ *

Some quick look at Google’s Chrome OS

Friday, November 20th, 2009

Suprisingly based on eglibc 2.10.1 (not just glibc, guess Ulrich Drepper really annoyed the last fellow developers away), GCC 4.4.1. Given the X.org log, built on an Ubuntu system.

Login auth via an custom pam_google.so.

Boots without a single message, not a single text character from neither the boot loader, nor the Linux kernel. Actually the first time I thought it did hang, failed to load something (booter, kernel, …) until the X based login mask popped up. Comes with all X drivers (even the old, esoteric ones - in contrast to Moblin, which only ships the Intel one, and VESA). But neither with an Intel Poulsbo (GMA500) driver, :-(

However, whether I want to use a system that auth’s at Google, only works when connected, and reception is good (forget most airplanes, trains, abroad (e.g. weekend, holiday) areas, etc.

And mind you: With ChromeOS Google does not even know what you searched, it even knows when you power on your NetBook, authenticate on the system, suspend, resume, certainly can track every move just with your All-Google-OS.

Enjoy!

Mac OS X (10.6.2) update space requirements

Thursday, November 12th, 2009

Mac OS 10.6.2 update just trickled in, complained I did not had 2,95 GB of free disk space (a little less when Safari 4.0.4 is deselected):

Ok, admitted, I had multiple GBs of test scanned image data lingering all over the place. But 157,7MB becoming over 2GB? Ok, maybe some snapshotting and backup involved, but they could certainly patch on-the-fly a little more efficient.

Remember: Intel Atom CPU support might be degraded (#ifdef’ed out). I only updated genuine Apple Mac’s, the above was my MacBookPro3,1.

Lucky things didn’t turn out worse

Wednesday, November 11th, 2009

So recently I mangled my PowerPC G5’s Apple partition map while installing Mac OS X on my Nokia Booklet 3G. Yeah, all this zero-based, one-based, everyone names them different device enumeration, …

So after the Chameleon Master Boot Record hit the Apple Partition Map of the G5, OpenFirmware was not able to read the remaining partition table anymore (I actually should lookup the layout, maybe just some magic was hit, or a backup copy resists somewhere, whatever).

So after about a week without the G5 I thought it would be a good day to install all the OS X flavors, which I need for testing, alongside my Linux, again.

Loading the T2 installable disk, Linux did neither recognize a valid partition table, anymore - however mac-disk still displayed all the 8 partitions just fine. It just wouldn’t save it without changes (at least I found no “forced write, really I mean it, yes I know I have not modified it” switch). So the last partition removed, re-added, re-written (yuck), and all was there again. Yay!

Firts steps with an BSD, DragonFly

Thursday, November 5th, 2009

Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.

DragonFly v2.4.1-RELEASE (GENERIC) #14: Wed Sep 30 18:12:31 PDT 2009

The network configuration goes into /etc/rc.conf:

ifconfig_re0=”inet 192.168.2.20 netmask 255.255.255.0″
defaultrouter=192.168.2.1

(The “re” comes from RE(4) - RealTek … PCI/PCIe Ethernet adapter driver, and will certainly differ, see “ifconfig”.)

The nameserver as usual into /etc/resolv.conf:

nameserver 208.67.222.222

The services are enabled in /etc/defaults/rc.conf:

sshd_enable=”YES” # Enable sshd

Have fun.

Native res, Nokia Booklet 3G and Linux

Monday, November 2nd, 2009

So Nokia, or their contractor, did not fill the BIOS mode table too carefully, forgot the native resolution of 1280×720 pixels.

The Poulsbo X.org / Linux driver is still a bloody mess. Thus for using the VESA driver with the native resolution we need to get it somehow into the BIOS. Turned out the BIOS and mode-setting is so Intel i810′ish that adding GMA500 / Poulsbo support to 915resolution was easy :-)

915resolution 49 1280 720 16
915resolution 58 1280 720 32

Give the similarities for the RAMDAC / CRT / other pipe control and the i810, it might be easy to get GMA500 mode setting and external output control into the regular Intel driver. Of course without acceleration, which given the PowerVR IP core will be 100% different. But native mode-setting, including external output control might be a nice start for a non-messy X.org / Linux driver.

Network streamed whole disk backup

Saturday, October 31st, 2009

You fiddled for some days to get all needed operating systems installed on your new portable? Got dual, triple or whatever boot manager set up properly? It was a painful process, your fingers, brain are still hurting? Backup the whole disk on some storage near you (some Unix-like OS required):

On the target:

netcat  -l -p 6666 > your-portable.img.gz

On the source:

cat /dev/sda | gzip -1 | netcat the-nas-name-or-ip 6666

On very low end (read Intel Atom & Co) this might be CPU bound. If you have LZO / LZOP around it might speedup the backup process somewhat - while still compressing to a reasonable degree (on the wire or over-the-air and on the remote storage):

cat /dev/sda | lzop | netcat the-nas-name-or-ip 6666

Optimizing compression ratio

If you want to optimize the compression ratio and thus storage space you should zero out the whole disk before installing the systems:

Most Unix’s, including Linux:

dd if=/dev/zero of=/dev/sda

Mac OS X:

Disk Utility: Security options: Overwrite with zeros.

You can archive the same with slightly lower efficiency in the running operating systems by creating a file with just zeros:

dd if=/dev/zero of=file-with-zeros ; rm file-with-zeros

This has a slightly lower compression ratio, because it usually leaves a little noise in the file-system (allocation bookkeeping) meta data. However, it’s better than not zeroing out formerly random data at all.

Update: And LZO is still good enough to compress my now triple booting (3 OSs, Linux, Mac OS X, Windows 7) Nokia Booklet 3G 120 GB disc down to just 19GB on the server. (And I even haven’t zeroed out the HD too carefully, because I actually had to re-install Windows 7 quite some times to get rid of the recovery, as well as the extra boot loader partition, and until it was able to be loaded by the external boot loader all right, …)

Don’t forget to make a recovery CD from your Nokia Booklet 3G

Friday, October 30th, 2009

There is no install/recovery media in the box, and Nokia will apparently not send you one (in case you need one, e.g. after ruining your NTFS partition’s superblock by an off-by-one typo in the partition number while fiddeling your Linux and OSX on it, …). They rather wanted to pick up the laptop for “repair” on their side. Autsch!
Of course the Windows 7 Starter sucks big times anyway, so the loss is questionable. However, I have not yet even taken a look at this rumored Ovi & Maps things.

With an intact hidden restore partition (as in my case), it should be possible to manually restore the image from a XP, Vista, 7 repair console like:

imagex /apply d:\Recovery\restore.wim 1 c:\”

I’ll probably give it a try, just to see the Nokia bloatware before I’ll install a more potent Windows flavor, one that can Aero and change the desktop background wallpaper, …

Update: Of course Microsoft does not ship the imagex within the installation media, that would obviously be too convenient. Instead it is part of some Windows Automated Installation Kit (AIK) that is some whooping 999MB in size! Oops.

Google has some hits for some freestanding RAR archives. Let’s hope they do not contain malware, though, …

Update 2: Ok the “bundled” software was not worth it. I thought there would be an Nokia Ovi Maps application included, but instead only some “Update and Marketplace” enabler was. According to the printed docs included, the Maps has to be downloaded an is an over-the-internet app.

Yes we can: Mac OS X on Nokia Booklet 3G

Thursday, October 29th, 2009

As a picture tells more than thousand words:

More details, howtos, etc. soon.

Update: How to open, disassemble, upgrade the Nokia Booklet HD, SSD