Start > Linux Tips & Trics > hal & ivman

hal & ivman

2 februari 2006

Using the Hardware Abstration Layer (HAL) and the volume manager lvman, you can do nice things, like automatically mount drives or play cdroms and dvd’s. Also it can help you stop doing things you hate like automtically mount drives or play cdroms and dvd’s.

Both hal and lvman come standard with my Ubunto distro, but I’m sure you will be able to found information how to make these two run on your favourite distro.

In this article I’ll tell you how I use it.

# lshal
gives you all kinds of information that the hal is able to tell you about your computer. All of this information will help you configuring the things you want to do if something happens with your hardware.

know have a look at the lvman configuration file /etc/lvman/IvmConfigActions.xml. You will see some examples that are already configured by Ubuntu. If you want you can disable the autorun function for CD’s, look for lines like these (at least in Kubuntu, in Ubuntu it will be slightly different):

just add comment tags  around these lines or delete them if you don't want autorun.If I plug in my digital camera I want digikam to start. So I plugged in the camera, used lshal to look for the info I found for the camera and decided I want tu use the device_id as identifier for lvman:

			
Categorieën:Linux Tips & Trics Tags:
Geen reacties mogelijk.