Description of problem: No way for user to disable device polling other than editing system files Version-Release number of selected component (if applicable): hal-0.5.8.1-25.el5_1.1 How reproducible: Always Steps to Reproduce: 1. Research how to prevent HAL from polling my unused CD-ROM driver 2. Note references to utility "hal-disable-polling" which is not included in the RHEL5.1 packages. 3. End up editing /usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi to prevent polling Actual results: Must edit system file to disable HAL's device polling. Expected results: There should be a way other than editing system files to disable HAL's device polling Additional info: I only use my CD-ROM drive once every ~2 years, to upgrade the operating system. So why do I have to live with the high-frequency polling of the drive every minute of every day? This polling is consuming precious CPU and bus bandwidth (at a rate of 37260 interrupts per hour) and providing nothing I want in return. Please provide a method if disabling device polling. I've edited the system file as noted above but that change will be lost on the next update of the HAL RPM. I don't care if the solution is providing the "hal-disable-polling" utility or some sort of /etc/sysconfig/haldaemon hack to the init script. Thank you.
You can simply drop an fdi in /etc/hal/fdi - that's why it's there (to allow sysadmins to override policy). To make this even easier use the for example # cat /etc/hal/fdi/information/media-check-disable-DVD_GCC4244.fdi <?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <match key="info.udi" string="/org/freedesktop/Hal/devices/storage_model_CDRW/DVD_GCC4244"> <merge key="storage.media_check_enabled" type="bool">false</merge> </match> </device> </deviceinfo>
If haldaemon is not install then how do i disable polling? I am running on RHEL 5.5 64 bit. I want to disable polling for tape.