Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixed commit 141ca8cd7b768ddefa1bfaa563cbef4337e32b7c:
add void as return type to hotplug_event_begin_add_blockdev, which was
removed with this previous commit.
|
|
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.
|
|
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.
|
|
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
|
It previously said "%u kHz", but %u is a boolean, thus kHz does not make sense.
Remove the "kHz".
http://bugs.debian.org/532999
|
|
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
|
|
Added IBM Ebus to SPEC.
|
|
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.
|
|
Added SSB bus to SPEC.
|
|
Moved ssb bus code to the correct place to have device handler
code in alphabetical order.
|
|
Fixed commit 36d076bf26350e022731cb7c2c9f4e840dd25e37.
Don't use xen.bus_id for udi of a ssd device, the property
don't exist there.
|
|
Do not crash on unhandled rules (bnc#537452)
|
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531383
|
|
|
|
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
|
|
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.
|
|
|
|
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
|
|
|
|
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.
|
|
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
|
|
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
|
|
Reported on hal ML.
|
|
|
|
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.
|
|
|
|
|
|
Fixed segfault in hal-storage-mount and don't lose fstype in
probe-volume.
|
|
Fixed compiler warning: "passing argument 2 of ‘hal_util_decode_escape’
discards qualifiers from pointer target type"
|
|
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)
|
|
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
|
|
|
|
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.
|
|
|
|
Use C99 types from <stdint.h> instead of non standard types from
<sys/types.h>.
|
|
<bitstring.h> includes <sys/bitstring.h>. Directly use <sys/bitstring.h>
has the former one is not available on all systems.
|
|
|
|
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.
|
|
The backend is kernel dependent, so the "freebsd" backend should be
chosen on GNU/kFreeBSD.
|
|
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.
|
|
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.
|
|
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
|
|
update version in configure.in, add 0.5.13 stub to NEWS
|
|
|
|
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.
|
|
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.
|
|
Reported on hal ML.
|
|
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
|
|
Fixed sound_compute_udi(). The type of property sound.card
is int and not string, use the correct function to get the value.
|
|
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.
|