Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
hal-doc
hal-fix-docking.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hal-fix-docking.patch of Package hal-doc
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;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor