Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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.
|
|
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
|
|
Defined ACL and device-access policy for smart_card_reader. Added
information to the spec.
|
|
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)
|
|
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.
|
|
|
|
Fedora still has udev rules dir as /etc/udev/rules.d, so remove the forced lib prefix
|
|
|
|
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.
|
|
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.
|
|
Properly link against libsmbios library when enabling smbios support.
|
|
Fixed commit 92e7f2e8b2a1a36d3ec2b371424719e7078d91da: don't
free 'const char *'. Changed code to prevent usage of g_strdup()
which prevents need to use g_free().
|
|
|
|
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.
|