Sunday, August 26, 2007

Getting 1280x768 on my TV

Ive bought a new TV. It came down to a Samsung vs Sony fight but after a few rounds at the store I came home with a new black 32" Sony Bravia U2530. The first thing I did was to hook it up to my HTPC and start fiddling with the settings.

In order to produce 1280x768 (this is whats the TV is limited to on the VGA port) with my radeon 9200 i had to change drivers in Xorg.conf. From vesa to radeon.

The tv specific parts in the Xorg.conf that I want to share with the world are:
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 47.4
VertRefresh 60
EndSection

And the:

Section "Device"
Identifier "Generic Video Card"
Driver "radeon"
BusID "PCI:1:0:0"
EndSection

Voila, everything working fine. :)

Friday, August 17, 2007

More HTPC adventures

After having a wlan card working for my HTPC it was time for something more. More specifically a "Video Capture Card". Seeing how we barely watch TV anymore and the few shows we want to see we mostly download. But some things on TV are worth watching but I want to watch them when I have the time. Not at a specified time and date.

I looked around and found a excellent guide about the Hauppauge WinTV Nova-T 500 card. So ordered it and picked it up the same day at a local computer store.

Its awsome, the remote works fine and the picture rocks.

Sunday, August 12, 2007

Ubuntu RT73 and WPA2, should be simple eh?

Some months ago i built a HTPC in a shiny case of spare components I had around the apartment. For networking I used the standard ethernet and had a bunch of ugly cables on my floor. After redecorating a bit i finally managed to go wireless everywhere except on the HTPC and so I needed to fix this.
I bought two cheap Linksys WUSB54GC for about 15 dollars each and they worked great with windows, Mac OS X and FreeBSD. Now it was up to Linux to get the challenge.
My HTPC runs Ubuntu 7.04 with standard settings and a mythtv slapped on top. Nonthing fancy, its functional.
The RT73 driver that is included in the standard kernel for Ubuntu does not support WPA2(!).
So I had to google. The answers all pointed to the CVS version of the RT73 module to get it working.
So i downloaded it. Compiled and installed. A quick rmmod on and modprobe on the module brought the interface back up with the new shiny driver.
As for configuration i edited /etc/network/interfaces and added:

auto wlan0
iface wlan0 inet dhcp
pre-up ifconfig wlan0 up
pre-up iwconfig wlan0 mode managed
pre-up iwconfig wlan0 essid YOURSSID
pre-up iwpriv wlan0 set AuthMode=WPA2PSK
pre-up iwpriv wlan0 set WPAPSK=YOURKEY
pre-up iwpriv wlan0 set EncrypType=AES


And voila the sucker now works even when rebooting. No more stinking cables on the floor. Sussis is gonna be thrilled when she gets home from Stockholm.

Friday, August 10, 2007

Im terrible of updating this thing...

Even though I spend all my day in front of the screen I never get around to updating this thing. Well, news so far. My vacation is over and a new project has brewed at work.

In the private life, Ive gotten engaged to my girlfriend so now Im wearing a ring. Yay. :-D
And im reading a new book, "iwoz". So far so good. :-)

Monday, July 9, 2007

Me as a south park figure

This is what I would look like if I ever got put into South Park.
Created using http://www.sp-studio.de/ a sweet way to spend a few minutes.

Currently reading

I'm three weeks in on my vacation and reading in order to stand reality. Joel Spolsky has once again made me a slave to the couch with his book "Smart and Gets Things Done: Joel Spolsky's Concise Guide to Finding the Best Technical Talent". Its a great book and I recommend it to everyone involved in the making of software. Joel delivers with a sense of humour and its very interesting.

Wednesday, July 4, 2007

Some notes on ARM development

My development of NetBSD and crosscompiling for Mac os X has continued and I think its time for some small notes to be placed here.
Check out NetBSD sources from the CVS as stated on their homepage., I follow the -CURRENT since I love bleeding edge.
To build the tools in order to crosscompile simple fire upp Terminal.app and do:
cd netbsd-current
./build.sh -j 3 -u -U -m evbarm tools
This should build the tools and place them in a dir called tooldir.Darwin-8.10.1-i386.
Try to build the release
./build.sh -j 3 -u -U -m evbarm release

Just wait and see the results. Hopefully it has built and a obj/releasedir/evbarm has been created.
Now its up to you to continue. :)