From d9da9ff21592d54bcdebcb860f0af75bd0c73268 Mon Sep 17 00:00:00 2001
From: Joe Marcus Clarke 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.
+