Author Topic: 2nd hard drive keeps "getting added"  (Read 935 times)

Afkpuz

  • Guru
  • ****
  • Posts: 211
    • View Profile
2nd hard drive keeps "getting added"
« on: November 21, 2008, 02:55:39 am »
I have a secondary sata drive which keeps getting added to my system.  Every so often, a message pops up in the top left which says "finished adding new device /dev/sda1...etc".  This happens at random times and with lots of time in between each occurrence.  Is this a common occurrence?  I've had this happen on several different installs.  How can I stop this?  Oh, and my other hard drive (with the OS on it) is IDE based.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: 2nd hard drive keeps "getting added"
« Reply #1 on: November 21, 2008, 03:26:01 pm »
This is a normal occurance, and it is ....

how to explain this,

We have a Plug-and-play plugin which actively awaits events from other devices which provide the actual transports. In this case, we have a device for interfacing with HAL.

Right now, each time something changes on the HAL tree (and I do mean anything, such as when a device is mounted/unmounted), a device detected event is fired and bubbles up to the plug and play plugin.

On the other side of things, we have an intricate automounter script that is very aggressive on mounting and unmounting things when a device is needed and immediately when it's not needed.

So we basically need to smooth the interaction of these pieces so that they are more intelligent at detecting when devices actually are connected/disconnected/etc, and to make it so that these things don't clutter up the pnp queue.

it's just a case of many moving parts, things work as they should on a functional level, but there are some interesting side effects due to all the communication and interaction of the moving parts.

-Thom

seth

  • Guru
  • ****
  • Posts: 485
  • A day w/o LinuxMCE is like a day w/o sunshine!
    • View Profile
Re: 2nd hard drive keeps "getting added"
« Reply #2 on: November 21, 2008, 05:56:51 pm »
 :)
Is there a way to disable the notification? I have noticed this from time to time on my setup as well.
I figure there has to be a way to disable messaging on a certain device.

Regards,

Seth
".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

http://wiki.linuxmce.org/index.php/User:Seth

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: 2nd hard drive keeps "getting added"
« Reply #3 on: November 21, 2008, 06:06:54 pm »
Short answer, no.

-Thom

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4451
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: 2nd hard drive keeps "getting added"
« Reply #4 on: November 23, 2008, 12:02:40 am »
:)
Is there a way to disable the notification? I have noticed this from time to time on my setup as well.
I figure there has to be a way to disable messaging on a certain device.

Regards,

Seth

Try going to web Admin and then to the Device Template for the Orbiter on your MD. Scroll down to near the bottom of the screen and find the 'Alert Filter Level' field. This controls  what alerts are displayed by the Orbiter in the top left hand corner of the screen. By default this is set to 'All'. Try setting it to 'important' (dont use the quotes in the field of course!) or possibly 'none' (this should suppress all alerts... this might not be a good idea though). Once you have changed this field click 'Save' and then do a reload router.

All the best

Andrew
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk