summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-16fix commit 141ca8cd7b768ddefa1bfaa563cbef4337e32b7chal-0_5_13-openSUSE11.2-branchDanny Kukawka1-1/+1
Fixed commit 141ca8cd7b768ddefa1bfaa563cbef4337e32b7c: add void as return type to hotplug_event_begin_add_blockdev, which was removed with this previous commit.
2010-04-16adopted version of commit 122e41a10 to fix docking stationsDanny Kukawka1-7/+76
Adopted version of reverted commit 122e41a10 to adapt changes in the kernel regarding to docking stations from Holger Macht <hmacht@suse.de>. Added function and code to check for kernel version >= 2.6.28 to get HAL working also with older kernel versions.
2010-04-16fix hotplug_event_process_queue() to get reprobe workingDanny Kukawka1-4/+51
Fixed hotplug_event_process_queue() to get reprobe working. Added new function to check if there is still a REMOVE/ADD event for the same device (sysfs_path) in the queue of the running hotplug events. Wait for those events to prevent trouble if e.g. a HOTPLUG_ACTION_REMOVE is still running and a HOTPLUG_ACTION_ADD is the next event.
2010-04-16Fix a segfault in the mdraid code -- see rh#507782 for more infoMartin Poole1-2/+3
Signed-off-by: Richard Hughes <richard@hughsie.com>
2010-04-16fix a misleading warning in ondemand_set_consider_nice()Michael Biebl1-1/+1
It previously said "%u kHz", but %u is a boolean, thus kHz does not make sense. Remove the "kHz". http://bugs.debian.org/532999
2010-04-16read brightness from actual_brightness and not from brightnessJohannes Hessellund1-1/+1
The get_backlight function read from the wrong sysfs file. The real backlight value is available from 'actual_brightness', whereas 'brightness' is used for changing/setting the backlight through software. 'brightness' always reads last value writen to it. Backlight which is hardware controlled, as with many thinkpads (ex T42), does not update 'brightness'. Thus hald is not returning the right value! fd.o#21612
2010-04-16add IBM Ebus to SPECDanny Kukawka1-1/+36
Added IBM Ebus to SPEC.
2010-04-16cleanup: don't set udi manually if hal_device_set_udi() was usedDanny Kukawka1-4/+0
Cleaned up: Don't call hal_device_property_set_string (d, "info.udi", udi); if hal_device_set_udi (d, udi); was called before. hal_device_set_udi() already set info.udi for the device.
2010-04-16add SSB bus to SPECDanny Kukawka1-0/+30
Added SSB bus to SPEC.
2010-04-16move ssb bus code to the correct placeDanny Kukawka1-44/+44
Moved ssb bus code to the correct place to have device handler code in alphabetical order.
2010-04-16fixed commit 36d076bf26350e022731cb7c2c9f4e840dd25e37Danny Kukawka1-1/+1
Fixed commit 36d076bf26350e022731cb7c2c9f4e840dd25e37. Don't use xen.bus_id for udi of a ssd device, the property don't exist there.
2010-04-16do not crash on unhandled rules (bnc#537452)Stephan Kulow1-1/+3
Do not crash on unhandled rules (bnc#537452)
2010-04-16Fix a crasher in hal_util_get_last_elementMichael Biebl1-0/+4
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531383
2009-07-15update NEWS for 0.5.13 releaseHAL_0_5_13Martin Pitt1-1/+58
2009-07-15add support for devices on the SSB busMatthew Garrett1-0/+45
This provides detection of e. g. Broadcom wifi (b43) or ethernet (b44) devices. This doesn't update the spec for the new bus, but has been used successfully for years, and other buses were recently committed without spec updates as well. With hal being phased out and in maintenance mode, that should be appropriate now. See thread at http://lists.freedesktop.org/archives/hal/2007-April/008080.html
2009-07-14work aroud crash caused by LED device handlingAndrey Borzenkov1-1/+1
During suspend led device is removed; during resume it is recreated. Apparently removing led device cause hald-addon- leds to exit (thus disconnecting D-Bus connection); and sometimes next "add" event comes too early, before hald had chance to notice missing addon. Adds extra check to hald_singleton_device_added() to ensure we do not abort on disconnected D-Bus connection.
2009-07-13use AM_SILENT_RULES if availableKay Sievers1-1/+2
2009-07-13add suport for /sys/bus/ibmebusPavan Naregundi1-0/+46
HAL was failing to recognize ehea ethernet adapters under /sys/bus/ibmebus. https://bugzilla.redhat.com/show_bug.cgi?id=496820 After the patch ehea adapters are under ibmebus in the lshal --tree ibmebus/lhea_23c00200 ibmebus/lhea_23c00200/ethernet_23e00100 net_00_21_5e_03_1d_21
2009-06-30optimize resolve_udiprop_path()Michael Meeks1-39/+62
2009-06-30use $libexecdir not $libdir/hal to define private hal directoryKay Sievers5-7/+7
Multilib isn't cool, but /usr/lib64/hal/scripts/ is even less. This switches to libexecdir to be able to set the proper install location. --libexecdir=/usr/lib/hal should be given now at configure time.
2009-06-26add input.keys capability to input buttonsMartin Pitt1-0/+2
Add input.keys capability to button input devices which support key events, such as the power, sleep, hibernate, and "lid" buttons. This causes them to be picked up by 10-x11-input.fdi and propagated to things like gnome-power-manager. Taken from http://cvs.fedoraproject.org/viewvc/devel/hal/hal-add-keys-to-buttons.patch?revision=1.1&view=markup http://bugzilla.gnome.org/show_bug.cgi?id=581363 https://launchpad.net/bugs/384890
2009-06-2610-x11-input.fdi: Add tabletsMartin Pitt1-0/+7
Use X.org -evdev driver for tablets. Taken from Fedora package: http://cvs.fedoraproject.org/viewvc//devel/hal/hal-tablet-evdev.patch?view=markup Also used in Ubuntu package: http://bazaar.launchpad.net/%7Eubuntu-core-dev/hal/ubuntu/annotate/298/debian/patches/01_tablet_evdev.patch
2009-05-28addon-input: add KEY_ZOOMThadeu Lima de Souza Cascardo1-1/+5
Reported on hal ML.
2009-05-24Merge branch 'master' of ssh://dkukawka@git.freedesktop.org/git/halDanny Kukawka1-2/+1
2009-05-24cleaned up hal-storage-mount codeDanny Kukawka1-7/+7
Cleaned up hal-storage-mount code. Don't call libhal_volume_get_fstype() again and again for each possible fstype, reuse result of first call.
2009-05-24probe-volume: remove needless check for empty fstypeKay Sievers1-2/+1
2009-05-24Merge branch 'master' of ssh://dkukawka@git.freedesktop.org/git/halDanny Kukawka2-2/+3
2009-05-24fixed segfault in hal-storage-mountSimon Munton2-2/+3
Fixed segfault in hal-storage-mount and don't lose fstype in probe-volume.
2009-05-24fixed compiler warningDanny Kukawka1-1/+1
Fixed compiler warning: "passing argument 2 of ‘hal_util_decode_escape’ discards qualifiers from pointer target type"
2009-05-24added new properties: org.freedesktop.Hal.version(.*)Danny Kukawka4-0/+92
Added new properties to root device object (/org/freedesktop/Hal/devices/computer) to enable to query the HAL version from a fdi file. This allow to handle new keys/ properties, deprecated key or API changes in the hal-info package of needed. The new properties are: - org.freedesktop.Hal.version (string) - org.freedesktop.Hal.version.major (int) - org.freedesktop.Hal.version.minor (int) - org.freedesktop.Hal.version.micro (int)
2009-05-15fix crash when assembling certain MD devicesChris Coulson1-4/+13
Don't assume that the parent of a volume has storage capability; e. g. if we are an MD partition then this is the case as we were re-parented to the root computer device object earlier. FD#21603
2009-05-15Merge branch 'master' of ssh://dkukawka@people.freedesktop.org/~dkukawka/halDanny Kukawka7-13/+79
2009-05-15Revert "add ACL policy for smartcard readers"Danny Kukawka3-26/+0
This reverts commit a18f69ea0d1a100bf85925b81acd0539f564eae6. Smartcard reader are handled by the openSC package as discussed in fd.o#19663. Don't add additional rules to hal, the package should deliver a fdi file with the needed information.
2009-05-15remove broken ASCII 240 chars from C filesKay Sievers1-3/+3
2009-05-12hald/freebsd/libprobe/hfp-cdrom.h: use C99 typesAurelien Jarno1-21/+21
Use C99 types from <stdint.h> instead of non standard types from <sys/types.h>.
2009-05-12[BSD] use <sys/bitstring.h> instead of <bitstring.h>Martin Pitt1-1/+1
<bitstring.h> includes <sys/bitstring.h>. Directly use <sys/bitstring.h> has the former one is not available on all systems.
2009-05-12disable power-pmu and sonypic if __FreeBSD_kernel__ is definedAurelien Jarno2-6/+6
2009-05-12fix compilation of hald/freebsd/hf-storage.cAurelien Jarno1-1/+0
devname is not a variable available int the hf_storage_device_enable() context, causing the build failure of this file. Remove the line using it, seems g_return_if_fail(HAL_IS_DEVICE(device)) is already doing the job.
2009-05-12use the "freebsd" backend on GNU/kFreeBSDAurelien Jarno1-1/+1
The backend is kernel dependent, so the "freebsd" backend should be chosen on GNU/kFreeBSD.
2009-05-12addon-acpi.c: Support acpidMartin Pitt1-1/+7
Do not try to open /proc/acpi/event if acpid exists, since that would stop acpid from being able to open it itself. acpid is a /proc/acpi/event multiplexer and event engine, see http://acpid.sourceforge.net/. Patch taken from Debian.
2009-05-12add hal-set-property --directMartin Pitt1-18/+31
In order to set the X keymap correctly, hal-set-property needs to call libhal_ctx_init_direct. Patch originally developed by Adam Jackson <ajax@redhat.com> in Fedora, and also used by Ubuntu and Debian for a long time.
2009-05-12add ACL policy for smartcard readersMartin Pitt3-0/+26
Grant access to the currently logged-in user on some SCM smart-card readers. This improves the out-of-box support for OpenGPG card users. Reported in https://launchpad.net/bugs/57755
2009-05-12post-release bump for 0.5.13Martin Pitt2-1/+32
update version in configure.in, add 0.5.13 stub to NEWS
2009-05-12update NEWS for 0.5.12 releaseHAL_0_5_12Martin Pitt1-2/+274
2009-05-10move from libvolume_id to libblkidKay Sievers7-88/+68
Current udev does not build libvolume_id any more. udev's volume_id and old e2fsprog's libblkid were merged into current util-linux' libblkid. All applications are now expected to use that one.
2009-04-21fix volume.num_blocks data type in libhal-storageMartin Pitt1-3/+3
commit f7d7779d0fd2438479c9de4b8dd76f986941f0a4 changed volume.num_blocks from int to uint64, to accomodate large block sizes. Do the corresponding change in libhal-storage's LibHalVolume internal struct as well. Conveniently, libhal_volume_get_size() was already declared to return a dbus_uint64_t, so this does not change external library ABI.
2009-04-06fix SUSBSYSTEM typo in a debug messageOzan Çağlayan1-1/+1
Reported on hal ML.
2009-04-03fix volume label parsingMartin Pitt4-5/+47
Not probing volumes ourselves and reading from the udev db (commit 79b92dbdf65b8c978d5a8f6fb2b421aac83c3de3) caused a regression: udevadm info's ID_FS_LABEL is mangled, e. g. spaces appear as '_'. Use ID_FS_LABEL_ENC instead and use a new hal/util.c function hal_util_decode_escape() to decode those. https://launchpad.net/bugs/347370
2009-03-18fix sound_compute_udi(): sound.card is int and not a stringDanny Kukawka1-1/+1
Fixed sound_compute_udi(). The type of property sound.card is int and not string, use the correct function to get the value.
2009-03-18ignore ADD events if there is already a device with same sysfs_pathDanny Kukawka1-0/+11
Ignore ADD events if there is already a device with the same syfs_path available in the GDL or TDL. This should prevent problems getting duplicated devices from calling 'udevadm trigger' (fd.o#18861) or from some other rare cases (see: http://lists.freedesktop.org/archives/hal/2009-February/012954.html). TODO: Check if it make sense to call a refresh for the already existing device instead of ignoring the event completely.