summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2009-03-05regenerate cache if it's zero sizedRichard Hughes1-0/+4
Sometimes when systems go a bit haywire, the cache file is written out as a zero byte file. We're still debugging this, but in the case of a zero byte cache, just regenerate it anyway
2009-03-02define ACL and device-access policy for smart_card_readerDanny Kukawka3-0/+27
Defined ACL and device-access policy for smart_card_reader. Added information to the spec.
2009-03-02define new (sub-)namespace(s) for smart card readerDanny Kukawka1-0/+35
Defined new (sub-)namespace(s) for smart card reader as discussed in fd.o#19663 and opensc: - smart_card_reader - smart_card_reader.card_reader (for smart card reader) - smart_card_reader.crypto_token (for smart/crypto token devices)
2009-02-28set default udev_prefix to ${exec_prefix}/lib in configure.inDanny Kukawka1-1/+1
Set default udev_prefix to ${exec_prefix}/lib in configure.in to get by default ${exec_prefix}/lib/udev/rules.d as the actual udev package use. Use --with-udev-prefix to change the path if needed.
2009-02-28Merge branch 'master' of ssh://dkukawka@git.freedesktop.org/git/halDanny Kukawka2-1/+7
2009-02-28allow specifying a udev dir in etcRichard Hughes1-1/+1
Fedora still has udev rules dir as /etc/udev/rules.d, so remove the forced lib prefix
2009-02-26add x11_driver for KVM graphics tabletRichard Hughes1-0/+6
2009-02-26remove special serial tablet handling for HP tc4200Danny Kukawka1-11/+4
Removed special serial tablet handling for HP tc4200. The kernel should handle this correctly, otherwise we have to fix the kernel or add a new workaround.
2009-02-26don't add input capabilities to tablet PNP deviceMatthew Garrett1-4/+0
If hal detects that a PNP device is associated with a tablet PC it adds the input capability to that device. This is wrong - the input device is the serial device whose parent is this PNP device. Adding the input capability just results in X attempting to add the PNP device as an input device, despite it not being one and having no associated driver. FDI files for the appropriate driver can add the capabilities to the serial port device, so there's no need to have the core add these misleading ones. Simply remove them.
2009-02-26fix building with current libsmbiosMario Limonciello1-0/+1
Properly link against libsmbios library when enabling smbios support.
2009-02-22fix commit 92e7f2e8b2a1a36d3ec2b371424719e7078d91daDanny Kukawka1-3/+2
Fixed commit 92e7f2e8b2a1a36d3ec2b371424719e7078d91da: don't free 'const char *'. Changed code to prevent usage of g_strdup() which prevents need to use g_free().
2009-02-22Merge branch 'master' of ssh://dkukawka@git.freedesktop.org/git/halDanny Kukawka15-21/+36
2009-02-21make Magneto-Optical devices visibleGuillem Jover2-0/+4
Made Magneto-Optical devices visible. Add missing breaks when probing MO volume types, so that the volume.disc.type do not get shadowed by the CD-ROM case. And when computing the volume display name, do not overwrite it just after having handled the MO cases. This also fixes a memory leak.