aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Hide partitions marked as Compaq Diagnosticsgentoo-patchset-0.5.11Saleem Abdulrasool2008-03-231-0/+5
|
* undo double application of Gentoo rulesSaleem Abdulrasool2008-03-231-11/+0
|
* Add Gentoo specific policies.Saleem Abdulrasool2008-03-231-0/+22
| | | | Allow plugdev group to access powermanagement interfaces as well as encrypted volume interfaces.
* add support for the CheckForMedia messageJoe Marcus Clarke2008-03-221-22/+69
| | | | | MFH: Handle requests for CheckForMedia especially for floppy disk devices.
* make sure the block device is added before probing itJoe Marcus Clarke2008-03-191-1/+1
| | | | | | MFH: Do not add the block device after probing it as a new volume could be added to the GDL before its parent block device. This can screw up auto-mounting.
* call libhal_device_addon_is_ready()Joe Marcus Clarke2008-03-181-0/+4
| | | | | | | MFH: We were not calling libhal_device_addon_is_ready like a good addon is supposed to. This meant that auto-mounting HAL volumes in Nautilus would not work properly.
* clean up Apple releted fdi-filesDanny Kukawka2008-03-173-35/+4
| | | | | Cleaned up Apple releted fdi-files and put similar devices together to one match.
* updated NEWS file for upcomming releaseDanny Kukawka2008-03-171-0/+35
| | | | Updated NEWS file for upcomming release.
* Revert "process non-dependant hotplug events in parallel"Rob Taylor2008-03-172-99/+26
| | | | | | | | | | This partially reverts commit 8fe3d44796d6aece0e3ce41d41587a99d206c876 and dependant commit 07cfd3ad1e2fb4527ab46962dfef2244580e7903. Commit 8fe3d44796d6aece0e3ce41d41587a99d206c876 accidentally had two related peices of functionality, property_index support for HalDeviceStore and parallel event processing. This only reverts the parallel event processing part of the patch.
* fix crash on 64-bit platformsJoe Marcus Clarke2008-03-171-0/+3
| | | | Fix crash on 64-bit platforms.
* autofix primary (ACPI) batteries which charge with a rate > 50 WDanny Kukawka2008-03-171-1/+26
| | | | | | | | | | | This patch try to detect automatically broken batteries which tell that they charge a primary (Laptop) battery with a chargerate higher than 50 W (50.000 mW), which is IMO in 100% of the cases wrong for Laptop batteries. Maybe we can also assume a much lower level as criterion. To get valid remaining time values this patch set in such cases battery.remaining_time.calculate_per_time=true and calculate the remaining time based on time and the chargelevel.
* fix for the acl-list patch changeLubomir Kundrak2008-03-172-16/+11
| | | | | | | | | Change of the acl-list path to /var/run/hal from commit 6f55096eaa340632d189002f4778cdb91c6684e9 [1] didn't actually have much sense, since /var/run/hald is already being created. Moreover, /var/lib/hal is no longer used, and thus there's no need to created it.
* properly escape the UDIJoe Marcus Clarke2008-03-152-4/+8
| | | | | | | Since the code was changed to guarantee a unique UDI, FreeBSD UDIs are no longer escaped properly. That is, space characters may cause hal programs to abort. Fix this by chaning out slash escaping function to be a generic escaping function.
* check storage.media_check_enabled before polling the deviceJoe Marcus Clarke2008-03-151-19/+38
| | | | | | Adapt code from the Linux addon-storage to catch up with the recent fdi changes. Now, a device will not be probed for media if its storage.media_check_enabled property is TRUE.
* cleanup TODO: removed already implemented 'depends only on pm-utils'Danny Kukawka2008-03-141-3/+0
| | | | Cleanup TODO: removed already implemented 'depends only on pm-utils'.
* cleanup TODO: remove implemented 'Singleton addon'Danny Kukawka2008-03-141-11/+0
| | | | Cleanup TODO: remove implemented 'Singleton addon' feature.
* fixed several addons to build correctlyDanny Kukawka2008-03-145-8/+26
| | | | | | | | | Fixed several issues in the linux addons: - include config.h if you use e.g. HAVE_POLKIT - addon-imac-backlight.c: added missing include of string.h, made 'LibHalContext *halctx' global static to allow usage in functions. - addon-macbook-backlight.c: made 'LibHalContext *halctx' global static to allow usage in functions
* fixed compiler warning for 64bit related to usage of GQuarkDanny Kukawka2008-03-141-1/+1
| | | | Fixed compiler warning for 64bit related to usage of cast to GQuark.
* Revert "fix building with g++ 4.3"Danny Kukawka2008-03-141-1/+0
| | | | | | This reverts commit ea0e26b7d35f2cff567345894d171c99830fa55a. Patch isn't needed, it was already fixed with adding string.h in commit b8123a11b9b03e9c8db10039242d57533816c3a0.
* Merge branch 'master' of ssh://homac@git.freedesktop.org/git/halHolger Macht2008-03-1345-561/+1382
|\
| * add 10-imac-backlight.fdi to MakefileDanny Kukawka2008-03-131-0/+4
| | | | | | | | Added 10-imac-backlight.fdi to Makefile.
| * update .gitignore for hald-addon-imac-backlightDanny Kukawka2008-03-131-0/+1
| | | | | | | | Updated .gitignore for hald-addon-imac-backlight.
| * add iMac (x86 linux) backlight addonMartin Szulecki2008-03-134-0/+287
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added iMac (x86 linux) backlight addon. On my way to control the hardcore radioactive backlight of the newer iMac 24" aluminum models some older code from the mactel guys appeared to work (while the brightness level range lacks on the 24" but is good on the 20" ones, compared to Mac OS). I glued a patch which exposes the control like the other Macbook and Macbook Pro addons. People reported that it apparently also worked on other iMac models which I added to the corresponding fdi. With the lately upstreamed hid patches to support the new aluminum apple keyboard (really nice!) one can control the backlight of the display nicely.
| * fix policy file for org.freedesktop.hal.dockstation.*Danny Kukawka2008-03-132-0/+1
| | | | | | | | | | | | | | Fixed Policy file for org.freedesktop.hal.dockstation.*: - renamed from hal-dockstation.policy to org.freedesktop.hal.dockstation.policy as the other policy files - added file to Makefile.am
| * add ACL policy for Palm PDA device filesKevin Page2008-03-132-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added ACL policy for Palm PDA device files to enable active access to PDAs through PolicyKit. There's also a small correction to a comment in 20-acl-management.fdi This is an attempt to push upstream work (by many) from: https://bugzilla.redhat.com/show_bug.cgi?id=280251 We've numerous reports of this working successfully for users. It currently matches only PalmOS PDAs; it could more broadly match all PDA devices, though I have no experience of e.g. Windows Mobile devices.
| * partutil: make the get endian functions alignment awareGuillem Jover2008-03-131-4/+16
| | | | | | | | | | | | On architectures where unaligned access is not supported, it might have to be fixed at runtime which can cause slow downs or make the code abort (like generating SIGBUS).
| * removed unused GList *hotplug_events_blockedDanny Kukawka2008-03-131-3/+0
| | | | | | | | Removed unused GList *hotplug_events_blocked.
| * update .gitignoreDanny Kukawka2008-03-132-11/+14
| | | | | | | | Updated .gitignore.
| * fixed typo from commit d2b2baf9912b36def7856b6bfa5c60fc942bbcbaDanny Kukawka2008-03-131-1/+1
| | | | | | | | | | Fixed typo from commit d2b2baf9912b36def7856b6bfa5c60fc942bbcba s/(GHFunc)list_values/(GHFunc)list_keys/ .
| * Add backwards compat wrapper for g_hash_table_get_keysRob Taylor2008-03-131-0/+17
| | | | | | | | | | We don't want to force a dependancy on GLib >= 2.14 yet, so this commit adds a compatbility wrapper for g_hash_table_get_keys when building with GLib < 2.14.
| * Fix memory leak in property_index_check_allRob Taylor2008-03-131-0/+1
| | | | | | | | We were failing the free the GList returned by g_hash_table_get_keys.
| * add large as a valid vfat mount option for FreeBSDJoe Marcus Clarke2008-03-131-0/+1
| | | | | | | | | | | | | | | | FreeBSD now has support for mounting large msdosfs file systems if the hidden -o large mount option is used. Therefore, add this to the list of support vfat options. Reported by: peter weismann <pit@weispit.eu>
| * cleanup poll_for_media() in addon-storage.cDanny Kukawka2008-03-131-9/+2
| | | | | | | | | | | | Cleaned up poll_for_media() in addon-storage.c to prevent unneeded if()/else() calls and call update_proc_title() at the end of the block and not each time separate.
| * cleanup code, removed separate calls to set info.udiDanny Kukawka2008-03-1316-61/+1
| | | | | | | | | | | | | | Cleaned up the code. Removed all separate calls of hal_device_property_set_string (device, "info.udi", udi) so set the info.udi property of a device. moved the call to hal_device_set_udi(), this is now more consistent.
| * compute udis that are unique in the gdl and tdlRob Taylor2008-03-1214-274/+326
| | | | | | | | | | | | | | | | | | | | | | Introduces hald_compute_udi which computes a udi thats unique in both the tdl and gdl and uses it everywhere relvent. This is necessary when we're processing events in parallel as otherwise its possible to get a race condition with two devices added with the same name. As part of this patch, hal_util_compute_udi grwos a varargs version and no longer makes the computer udi unique. I've also added a hal_util_make_udi_unique for use in those places where hal_util_compute_udi was only used to check a udi was unique when inserting into the gdl.
| * set 'linux.sysfs_path' as an indexed propertyRob Taylor2008-03-121-0/+3
| | | | | | | | | | Greatly speeds up coldplugging, as most of the time is spent in hal_device_store_match_key_value_string, looking up a device by its sysfs path.
| * process non-dependant hotplug events in parallelRob Taylor2008-03-126-51/+268
| | | | | | | | | | | | | | | | | | | | Calculate event dependancy of hotplug events based of their sysfs_path. In hotplug_event_process_queue if an event is dependant on an event in progress, it will be held back in in the queue. The event dependancy calculation is cribbed from udev. It requires the event sequnce number in order to order the dependancies. We don't get event sequence numbers during coldplug, so we emulate them using a simple counter.
| * use GQuarks for property keys.Rob Taylor2008-03-121-23/+47
| | | | | | | | Modifies HalDevice to use GQuarks for the property keys, should reduce memory usage.
| * rework handling of data from udevinfo for more efficient memory usageRob Taylor2008-03-121-60/+115
| | | | | | | | | | | | | | This patch reworks the handling of the output of udevinfo so that the output is parsed into an intermediatary form (with a hash table of sysfpath to structures pointing directly into the output as captured). This is converted into HotplugEvents one at a time when needed by coldplug_get_hotplug_event.
| * process coldplug events as soon as they're generatedRob Taylor2008-03-121-5/+6
| | | | | | | | | | | | By processing coldplug events as soon as their generated and enqueued we can save some memory usage now that hotplug events are allocated using g_slice rather than in a pool.
| * use g_slice for hotplug eventsRob Taylor2008-03-128-66/+33
| | | | | | | | | | Using g_slice should be better (and makes for cleaner code) than our current HotplugEvent pool.
| * use slices for HalPropertyRob Taylor2008-03-121-2/+2
| | | | | | | | | | Use g_slice for storing HalProperty. Reduces memory fragmentation during coldplug.
| * document already existing pnp namespace in the specDanny Kukawka2008-03-121-0/+75
| | | | | | | | Documented already existing pnp namespace in the spec.
| * added support for Tablet PCsDanny Kukawka2008-03-125-4/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | Added support for Tablet PCs with these features: * identify Wacom and Finepoint Tablet PC devices and port/irq * set system.formfactor.subtype to 'tabletpc' this allow the desktop to handle special tasks for Tablet PCs as e.g. show OnScreen Keyboard * added setserial helper to setup /dev/ttyS* devices with sepcial parameter if needed * added fdi-file to call for special Tablet devices setserial with needed parameter where the kernel can't setup the device correct This patch is already included in the SUSE hal package since 08/2005.
| * add ufstype= as allowed mount option for UFSGeorges Discry2008-03-121-0/+7
| | | | | | | | | | Added ufstype= as allowed mount option for UFS (this option is mandatory to mount UFS filesystems under linux)
* | fix dock station status detection on undock operationHolger Macht2008-03-131-2/+37
|/ | | | | | | | When the user triggers an undock operation, the kernel signals a 'undock triggered' event. To that time, the 'docked' sysfs property must not necessarily be updated already, because the undock may (although unlikely) fail. So add a callback to refresh the dock status until kernel flags tell us that the undock operation has completed.
* added portable_audio_player.storage_device to specDanny Kukawka2008-03-111-0/+11
| | | | | Added already existing portable_audio_player.storage_device property to the spec.
* fixed possible segfault from fd.o bug #14947Danny Kukawka2008-03-111-4/+6
| | | | | | | Fixed possible segfault from fd.o bug #14947 for the case that the remaining time is over 60 hours and the chargeRate was never before 0 or the rate was never guessed which means saved_battery_info wasn't initialised.
* re-remove deprecated keysJoe Marcus Clarke2008-03-072-3/+0
| | | | | | | Re-remove the deprecated keys now that the deprecated-keys FDI file has been committed. Requested by: Danny Kukawka
* make crypto-setup policy description more clearDanny Kukawka2008-03-071-2/+2
| | | | | | Maked crypto-setup policy description for fixed and removable storage devices/media more clear as pointed out in fd.o bug #14808 and https://bugs.launchpad.net/hal/+bug/186282.