Saturday, November 22, 2008

QT3 - BOUML - CMake: Hello World!

I am going to demonstrate how to combine the two tools, BOUML and CMake, to create the simplest possible QT3-based classic "Hello World" application.

First, in BOUML create a project under a name hello_world in a directory hello_world/model. Then select c++ as a working language. In the browser pane right-click to access the Edit  generation settings menu, where in the "Directory" tab we will enter hello_world/gensrc as a c++ root directory, where all the generated source code will be saved.

Sunday, April 20, 2008

DVD quality scans on GNU/Linux

Yesterday I bought a decent DVD recorder - Lite-ON DH 20A4H. As for now (two DVDs burned) I can't say a bad word about it. However, one of the reason why I bought a recorder from this particular vendor was support for quality scans of recorded media. For GNU/Linux based OS there is already the QPxTool, which allows for PIE/PIF analysis.QPxTool Nonetheless, stability of this program leaves some place for improvements. My attention, thus, quickly turned to Wine and possibility to run such tests using win32 apps. I tried CDSpeed from Nero Utilities, but despite positive feedback on the cdfreaks forums I could not run it. Then I tried Kprobe2. It does PIE/PIF analysis, just as QPxTool, but not jitter.Kprobe2 Same with DVDInfoPro, which should support jitter scans, but for some reason I cannot have them done.

Maybe one day NeroLinux will support jitter scans, or I will be able to trace bus data flow with CDSpeed run on Win32 to see what is being sent between the system and the hardware. With this in hand I might then write a utility myself, or contribute to the already existing GPL projects.

A tip for other users who'd like to run Kprobe2 or DVDInfoPro: in the Graphics tab of winecfg turn off the option which allows your WM to manage wine apps windows.

DVDInfoPro

Tuesday, April 8, 2008

BOUML 4.2.1 ebuild

The latest BOUML ebuild. Enjoy. If you'd like to make it yourself next time, then use the

ebuild [path_to_the_new_ebuild] digest


command to create auxilliary files within the portage overlay.

Tuesday, April 1, 2008

BOUML 4.2 ebuild

It's been quite a while since the release of BOUML 4.2 but its ebuild is still missing in gentoo-protage. Having found few minutes of spare time I decided to create its homebrew version to share with all of you who sit there and wait looking forward to it being published on the gentoo-portage website. The uuencoded version is included below. Enjoy!

Saturday, March 1, 2008

[SOLVED] tuner 0-0061: tuner type not set

I was bothered by this bug since the 2.6.14 kernel, and it has effectively stopped me from performing any upgrade till the very last week. Soon before I have found a tip from MichaƂ Kochanowicz which prompted me to investigate the issue personally. By extensive use of printk within the i2c and v4l modules I managed to track down the root cause. It happened only for the PixelView PlayTV card (card_id=16) for which the parameters definition in the bttv-cards.c file was missing assignment of the tuner_addr and radio_addr fields. Consequently in the attach_inform function the TUNER_SET_TYPE_ADDR command was not sent to the tuner's driver. The patch is as simple as that:


--- drivers/media/video/bt8xx/bttv-cards.c.orig	2007-07-08 23:32:17.000000000 +0000
+++ drivers/media/video/bt8xx/bttv-cards.c 2008-03-01 20:48:19.183306298 +0000
@@ -588,6 +588,8 @@ struct tvcard bttv_tvcards[] = {
.needs_tvaudio = 1,
.pll = PLL_28,
.tuner_type = -1,
+ .tuner_addr = ADDR_UNSET,
+ .radio_addr = ADDR_UNSET,
},
[BTTV_BOARD_WINVIEW_601] = {
.name = "Leadtek WinView 601",

Sunday, January 27, 2008

BOUML speaks python

well, well, well... kinda' news that makes you jump in joy. According to the changelog the python support is far from being as mature as it is for c++ or java, nevertheless that is the thing which progress I'm gonna track within next weeks/months. If only someone would update the BOUML's ebuild in the portage tree...