1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
|
==========
HAL 0.5.9 ""
==========
Requirements for HAL 0.5.9 ""
- Linux kernel >= 2.6.17
- util-linux >= 2.12r1 (--enable-umount-helper requires patch from RH #188193)
- bash >= 2.0
- udev >= 089
- dbus >= 0.61 (with glib bindings)
- glib >= 2.6.0
- expat >= 1.95.8
- hal-info >= git version as of 20070328
- libusb >= 0 0.1.10a (optional)
- pciutils >= 2.2.3 (optional
- dmidecode >= 2.7 (optional)
- parted == 1.7.1 (optional)
- cryptsetup-luks >= 1.0.1 (optional, needs LUKS patches)
- libsmbios >= 0.13.4 (optional for DELL machines, Linux only)
- dellWirelessCtl >= 0.13.4 (optional, for Dell machines, must live in /usr/bin/, Linux only)
- ConsoleKit >= git version as of 20070220 (optional)
- pm-utils >= 0.99.2 or newer (optional)
==========
HAL 0.5.8 "The Skynet Funding Bill is passed."
==========
Released September 11, 2006
Contributors to this release
Artem Kachitchkine:
check for getgrouplist() and use the local version if not provided by the
use AM_CFLAGS instead of CFLAGS
*** empty log message ***
* configure.in: don't PKG_CHECK volume_id on Solaris
share is_mounted_by_hald() and non-gcc nits
CloseTray() method (eject -t)
Dan Nicholson:
corrects the location of the hal scripts directory
Dan Williams:
Added ROKR e2 to USB Music Players
Danny Kukawka:
fixed spec for portable_audio_player namespace properties which not use
fixed to be sure that the prober is only called for ttyS* devices. Only
Added several USB mp3 player to fdi file:
applied patches and added new devices from fd.o bugs: 6101, 6139,
fixed remaining_time property, remove the key if battery is charging
applied slightly adopted patch and added new device from fd.o bugs:
added new translation file for Khmer from SUSE/Novell translation team
Added Khmer translation to ALL_LINGUAS
Applied slightly adopted patches from fd.o bugs 6317, 6462, 6464, 6561.
Moved hal scripts to $(libdir)/hal/scripts instead of
Skip stat nfs mounts. This should solve blocked hald (and failing
added property for DVD+RW DL to spec
fixed problem with parse information from output of dmidecode where the
Added support for --use-syslog option to prober and addons. This should
Added new mp3-player from fd.o bug #6646
removed unneeded code and validate the returned string directly.
replaced fprintf () with dbg ()
cleanup: s/;;/;/
removed (again) unneeded code and validate the returned string directly.
Fixed path to the helper of the related backends, added several messages as
Added check for bash syntax in scipts to the new backend dirs.
Fixed mapping of system.formfactor from smbios.chassis.type. Added a check
removed net.interface_up property because we never refresh the value, since
set pointer adress to NULL after free()
set volume.block_size for blank CD/DVD to 0 to avoid stange values for
Fixed libhal_volume_get_size to return volume.size if available instead of
Added checks if vbetool is available and executable in /usr/sbin/, added
Patch from <chris.hollenbeck@gmail.com> to fix fd.o bug #7029 and correct
Added slightly adopted patch from Bob Copeland <me@bobcopeland.com> to add
fix configure and remove no longer available volume_id/Makefile from
Fixed build hal-spec.html to avoid invalid chars in the html page and
*** empty log message ***
fixed compiler warning about incompatible pointer types
fixed building of hal-spec.html
Removed Doxygen related files because hal does no longer use
Close memory leaks from not freed DBusError in libhal and libhal-storage
Close memory leaks from not freed DBusError in tools src dir
Fixed possible crash in hal_util_get_normalized_path ()
fixed compiler warnings and added doc/api/tmpl/.gitignore
Export hal user and group in pkg-config file
fixed several compiler warnings (warn_unused_result and format stuff)
set proc title for acpi/hid-ups/usb-csr addons
replaced LIBHAL_FREE_DBUS_ERROR with dbus_error_free()
fixed build of HAL
cleanup includes in hald/linux2/*
add more scsi.type mapping and add property info to spec
reduce useless changes on APM battery.remaining_time
remove shared.h for addons/prober and some little fixes
fix overseen left dbg() calls in probe-{storage,volume}.c
move hald/linux2 to hald/linux and renamed backend
fixed make for hald/linux/addons
add support for attribute 'empty' for strlist to <match> tag
add property alsa.device_pcm_classi
Added Panasonic SV-MP31V to USB Music Players
added detection of a SDC Card reader
performance patch to speed up mapping of pnp_ids to description
replaced LIBHAL_FREE_DBUS_ERROR with dbus_error_free()
removed not needed dir from repository
fixed usage of unchecked returnval from hal_util_strdup_valid_utf8
change detection of wireless, add net.irda and net.80211control
David Zeuthen:
add cryptsetup-luks dep
Post-release version bump to 0.5.8
Fix for /usr/sbin/pm-powersave for Fedora pm-utils 0.10-1
New file
Convert doc comments from Doxygen to gtk-doc
New file
Add back typedefs for LibHalPropertySetIterator and LibHalContext as they
New directory
Write requirements for HAL 0.5.8 (and CVS HEAD)
Add build rules for hal-policy-is-privileged
Generate policy/Makefile and policy/txt/Makefile
policy/txt/power-hibernate.policy (Allow),
forgot reboot
Use new policy framework to enforce policy. Always throw the same exception
New file
Add entry for my wireless mouse+keyboard combo
Move libhal-policy to a dedicated package PolicyKit (available in HAL CVS).
Remove libhal-policy bits
Patch from Gabriel Burt <gabriel.burt@gmail.com>. Add some useful keys for
Patch from Christian Neumair <chris@gnome-de.org>.
Use new suffix .privilege instead of .policy and prefix privilege files
s/--policy/--privilege/ and s/--uid/--user/
Fix for RH bug #185557
Patch from Gabriel Burt <gabriel.burt@gmail.com>.
Update to new PolicyKit API.
Patch from Joe Marcus Clarke <marcus@freebsd.org>. Move sockets to
This patch fixes endian-ness issues with the input device support of hal,
In Ubuntu we got several bug reports about device label gibberish, for
Don't stat autofs mounts. Patch from John (J5) Palmieri <johnp@redhat.com>.
Export a new environment variable with the unique name for callers system
Patch from Joe Marcus Clarke <marcus@freebsd.org> and Danny Kukawka
Be explicit about DIST_SUBDIRS as otherwise 'make distcheck' breaks.
Set capability volume.disc as required by the spec. Patch from Kevin Ottens
Add introspection support to hald.
Adds code so addons can claim interfaces and handle the methods on them in
Check properly for libpci. Patch from Frederic Peters <fpeters@0d.be>.
Handle LABEL= and UUID= in this function. (handle_mount): Also allow uid=
git stuff, mount/umount/eject all in C, .hal-mtab usage, light_sensor
(forgot to pass -a the first time) git stuff, mount/umount/eject all
Forgot to tweak tools/[linux/,freebsd/,]Makefile.am and remove old files.
Remove unused stuff.
Remove more unused stuff.
Remove examples from SUBDIRS; there is no examples/Makefile anymore.
Remove unused .fdi files.
Fix up LUKS stuff by using new kernel feature in Linux 2.6.17.
Change license of hald/linux2/blockdev.c to GPL only as I just
update HACKING file to mention git and commit format
add *~ to all .gitignore files for emacs users
clarify how to get a diff between your local repo and the master repo
introduce new option --disable-policy-kit and streamline the build
add properties required by a hypothetical disk utility and some bug fixes
fix device mapper block device handling as last commit broke this
add script examples/watch-mount-state.sh for monitoring key state files
update TODO list so it fits in with reality
add notes about new power saving mechanisms we should add
make a note of runtime power management in the TODO list
add note to doc/TODO about making Mount support option 'remount'
add note to doc/TODO about the o.fd.Hal.Device.VideoAdapterPM properties
add some more notes to doc/TODO
fix up device mapper device handling
use a more robust way of detecting partitions and fix block.is_volume
sleep before looking for slaves/ in sysfs for device mapper
fix removal of fakevolume objects and remove special handling for ide-cs
actually remove the ide-cs special handling code
add API to hald (and libhal) to change multiple properties at once
free dbus error freeing in lshal
fix up how we handle non-partitioned volumes
introduce some new properties for MS-DOS partition tables
fix uninitialized pc->merge_type
fix up hal interface claiming in cpufreq addon
make cpufreq addon use standard D-Bus expections for unknown methods
add new partition probing code and adapt hal code to use it
make addon-hip-ups use LibHalChangeSet
require addons to call libhal_device_addon_is_ready() to make device visible
make Mount() support option remount
fix some compiler warnings
fixup libparted detection
Frederic Crozat:
add support for Mandriva's tools for suspend and hibernate
Gabriel Burt:
Clarify what portable_audio_player.folder_depth means.
Holger Macht:
add cpu frequency scaling support to hal
Joe Marcus Clarke:
Split out the tools scripts into an OS-independent wrapper, and an
Add scripts to EXTRA_DIST
Remove a script which is only found in the OS-independent section. Spotted
Rename hal-luks-remove.in-linux to hal-luks-remove-linux.in to preserve the
Julien Sobrier:
add Archos Gmini 400 to USB Music Players
Julio M. Merino Vidal:
make libhal link against libintl for NetBSD (bug #6471)
do not use GNU specific == operator in calls to test(1) (bug 6467)
Kai Willadsen:
add Samsung U2Z to USB Music Players
Kay Sievers:
Add squashfs detection.
Add printer command set returned by 1284 query. "Each key will have at
Read name of cpu from /proc/cpuinfo. Some day we will have this in sysfs,
Add "COMMANDSET:" to the printer query parsing.
getline() expects size_t; fix alignment warning
fix typo
Prepare for new class devices showing up in /sys/devices instead of
Depend on external shared version of libvolume_id.
If HAL finds already created partitions, it will not longer probe for a
Remove internal copy of libvolume_id.
remove left over file from volume_id
Increase HAL_PATH_MAX from 256 to 512.
Remove dead code.
remove dead files after dead code removal
Replace dbus_connection_disconnect() with dbus_connection_close() (D-BUS
Fix requirements. The 'hotplug multiplexer' is gone long time ago.
.cvsignore -> .gitignore
add .o files to .gitignore
ISO-8859-1 -> UTF-8
Kevin Ottens:
correct the introspection to list all objects
Lennart Poettering:
added some USB card reader from fd.o bug #7749
Mark McLoughlin:
add support for Xen devices
Michael Burns:
fix ACPI acpid/proc configure options
Patrick Cherry:
add Samsung YP-Z5 to USB Music Players
Richard:
Add some more temp files to the .gitignore files.
Correct the error name, obviously a copy/paste error that's lived undetected in CVS for years.
Check for the new suspend2 sysfs location. Advised by Nigel Cunningham, many thanks.
Richard Hughes:
Fix build by including the new policy directory in the tarball, and by
Convert the key names to include a central dash between words, e.g.
Build hald-addon-acpi-buttons-toshiba. When the acpi->input patches get
Append hald-addon-acpi-buttons-toshiba
Ammend the spec as now button.has_state and button.type are not mandatory.
Patch from Paolo Borelli <pborelli@katamail.com>.
Refresh device types button, battery and ac_adapter on resume, as a suspend
Added new Logitech csr mice, mainly from Bastien Nocera for fd.o 6397. Also
Add --print-reply to dbus-send else the Rescan does not work. This should
Update the patch from http://bugs.freedesktop.org/show_bug.cgi?id=6397 as
Patch from Bastien Nocera <hadess@hadess.net>:
Patch from Bastien Nocera <hadess@hadess.net>:
Patch from Bastien Nocera <hadess@hadess.net>:
* hald/linux2/osspec.c: (set_suspend_hibernate_keys): Depreciate the keys
* doc/spec/hal-spec.html: * doc/spec/hal-spec.xml.in: *
Add org.freedesktop.Hal.Device.LaptopPanel.GetBrightness and
Rework a patch from Joe Marcus Clarke <marcus@FreeBSD.org> to fix a typo in
On some laptops, the brightness control is all done in hardware but the
Change the docbook2html check in the configure script to check for xmlto.
Re-add --print-reply to dbus-send else the Rescan does not work. This fixes
Add the video_adapter_pm namespace key descriptions for video power
Only allow org.freedesktop.Hal.Device.VideoAdapterPM to be used by root.
This adds a css style file to the generated html file. It makes the tables
Add the video adapter suspend and resume functionality so we can just drop
Update these with the new files to keep cvs diff happy.
As found in http://bugzilla.gnome.org/show_bug.cgi?id=345257 the hal
add spawn to dtd so make distcheck works
Add more files to .gitignore
properly convert mAh to mWh rather than uWh
modify battery.technology to one of a few present values
fix message when we try to set a brightness above range
fix the maximum brightness level for pmu hardware
S.ÃaÄlar Onur:
added Turkish translations
Sjoerd Simons:
Also recognize mute, volume up/down buttons, switchvideo mode button and
Add Catalan translation
hald-runner/runner.c: Close the stderr filedescriptor after reading it to
hald/linux/blockdev.c: Don't print things we don't have the arguments for. In
Requirements for HAL 0.5.8 "The Skynet Funding Bill is passed."
- Linux kernel >= 2.6.17
- util-linux >= 2.12r1
- bash >= 2.0
- udev >= 082
- dbus >= 0.60 (with glib bindings)
- glib >= 2.6.0
- expat >= 1.95.8
- libusb >= 0 0.1.10a (optional)
- pciutils >= 2.2.3 (optional
- dmidecode >= 2.7 (optional)
- parted == 1.7.1 (optional)
- cryptsetup-luks >= 1.0.1 (optional, needs LUKS patches)
==========
HAL 0.5.7 "Dead as Dillinger."
==========
Released February 24, 2006
- Fix spelling error for UnknowFailure in eject method (David Zeuthen)
- Kill subfs support in mount scripts (Kay Sievers)
- Privilege separation mega patch (Sjoerd Simons)
- Allow ejection of audio and blank discs (John Palmieri, David Zeuthen)
- Fix QueryCapability (Kevin Ottens)
- Disc capacity, fdo #2233 (William Jon McCann)
- Remove fstab-sync and related things (David Zeuthen)
- Remove volume.policy.* and storage.policy.* properties (David Zeuthen)
- Remove hotplug helper and use a udev rule instead (Kay Sievers)
- Remove old code for pcmcia fstab files (David Zeuthen)
- Add HP_RECOVERY to black-list of volumes to ignore (David Zeuthen)
- Remove drive_id and use udev data on coldplug (Kay Sievers)
- Switch eject detection to SG_IO interface, Novell #145147 (Kay Sievers)
- Start scripts in the directory they exist in (David Zeuthen)
- Don't use card id in ALSA and OSS UDI's (Jürg Billeter)
- Laptop panel objects and fixes (Richard Hughes)
- Pseudo bus for scsi_debug support (Kay Sievers)
- Samsung YP-U1 music player fdi file (Andrew Smith)
- Listen on appropriate input devices and generate appropriate
ButtonPressed events (Matthew Garrett)
- Export Mount, Unmount, Eject on drives we cannot poll (David Zeuthen)
- Only allow uid 0 and uid who mounted a volume to unmount it (David Zeuthen)
- Use hal's Unmount() for surprise removal (David Zeuthen)
- Make HAL cleanup mountpoints created by Mount() even if it was unmounted
by e.g. umount(1) (David Zeuthen)
- Allow spaces and UTF-8 in mount points (Jeffrey Stedfast, David Zeuthen)
- Fix UTF-8 validation of filesystem labels (David Zeuthen)
- Add Teardown to the Device.Volume.Crypto interface (David Zeuthen)
- Fix problems with dbus_error (Danny Kukawka)
- fix mapping system.formfactor from smbios (Danny Kukawka)
- Make StringListRemove actually work (David Zeuthen)
- Serialize method calls and don't crash if the device object went away
while methods were enqueued (David Zeuthen)
- Refuse to Mount() volumes listed in /etc/fstab (Ludwig Nussel)
- Fix get_uuid() and get_fsversion() in libhal-storage (David Zeuthen)
- Don't do initgroups (Martin Pitt)
- Fix libhal-storage memory leaks (David Zeuthen, reported by Brendan Creane)
- Tear down crypto links on surprise removal (David Zeuthen)
- Sync volume_id with udev version (Kay Sievers)
- Add two functions crypto_get_clear_volume_udi and
crypto_get_backing_volume_udi to libhal-storage (David Zeuthen)
- More privilege dropping (Martin Pitt)
- Add Blu-ray and HD DVD to code and spec (Artem Kachitchkine)
- Use blocking mode for PMU (Sjoerd Simons)
- Use a safe PATH in hald by default (Sjoerd Simons)
Requirements for HAL 0.5.7 "Dead as Dillinger."
- Linux kernel >= 2.6.15
- util-linux >= 2.13
- bash >= 2.0
- udev >= 078 (using udevsend as hotplug multiplexer)
- dbus >= 0.60 (with glib bindings)
- glib >= 2.6.0
- expat >= 1.95.8
- libusb >= 0 0.1.10a (optional)
- dmidecode >= 2.7 (optional)
- cryptsetup-luks => 1.0.1 (optional, needs LUKS patches)
==========
HAL 0.5.6 "Leave the gun. Take the cannoli."
==========
Released January 16, 2006
- new volume_id from udev upstream (Kay Sievers)
- listen to udev via a socket (Kay Sievers)
- Another USB card reader common theme (Pozsar Balazs)
- volume_id version 55 to fix strange FAT detection issues (Kay Sievers)
- Sony Ericsson mobile phones with Memory Stick (Pro Duo) fdi (Danny Kukawka)
- Samsung Yepp YP-ST5 fdi (Davide Ferrari)
- Use hash table for calculated charge rate (Danny Kukawka)
- Add checks to power management scripts (Danny Kukawka)
- Move scripts to $(datadir)/hal/scripts (Danny Kukawka)
- Fix for refreshing battery values on AC adapter transition (Richard Hughes)
- Add power_management.[can_suspend,can_hibernate] and remove the
power_management.is_enabled keys (Richard Hughes)
- Use the new poll-able /proc/mounts file from 2.6.15 (Kay Sievers)
- Allow strlists to be passed to method calls (Kay Sievers)
- Add Mount, Unmount, Eject methods to the new org.freedesktop.Hal.Device.
Volume interface (Kay Sievers)
- Update driver prop on physical device if class device binds (Kay Sievers)
- Force 'rate' to be zero if battery is neither charging nor
discharging (Ryan Lortie)
- Fix our DTD file and add validation for fdi files (Artem Kachitchkine)
- Add Shutdown() and Reboot() methods (Richard Hughes)
- Add HAL_METHOD_INVOKED_BY_UID to method call environment (Kay Sievers)
- Switch from xattr to .create-by-hal-file at mount point to determine
if a mount point is created by HAL's Mount() method (Kay Sievers)
- Remove HAL-created mount points at startup (Kay Sievers)
- SCSI generic device recognizition (Kay Sievers)
- Restrict org.freedesktop.Hal.Device.Volume to the console user (Kay Sievers)
- Set drive_type to 'disk' for new TYPE_RBC (Firewire) devices (Danny Kukawka)
- Added TEAC CD-R55S to list of broken CD/DVD burner (Danny Kukawka)
- Move uid_export to root scope to avoid corruption (Aaron Bockover)
- Introduce volume.mount.valid_options and generalize mount
script (David Zeuthen)
- Remove dead code in lshal (Danny Kukawka)
- Add neeeded NULL termination of an array (Chris Spiegel, fd.o #5279)
- Also let uid 0 invoke methods restricted to console user (Richard Hughes)
- Fix more vulnerabilities in script for Mount(), Unmount(), Eject()
(Kay Sievers, David Zeuthen)
- Add battery.reporting.* to UPS'es (David Zeuthen)
- Fixup a few compiler warnings (Danny Kukawka)
- UK translations (Ivan Petrouchtchak)
- V4L and DVB device recognizition (Kay Sievers)
- Match on info.capabilities, not info.category (John Palmieri)
- Sony PSP music player fdi file (James Henstridge, fd.o #5137)
- Fix incorrect reporting of volume.fsuage in libhal-storage (David Zeuthen)
- Introduce volume.ignore property, document it, make it available
in libhal-storage and make our Mount() script respect it (David Zeuthen)
- Add optical disc write speeds (Ryan Lortie, Danny Kukuwka)
- Use D-BUS calls for powersaved backend (Holger Macht)
Requirements for HAL 0.5.6 "Leave the gun. Take the cannoli."
- Linux kernel >= 2.6.15
- util-linux >= 2.13
- bash >= 2.0
- udev >= 078 (using udevsend as hotplug multiplexer)
- dbus >= 0.60 (with glib bindings)
- glib >= 2.6.0
- expat >= 1.95.8
- popt >= 1.10.2 (optional)
- libusb >= 0 0.1.10a (optional)
- dmidecode >= 2.7 (optional)
==========
HAL 0.5.5.1
==========
Released November 14, 2005
- Fix a few division by zero bugs (Danny Kukawka)
==========
HAL 0.5.5 "I want you to see what he's got under his fingernails."
==========
Released November 14, 2005
- Handle invalid UTF-8 from serial numbers of storage devices (Danny Kukawka)
- Try reconnect to acpid (Danny Kukawka)
- Calculate rate when not reported (Søren Hansen, Danny Kukawka)
- fd.o bugs #4871, #2850, #2121, #3954, #4266, #4644, #2115,
#3036(Danny Kukawka, Others)
- Major rework of lshal (Pierre Ossman)
- Comment out multi-session query for optical discs (Kay Sievers)
- Update to from AFL 2.0 to AFL 2.1 (David Zeuthen)
- Prepare for 2.6.15 compatibility (Kay Sievers)
- Update spec some (Danny Kukawka)
- Card reader .fdi files (Jerome Lodewyck)
- Look at all netlink messages, not just the first one (Jon Nettleton)
- Add --version to hald (Danny Kukawka)
- Add some hack to work around broken and racy /proc/mounts (Danny Kukawka)
- Add option for using the syslog (Danny Kukawka)
- Support 'EjectPressed' condition for optical drives (Kay Sievers)
- More checks for if a system is a laptop (Danny Kukawka, Richard Hughes)
- Update list of PNP ID's (Danny Kukawka)
- Update to volume_id version 52 (Kay Sievers)
- Remove non-polling blacklist entry for HL-DT-STCD-RW/DVD-ROM GCC-4240N
since this works on Linux 2.6.13 (Danny Kukawka)
- Handle non-existing add-ons (Danny Kukawka)
- Deal with acpid restarts (Ryan Lortie)
- Fix fstab-sync parsing (Pascal Terjan)
- Work with newer dmidecode (Richard Hughes)
- Some serial port support and MMC storage fixes (Pierre Ossman)
- Fix build by not using kernel-style data types (Martin Pitt)
- Suspend/hibernate functionality for distros without tools (Richard Hughes)
- Workaround for some buggy ACPI implementations (Ryan Lortie)
- SetBrightness and GetBrightness methods (Richard Hughes)
- Various S390 device handling fixes (Cornelia Huck)
Requirements for HAL 0.5.5 "I want you to see what he's got under his fingernails."
- Linux 2.6.13 or later
- udev 071 or later (using udevsend as hotplug multiplexer)
- dbus 0.50 or later (with glib bindings)
- glib 2.6 or later
- expat
- popt (optional)
- libusb (optional)
- dmidecode (optional)
==========
HAL 0.5.4 "Never tell anybody outside the family what you're thinking again."
==========
Released August 26, 2005
- Fixes to build on Solaris (Alvaro Lopez Ortega)
- Detect DVD+R Dual Layer (Danny Kukawka)
- Fix hal-device-manager (John 'J5' Palmieri)
- Methods on hal device objects (David Zeuthen)
- LUKS integration (W. Michael Petullo)
- Add defensive measures to libhal to avoid potential segfaults (Danny Kukawka)
- Add extra ACPI information (Danny Kukawka)
- Fix volume.disc.is_rewriteable for DVD+R/DVD+R DL (Danny Kukawka)
- Add new features to hal-set-property (W. Michael Petullo)
- Fixup percentage computation for batteries (Richard Hughes)
- Updated translations (Novell/SUSE translation team)
- Update all GPL license headers to FSF's new address (Danny Kukawka)
- Use consistent battery charge units (Ryan 'desrt' Lortie)
- Various battery-related fixes (Richard Hughes, Danny Kukawka)
- ALSA/OSS fixes (Danny Kukawka)
- Tape device fixes for S390 (Cornelia Huck)
- Export correct volume.fsuage from libhal-storage (David Zeuthen)
- Introduce battery.reporting properties (Richard Hughes, Danny Kukawka)
- Sync up to latest volume_id from udev (Kay Sievers)
- Introduce system-wide power management scripts (David Zeuthen)
- Fix how HAL detects PDA's (Danny Kukawka)
- Fix misc audio player stuff (Pierre Ossman)
- Integration for SUSE powersave (Danny Kukawka)
- Export mmc_host capability (Pierre Ossman)
- Bump timeout on detection time (Cornelia Huck)
- Detect joysticks (Danny Kukawka)
- Fix symbol visiblity with gcov (Cornelia Huck)
- Stop sending invalid UTF-8 characters from volume labels (Danny Kukawka)
- Handle non-existing callouts in a graceful manner (Kay Sievers)
- Various cleanups and fixes (Richard Hughes, Danny Kukawka)
==========
HAL 0.5.3 "I didn't ask who gave the order, because it had nothing to do with business."
==========
Released July 12, 2005
- hal-find-by-capability and hal-find-by-property tools (David Zeuthen)
- Fix some of the bugs from johnp's port of h-d-m (David Zeuthen, Kay Sievers)
- Trigger rescan of ACPI objects when receiving events (Richard Hughes)
- Fix key for storage.cdrom.dvdram (Danny Kukawka)
- Don't use sync as part of the normal mount option policy (David Zeuthen)
- Update fstab-sync man page (David Zeuthen)
- Fix a bug in hal_property_new_string (Martin Pitt)
- Fix --help output (Danny Kukawka)
- Detect DVD+R DL media (William Jon McCann, David Zeuthen)
- Add empty Solaris backend and fix build for Solaris (Alvaro Lopez Ortega)
- Support various S390 devices (Cornelia Huck)
- Prepare hald to work with newer udev versions (Kay Sievers)
- Unify various error handling functions (Steffen Winterfeldt)
- Add infrastructure + tools to populate the hal db (Steffen Winterfeldt)
- Fixup MMC storage cards drive type on MMC bus (Pierre Ossman)
- Handle case where the battery life is degrading (Richard Hughes)
- Make libhal_ctx_init() fail if hald is not running (David Zeuthen)
- New translations: nb (Kjartan Maraas), es (Francisco Javier F. Serrador)
==========
HAL 0.5.2 "Can't do it, Sally."
==========
Released May 12, 2005
- Calculate remaining time for batteries (Richard Hughes)
- libhal documentation update (Rohan McGovern)
- Tweak default policy to automount 'mmc' devices (Pierre Ossman)
- PMU lid button and battery polling fixes (David Zeuthen)
- Detect PTP cameras (Pozsar Balazs)
- Include script to generate libgphoto2 .fdi file (Pozsar Balazs)
- Unmount by mount point instead of by device file (Rohan McGovern)
==========
HAL 0.5.1 "Sonny...?"
==========
Released Apr 27, 2005
- Teach volume_id about Minix and a bunch of ATA raid signatures
and use last label on multi-session discs (Kay Sievers)
- Extract certain stuff using dmidecode and populate smbios.*
properties and populate some newer computer.* properties
- Change sesame to luks (W. Michael Petullo)
- Cope with double hotplug events and other boundary conditions
wrt. hotplug events (Kay Sievers)
- Add some more USB2 card reader .fdi files
- Make hal know about Firewire devices yet again
- Export info.linux.driver for every physical device
- Match PalmOS style pda's (Andrei Yurkevich)
- zh_TW translation (chaoweilun@pcmail.com.tw)
- Use direct d-bus connection for helpers instead of routing
the traffic through the system bus
- Several memory leak fixes
- Update h-d-m to use Python bindings in D-BUS 0.33 or later
- Use new udev feature to read all device file names in one go
- Various fixes (Richard Hughes, Steve Grubb, Kay Sivers,
Murray Cumming, Martin Pitt, Bill Nottingham)
Requirements for HAL 0.5.1 "Sonny...?"
- Linux 2.6.11 or later
- udev 057 or later (using udevsend as hotplug multiplexer)
- dbus 0.33 or later (with glib bindings)
- glib 2.6 or later
- expat
- popt (optional)
- libusb (optional)
==========
HAL 0.5.0 "The family had a lot of buffers."
==========
Released Mar 7, 2005
- Completely rewritten backend code including splitting work that
requires privileges into separate processes
- HAL daemon should be more restitant to broken kernel drivers thanks
to the split into multiple processes
- Test suite
- New features
- String list property type
- New device information file features
- ACPI/PMU/APM/hiddev UPS abstractions
- Not backwards compatible since D-BUS broke ABI (porting effort is
minimal though)
- Updated list of TODO items providing a roadmap
Requires
- Linux 2.6.10 or later built with hotplug and uevents
- udev 050 or later with /sbin/udevsend as the hotplug helper/multiplexor
- D-BUS 0.31 or later including glib and (optionally) Python bindings
- glib2 2.4 or later
========================================================================
Branched sometime after 0.4.2 - all 0.4.x release are now on the
branch called hal-0_4-stable-branch in CVS.
==========
HAL 0.4.2 "Something like that. Tastes the same anyway."
==========
Released Dec 1, 2004
- Add blacklist for not polling certain IDE slave drives as that
decreases performance
- Support for Linux kernels 2.6.10-rc2 and onwards
- Only lazy unmount devices if {storage.volume}.policy.should_mount is
TRUE - e.g. don't lazy unmount devices we don't care about
- Support for IDE Zip and Jaz drives (treated as floppy drives)
- Various fdi-parsing enhancements
- Don't add 'ro' to optical drives as it prevents DVD-RAM usage
- Support 256 partitions instead of only 16
- small h-d-m UI bugfix (Sjoerd Simons)
- small h-d-m UI bugfix (Bryan Clark)
==========
HAL 0.4.1 "What's that? Chicken?"
==========
Released Nov 2, 2004
- Make $(binpath)/hal-device-manager a real executable instead of a
symlink to better work with strict SELinux (Colin Walters)
- Change default storage policy such that SCSI optical drives are being
added to e.g. /etc/fstab
- Refine PCMCIA socket location to better work with strict SELinux
(from Dan Walsh)
- Make configure.in require libcap development headers (Tim Müller)
- Change default storage policy to not add fixed non-hotpluggable disks
to e.g. /etc/fstab (as ATARAID detection is not yet complete)
- Support PCMCIA 16-bit network devices (Dan Williams)
- Change default storage policy to use 'auto' for filesystem instead of
'udf,iso9660'
- Probe ext3 filesystems before NTFS filesystems
- Highpoint ATARAID detection (Kay Sievers)
- Fixup detection of Orinico 802.11 devices (Dan Williams)
- Portuguese translations (Pedro Morais)
- Hungarian translations (Laszlo Dvornik)
- Russian translations (Leonid Kanter)
- Clarify fstab-sync man page
- Fix crash in fstab-sync when no options are given
- Change default storage policy to allow legacy floppy disks
- Fixup order of mount options in libhal-storage as mount depend on that
- Handle missing hotplug events
- Change default storage policy to not never use UUID
- Don't use O_NONBLOCK in volume_id when reading data block devices
- fix fstab-sync clean
==========
HAL 0.4.0 "It's origin and purpose, still a total mystery"
==========
Released Oct 17, 2004
- Use pamconsole mount option instead of user (David Zeuthen)
- Remove fstab-sync configure options (David Zeuthen)
- Unchecked buffer access fix in pci device detection (Martin Pitt)
- Allow hal euid to AddProperty and other operations (Sjoerd Simons)
- Fix netlink packets interceptor such that only packages from the
kernel is processed - security fix (Steve Grubb)
- Device information file parser fixes (David Zeuthen)
- fstab-sync manual page (David Zeuthen)
- Make fstab-sync use storage policy properties (David Zeuthen)
- libhal-storage C glue to access new storage policy (David Zeuthen)
- RemoveProperty requires privileged user (David Zeuthen)
- Add prop to computer obj saying if selinux is enabled (David Zeuthen)
- Lots of new .fdi-file parser feature (David Zeuthen)
- Define new storage policy properties (David Zeuthen)
- Check that legacy floppy drive actually exists (From Bill Nottingham)
- Fixup {pci, usb} fd leaks (Sjoerd Simons)
- Look for BLKGETSIZE64 in configure.in (Jonathan Blandford)
- Handle initial hotplug events more graceful (David Zeuthen)
- Checks for sysfs path and unprivileged execution fixes (Martin Pitt)
- libhal fix for hal_get_all_devices (Colin Walters)
- vfat fs detection as the first thing (Martin Pitt)
- Fixup cdrom polling to be more safe (From Alexander Larsson)
- Detect USB floppy drive by looking at USB if class (David Zeuthen)
- Make fstab-sync use msdos partition id whitelist (David Zeuthen)
- Dutch libhal-storage translations (Reinout van Schouwen)
- Debian support for hal_hotplug_map (Sjoerd Simons)
- Require superuser for SetProperty and AddCapability (David Zeuthen)
- libhal shutdown 'fix' (David Zeuthen)
- SATA disk checking (From Alan Cox)
- Fix end-of-marker and FAT UUID conversion (Kay Sievers)
- storage.icon.drive, storage.icon.volume properties (David Zeuthen)
- storage.require_eject property (David Zeuthen)
- French libhal-storage translations (Jérôme Lodewyck)
- LVM2/RAID detection fixes (Kay Sievers)
- New libhal-storage library and i18n support (David Zeuthen)
- Partition id fixes (Kay Sievers)
- Unchecked buffer access fix in cdrom speed detection (Martin Pitt)
- USB serial device support (Kay Sievers)
- volume_id logging glue (Kay Sievers)
==========
HAL 0.2.98
==========
Released Sep 20, 2004
- UUID for NTFS partitions (Kay Sievers)
- Fixup --with-pid-file (Tim Gerla)
- Volume ID fix for FAT32 label (Kay Sievers)
- volume.num_blocks, volume.block_szie
- Fix dev,suid security issue with fstab-sync
- Use async,noatime for removable or hotpluggable drives smaller than
2 GB in fstab-sync
- Symlink device node checks in fstab-sync
- Build fixes (Steve Grubb)
- Reiser and swap versions
- Require .hal extension for callouts
- Introduce HALD_VERBOSE that works even if hal is not built with
verbose mode. Make logging output nicer with timestamps
- Rewrite of device detection code - huge performance wins
- Make fstab-sync write to syslog when modifying fstab file
- Invoke fstab-sync --clean on hald startup
- Export HALD_VERBOSE to callouts
- Volume id fixes (Sjoerd Simons)
- Fixup symlink resolving in fstab-sync
- fstab-sync name computation fixes
- Add --enable-fstab-sync configure option
- Add info.udi to computer hal device object
- RAID probing in volume id (Kay Sievers)
- Introduce new callout hal-hotplug-map to look at gphoto2 and
libsane usermaps on Linux and tag devices accordingly
- Fixup debug
- fstab-sync doesn't require storage device on remove
- Introduce volume.fsusage and use it in fstab-sync (Kay Sievers)
- Don't check for a C++ compiler (Joe Shaw)
- Add kernel.* properties to computer (Joe Shaw)
- Fix libsysfs memory leak (Steve Grubb)
- LVM probing and RAID version numbers in volume id (Kay Sievers)
- Callout / Race condition fixes
- Set priorities on hal.dev and hal.hotplug helpers so we run before
linux-hotplug etc.
- SELinux support for fstab-sync
- Timeout fixes in hal.hotplug (Kay Sievers)
- Respect the /sys/block/<dev>/removable file
- Don't remove mount point entries for devices that are mounted with
fstab-sync --clean
- 64-bit unsigned integer properties (Jon Lech Johansen)
- boolean property fixes (Joe Shaw)
- Intercept unchecked ioctl's (Martin Pitt)
- Introduce --drop-privileges (Martin Pitt)
- Only add -lexpat for hald (Sjoerd Simons)
- Ignore duplicate hotplug events
- Volume ID vfat fixes on BE boxes (Sjoerd Simons)
- Fixup hald.conf.in as I broke it earlier
- Force initial poll even if drive is not removable
- Fixup HFS+ volume id (Kay Sievers)
- Multimedia device support (Kay Sievers)
- Use 64-bit sequence numbers and use textual action (Kay Sievers)
- HFS+ UUID fixes (Kay Sievers)
- Support network device renaming
- Rename networking properties to net.80203 and net.80211
- Make hald write the pid file, not the init script (Steve Grubb)
- Fix endless loop for broken FAT32 volumes in volume id (Kay Sievers)
- Add advisory locking on devices (Joe Shaw)
- SELinux fixes for fstab-sync (Dan Walsh)
- Fixup volume.is_rewritable for some broken drives (Alexander Larsson)
- Fix FD leak (Sjoerd Simons)
- Update spec to catch up with code
- Add volume.partition.* properties
==========
HAL 0.2.97
==========
Released Aug 16, 2004
- fstab-sync: lock around the entire process (seems to work very well
now)
- use local sockets for communication between hotplug.d/dev.d helpers
and hald (fixes d-bus limit issues)
- reorder hotplug messages (fixes issues with hotplugging 20 usb
devices at the same time (using a hub))
- don't process next hotplug message before device from current message
is fully processed and in GDL (fixes issues with usb devices needing
firmware uploads and thus will hotplug rem to hotplug add as a new
device)
- turn off media detection for drives being driven by the ide-cs driver
- don't use drive_id or volume_id on drives with media detection turned
off (fixes infinite hotplug loop with e.g. ide-cs drives)
==========
HAL 0.2.96
==========
Released Aug 12, 2004
- dist HACKING (Joe Shaw)
- fix missing detection of optical disc when starting
- enhanced hfs/hfsplus detection (Kay Sievers)
- make libhal work with c++
- validate incoming strings as UTF-8 (Joe Shaw)
- try to reconnect to system bus if disconnected (Joe Shaw)
- ethernet link status fixes (Dan Williams)
- read vital product data from drives (Kay Sievers)
- block device UDI computation enhancements
- only return RESULT_HANDLED in libhal if we really handle the message
- fix small memory leaks in libhal (Dan Williams)
- spec now matches code
- remove info.virtual concept
- make USB interfaces a first class device object
- fstab-sync no longer needs a wrapper (Ray Strode)
- handle removable media without partition tables
- fstab-sync: add entries for floppy/optical drives
- fstab-sync: don't add entries if device is listed with LABEL=
==========
HAL 0.2.95
==========
Released July 22, 2004
- Faster hotplugging; fork hack
- Moved spec to hal module
- Actually build Doxygen docs for libhal
- Computer found in city of lost devices (Joe Shaw)
- Experimental shutdown on SIGTERM
- Use O_EXCL for optical disc detection
- TODO update
- libsysfs upgrade to 1.1 (Kay Sievers, Joe Shaw)
==========
HAL 0.2.94
==========
Released July 15, 2004
- SCSI device detection fixes (Sjoerd Simons)
- fstab-sync callout in C (Ray Strode)
- hal-device-manager GTK+ error dialog (Sjoerd Simons)
- Volume Label fixes (Kay Sievers)
- Storage device detection and fixes (David Zeuthen, Sjoerd Simons)
- No media detection for devices using floppy drivers, e.g. LS120 (davidz)
- HAL commandline tool interface cleanups (Martin Waitz)
==========
HAL 0.2.93
==========
Released July 5, 2004
- Volume probing and label additions fixes (Kay Sievers)
- hal.dev doesn't slow down udevstart or udev anymore (David Zeuthen)
http://www.redhat.com/archives/fedora-devel-list/2004-July/msg00261.html
- Volume mount detection fixes (David Zeuthen, pointed out by Sjoerd Simons)
- Persistent device store (still disabled) (Kay Sievers)
- Fix of 802.3 link detection (Dan Williams)
- Removal of wireless scanning (Joe Shaw, Robert Love)
====================================
HAL 0.2 "Open the Pod Bay Door, Hal"
====================================
So, I've promised a release of HAL before Christmas, so here goes
version 0.2. It's not at version 9000 yet, so it won't do any device
configuration (like closing your Pod Bay door device), and it probably
never will. That's right, HAL is a lot simpler than earlier envisioned.
To get an idea of what I'm talking about, you might want to read the
updated spec available at http://freedesktop.org/Software/hal and give
the tarball a testdrive.
Special thanks to Martin Waitz for patches to package HAL.
What is it?
===========
HAL is a hardware abstraction layer and aims to provide a live list of
devices present in the system at any point in time. HAL tries to understand
both physical devices (such as PCI, USB) and the device classes (such as
input, net and block) physical devices have, and it allows merging of
information from so called device info files specific to a device.
HAL provides a network API through D-BUS for querying devices and notifying
when things change. Finally, HAL provides some monitoring (in an unintrusive
way) of devices, presently ethernet link detection and volume mounts are
monitored.
This, and more, is all described in the HAL specification
Where can I get it?
===================
http://freedesktop.org/~david/hal-0.2/spec/hal-spec.html
http://freedesktop.org/~david/hal-0.2/hal-0.2.tar.gz
How do I build and run HAL?
===========================
You'll need recent glib, expat and d-bus from CVS to build HAL. Also
pygnome and pygtk is required to run the GUI device manager. A Linux
2.6 kernel is also required. HAL integrates with udev (udev sends D-BUS
messages by calling udev_dbus in /etc/dev.d/). You'll also need a recent
version of linux-hotplug.
The client library, libhal, for use in desktop application, only
requires dbus (which doesn't have any dependencies) so both KDE and
GNOME people should be happy.
To build, do the usual ./configure; make; make install dance. Make
sure to install into same prefix as D-BUS, otherwise you'll need to
copy some files yourself. Now restart D-BUS to reload the policy
configuration files and (as root) start hald - the HAL daemon.
You can now start hal-device-manager from a separate terminal. Try
plugging or unplugging USB storage or Cardbus (PCMCIA) devices and
check out the device list change. Also, try unplugging your network
cable while looking at the properties for that device.
If you're the advanterous type, you can try to run
examples/volumed/volumed.py
from the tarball while plugging in USB storage. This example shows how
a volume manager built on top of HAL could work. It doesn't really
mount anything, but it does print out a line when it would have
mounted or unmounted a volume. Obviously, you'll need udev for this.
It's also great fun (!) to fiddle around with writing .fdi files for
your devices. I've included a single .fdi file in the distribution to
match my digital camera. You can also play around with the
hal-get-property and hal-set-property tools; the latter can be used to
set the info.persistent property to keep unplugged devices in the
device list to retain the properties of the device while it is
unplugged.
Is this stable software?
========================
No way, not yet, at best consider this release a development
snapshot. It has been tested on Fedora Core 1 (i386) and Debian (ppc),
both with 2.6.0-test11 kernels.
There's still lots of small issues I'd wish was resolved before this
release, that's detailed in doc/TODO in the tarball. Most of the short
term issues will probably be addressed in the next release, 4-8 weeks
from this release. Also, important busses, such as IEEE1394, is not
supported yet.
However, even though the API may change somewhat, I think we have
now got the basic infrastructure necessary to start building
application and integrating HAL into desktop environments. That
was the grand plan anyway :-)
Please send bug reports, suggestions and patches to the xdg-list. Do
consult the TODO list to see whether the issue is already known.
|