Tuesday, November 03, 2015

Blog moved!

Blog has moved to ivoanjo.me

Please visit me there!

Tuesday, August 18, 2015

Goodis SBT-111B Change language / Mudar língua

Hello!

So a quick post here. My "Goodis SBT-111B" bluetooth headset changed itself to spanish out of the blue(tooth), and the manual says zilch on how to select the language. Since the device has the huge amount of one button, it's kind-of hard to find a menu.

I was able to get it working, so here's my instructions. Hope it helps.

To change the language, enable pairing mode first:
- With the headset off, press and hold the button down for about 6 seconds
- The headset will turn on, give the "ready to pair" message (in whatever language it is in) and end with a "bleep". The blue led will start blinking fast

To change the language when in pairing mode:
- Press and hold the button, and release after hearing the **second** bleep
- The headset will start playing a message in each of the supporting languages saying "press button to select the language".
- When you hear "press call button to confirm english", press the button. The headset will repeat the language and presto!

Hope it helps!


Post rápido! O meu "Goodis SBT-111B", comprado na worten saltou para espanhol e pelos vistos ninguém sabe como o mudar de volta (nada no manual, e worten ignora pedidos de ajuda com o genérico "já viu no manual?". já worten. já todos procurámos lá...). De qualquer forma, pelos vistos isto é feito por um fabricante chinês chamado Stiger, e tive um palpite de procurar instrucções de outros produtos deles e achei.

Para mudar a lingua, ponham primeiro o mãos-livres em modo pairing:
- Com o bluetooth desligado, carregar no botão e deixar pressionado durante cerca de 6 segundos
- O bluetooth liga e dá a mensagem de voz de que está pronto para fazer pair (na língua que estiver) e depois um "plim" e o led azul fica a piscar rápido

Para mudar a língua no modo pairing:
- Carregar de novo no botão, deixando-o pressionado, e largar ao **segundo** plim
- O auricular vai começar a tocar uma mensagem que diz em cada uma das línguas suportadas "pressione o botão para seleccionar a língua".
- Quando ouvirem "press call button to select english" carreguem uma vez no botão, e vão ouvir "English" e pronto!

Monday, July 13, 2015

Easily creating a wireless AP to share a wired connection on Ubuntu

I'm currently stuck at a hotel where the wireless is not working correctly, but I have wired internet. Googling around I found that hostap with a lot of configuration could be used to create a wireless AP and share this connection, but I wanted an easier solution.

Luckily I found the awesome create_ap script at https://github.com/oblique/create_ap



To use it, I just did the following:

# install hostapd
sudo apt-get install hostapd
# get the script

git clone https://github.com/oblique/create_ap
# install it 

cd create_ap
sudo make install
# share wired connection eth0 via wlan0 and set ssid to fix_yor_internet
sudo create_ap wlan0 eth0 fix_your_internet

And done! Thanks to oblique for his awesome little script :)

Monday, May 05, 2014

Uberwriter Ubuntu 14.04 trusty .deb

Uberwriter is a very nice distraction-free text editor.

As of currently there are no .deb packages for Ubuntu 14.04 trusty on the web, so I've rebuilt the latest package available from the ppa (link).

Here it is:
uberwriter_13.10.02-trusty-testbuild_all.deb

Saturday, April 19, 2014

Cards Against Humanity - All White Backgrounds Version

I have modified the stock Cards Against Humanity PDF from http://cardsagainsthumanity.com/ to use all-white backgrounds, so I could print the cards with my inkjet printer and not cry for all the wasted ink.

Doing it was surprisingly hard: I had to use a combination of pdfedit and recolor.pl.

All credits for the original game go to the original authors, I just repainted the walls.

Download:
CAH_MainGame_AllWhite.pdf (Mirror 1)
CAH_MainGame_AllWhite.pdf (Mirror 2)

sha1sum is 602f8cbf92af1933e9613812e7610fa629c1a13f, have fun!

Monday, January 20, 2014

Fixing the brightness keys skip steps on Ubuntu 13.10 / 14.04 LTS -- my solution

