summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-06-13Fix warnings when building on SolarisHEADmasterAndrew Stormont4-4/+7
2011-06-13Integrate hald-probe-xkb from IllumosAndrew Stormont2-1/+364
2011-06-13Integrate hald-probe-{storage,volume} from IllumosAndrew Stormont4-97/+104
2011-06-13Integrate hald-probe-printer from IllumosAndrew Stormont4-0/+347
2011-06-13Integrate hald-probe-network-printer from IllumosAndrew Stormont3-1/+633
2011-06-13Integrate hal-probe-acpi from IllumosAndrew Stormont5-1/+895
2011-06-13Remove remaining ident crapAndrew Stormont1-2/+1
2011-06-13Remove pragma crap and update copyrightsAndrew Stormont18-36/+18
2011-06-13Revert: 9fe98c8fe58486c0b16b5ebcd889447d0272dd84Andrew Stormont2-11/+1
2011-06-13Fix build with new solaris filesAndrew Stormont6-14/+39
2011-06-13Fix configure with PolicyKit disabledAndrew Stormont1-1/+1
2011-06-13Replace solaris support files with version from IllumosAndrew Stormont24-315/+2001
2011-06-13Apply patch to make polkit-policy-file-validate optionalAndrew Stormont2-1/+12
2011-04-10Build hald-probe-video4linux on current kernels againMichael Biebl2-6/+10
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>
2011-02-14Do not build hald-probe-video4linux if v4l1 is not available.Martin Pitt2-2/+8
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.
2011-02-14Fix linking of hald-probe-lsb-releaseMartin Pitt1-1/+1
2010-08-23fix generation of ChangelogDanny Kukawka1-1/+1
Fixed generation of Changelog from git: replaced git-log with correct commando 'git log'.
2010-08-23fix hal segfaultMichael Schroeder1-1/+2
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
2010-08-23HAL: Ignore internal DM devices with new DM udev rulesMilan Broz1-0/+5
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>
2010-08-23fix build with automake 1.11.1Bernhard Rosenkraenzer1-1/+1
Fixed build with automake 1.11.1: whitespace following trailing backslash. fd.o#29085
2010-08-23Merge branch 'master' of ssh://git.freedesktop.org/git/halDanny Kukawka4-41/+118
2010-07-15flush hal-mtab before syncingMartin Pitt2-3/+9
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!
2010-07-14Make the haldaemon initscript LSB compliantRichard Hughes1-41/+69
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.
2010-07-13fsync /media/.hal-mtab after changesMartin Pitt3-0/+43
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!
2010-06-14fixed commit d5f236f3dad5e721f8c2105b49c963839f3ce549Danny Kukawka1-1/+1
Minor fix for d5f236f3dad5e721f8c2105b49c963839f3ce549.
2010-06-14detect also serial tablets with pnp-id FUJ02e7/FUJ02e9Danny Kukawka1-2/+2
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.
2010-06-14detect also serial wacom tablets with pnp-id > WACf009Danny Kukawka1-1/+1
Detect also machines with serial wacom tablets and pnp-id > WACf009 as e.g. WACf010 as TabletPCs.
2010-03-29fixed hotplug support for e-SATA (dea5997df8966719)Takashi Iwai1-9/+18
Fixed hotplug support for e-SATA from commit dea5997df8966719 (bnc#576506 and bnc#590163).
2010-03-16added new system.lsb.* properties to the SPECDanny Kukawka1-0/+50
Added the new system.lsb.* properties to the SPEC.
2010-03-16add new prober to get the results of lsb_releaseDanny Kukawka4-19/+247
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
2010-03-15added new key scsi.transport to identify FC/iSCSI/SASDanny Kukawka1-0/+10
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).
2010-03-15add scsi.transport property to SPECDanny Kukawka1-0/+26
Added new scsi.transport property to SPEC.
2010-03-15fix storage.bus handling for SCSIDanny Kukawka1-5/+21
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.
2010-03-15fixed compiler warnings from cgccDanny Kukawka1-14/+7
Fixed compiler warnings from cgcc.
2010-03-11updated SPEC due to new properties from commit dea5997df896Danny Kukawka1-0/+16
Updated SPEC due to new properties from commit dea5997df896. Added new: - scsi.hotpluggable - scsi_host.hotpluggable
2010-03-11add *.orig to hald/linux/.gitignoreDanny Kukawka1-0/+1
Added *.orig to hald/linux/.gitignore
2010-03-11add hotplug support for e-SATATakashi Iwai2-0/+16
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)
2010-03-11fix drm_compute_udi()Danny Kukawka1-6/+13
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.
2010-03-10event_io(): always use the same exitDanny Kukawka1-2/+3
Changed event_io() to always use the same exit and cleanup.
2010-03-10fix SLEEP key for some broken BIOSeHolger Macht1-0/+6
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)
2010-03-10Merge branch 'master' of ssh://dkukawka@git.freedesktop.org/git/halDanny Kukawka10-11/+20
2010-03-04Fix incorrect arguments to ioperm() callDmitry Torokhov2-2/+4
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>
2010-03-04Make sure dbus_error_init() is called before LIBHAL_FREE_DBUS_ERROR()Peter Jones8-9/+16
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>
2010-02-22do not crash on unhandled rules (bnc#537452)Stephan Kulow1-1/+3
Do not crash on unhandled rules (bnc#537452)
2010-02-22Merge branch 'master' of ssh://dkukawka@git.freedesktop.org/git/halDanny Kukawka17-94/+283
2010-01-27If /usr/sbin/hald does not exist then exit the haldaemon init script with ↵Richard Hughes1-1/+1
retval 1 for LSB compliance
2010-01-23Fix the environment variable namesJoe Marcus Clarke1-2/+2
Now that the property names for USB interfaces have been fixed, correct the environment variable names.
2010-01-23Fix the properties for USB interface devicesJoe Marcus Clarke1-17/+1
USB interfaces in hal should have usb.X for properties, compared to usb_device for the parent.
2010-01-23Fix compilation when building against libusb2Michael Biebl4-8/+8
Use the correct macros for kFreeBSD.
2010-01-23Check for availability of libufs on (k)freebsdMichael Biebl3-1/+13
Check for availability of libufs on (k)freebsd and compile the code conditionally.