File hal-fix-docking.patch of Package hal
Index: hal-0.5.14/hald/linux/device.c
===================================================================
--- hal-0.5.14.orig/hald/linux/device.c
+++ hal-0.5.14/hald/linux/device.c
@@ -93,6 +93,9 @@ static gboolean battery_poll_running = F
static gboolean
compare_ge_kernel_version (int major, int minor, int micro) {
+ /* this does not do what it should, so return TRUE in the SUSE package */
+ return TRUE;
+
HalDevice *root;
root = hal_device_store_find (hald_get_gdl (), "/org/freedesktop/Hal/devices/computer");
@@ -2174,7 +2177,7 @@ platform_refresh (HalDevice *d)
/* undock still in progress? */
hal_util_get_int_from_file (sysfs_path, "flags", &flags, 0);
if (compare_ge_kernel_version (2,6,28)) {
- if (flags == 2) {
+ if (flags == 18) {
g_timeout_add (DOCK_STATION_UNDOCK_POLL_INTERVAL,
platform_refresh_undock, d);
return TRUE;