As explained in http://askubuntu.com/questions/173921/why-does-my-thinkpad-brightness-control-skip-steps sometimes there are multiple things fighting to do the job when you press the brightness keys on your laptop.

In my case, it seems like both the gnome-settings-daemon and the brightness switch for the video driver were both trying to adjust the brightness, so whenever I pressed I button, it adjusted twice.

Now while the proposed solution
sudo sh -c 'echo -n 0 > /sys/module/video/parameters/brightness_switch_enabled'
worked, it stopped me from adjusting brightness on a tty (ok not a biggie), but especially I've noticed that leaving brightness up to gnome is slow and sluggish.

So instead I thought I'd disable gnome instead. There's a lot of old information relating to gnome-power-manager and other deprecated configurations, but I managed to discover that gnome-settings-daemon uses the gsd-backlight-helper (on my system it is installed as /usr/lib/gnome-settings-daemon/gsd-backlight-helper) to do its work.

To disable it, I just did
sudo chmod -x /usr/lib/gnome-settings-daemon/gsd-backlight-helper # For Ubuntu 13.10
sudo chmod -x /usr/lib/unity-settings-daemon/usd-backlight-helper # For Ubuntu 14.04 LTS
You do lose the brightness OSD, but that's a price I'm willing to pay.

Sunday, July 07, 2013

AEG AX500

Was looking into this mysterious AEG AX500 cellphone, and as I suspected it's a rebrand of the Karbonn A9+ / CM Flare. Also check the thread at xda-developers.

Wednesday, March 06, 2013

Skype Group Video Calling not possible on Linux nor Android


As the title says, group video calling is currently not possible on Linux nor Android. This means that while you can participate in a group call, you will not be able to see other people, nor will they see you, only sound is possible.

This happens EVEN if you pay for a premium Skype account.

Official statements:
Linux: "... However, it is not possible to make group video calls." (top of the page)
Android: "Unfortunately, Skype for Android does not support group video calls. You can participate in a group call, but only using audio - you will not be able to send or receive video." (last question)

Note that other people may or may not see an error, while all you will see is a disabled video button.

Hope this helps someone. Because this needs to be stated more clearly. On the client. When you try to enable the call. Not hidden somewhere on semi-related pages.

Monday, January 02, 2012

Loop-mounting a backup of an entire disk, and accessing its partitions

The following is a short howto on how to mount a full-disk backup (that you took using dd, for example), and access its partitions.
# Assuming that the backup is called diskbackup.bin
$ losetup /dev/loop0 diskbackup.bin
$ kpartx -a /dev/loop0

# Your partitions should now show up on /dev/mapper/
$ ls -lah /dev/mapper/
total 0
drwxr-xr-x  2 root root       80 2012-01-02 08:45 .
drwxr-xr-x 18 root root     3.9K 2012-01-02 08:45 ..
crw-------  1 root root  10, 236 2012-01-02 08:00 control
brw-rw----  1 root disk 253,   0 2012-01-02 08:45 loop0p1

Sunday, December 11, 2011

New "BetterKubuntu" blog project

Wow, long time no update.

I've recently started a separate blog with Kubuntu tips & tweaks at
http://betterkubuntu.blogspot.com/

Be sure to visit it :)

Sunday, March 21, 2010

Package testing system for a rolling upgrades linux distribution: a proposal

Lately, I've been thinking about the issue of package testing on a linux distribution that does rolling upgrades.

I've arrived at the idea of mainly using three different repositories: stable, testing and unstable. You may notice that I borrowed the same nomenclature that the debian project uses, and that's because I intend these repositories to mean more or less the same that they mean for debian.

So, what is different about my idea? I shall explain that during the course of the article, but mainly it is different because I am referring to rolling upgrades, which debian does not use on their stable repositories. Also, for my approach to work, tight integration with a new GUI package manager is required, to support the workflow that I am about to describe.

The Unstable Branch
Packages are first uploaded by packagers to the unstable branch. I shall ignore the issue of who can upload to this branch -- most distributions already have a packaging team or some kind of organizational structure to support this.

