KubuntuHWDB

Summary

Allow Kubuntu to have a HWDB frontend.

Rationale

HWDB is a handy tool for taking information on users hardware; we should have a client for it in Kubuntu. The current client is GTK only and therefore unsuitable for default install in Kubuntu.

Use cases

Oliver wants to report a hardware support bug in Kubuntu but wants to include a HWDB reference to have the maximum information available to those reading the bug.

Daniel wants to help Kubuntu and Ubuntu build up information on which hardware is supported but as a Kubuntu user is unable to without installing the GTK frontend and the large number of dependencies it requires.

Scope

Converting GTK parts of the existing code in the hwdb-client package into KDE. The questions and hardware data collection will be shared between the two frontends.

Design

Two Python files, hwdb-gui and hwdb-send, need to be ported from GTK to KDE.

Implementation

Jonathan half started this a while ago, code at http://kubuntu.org/~jriddell/hwdb/

HWDB consists of a number of questions for the user ("does sound work", "does your keyboard work", etc.). Finishing this code needs writing the GUI and related functionality for each question. Most of the questions fall into a common case of "Yes, No, Partially" so most questions do not need specific code. The questions are available in a frontend-independent XML file. The audio question will need to use arts instead of esd to be compatible with KDE.

Changes planned for hwdb-client in edgy should be included in the KDE frontend: these will be adding a Back button to the wizard and an option on the screen shown when the wizard has already been run to rerun the client (intended for the case of a user who has installed new hardware). Further questions may be added as specified at ExtendHwdb; these will be easy to incorporate as they are only questions and do not include any further new functionality.

The hwdb package will be split into three packages hwdb-client-common, hwdb-client-gnome and hwdb-client-kde which provide the common file and those for each frontend.

User Interface

General question layout:

http://kubuntu.org/~jriddell/hwdb2.png

Add a "re-run wizard" button to the screen shown when the wizard has already been run:

http://kubuntu.org/~jriddell/hwdb1.png

Outstanding issues

KDE lacks a good canvas class along the lines of gnome-canvas as used in the GTK frontend so will likely end up with less graphics. If Python bindings for Qt 4 are packaged and working we can write it in Qt 4 which will allow for the same graphics as used in the GTK frontend.

Further questions and functionality may be added as part of https://launchpad.net/distros/ubuntu/+spec/extend-hw-db/


CategorySpec

KubuntuHWDB (last edited 2008-08-06 16:31:36 by localhost)