Thursday, October 26, 2006

HAL patch collection

There a currently some patches I send to the HAL mailing list which aren't included in the git repository so far. They should be included in the new HAL package for openSUSE 10.2 Beta2. Here a list of these patches (feel free to use them on your own distribution):
  • fix build (hald-addon-macbookpro-backlight) against newer versions of libpci: here
  • add support for Standby (S1) to HAL: here
  • remove backend postfix from script filenames (need maybe rename files by hand, for more see this mail thread): here
  • A performance fix for search in pci.ids for vendor and product information of PCI devices. This patch is a reworked version of a inital patch from Ihno Krumreich. I extended the patch to fix bug in the search algorithm and to stop search if found everything we looking for. This patch speed up the search in the list by factor ~8-15 if HAL starts up: here
  • A new version of my patch to detect Tablet PCs (as e.g. with Wacom tablet devices and some Fujitsu Siemens machines) and to set the needed serial ports on boot: here
These patches are against current HAL git. You can find all my current HAL patches here.
Tags:

3 comments:

Anonymous said...

is there any specific reason not to send/push these (like standby or wacom support) into hal list/tree?

Danny said...

i have send both patches already to the list, but they are not approved at the moment.

The Tablet PC patch is in the SUSE HAL package since v.5.4 (SUSE 10.0) and send to the mailinglist 11.08.2005 (see http://article.gmane.org/gmane.comp.freedesktop.hal/2931/match=wacom). But there are some outstanding requirements from the HAL upstream maintainer I don't like to add to the patch (as e.g. read complete io and dma information for all devices) because I think they are useless information atm.

The standby patch (was a request by a bug: https://bugs.freedesktop.org/show_bug.cgi?id=7165 and IMO we need this also for KPowersave) is not in currently because of a discussion if standby support is really needed in HAL (see: http://thread.gmane.org/gmane.comp.freedesktop.hal/5716/focus=5716).

I can only send the patches to the mailing list, but I can't push them into the repository if they are not accepted, unfortunately ;-)

Danny

Anonymous said...

Thank you very much for detailed answer :)