Only stable upstream releases should reach this branch. I will come back to the issue of unstable development packages later on.

Now, the interesting part is: how do packages retire from the unstable branch into the testing branch, or are "popped out" of the unstable branch because they do not work?

I propose the usage of a GUI package manager that allows users to easily select from which branch they want to install an application, and to mix-and-match versions from the three branches, whenever possible. Of course there isn't much sense in a user that has a stable KDE SC 4.3.5 release to install Konqueror from KDE SC 4.4.1 -- the usual package management rules must be applied here, so the user either installs an older stable Konqueror, or KDE SC 4.4.1 as a whole.

But imagine now, that the stable branch contained Firefox 3.5 and Firefox 3.6 was just released and uploaded to the unstable branch. In the package manager, users can see that there is a new version for Firefox on the unstable branch.

Let's imagine that a user -- John -- chooses to install this package. The package manager does its work, and notifies John that Firefox 3.6 is done installing. It also adds the package to the "Verification queue" for John.

John fires up Firefox 3.6, goes to slashdot, and all seems ok. He can then go back to the package manager, and tick Firefox 3.6 on his verification queue as "Ok".

The idea is that packages retire from unstable to testing not on a time-based schedule, but when sufficient users give it an "Ok" after a quick test. If there was an issue and the Firefox package had something wrong, for example if it crashed on startup, a "Failure" would be reported on the verification queue on the package manager. Attached to this Failure, a small comment could be made explaining it, and optionally, links to more detailed bug reports could be added (either to the distro's own bug reporting system, or to an upstream bug).

To choose at which point a package with a number of "Ok" and "Failure" reports gets picked to the testing branch or is popped off the unstable branch, I think a scoring system could be adopted, but to simplify matters for now, let's say if a package has > 20:1 ratio of Ok/Failure reports and more than 100 Oks it is selected to the testing branch, and if it has more than 10 Failure reports it gets popped off unstable.

The main idea of this unstable branch is really a quick "does it seem to work?" test. Open Firefox, browse to a site. No problems? Check "Ok". With a Kernel release, boot it. It booted and you're back staring at your desktop? Check "Ok".

The Testing Branch
The testing branch works on a time-based schedule. Users can also choose to install packages from here, and they will also be added to the Verification Queue, but in a different way: they will be there, but users will need to have the package installed for at least a week to be able to do mark them as "Ok".

On the other hand, if they experience any problem, they can flag a "Failure" right away, and follow the same procedures that they did on the unstable branch to comment on why they marked their test of the package as a "Failure" and to link it to bug reports.

The idea is that a week is usually enough for users to notice problems in usage of the package for their normal work.

After enough users have verified the package as "Ok", and not enough users had problems (again I shall discuss my ideas for scoring later on), the package gets transferred to the Stable branch.

If there are too many problems with a package, it might go back to the unstable branch or popped off completely. I'm not entirely sure what would work better for this case yet.

The Stable Branch
The stable branch behaves as expected from other distros.

Development Packages
Many distributions also want to make it easy for users and other developers to test development versions of upstream packages. For these, I propose a parallel repository system with just two different repositories: unstable-development and testing-development. Both of these should work as the ones above, but the difference is that a package never retires from testing-development to any other repository; it either stays there, or is deleted by the packagers.

Scoring System and "Social" Stuff
This scheme might work even with a simple scoring system, but I think that a more complex system might yield better results. I've held back on explaining this part so far because I think that although this should be part of the integral solution, it is not the main part, and Social-whatever is used too much as a buzzword nowadays.

The first part of this idea is that users should have an account on the package testing system. I don't know if anonymous voting would work without trying it out, so it might be an option, but anonymous votes should have the least weight on verification queue voting.

This account could be used across multiple computers by the same user (laptop, desktop), allowing the user to, for example, install Firefox 3.6 from the testing repository on their work computer on monday, install the same package on their laptop on the following friday, and report it as "Ok" on the following monday on their laptop -- that is, the testing week is not tied to the system the package is installed, but to the time and date it was first installed by that user on one of his systems.

Also, the weight of a user's "Ok" to a package would be tied to multiple things: account creation time (long-time users are more likely to give more trust-worthy reviews), number of correct verifications (the user could be penalized for giving an "Ok" to a package that was eventually popped off unstable, and rewarded if a package it marked "Ok" on testing and unstable made it through to stable), maybe a community rating (part of the distro team, helps people on the forums regularly, etc).

These combined values would determine the weight of a user's vote, and this weighted vote would be the one used when determining if a package is ready or is too buggy. For example, if 15 very trusted users gave an "Ok" for a package, maybe it can retire from unstable into testing right away, instead of having to wait for 200 anonymous users to test it.

Epilogue
I hope some (or even all) of these ideas can be applied in the creation of a simple linux distribution (or transformation of an existing one) that does rolling upgrades. Most binary, easy-to-use distros currently do not possess such a feature, and users are normally left to pick and match from experimental "repositories" that have different degrees of testing and readiness, and normally there is no standard way to flag problems or open bug reports on them.

If you read this entry so far, I thank you, and I hope I was able to spark some ideas about this issue. Please do leave your opinions on my proposal, or anything else you think is important, on the comments below.

Monday, November 30, 2009

Minimal xorg.conf

This minimal xorg.conf file may come in handy if you need to configure something in X, but you don't have a minimal xorg.conf base file you can start with.

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Thursday, September 03, 2009

Qt confused about multimedia?

I've always had a very high opinion of Trolltech's Qt Software's Nokia's Qt framework.

But after a post today on Qt Labs Blogs, it seems that there are two upcoming Qt multimedia frameworks that seem to duplicate and ignore the existing Phonon module -- these are the Qt Multimedia module and the Multimedia framework for QtMobility.

Dear trolls, what is going on with all of this? Is Phonon going to be abandoned? Is Phonon the new arts?

Update: It seems that indeed Phonon is the new arts, as Nokia is putting it on life support. Fortunately, it seems that some KDE hackers (including Phonon's original author) will support and develop Phonon further, so it might not be so bad after all.

Wednesday, July 22, 2009

Contar tráfego 3G vodafone

Recentemente subscrevi o serviço 3G internet da vodafone, com uns extraordinários 75Mb, que têm que ser bem controlados.

Infelizmente, o único sitio onde se pode controlar o tráfego é no "my vodafone", e este vem discriminado, obrigando a arranjar alguma maneira de somar os valores em Kb para obter o total do tráfego.

Para facilitar o processo, escrevi um pequeno javascript que pode ser executado nessa página, que trata de somar os valores e dizer o total.

Para o utilizar, basta arrastar a link seguinte para as bookmarks do browser:
Script de soma de tráfego
aceder ao site onde está discriminado o tráfego,
Link directa
e carregar na bookmark para obter a soma de todos os valores na página actual. Para somar os totais do mês, colocar as datas de inicio e fim bem, e usar o ver todas para obter todos os valores do mês, e carregar na bookmark.

Esta foi a minha primeira experiência com javascript, mas espero que seja útil para alguém.

P.s.: Isto é apenas um pequeno script para facilitar a tarefa, obviamente que não me responsabilizo se alguma coisa correr mal e depois a vodafone vier com uma factura enorme atrás de alguém.

Saturday, June 27, 2009

zomgnotes is now on gitorious :)

Today I finally decided to publish my work so far on zomgnotes on gitorious.

But what is zomgnotes? zomgnotes aims to be a simple note-taking application for symbian smartphones, because nokia forgot to include such a thing on the base OS software :)

