<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>tinyhack.com</title>
	
	<link>http://tinyhack.com</link>
	<description>Tinyhack</description>
	<lastBuildDate>Thu, 18 Jun 2009 11:24:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Tinyhackcom" type="application/rss+xml" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Hostmonster 50000 files limit</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/0Rn9xmEyEVY/</link>
		<comments>http://tinyhack.com/2009/06/18/hostmonster-50000-files-limit/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 11:20:55 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[hostmonster]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=134</guid>
		<description><![CDATA[I have been using Hostmonster for more than 2 years, and I was quite satisfied until now. When I registered in 2006, Hostmonster gives more than enough disk space, and bandwidth for me. Few months ago, I decided to extend my registration for another 3 years, I am doing this because the uptime of the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using Hostmonster for more than 2 years, and I was quite satisfied until now. When I registered in 2006, Hostmonster gives more than enough disk space, and bandwidth for me. Few months ago, I decided to extend my registration for another 3 years, I am doing this because the uptime of the server is excellent, and  they are responsive to questions and requests (such as adding DNS record, or resolving some problem with CPanel).</p>
<p>Three days ago, I got an email from abuse department, it says that I have been storing to many files. I have about 300 thousands files, and their limit (that they just set on May) is 50 thousands file. You may think that 50 thousands file is a lot, but in reality it is not. Many software uses thousands of small files, for example there are more than 1800 files on  gallery2 (typical install, english only), there are more than 1000 files for wordpress. Joomla with virtuemart will use more than 6000 files. I think this new limit has something to do with their new UNLIMITED HOSTING offer.</p>
<p>That is only the default install. Many web applications uses more files. For example, gallery2 will cache the resized sizes (thumnail, normal view, full view, etc) so if you upload 1000 pictures, it may end up becoming 3000 files or more. I  got quite many blog entries (because I have been blogging in my Indonesian blog for 3 years), so I need to install wp-cache to speed things up. The cache is file based, so in just one of my blog, I use about around 4000 files.  </p>
<p>The worst part is Hostmonster also counts their configuration files, empty directories, log files, and emails in the total. So if you have several email account, and you haven&#8217;t pop your email for a while, your file count will be high. If you use IMAP, then you can not have many messages, because every message is a file.</p>
<p>After cleaning up my files, removing my photos, uninstalling gallery, I finally lowered down my file count to around 44000. Now I only use about 1.7 GB of the disk space. So much for unlimited space hosting <img src='http://tinyhack.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/0Rn9xmEyEVY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/06/18/hostmonster-50000-files-limit/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/06/18/hostmonster-50000-files-limit/</feedburner:origLink></item>
		<item>
		<title>Agestar/CNS11XX Freebsd progress</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/Ym6ey-uWpjY/</link>
		<comments>http://tinyhack.com/2009/05/24/agestarcns11xx-freebsd-progress/#comments</comments>
		<pubDate>Sun, 24 May 2009 13:55:09 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=126</guid>
		<description><![CDATA[I&#8217;m still working on the Freebsd port, and haven&#8217;t tried to fix the network driver problem in Linux (it only happens on samba 3 which I don&#8217;t use daily). The reason to focus my work on the FreeBSD port is because I want to understand more about the network driver. The current Linux network driver [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m still working on the Freebsd port, and haven&#8217;t tried to fix the network driver problem in Linux (it only happens on samba 3 which I don&#8217;t use daily). The reason to focus my work on the FreeBSD port is because I want to understand more about the network driver. The current Linux network driver was not written from scratch but from modifying existing source. The source was full of things that I don&#8217;t understand, which proves to be unnecessary after I gain understanding when writing the Freebsd network driver.</p>
<p>Here is the current FreeBSD port status:</p>
<ol>
<li>Timer is now working, previously the timer tick works, but the time counter was too fast.</li>
<li>EHCI and OHCI is working, but there is still some caching problem, so i need to modify usb_busdma.c, this modification is not clean. I can access USB disks, and USB network adapter.</li>
<li>Network driver works, but it is still very slow . I am still trying to understand better the DMA handling in FreeBSD. There is still one bug: you can not stop the interface and start it again. The stopping part works, ifconfig ece0 down, but the starting again part doesn&#8217;t. </li>
<li>Multi user works. I can also activate network services, such as sshd.</li>
</ol>
<p>I am still waiting for my perforce account. But anyone willing to test it can contact me. I still don&#8217;t know the best method to release a patch against CURRENT for people to try, because changes happens very quickly. </p>
<p>Here is the latest boot log: <a href="http://tinyhack.com/files/bsd-24-may-2009.txt">bsd-24-may-2009.txt</a></p>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/Ym6ey-uWpjY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/05/24/agestarcns11xx-freebsd-progress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/05/24/agestarcns11xx-freebsd-progress/</feedburner:origLink></item>
		<item>
		<title>STR9104/CNS1104 FreeBSD Port Progress</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/Ewpa5VEmPMg/</link>
		<comments>http://tinyhack.com/2009/05/10/str9104-cns1104-freebsd-arm/#comments</comments>
		<pubDate>Sat, 09 May 2009 18:51:01 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=124</guid>
		<description><![CDATA[Returning from Indonesia, I continued my Freebsd porting attempt to the Emprex NSD-100. So far it&#8217;s going quite well. I took the FA526 CPU support from NetBSD, I use the 8250 driver for the UART, and default EHCI driver. I got stuck for a while on the EHCI part until Hans Petter Selasky pointed me [...]]]></description>
			<content:encoded><![CDATA[<p>Returning from Indonesia, I continued my Freebsd porting attempt to the Emprex NSD-100. So far it&#8217;s going quite well. I took the FA526 CPU support from NetBSD, I use the 8250 driver for the UART, and default EHCI driver. I got stuck for a while on the EHCI part until Hans Petter Selasky pointed me that there might a problem in the busdma/cache handling. With the EHCI part fixed, I can get to the userland, booting from USB stick.</p>
<p>The remaining drivers that needs to be written are the OHCI and network. The OHCI shouldn&#8217;t take too much time, but I think the network will take quite a long time.</p>
<p>I was planning to clean up, and release the code today, but I was busy with something else, so may be I will release the code in the next few days. For those of you who are curious about the boot log, here it is:<br />
<span id="more-124"></span></p>
<pre>
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #169: Sun May 10 01:25:55 WIT 2009
    yohanes@cameron:/usr/home/yohanes/freebsd/freebsd/src/sys/arm/compile/CNS11XXNAS
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
Preloaded elf kernel "elf kernel" at 0xc12d30b8.
unknown CPU (ID = 0x66015261)
  WB enabled LABT
  16KB/16B 2-way Instruction cache
  16KB/16B 2-way write-back-locking-B Data cache
real memory  = 67108864 (64 MB)
Physical memory chunk(s):
00000000 - 0xffffff, 16777216 bytes (4096 pages)
0x1337000 - 0x3eaefff, 45580288 bytes (11128 pages)
avail memory = 61718528 (58 MB)
ULE: setup cpu 0
nfslock: pseudo-device
null: &lt;null device, zero device&gt;
random: &lt;entropy source, Software, Yarrow&gt;
mem: &lt;memory&gt;
econaarm0: &lt;ECONA device bus&gt; on motherboard
econa add children
econa add child econa_ic addr 7d000000
econa add child uart addr 78000000
econa add child timer addr 79000000
econa add child ehci addr f8000000
econa_alloc_resource start 00000000 end ffffffff, count = 00000008
econa_alloc_resource start 00000000 end ffffffff, count = 00000008
econa_alloc_resource start 78000000 end 78ffffff, count = 01000000
sys_res_memory
Alloc OK
econa_alloc_resource start 00000000 end ffffffff, count = 00000008
econa_alloc_resource start 00000000 end ffffffff, count = 00000008
econa_alloc_resource start 78000000 end 78ffffff, count = 01000000
sys_res_memory
Alloc OK
uart0: &lt;Non-standard ns8250 class UART with FIFOs&gt; mem 0x78000000-0x78ffffff irq 10 on econaarm0
econa_alloc_resource start 00000000 end ffffffff, count = 00000008
econa_alloc_resource start 78000000 end 78ffffff, count = 01000000
sys_res_memory
Alloc OK
econa_alloc_resource start 00000000 end ffffffff, count = 00000001
econa_alloc_resource start 0000000a end 0000000a, count = 00000001
sys_res_irq
Alloc OK
uart0: [FILTER]
uart0: fast interrupt
uart0: console (38461,n,8,1)
timer0: &lt;Econa CPU Timer&gt; mem 0x79000000-0x79ffffff irq 0,1 on econaarm0
econa_alloc_resource start 00000000 end ffffffff, count = 00000001
econa_alloc_resource start 79000000 end 79ffffff, count = 01000000
sys_res_memory
Alloc OK
econa_alloc_resource start 00000000 end ffffffff, count = 00000001
econa_alloc_resource start 00000000 end 00000000, count = 00000001
sys_res_irq
Alloc OK
STR9100 CPU Clock: 200 MHz
HZ = 100
reload value = 500000
IRQ Timer1 at int #0x0 clock 100000000(Hz)
timer0: [FILTER]
DONE timer
done00000000
ehci probe
ehci probe
ehci0: &lt;CNS11XX USB EHCI&gt; mem 0xf8000000-0xffffffff irq 24 on econaarm0
econa_alloc_resource start 00000000 end ffffffff, count = 00000001
econa_alloc_resource start f8000000 end ffffffff, count = 08000000
sys_res_memory
Alloc OK
econa_alloc_resource start 00000000 end ffffffff, count = 00000001
econa_alloc_resource start 00000018 end 00000018, count = 00000001
sys_res_irq
Alloc OK
add USB device
setup intr
ehci0: [MPSAFE]
ehci0: [ITHREAD]
init ehci
usbus0: EHCI version 1.0
probe and attach
usbus0: &lt;CNS11XX USB EHCI&gt; on ehci0
done
initcloks
enabling timer
Timecounter "CPU Timer" frequency 50000000 Hz quality 1000
Timecounters tick every 10.000 msec
usbus0: 480Mbps High Speed USB v2.0
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
ugen0.1: &lt;Cavium&gt; at usbus0
uhub0: &lt;Cavium EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1&gt; on usbus0
uhub0: 2 ports with 2 removable, self powered
ugen0.2: &lt;Kingston&gt; at usbus0
umass0: &lt;Kingston DataTraveler 2.0, class 0/0, rev 2.00/1.00, addr 2&gt; on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x0000
register sim 0
scanning the sim
umass0:0:0:-1: Attached to scbus0
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
(probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(probe0:umass-sim0:0:0:0): (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
Retrying Command (per Sense Data)
(probe0:umass-sim0:0:0:0): Retrying Command
pass0 at umass-sim0 bus 0 target 0 lun 0
pass0: &lt;Kingston DataTraveler 2.0 1.00&gt; Removable Direct Access SCSI-2 device
pass0: 40.000MB/s transfers
da0 at umass-sim0 bus 0 target 0 lun 0
da0: &lt;Kingston DataTraveler 2.0 1.00&gt; Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 1906MB (3903578 512 byte sectors: 255H 63S/T 242C)
GEOM: new disk da0
GEOM_LABEL: Label for provider da0s1a is ufsid/4a01b053676144f3.
GEOM_LABEL: Label for provider da0s1a is ufs/FreeBSDonUSB.
root_mount_prepare 100

Manual root filesystem specification:
  &lt;fstype&gt;:&lt;device&gt;  Mount &lt;device&gt; using filesystem &lt;fstype&gt;
                       eg. ufs:/dev/da0a
  ?                  List valid disk boot devices
  &lt;empty line&gt;       Abort manual input

mountroot&gt; ufs:da0s1a
Trying to mount root from ufs:da0s1a
warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
Enter full pathname of shell or RETURN for /bin/sh:
# ls /
.snap		dev		media		root		usr
COPYRIGHT	etc		mnt		sbin		var
bin		lib		proc		sys
boot		libexec		rescue		tmp
</pre>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/Ewpa5VEmPMg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/05/10/str9104-cns1104-freebsd-arm/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/05/10/str9104-cns1104-freebsd-arm/</feedburner:origLink></item>
		<item>
		<title>Too many things to do</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/lZG6SEXNLwo/</link>
		<comments>http://tinyhack.com/2009/04/05/too-many-things-to-do/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 15:17:45 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=122</guid>
		<description><![CDATA[There are so many things to do lately, but so little time. Plus i have so many dental problems lately, three of my molar teeth has been pulled out in the last 2 months, and going to have the fourth taken next month. Going to dentist and waiting for the recovery always takes away my [...]]]></description>
			<content:encoded><![CDATA[<p>There are so many things to do lately, but so little time. Plus i have so many dental problems lately, three of my molar teeth has been pulled out in the last 2 months, and going to have the fourth taken next month. Going to dentist and waiting for the recovery always takes away my free time.</p>
<p>My wife just bought Nokia 5800, a Nokia series 60 5th edition phone. It means that i need to finish my SymbianBible port for 5th edition (mostly done, beta version is on symbianbible google groups). My wife also asked me to port MultiCounter to her new phone (done, not yet uploaded).</p>
<p>I have cleaned up the 2.6.29 port of STR9104 Soc, but i will need to clean up again, because of the new documentation from www.cnusers.org. I have also started the freebsd port, but the progress is not much yet.<br />
<span id="more-122"></span><br />
When the NSD Emprex 100 arrived, i realized that I need more network ports. I only have 4 ports on my WRT54GL and all of them have been used. After looking at hubs and routes prices around chiang mai, they are in 500-1000 baht range, that is not cheap so I decided that I should just buy something a little bit more  expensive that I can hack. I saw DLink DIR-300 sold at relatively cheap price 1490 baht (43 usd, cheap for Chiang Mai price), this is 700 baht (20 usd) cheaper compared to WRT54GL, with almost same hardware spec (4 Mb ROM, 16 Mb RAM). I spent some time installing openwrt on this router, because I was so confused with the factory built interface.</p>
<p>I am planning to go to Indonesia for 10 days, so during that time, I don&#8217;t think I will be able to do much hacking, but I want to still continue studying freebsd. So I decided to install FreeBSD on our EEE PC 901. This was not difficult, but it took quite some time to setup everything.</p>
<p>Here are some of the things that i&#8217;ve done on the EEE PC: setup FreeBSD ARM cross compile, setup Linux ARM cross compilation, setup LXR for FreeBSD current sources. Unfortunately WIFI is still not supported on EEE 901, and all (I only have 2) of my USB bluetooth doesnt work.</p>
<p>Note: I haven&#8217;t made tha 64 Mb Linux Kernel Image. I was affraid that someone made a mistake flashing it to 32 Mb device, which will made it unusable. Of course serial port can still save it, but not every one can make a serial port. With the new documentation I found, I will be able to make kernel image that can autodetect the memory size.</p>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/lZG6SEXNLwo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/04/05/too-many-things-to-do/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/04/05/too-many-things-to-do/</feedburner:origLink></item>
		<item>
		<title>STAR9104: Linux Kernel 2.6.29 and Starting FreeBSD port</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/jG6uC6EDzJA/</link>
		<comments>http://tinyhack.com/2009/03/29/star9104-linux-kernel-2629-and-starting-freebsd-port/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 05:37:26 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=117</guid>
		<description><![CDATA[I&#8217;ve finally updated my patch to 2.6.29, the patch can be downloaded from:
http://tinyhack.com/agestar/patch-2.6.29-star.gz
and the config file:
http://tinyhack.com/agestar/config-2.6.29-star
or if you want the image that i already compiled and test (image is compiled with 32 MB memory). This is NOT a FIRMWARE
http://tinyhack.com/agestar/zImage-2.6.29
when i have the time, i will work on creating a new firmware image.
Some changes:

The machine ID [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally updated my patch to 2.6.29, the patch can be downloaded from:<br />
<a href="http://tinyhack.com/agestar/patch-2.6.29-star.gz" target="_blank">http://tinyhack.com/agestar/patch-2.6.29-star.gz</a></p>
<p>and the config file:</p>
<p><a href="http://tinyhack.com/agestar/config-2.6.29-star" target="_blank">http://tinyhack.com/agestar/config-2.6.29-star</a></p>
<p>or if you want the image that i already compiled and test (image is compiled with 32 MB memory). This is NOT a FIRMWARE</p>
<p><a href="http://tinyhack.com/agestar/zImage-2.6.29" target="_blank">http://tinyhack.com/agestar/zImage-2.6.29</a></p>
<p>when i have the time, i will work on creating a new firmware image.</p>
<p>Some changes:</p>
<ul>
<li>The machine ID is now registered in <a href="http://www.arm.linux.org.uk/developer/machines/">http://www.arm.linux.org.uk/developer/machines/</a></li>
<li>The network problem instability has now been fixed</li>
<li>Added new configuration option to select memory size based on your board memory (16, 32, or 64 mb). Note: selecting values larger than the supported size will cause crash.</li>
</ul>
<p>The other news is that Bruce M Simpson has donated me an Emprex NSD 100 for porting FreeBSD to it. I have started my work, but the progress will be slower from the Linux at the beginning, because:</p>
<ol>
<li>I am more familiar with Linux kernel compared to FreeBSD kernel</li>
<li>Currently FreeBSD kernel itself doesn&#8217;t support many ARM devices yet, so to find an exmple of something I need to look at NetBSD, (and it helps, for example the Faraday 526 processor support is already in NetBSD).</li>
<li>I am rather busy this and coming month (planning to go to Indonesia for about 10 days)</li>
</ol>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/jG6uC6EDzJA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/03/29/star9104-linux-kernel-2629-and-starting-freebsd-port/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/03/29/star9104-linux-kernel-2629-and-starting-freebsd-port/</feedburner:origLink></item>
		<item>
		<title>Optimizing Asus EEE 900A</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/pE_wAzZ8nNA/</link>
		<comments>http://tinyhack.com/2009/02/12/optimizing-asus-eee-900a/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 08:38:09 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[hacks]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=112</guid>
		<description><![CDATA[I just got back from my vacation around Thailand, so I will start to update things (Wii homebrew, Symbian apps, blogs, etc) again. Well, may be starting next week, I have a dental surgery this weekend and may need to rest. Anyway, this time I want to post about optimizing EEE 900A.
My wife was happy [...]]]></description>
			<content:encoded><![CDATA[<p>I just got back from my vacation around Thailand, so I will start to update things (Wii homebrew, Symbian apps, blogs, etc) again. Well, may be starting next week, I have a dental surgery this weekend and may need to rest. Anyway, this time I want to post about optimizing EEE 900A.</p>
<p><a href="http://risna.info">My wife</a> was happy with her Asus EEE 701, but she would like something better with the same size. We sold the old Asus 701 to my brother, and she bought Asus EEE 900A. Compared to EE PC 701, the EEE PC 900A has a faster processor (Intel Atom 1.6 ghz vs the 900 Mhz EEE), more memory (1 gb vs 512 mb), bigger disk space (16 gb vs 4 gb), higher resolution (1024 x 600 vs 840&#215;400), and better graphic processors (Intel GMA 950 vs Intel GMA 900). The only problem is the 16 GB SSD is much slower than the EEE 701 4 GB SSD. You can really feel it when running almost any applications, especially the firefox browser.</p>
<p>My wife uses Windows XP on the new Asus. After reading several blog posts and many forums, the conclusion is: to make everything faster, try to reduce the number of disk access. Here is how to reduce the disk access in Windows XP:</p>
<p><span id="more-112"></span></p>
<ol>
<li>Buy more memory, we bought 2 GB memory  (quite cheap, around 690 baht/20 usd) to replace the 1 GB default</li>
<li>Allocate some of the memory (384 Mb for RAM disk). I set the environment variables TEMP and TMP to point to the RAM Disk. I also point firefox cache to the RAM disk.</li>
<li>Turn off page file</li>
<li>Disable indexing on all drives</li>
<li>Disable System restore</li>
<li>Don&#8217;t install firefox on the SSD. Firefox 3 will try to write its history every few seconds. I use Firefox portable on SD Card, and it is much faster now.</li>
</ol>
<div>For Point No 2, actually firefox already has its own memory cache. But I choose to use RAM disk anyway, because it makes it faster when restarting firefox (as long as the computer is not turned off). When restarting firefox, the browser will reload all closed tabs, and having the cache in RAM disk makes it faster.</div>
<div>Some people suggest that using <a href="http://www.nliteos.com/">nlite</a> to reduce the Windows component will make things faster (but I haven&#8217;t tried that yet). Reducing the number of services using the guide from <a href="http://www.blackviper.com/">BlackViper</a> might also help (I haven&#8217;t tested that one also).</div>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/pE_wAzZ8nNA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/02/12/optimizing-asus-eee-900a/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/02/12/optimizing-asus-eee-900a/</feedburner:origLink></item>
		<item>
		<title>Atari ST Emulator for WII updated</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/deQbeOfJ9Vc/</link>
		<comments>http://tinyhack.com/2009/01/17/atari-st-emulator-for-wii-updated/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 07:01:35 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=107</guid>
		<description><![CDATA[I have made a stupid mistake by including wrong default configuration files (which is slow). I have updated the Atari ST emulator. Here is what is new:
- Wiimote only operation is possible. Not all things will work though. You can play point and click games that relies only on mouse. Press HOME to access the [...]]]></description>
			<content:encoded><![CDATA[<p>I have made a stupid mistake by including wrong default configuration files (which is slow). I have updated the Atari ST emulator. Here is what is new:</p>
<p>- Wiimote only operation is possible. Not all things will work though. You can play point and click games that relies only on mouse. Press HOME to access the menu (change disk, change ROM, etc). To avoid wasting your time, you can test the game on Hatari for Windows/Linux to see if you can control everything using only mouse.</p>
<p>- I have included a simple flicker filtering to reduce the filtering. This is not the final solution to the problem. I will need to rewrite the SDL port to use GX.</p>
<p>Note:</p>
<p>- Mono mode still doesn&#8217;t work yet.</p>
<p>You can download it here:</p>
<p><span style="text-decoration: line-through;"><a href="http://tinyhack.com/wii/hatari/hatari-18-01-2009.zip">http://tinyhack.com/wii/hatari/hatari-18-01-2009.zip</a></span></p>
<p>Sorry, forgot to update the mouse handling</p>
<p><a href="http://tinyhack.com/wii/hatari/hatari-19-01-2009.zip">http://tinyhack.com/wii/hatari/hatari-19-01-2009.zip</a></p>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/deQbeOfJ9Vc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/01/17/atari-st-emulator-for-wii-updated/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/01/17/atari-st-emulator-for-wii-updated/</feedburner:origLink></item>
		<item>
		<title>Atari ST Emulator for Wii (based on Hatari)</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/6D5BSpzgS44/</link>
		<comments>http://tinyhack.com/2009/01/12/atari-st-emulator-for-wii-based-on-hatari/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 15:28:33 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=100</guid>
		<description><![CDATA[After wiiapple, here is an atari st emulator for Wii based on hatari. This port works fine on my Wii. Two other people have tested it, one (Da_Gper) said it is very slow on his Wii, but Nowhereman said it is fine in his Wii. So please tell me you test result. If it works [...]]]></description>
			<content:encoded><![CDATA[<p>After wiiapple, here is an atari st emulator for Wii based on <a href="http://hatari.berlios.de/">hatari</a>. This port works fine on my Wii. Two other people have tested it, one (Da_Gper) said it is very slow on his Wii, but Nowhereman said it is fine in his Wii. So please tell me you test result. If it works fine for most people, I will post it to wiibrew.</p>
<p>Some notes</p>
<ol>
<li>You will need USB keyboard to use this emulator </li>
<li>Mouse is emulated using Wiimote (A for click), you can also use <strong>USB Mouse</strong> </li>
<li>Press <span class="nfakPe">F12</span> to access the menu (probably i should assign one of the Wiimote key for this), </li>
<li>Options can be saved to disk </li>
<li>Press home, or alt-q to quit </li>
<li>Floppy images can be placed in \hatari\fd </li>
<li>EmuTOS image have been included. With EmuTOS ROM, the green screen flickers a lot. It doesn&#8217;t happen with some real Atari ROMs that I tested. </li>
<li>Sound works (usually), jus enable it through the options </li>
</ol>
<p>You can download the emulator from</p>
<p><a href="http://http://tinyhack.com/wii/hatari/hatari-0.0.1.zip">http://tinyhack.com/wii/hatari/hatari-0.0.1.zip</a></p>
<p>Source code is in</p>
<p><a href="http://tinyhack.com/wii/hatari/">http://tinyhack.com/wii/hatari/</a></p>
<p>The source code for the SDL port have been put into wiiapple SVN at</p>
<p><a href="http://wiiapple.googlecode.com/">http://wiiapple.googlecode.com/</a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;<img height="160" src="http://tinyhack.com/wii/hatari/hatari1.JPG" width="240" /> <img height="160" src="http://tinyhack.com/wii/hatari/hatari2.JPG" width="240" /> </p>
<p><img height="160" src="http://tinyhack.com/wii/hatari/hatari3.JPG" width="240" /> <img height="160" src="http://tinyhack.com/wii/hatari/hatari4.JPG" width="240" /></p>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/6D5BSpzgS44" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/01/12/atari-st-emulator-for-wii-based-on-hatari/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/01/12/atari-st-emulator-for-wii-based-on-hatari/</feedburner:origLink></item>
		<item>
		<title>WiiApple: Apple IIe Emulator for Wii</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/IyT8fGM5DYg/</link>
		<comments>http://tinyhack.com/2009/01/02/wiiapple-apple-iie-emulator-for-wii/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 16:27:03 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[hacks]]></category>
		<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=81</guid>
		<description><![CDATA[I just learned about developing applications on Wii 3 days ago. I was  wondering what application should I make, and I noticed that there was no Apple  II emulator for Wii yet. Apple IIe was my first computer, so I thought it will  be fun to be able to emulate it on [...]]]></description>
			<content:encoded><![CDATA[<p>I just learned about developing applications on Wii 3 days ago. I was  wondering what application should I make, and I noticed that there was no Apple  II emulator for Wii yet. Apple IIe was my first computer, so I thought it will  be fun to be able to emulate it on my Wii. <a href="http://applewin.berlios.de/">AppleWin</a> is a good Apple emulator, but it  is very windows specific, fortunately someone already ported it to Linux using  SDL, and the name is <a href="http://linapple.sourceforge.net/">LinApple</a>.</p>
<p>Someone already made an early SDL port to Wii, but it is missing threading  support (which is needed by the emulator). After reading things at <a href="http://wiibrew.org/">wiibrew.org</a> and <a href="http://devkitpro.org/">devkitpro.org</a>, I decided to complete the  threading part. The next problem is the input. I want to be able to write BASIC  applications, so I decided that the SDL port must support keyboard input,  someone already made <a href="http://wiibrew.org/wiki/User:Davyg/libwiikeyboard">LibWiikeyboard</a>, so  I can just plug it in SDL (actually this is a hack, to correctly handle SDL  requirements, there are some things that needs to be changed, in LibWiikeyboard  and in the SDL gamecube implementation).</p>
<p>Next part is the porting process itself. The difficult part is making sure  all the endiannes conversion of 6502 (Apple II CPU) to Wii&#8217;s PowerPC is done  correctly, because I don&#8217;t have a USB gecko to debug it. Currently the port  works, but don&#8217;t expect too much from this first release. I can already play  some games, but I haven&#8217;t tested many other things. Sound is <span style="text-decoration: line-through;">not yet</span> now supported.</p>
<p>Here are some screenshots (made using <a href="http://tvtime.sourceforge.net/">tvtime</a>, captured through my <a href="http://tinyhack.com/2008/12/31/configure-gadmei-usb-tv-box-tvr200-in-linux/">USB TV Box</a>)</p>

<a href='http://tinyhack.com/2009/01/02/wiiapple-apple-iie-emulator-for-wii/scr31/' title='scr31'><img width="150" height="150" src="http://tinyhack.com/wp-content/uploads/2009/01/scr31-150x150.jpg" class="attachment-thumbnail" alt="" title="scr31" /></a>
<a href='http://tinyhack.com/2009/01/02/wiiapple-apple-iie-emulator-for-wii/scr11/' title='scr11'><img width="150" height="150" src="http://tinyhack.com/wp-content/uploads/2009/01/scr11-150x150.jpg" class="attachment-thumbnail" alt="" title="scr11" /></a>
<a href='http://tinyhack.com/2009/01/02/wiiapple-apple-iie-emulator-for-wii/scr21/' title='scr21'><img width="150" height="150" src="http://tinyhack.com/wp-content/uploads/2009/01/scr21-150x150.jpg" class="attachment-thumbnail" alt="" title="scr21" /></a>

<p>This is the application that you can extract to your SD Card</p>
<p><a href="http://tinyhack.com/wii/wiiapple/wiiapple.zip">http://tinyhack.com/wii/wiiapple/wiiapple.zip</a></p>
<p>The plan is: Everytime I update the application, I will still use the same file name, you can look at <a href="http://tinyhack.com/wii/wiiapple/">http://tinyhack.com/wii/wiiapple/</a> to look for older releases.</p>
<p>You will need to install <a href="http://hbc.hackmii.com/">Homebrew  Channel</a> to use it.</p>
<p>And the source codes are available at:</p>
<p><a href="http://tinyhack.com/wii/wiiapple/">http://tinyhack.com/wii/wiiapple/</a><br />
Update:</p>
<p>version 0.0.2:</p>
<p>- Fixed text overlay<br />
- Disable saving options (dangerous for now, because you might overwrite your files)</p>
<p>version 0.0.3:</p>
<p>- Sound support<br />
- Fix joypad problem<br />
- Invalid disk image will not freeze the emulator (in case of invalid disk, Master.dsk will be reloaded)</p>
<p>January 6, 2009 (0.0.4)<br />
- new keyboard driver, now work with most USB keyboards<br />
<strong>Note: </strong>I am still working on the keyboard issue (some USB keyboard still  doesn&#8217;t work). <span style="text-decoration: line-through;">I think this is because the limitation of Libwiikeyboard that can only do control transfer instead of interrupt transfer</span>. Now I have rewritten the SDL keyboard part with my own code (part was based on the code from Guitar Fun).</p>
<p>January 6, 2009 (0.0.5)<br />
- Support Gamecube controller (Wiimote support is planned for next version)<br />
- updated some bug in keyboard handling</p>
<p>January 7, 2009 (0.0.6)<br />
- Increased gamecube joystick sensitivity<br />
- Fixed (most) crashing issue</p>
<p>January 8, 2009 (0.0.7)<br />
- Support Wiimote as Joystick (Press A button in Gamecube controller to switch to gamecube joypad)</p>
<p><strong>note</strong>: Mac USB keyboard works.</p>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/IyT8fGM5DYg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/01/02/wiiapple-apple-iie-emulator-for-wii/feed/</wfw:commentRss>
		<slash:comments>121</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/01/02/wiiapple-apple-iie-emulator-for-wii/</feedburner:origLink></item>
		<item>
		<title>Configure Gadmei USB TV Box TVR200 in Linux</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/U6gtiusvwNQ/</link>
		<comments>http://tinyhack.com/2008/12/31/configure-gadmei-usb-tv-box-tvr200-in-linux/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 05:32:21 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/2008/12/31/configure-gadmei-usb-tv-box-tvr200-in-linux/</guid>
		<description><![CDATA[I have an old GADMEI USB TV BOX, in the back it says MODEL: TVR200. I haven&#8217;t use this since few years ago in Windows. I am planning to learn a little bit about Wii homebrew, so I thought if I can use my computer as display, I don&#8217;t have to go back and forth [...]]]></description>
			<content:encoded><![CDATA[<p>I have an old GADMEI USB TV BOX, in the back it says MODEL: TVR200. I haven&#8217;t use this since few years ago in Windows. I am planning to learn a little bit about Wii homebrew, so I thought if I can use my computer as display, I don&#8217;t have to go back and forth to my TV. When I plugged the USB TV BOX, the kernel display some messages about em28xx:</p>
<pre>[ 3662.345631] em28xx #0: Your board has no unique USB ID and thus need a hint to be detected.
[ 3662.345634] em28xx #0: You may try to use card=<n> insmod option to workaround that.
[ 3662.345636] em28xx #0: Please send an email with this log to:
[ 3662.345638] em28xx #0: 	V4L Mailing List <video4linux-list @REDHAT.COM>
[ 3662.345640] em28xx #0: Board eeprom hash is 0x00000000
[ 3662.345643] em28xx #0: Board i2c devicelist hash is 0xc51200e3
[ 3662.345645] em28xx #0: Here is a list of valid choices for the card=<n> insmod option:
[ 3662.345647] em28xx #0:     card=0 -&gt; Unknown EM2800 video grabber
[ 3662.345650] em28xx #0:     card=1 -&gt; Unknown EM2750/28xx video grabber
[ 3662.345652] em28xx #0:     card=2 -&gt; Terratec Cinergy 250 USB
[ 3662.345654] em28xx #0:     card=3 -&gt; Pinnacle PCTV USB 2
[ 3662.345656] em28xx #0:     card=4 -&gt; Hauppauge WinTV USB 2
[ 3662.345659] em28xx #0:     card=5 -&gt; MSI VOX USB 2.0
[ 3662.345661] em28xx #0:     card=6 -&gt; Terratec Cinergy 200 USB
[ 3662.345663] em28xx #0:     card=7 -&gt; Leadtek Winfast USB II
[ 3662.345665] em28xx #0:     card=8 -&gt; Kworld USB2800
[ 3662.345667] em28xx #0:     card=9 -&gt; Pinnacle Dazzle DVC 90/DVC 100
[ 3662.345670] em28xx #0:     card=10 -&gt; Hauppauge WinTV HVR 900
[ 3662.345672] em28xx #0:     card=11 -&gt; Terratec Hybrid XS
[ 3662.345674] em28xx #0:     card=12 -&gt; Kworld PVR TV 2800 RF
[ 3662.345676] em28xx #0:     card=13 -&gt; Terratec Prodigy XS
[ 3662.345679] em28xx #0:     card=14 -&gt; Pixelview Prolink PlayTV USB 2.0
[ 3662.345681] em28xx #0:     card=15 -&gt; V-Gear PocketTV
[ 3662.345683] em28xx #0:     card=16 -&gt; Hauppauge WinTV HVR 950
[ 3662.685938] em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0</pre>
</p>
<p>So I tried modprobe em28xx card=0 and then card=1, and then card=2, thankfully it worked with card=2. I used tvtime program to see the output of the usb tv. To make it permanent, add this line:</p>
<p>options em28xx card=2</p>
<p>to your /etc/modprobe.conf, or create a new file (any name is fine) at /etc/modprobe.d and fill it with that line. Note: audio is not working yet, but I don&#8217;t really need it right now.</p>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/U6gtiusvwNQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/12/31/configure-gadmei-usb-tv-box-tvr200-in-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2008/12/31/configure-gadmei-usb-tv-box-tvr200-in-linux/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.621 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-07-05 00:00:30 -->
