Wednesday, October 31, 2012

gnome 3.6 and keyboard layout configuration

Gnome 3 devs are stupid enough to remove features before some replacement is implemented. Simplified nautilus and (what's much more important for me!) broken keyboard layout configuration. Well, you still can configure what layouts to use, but you can't choose usual shortcut to switch layout, and you can't configure led to indicate alternative layout.

Well, I still can use setxkbmap (setxkbmap -layout "us,ru" -option "grp:caps_toggle,grp_led:scroll"), but that's f***ing ridiculous to remove things that were working here for years and propose nothing for replacement! They broke core functionality (who can work without a keyboard?!), and it makes me sick!

Update: more haterays to gnome-devs! Gnome 3 overrides xkbmap settings somewhere, I wonder if there's a way to prevent it...

Update-2: you can remove gnome-settings-daemon keyboard plugin as a workaround (sudo rm /usr/lib/gnome-settings-daemon-3.0/

Wednesday, October 24, 2012

ArchLinux and broken gnome-settings-daemon

Just another post of hate. This time rays of hate go to maintainers of archlinux Gnome 3  packages. In short words:

  • global hotkeys are broken in Gnome-3.4 when using it with recent xorg-server
  • upstream patch exists, however no tarball was released (who cares!)
  • ArchLinux Gnome 3 package maintainers are lazy enough to import this patch and rebuild package
  • bug was reported and closed as "won't fix" because they're waiting for gnome-3.6.1 to stabilize and enter into extra repo.
Users suffer from bug for ~3 weeks! They even do not need to investigate what causes problem, patch exists. Btw, I've even created a source package and sent them a link. Some user from archlinux bbs created package in aur

I'm still wondering why they do not respect their users...

Tuesday, October 9, 2012

Hacking on fingerprinting again or AES2550/AES2810 driver for libfprint

Back in 2007 I participated in driver development for AuthenTec AES2501 scanner, driver was later merged into libfprint project. I didn't hack much on libfprint, just sent few bugfixes, but recently AuthenTec announced that they're willing to send fingerprint scanners for opensource enthusiasts who wants to develop driver for those scanners. So far, so good... I've wrote a letter to AuthenTec and they proposed to send AES2550 or AES2810 scanner to me. I chose AES2550. Actually, AES2550 and AES2810 are pretty same (AES2550 driver should work with AES2810), the only difference is missing crypto engine on AES2550 (who needs cryptography anyway? :))

So, I've got parcel with scanner in August, but unfortunately had no spare time for hacking, I only coded driver stub and read datasheet from AuthenTec.

So, in September/October I've spent few (5-6?) nights hacking on this driver, and finally got it working on my AES2550. Image quality is much better then on my AES2501. Driver lacks crypto features for AES2810 and external flash support for both devices. Anyway, libfprint has no external flash API yet, so there's some space for hacking :)

As usual, code is on my github page, branch aes2550-v2. Some testing is appreciated :)

P.S. Thanks to AuthenTec for opened specs and provided hardware! AuthenTec rocks!

Update: driver was merged into upstream, so you can use upstream libfprint repo

Wednesday, September 26, 2012

Reboot instead of shutdown issue

Recently hit subj issue on 2 PCs, on 2 different distros:

  • ubuntu 12.04 on my sister's nettop
  • current archlinux on my mother's-in-law PC
Here're symptoms: PC shutdowns on poweroff command and then immediately turns on. Sounds weird, right?

It turned out that cause is forcedeth driver (both PCs are based on nVidia chipset). I suspect it's somehow related to WoL implementation (however there's not WoL packets in my network for sure - local segment contains only router + 1-2 PCs). Solution is to 'rmmod forcedeth' somewhere on shutdown path. Can't investigate this issue more broadly, I've no permanent access to those PCs :) But some forcedeth dev is guilty for sure

Sunday, June 3, 2012

fheroes2 on zipit

Just got fheroes2 running on z2.

Rays of hate to the author for "-I$(PREFIX)/include" in Makefile. PREFIX is usually /usr, so it pulled headers from host and produced weird compile errors. It took half a day to debug and fix it.

You'll need data and maps from original heroes 2 in /root/.fheroes2 to play.

As usual, here's screenshot:

Btw, I've moved to gcc-4.6, so don't forget to get updated openwrt .config

Binaries are here: uImage rootfs

Friday, May 25, 2012

More stuff for openwrt

Recently I added scummvm, mplayer (for zipit), netsurf, mouse-emul packages to openwrt-zipit, all this stuff is in my github repos. Also there's a package with cyrillic layout.

Btw, here's guide to mouse-emul usage:
option key toggles "mouse" mode,
in "mouse" mode:
"stop" - right button
"enter" (on joystick) - left button
joystick - moves cursor
"prev" - "f1"
"next" - "f5"
"q" - "1"

You can change behavior by editing /etc/mouse-emulrc

Update: here're binaries: kernel and rootfs


Sunday, February 12, 2012

openwrt for Zipit Z2

Spent some time hacking on openwrt for Zipit Z2.  It's highly based on projectgus work, so thanks in advance to him ;)
I've just integrated 3.2 kernel into it, made libertas work prorerly with nl80211, also hacked some packages (gmenu2x, mocp, gmu) to work properly on Z2.
Basically, it works :)

Here's short manual how to compile it:

mkdir ~/zipit
cd ~/zipit
git clone git://
git clone git://
git clone git://
cd openwrt-zipit
echo "src-link qipackages $HOME/zipit/qi-openwrt-packages" >feeds.conf
echo "src-link packages $HOME/zipit/openwrt-packages" >>feeds.conf
make package/symlinks

Now you can 'make menuconfig' and select/deselect packages you want (press M on package to build as package, but do not install in default rootfs)

Then just 'make' and wait for few hour :) If you've any issues - build it with 'make V=99', paste error somewhere and notify me.