zomgnotes is qt-based, so it runs on symbian, linux, mac and others, so it is easy to develop and test.

I still have some work to do before I'm ready to do a release (and supply compiled binaries), but in the meantime, here is the link for the zomgnotes project: http://gitorious.org/zomgnotes .

Thanks and see you soon.

Edit: Here are some screenshots from the current development version


Wednesday, June 17, 2009

Spring cleaning

Today I finally decided to upgrade the blog to blogspot's latest layout version, and to clean up my old blog entries from 2005.

Soon I hope to have some new content like the Symbian S60 Qt stuff I'm working on.

Laters!

Silicom EtherModem PCMCIA card (SEM) and Linux

Recently one of these PCMCIA cards came in to my hands. I was very interested in getting it to work because I don't own any PCMCIA 16bit (non-cardbus) ethernet cards that are not Type III (the fat Xircom ones). It seems to use the Intel 82595 ethernet controller.

Unfortunately, it seems that although there was a linux driver for this card at some point, it was never integrated upstream, so it became unmaintained and very difficult to find.

This driver, silpcmcia-1.02b.tar.gz, originally hosted at www.silicom.co.il/linux.htm (Web Archive Link) seemed to have fallen off the intarwebs.

After some e-mails I finally got someone to send me this file (thanks!). Here it is, in hopes that it doesn't get lost again:
MD5SUM:
f4788eeef4db3aeb7565dc926f573517 silpcmcia-1.02b.tar.gz

