Jump to content
  • Announcements

    • spinynorman

      Mandriva Official Documentation

      Official documentation for extant versions of Mandriva can be found at doc.mandriva.com.   Documentation for the latest release may take some time to appear there. You can install all the manuals from the main repository if you have Mandriva installed - files are prefixed mandriva-doc.
    • paul

      Forum software upgrade   10/29/17

      So you may have noticed the forum software has upgraded !!!
      A few things that have changed. We no longer have community blogs (was never really used) We no longer have a portal page.
      We can discuss this, and decide whether it is needed (It costs money) See this thread: Here
eroica

how to get hal to stop polling cdrom?

Recommended Posts

hello,

i'm getting constant activity on my cd/dvd laptop player and see in Device manager that the value "storage.media_check_enabled" is set to true. I want to toggle to false in hopes it will kill activity light. I tried this custom.fdi file:

?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->

<deviceinfo version="0.2">

 

<device>

 

<!-- Handle unnecessary polling of CD/DVD drive -->

<match key="storage.bus" string="ide">

<match key="storage.model" string="TOSHIBA DVD-ROM SD-R2102">

<match key="block.device" string="/dev/hdc">

<merge key="storage.media_check_enabled" type="bool">false</merge>

</match>

</match>

</match>

 

</device>

</deviceinfo>

 

but alas on reboot key is still true. I have put this file in /usr/share/hal/fdi/95userpolicy. Any ideas on how to toggle this value.

thanx...

Share this post


Link to post
Share on other sites

Uninstall hal. ;)

Share this post


Link to post
Share on other sites

/usr/bin/hal-device-manager is the program i'm refering to. i believe it is derived from gnome but i've used it for awhile under kde 3.4.1. i'm sorry but how does one tell if dvd is using supermount. i know mdv 2006 changed out of the fstab file to udev i believe or something like that in the udev.d directory??

Share this post


Link to post
Share on other sites

If you are using supermount it should be evident in your /etc/fstab

 

Perhaps removing the supermount would fix your problem? I am just guessing here. I did a google search and found some of your posts on the Mandriva Club forum :lol2: I got the impression you had resolved your problem from reading the posts?

Share this post


Link to post
Share on other sites

yeah i did. but silly me went and updated kernel (2.6.17) & hal from mde repo and problem started again and killing kde service does not work in solving problem anymore. I'm not at my laptop now to check fstab so i'll get back to you.

Share this post


Link to post
Share on other sites

Standard 2006 only uses supermount for the floppy, so even with modified MDE versions, you'd still be using hal for the mounting of CD's.

 

I think this is a post for the MDE forums considering the mods you've applied, since hal works perfectly fine on my non-modified 2006.

Share this post


Link to post
Share on other sites

yeah youre right here is cd line:/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0

 

I feel like i keep being sent to the principal's office the way u keep moving my post's since I did mod |:)

Share this post


Link to post
Share on other sites

Your line is practically the same as mine, my iocharset ends in 15 instead of 1, but that shouldn't cause your problem.

 

Hopefully MDE or THAC will appear and be able to explain or fix the problem you're experiencing.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×