From d9da9ff21592d54bcdebcb860f0af75bd0c73268 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sat, 8 Aug 2009 18:41:20 +0000 Subject: [PATCH] Add an FAQ on how to disable hald from polling CD/DVD drives when trying to use them. --- en/gnome/docs/halfaq.sgml | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/en/gnome/docs/halfaq.sgml b/en/gnome/docs/halfaq.sgml index c50dcbee71..1d2d4e9f0d 100644 --- a/en/gnome/docs/halfaq.sgml +++ b/en/gnome/docs/halfaq.sgml @@ -1,6 +1,6 @@ - + ]> @@ -18,6 +18,9 @@
  • How do I troubleshoot problems with hal?
  • Does hal support Fuse file systems?
  • +
  • Hal is interfering with my CD/DVD drive when I + want to play a disc or burn something. How can I stop this from + happening?
  • Full Text

    @@ -331,6 +334,40 @@ proc /proc procfs rw 0 0 for more details.

    + +
  • +

    Hal is interfering with my CD/DVD drive when I want to play + a disc or burn something. How can I stop this from + happening?

    + +

    Applications which are not hal-aware will not be able to + tell hald to stop polling CD/DVD drives when they begin to use + them. Because of this, hald may cause these applications to + abort because two different processes are trying to use the + device at the same time. Applications such as totem, k3b, + sound-juicer, etc. should not be affected as they are + hal-aware. For other applications, you can start them using + the hal-lock command. This command will try and + lock the device in question. If successful, hald will stop + polling the device, and hal-lock will spawn the + desired application. The arguments to hal-lock are + as follows:

    + +
    +% hal-lock --interface org.freedesktop.Hal.Device.Storage --udi UDI --run COMMAND
    +
    +

    You can use lshal to determine the proper + UDI value. For example, to run abcde to + extract tracks from a CD:

    + +
    +% hal-lock --interface org.freedesktop.Hal.Device.Storage --udi /org/freedesktop/Hal/devices/storage_model_DVD__RW_DVD8801 --run abcde
    +
    + +

    As soon as the application finishes, the lock will be + released.

    +
  • + &footer;