SHA1SUM:
e8bfea6f338864302f3d007327b4b924b5132033 silpcmcia-1.02b.tar.gz

Download links:
http://knuckles.googlepages.com/silpcmcia-1.02b.tar.gz
http://web.ist.utl.pt/~ist155460/silicom/silpcmcia-1.02b.tar.gz
http://tuxmobil.org/software/silicom/silpcmcia-1.02b.tar.gz
(Courtesy of tuxmobil.org)


For completeness, other related, useful files:
pcmcia-cs-3.0.9.tar.gz mirrors: 2 3 4
pcmcia-cs-3.2.8.tar.gz mirrors: 2 3 4

Another driver sil_cs, which should work for 2.4 kernels (the silpcmcia one is for 2.2), and is based on the etherexpress pro/10 driver. It was originally hosted at http://lemon.malinov.com/sil_cs/ (Web Archive to the rescue).

This one is also hard to find, but thankfully web archive kept a copy of the files:

MD5SUM:
046aac61000ccf7b82c791790ce55ce1 sil_cs-1.0a.tar.bz2
ecc0e0b9d8d3c1f2340b0bf9a5e2ec52 sil_cs-1.0b.tar.bz2

SHA1SUM:
d9875899fbaa93e7da20413995da9a368acc5862 sil_cs-1.0a.tar.bz2
534c897fe784b1de933178eaee69e8662f1907cc sil_cs-1.0b.tar.bz2

Download links:
http://knuckles.googlepages.com/sil_cs-1.0a.tar.bz2
http://knuckles.googlepages.com/sil_cs-1.0b.tar.bz2
http://web.ist.utl.pt/~ist155460/silicom/sil_cs-1.0a.tar.bz2
http://web.ist.utl.pt/~ist155460/silicom/sil_cs-1.0a.tar.bz2
http://web.archive.org/web/20070411141642/http://lemon.malinov.com/sil_cs/sil_cs-1.0a.tar.bz2
(courtesy of archive.org)
http://web.archive.org/web/20070411141642/http://lemon.malinov.com/sil_cs/sil_cs-1.0b.tar.bz2 (courtesy of archive.org)

Conclusion: there seems to be no usable driver for 2.6 kernels, so if you found this site hoping for a quick download, I'm sorry. I'm trying to preserve this info in hopes that someday a bored kernel hacker might pick this up :) . If you do have some info/something that you think is useful about this card, please DO post in the comments section.

As an addendum, it's a pity that small files like these just fall off the internet, never to be found again. As a fan of older computers, it's disappointing when you can't find that old bios or configuration file because all sites linked to the same 20kb file, and when the original site hosting it went down, nobody had a backup link.

Some related links:
http://bsdimp.blogspot.com/2008/06/old-cards-and-information-gap.html
http://tuxmobil.org/pcmcia_ci10241.html
http://forum.ubuntu-it.org/index.php?topic=96994.10

Update: One of the mirrors stopped working, removed.

Saturday, October 18, 2008

On using Konqueror as my daily browser, and bookmark woes

Recently I decided to use only konqueror as my daily browser on one of my machines.

I've been a KDE user for 5 years or so now, and I've used konqueror for the occasional page, but firefox has always been my main browser.

