Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The hald-probe-video4linux prober supports both v4l1 and v4l2. Support for v4l1
has been removed from Linux kernel 2.6.38. Instead of disabling the prober
altogether, #ifdef the v4l1 parts when building on a newer kernel.
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
|
|
The old v4l1 API is gone from current kernels (2.6.38), and thus
linux/videodev.h does not exist any more. Add a configure check for the include
and do not build hald-probe-video4linux if it is not available.
|
|
|
|
Fixed generation of Changelog from git: replaced git-log with
correct commando 'git log'.
|
|
Fixed hal segfault. It crashes because strlen() gets called with a
NULL pointer (ppdev_compute_udi calls hal_util_get_last_element
with a NULL pointer).
bnc#556485
|
|
With new device-mapper udev rules are /dev/mapper/* symlinks
to basic device name /dev/dm-X.
(Change requested by udev upstream.)
This change breaks temporary-cryptsetup workaround inside hal.
With new dm-udev rules (uncluded since device-mapper 1.02.39)
there is DM_UDEV_DISABLE_OTHER_RULES_FLAG variable
which controls that scan should be ignored for this device
(it is set for all internal devices, including temporary cryptsetup,
internal parts of lvm devices etc.)
Ignore device if this flag is set.
See bugs
https://bugzilla.redhat.com/show_bug.cgi?id=613909
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586286
Signed-off-by: Milan Broz <mbroz@redhat.com>
|
|
Fixed build with automake 1.11.1: whitespace following trailing backslash.
fd.o#29085
|
|
|
|
Commit 476dd36 was incomplete: we need to flush the fd before we sync it, to
really have an effect.
Thanks to Fujii Takafumi for pointing this out!
|
|
This is something I had to do in RHEL6, and so it made sense
to share with upstream, even though another HAL release might
not be likely.
|
|
Some file systems (reported on ubifs) are rather lazy with writing changes to
disk. An automount, followed by a power failure, then results in a stale
/media/.hal-mtab and also a stale mount point directory.
Use fsync() to make hal-mtab changes much more reliable.
Thanks to Fujii Takafumi for debugging this!
|
|
Minor fix for d5f236f3dad5e721f8c2105b49c963839f3ce549.
|
|
Detect also machines with serial (wacom?) tablets and pnp-id FUJ02e7/FUJ02e9
as TabletPCs. Reduce detection of Wacom PNP-id to 'WACf' to prevent future
changes.
|
|
Detect also machines with serial wacom tablets and pnp-id > WACf009
as e.g. WACf010 as TabletPCs.
|
|
Fixed hotplug support for e-SATA from commit dea5997df8966719
(bnc#576506 and bnc#590163).
|
|
Added the new system.lsb.* properties to the SPEC.
|
|
Added new prober to get the results of lsb_release. Parse
the output and add these new keys:
- system.lsb.version
- system.lsb.distributor_id
- system.lsb.description
- system.lsb.release
- system.lsb.codename
|
|
Added new key scsi.transport for SCSI devices to identify e.g.
FiberChannel, iSCSI or SAS. This allow to handle them in FDI
files (e.g. set volume.ignore or storage.automount_enabled_hint).
|
|
Added new scsi.transport property to SPEC.
|
|
Fixed storage.bus handling for SCSI. Prevent fall through to PCI as
storage bus. Current HAL marked SCSI storage devices which are not
usb or ieee1394 get marked with storage.bus=pci and not as scsi.
|
|
Fixed compiler warnings from cgcc.
|
|
Updated SPEC due to new properties from commit dea5997df896.
Added new:
- scsi.hotpluggable
- scsi_host.hotpluggable
|
|
Added *.orig to hald/linux/.gitignore
|
|
Add hotplug support for e-SATA (bnc#576506); hotpluggable flag
is set if ahci_cmd_port is exported in sysfs (available in the
recent kernel)
|
|
Fix drm_compute_udi() to prevent such udi's:
/org/freedesktop/Hal/devices/pci_1002_71c5_drm__null__card0
Use drm.dri_library only if the property is really set.
|
|
Changed event_io() to always use the same exit and cleanup.
|
|
Some BIOSe are broken and create infinite key press events for
the sleep key (FN-F5). So ignore all key repeats for the SLEEP
key. (bnc#525959)
|
|
|
|
The second argument of ioperm() is not the last port to be accessed
but rather length of the port range [port, port + len).
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
|
|
If dbus_error_init() is not called before LIBHAL_FREE_DBUS_ERROR() is
called on that error, then it is uninitialized and may segfault. This
means that dbus_error_init() must be called before any "goto out" if
"out:" calls LIBHAL_FREE_DBUS_ERROR().
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
|
|
Do not crash on unhandled rules (bnc#537452)
|
|
|
|
retval 1 for LSB compliance
|
|
Now that the property names for USB interfaces have been fixed, correct
the environment variable names.
|
|
USB interfaces in hal should have usb.X for properties, compared to
usb_device for the parent.
|
|
Use the correct macros for kFreeBSD.
|
|
Check for availability of libufs on (k)freebsd and compile the code
conditionally.
|