KHTML

It's a well known fact that KHTML has some shortcomings in rendering some popular ajax-y, web2.0-y pages. That affected me, as a gmail user, and also a (my)foxmarks user, because I use those two sites daily.

I know this is a sensitive issue, and as a developer myself, I can fully understand the problem from the developers side, but putting my user hat on, webkit handles both sites well, and I wish it was more integrated with konqueror (thru webkitpart), so I could use it fulltime (currently it has no support for kwallet, and also widgets on the page look strange).

Bookmarks

Now what really really really sucks is the bookmark system:
- You can't move bookmarks on the bookmarks bar.
- Ellipsis for big names are not shown (but names are shortened), so sometimes if you have a site called "I use konqueror I try each day to love it and I do not absolutely hate it" for me I get a button called "I use konqueror I absolutely hate it".
- Maximum bookmarks bar button size is too big, which especially affects the next bullet.
- Items are added to the toolbar by default when you do Bookmarks > Add Bookmark, with no other possible choices. Combine this with not being able to move them and sites having big names, and you have absolute disaster: any user who likes his bookmarks organized is going to have to open the bookmark editor to move or rename a bookmark *very often*.
- When you drag from the address bar, the bookmark is named after the site url, not after the site's title.
- When clicking on a bookmarks folder, either on the bar or on the menu, the folder contents are shown, but also at the bottom are the same four options that are shown when you right-click, and I don't think most users use those options that often, so at least some of them could be removed from this menu.
- If you have multiple folders on your bookmarks bar, you can't click on one, and move you mouse to the next one on the bar (like menu bars behave). You have to click on each one you want to open.
- If you open the bookmarks menu, if you right click on a folder you get a context menu allowing you to delete it, but if you hover on the folder first, and the submenu with the subitems is shown, and then right-click, nothing will happen.
- (Very very minor: & on a site name will be interpreted as an accelerator).

The bookmarks editor ( keditbookmarks) also has many problems. Unfortunately, it is very easy to crash it. But even forgetting that, using it is very hard:
- By default bookmarks are *copied* when you drag and drop them. Only today I learned that by holding down shift they are moved. I can't think of many reasons for copying to be the default behavior. Does anyone out there like to copy bookmarks (and have duplicate bookmarks), instead of moving them?
- It is very hard to place items in some important places like the beginning and end of the list, and at the end of a folder.

A positive point: I love how when you do a search on keditbookmarks, it doesn't hide the parent folders of the matching items, so if I search for "xpto" and it is inside the folder "crap", the search will show the folder crap and the xpto entry inside, which is a thing I always hated firefox for not doing (sometimes I want to know *where* I left a bookmark so I can navigate directly to it next time).

I file lots of bugs on bugs.kde.org (and also occasionally contribute patches), but where to begin with all these issues? I don't really know. I guess that's why I decided to post this entry.

As you can see I'm a big bookmarks user, so I hate to have all this struggle to use them on konqueror.

Finally, I'm a big KDE user, fan, and occasional contributor.
I use it every single day, and love doing it. So I hope this isn't taken as a troll.

Wednesday, June 11, 2008

Cool Visual Effects on Linux without 3D Support

Recently I discovered that with the Kwin window manager on KDE 4.1 (and 4.0) you can have many of the cool special effects people love without any special driver or hardware support, using XRENDER instead of OpenGL for compositing (see last picture).

These screenshots are from my old laptop, with a 500Mhz cpu and a Trident Cyber 9525 with an amazing 2.5mb video ram, and of course no 3d support.

Also, it works with Virtual Machines too! I can get cool effects using just the vesa driver on VirtualBox.

Screenshots taken with KDE 4.1 Beta 1 on Kubuntu.












You can also have shadows, that were fixed to work with XRENDER after beta 1 (so I don't have them on my laptop yet).

Most effects are completely usable, consuming of course some cpu, but as they are one-time (animations, alt+tab, etc) don't have that much impact. Semi-transparent windows of course take their toll (especially when dragging them), but if you have a decent cpu, it can probably handle it fine.

Thanks to the kwin folks, your rock!

Thursday, July 26, 2007

How I made my linux Multiseat X setup using faketty

I haven't updated my blog in a long time, but I decided to post my multiseat setup using faketty, hoping it's useful to someone.

My setup is pretty simple (only two heads), but I wasn't able to get it to work using userful [1], and I had various keyboard troubles using evdev.

Hardware:
Pentium III 800mhz
256Mb RAM
nVidia Geforce 2 MX 400 (nv driver)
S3 Virge DX (s3virge driver)

Software:
Ubuntu Linux 6.10
(Should work with 7.04; faketty 0.06 doesn't compile with linux >= 2.6.22, so you will have problems under 7.10)

I pretty much followed the wikibooks faketty guide [2], except for the xorg probe stuff, I didn't need it. If you hack you own xorg.conf (like I did), don't forget to include
Option          "CorePointer"
on each mouse.

For reference, you'll find my xorg.conf and gdm.conf at the end of this post.

The problem with faketty is that /dev symlinks go away each boot, and the ftty's also like to change once in a while.

So I did a script, called findkeyb.sh, that runs every boot before gdm and sets up the symlinks:

#!/bin/bash

# This script finds keyboards and sets up the tty symlinks for use with
# multiseat and faketty

# how many keyboards are there
QT_TEC=`cat /proc/bus/input/devices | grep Keyboard -A 3 | grep -v Name \
| grep -v "Sys" | grep -v "\-\-" | grep input0 -A 1 | grep -v "\-\-" \
| grep -v "input" | wc -l`

echo "$QT_TEC keyboards:"
cat /proc/bus/input/devices | grep Keyboard -A 3 | grep -v Name | grep -v "Sys" \
| grep -v "\-\-" | grep input0 -A 1 | grep -v "\-\-" \
| grep -v "input" | awk '{print $4;}'

echo "$QT_TEC keyboards:" > /findkeyb.log
cat /proc/bus/input/devices | grep Keyboard -A 3 | grep -v Name | grep -v "Sys" \
| grep -v "\-\-" | grep input0 -A 1 | grep -v "\-\-" | grep -v "input" \
| awk '{print $4;}' >> /findkeyb.log

TEC=`cat /proc/bus/input/devices | grep Keyboard -A 3 | grep -v Name \
| grep -v "Sys" | grep -v "\-\-" | grep input0 -A 1 | grep -v "\-\-" \
| grep -v "input" | awk '{print $4;}'`

COUNTER=50
for i in $TEC; do
rm -f /dev/tty$COUNTER
ln -s /dev/$i /dev/tty$COUNTER
let COUNTER=COUNTER+1
done

I added symlinks to this script to /etc/rc.2, rc3.d, rc4.d and rc5.d (ugly ugly hack, heh).
ln -sf  /etc/rc.2/S11keyb
ln -sf /etc/rc.3/S11keyb
ln -sf /etc/rc.4/S11keyb
ln -sf /etc/rc.5/S11keyb

Hope this helps, and soon someone comes up with an easier way to set up multiseat.

Links:
[1] Userful Desktop Multiplier / Desktop Server
[2] http://en.wikibooks.org/wiki/Multiterminal_with_faketty
[3] Faketty 0.06
[4] Other faketty versions and multiseat patches

Files:
xorg.conf
findkeyb.sh
gdm.conf
faketty-0.06.tar.bz2

Multiseat links not related to my setup (but might be useful):

MULTILINUX
netpatia (ubuntu)
Multiterminal with Xephyr - Wikibooks, collection of open-content textbooks
HOWTO Multiseat X - Gentoo Linux Wiki
Multiseat X Under X11R6.9/7.0 - Chris Tyler's Blog
Build a Six-headed, Six-user Linux System
Multiseat Linux - One computer, multiple monitors, mice, and keyboards - Linux Agora Forums
Multiseat - Wikipedia, the free encyclopedia
BeTwin 2000/XP
Slashdot | Multiple Desktop Users on a Single Machine?
http://en.wikibooks.org/wiki/Multiterminal_with_Xnest