Mac system plugin turning on/off continuosly

Posted on
Thu Aug 20, 2015 10:15 am
rvarela offline
Posts: 80
Joined: Oct 16, 2012

Mac system plugin turning on/off continuosly

Hi,
I am trying to implement a volume device using mac system plugin 2.01. The volume I want to use is a shared volume on a Synology 412. In the Indigo event log the device primarily shows off, and continuously switiching off/on at shorts intervals. It is actually mounted and working in the finder. What can I be doing wrong? Thanks,

Posted on
Fri Aug 21, 2015 8:01 am
bip.philippe offline
Posts: 58
Joined: Feb 20, 2013
Location: France

Re: Mac system plugin turning on/off continuosly

Hi,

Can you set the plugin in debug mode "4", wait a little, and send me the resulting log ?
(You can then return to the standard logging mode.)

I will analyse the log to understand what is going on.

Regards,

Posted on
Sat Aug 22, 2015 5:27 am
rvarela offline
Posts: 80
Joined: Oct 16, 2012

Re: Mac system plugin turning on/off continuosly

HI Philippe,

Thanks for your assistance. I set the debug mode to 4, created a volume device called Respaldos (it is shared volume from a Synology NAS), and waited a little. Here is the log:

22 Aug 2015 13:20:25
Mac System Debug end of validating Prefs
Mac System Debug going to sleep for 10.0 seconds
Mac System Debug going to sleep for 10.0 seconds
Mac System Debug time ellapsed for dialog timer "Read volume data"
Mac System Debug validating Device Config called for: (139075141 - bip.ms.volume)
Mac System Debug input value dict VolumeID is 'Respaldos'
Mac System Debug input value dict forceQuit is False
Mac System Debug input value dict keepAwaken is False
Mac System Debug output value dict VolumeID is 'Respaldos'
Mac System Debug output value dict forceQuit is False
Mac System Debug output value dict keepAwaken is False
Mac System Debug end of validating Device Config
Mac System Debug "new device" deviceStartComm called (139075141 - bip.ms.volume)
Mac System Debug "new device" property VolumeID is 'Respaldos'
Mac System Debug "new device" property forceQuit is False
Mac System Debug "new device" property keepAwaken is False
Mac System Debug "new device" state LastPing is 0
Mac System Debug "new device" state VStatus is 0
Mac System Debug "new device" state VStatus.notmounted is False
Mac System Debug "new device" state VStatus.off is False
Mac System Debug "new device" state VStatus.on is False
Mac System Debug "new device" state VolumeDevice is ''
Mac System Debug "new device" state VolumeSize is ''
Mac System Debug "new device" state VolumeType is ''
Mac System Debug "new device" state onOffState is False
Mac System Debug "new device" state pcUsed is 0
Mac System Debug end of "new device" deviceStartComm
Mac System Debug going to call shell ls -1 /Volumes ...
Mac System Debug returned from shell ls -1 /Volumes ...
Mac System received "new device" status onOffState update to True
Mac System received "new device" status VStatus update to 'on'
Mac System Debug device "new device" has automatic image for VStatus with value 'on'
Mac System Debug Device "new device" has 3 update requests stacked
Mac System Debug going to call shell /usr/sbin/diskutil list ...
Mac System Debug returned from shell /usr/sbin/diskutil list ...
Mac System received "new device" status onOffState update to False
Mac System received "new device" status VStatus update to 'off'
Mac System Debug going to sleep for 9.31 seconds
Mac System Debug going to call shell ls -1 /Volumes ...
Mac System Debug returned from shell ls -1 /Volumes ...
Mac System received "new device" status onOffState update to True
Mac System received "new device" status VStatus update to 'on'
Mac System Debug device "new device" has automatic image for VStatus with value 'on'
Mac System Debug Device "new device" has 3 update requests stacked
Mac System Debug Device "new device" is going to process an update request
Mac System Debug going to call shell /usr/sbin/diskutil list ...
Mac System Debug returned from shell /usr/sbin/diskutil list ...
Mac System received "new device" status onOffState update to False
Mac System received "new device" status VStatus update to 'off'
Mac System Debug going to sleep for 9.39 seconds
Mac System Debug going to call shell ls -1 /Volumes ...
Mac System Debug returned from shell ls -1 /Volumes ...
Mac System received "Respaldos" status onOffState update to True
Mac System received "Respaldos" status VStatus update to 'on'
Mac System Debug device "Respaldos" has automatic image for VStatus with value 'on'
Mac System Debug Device "Respaldos" has 3 update requests stacked
Mac System Debug Device "Respaldos" is going to process an update request
Mac System Debug going to call shell /usr/sbin/diskutil list ...
Mac System Debug returned from shell /usr/sbin/diskutil list ...
Mac System received "Respaldos" status onOffState update to False
Mac System received "Respaldos" status VStatus update to 'off'
Mac System Debug going to sleep for 9.39 seconds
Mac System Debug time ellapsed for dialog timer "Read application data"
Mac System Debug going to call shell ls -1 /Volumes ...
Mac System Debug returned from shell ls -1 /Volumes ...
Mac System received "Respaldos" status onOffState update to True
Mac System received "Respaldos" status VStatus update to 'on'
Mac System Debug device "Respaldos" has automatic image for VStatus with value 'on'
Mac System Debug Device "Respaldos" has 3 update requests stacked
Mac System Debug Device "Respaldos" is going to process an update request
Mac System Debug going to call shell /usr/sbin/diskutil list ...
Mac System Debug returned from shell /usr/sbin/diskutil list ...
Mac System received "Respaldos" status onOffState update to False
Mac System received "Respaldos" status VStatus update to 'off'
Mac System Debug going to sleep for 9.37 seconds
Mac System Debug going to call shell ls -1 /Volumes ...
Mac System Debug returned from shell ls -1 /Volumes ...
Mac System received "Respaldos" status onOffState update to True
Mac System received "Respaldos" status VStatus update to 'on'
Mac System Debug device "Respaldos" has automatic image for VStatus with value 'on'
Mac System Debug Device "Respaldos" has 3 update requests stacked
Mac System Debug Device "Respaldos" is going to process an update request
Mac System Debug going to call shell /usr/sbin/diskutil list ...
Mac System Debug returned from shell /usr/sbin/diskutil list ...
Mac System received "Respaldos" status onOffState update to False
Mac System received "Respaldos" status VStatus update to 'off'
Mac System Debug going to sleep for 9.39 seconds
Mac System Debug going to call shell ls -1 /Volumes ...
Mac System Debug returned from shell ls -1 /Volumes ...
Mac System received "Respaldos" status onOffState update to True
Mac System received "Respaldos" status VStatus update to 'on'
Mac System Debug device "Respaldos" has automatic image for VStatus with value 'on'
Mac System Debug Device "Respaldos" has 3 update requests stacked
Mac System Debug Device "Respaldos" is going to process an update request
Mac System Debug going to call shell /usr/sbin/diskutil list ...
Mac System Debug returned from shell /usr/sbin/diskutil list ...
Mac System received "Respaldos" status onOffState update to False
Mac System received "Respaldos" status VStatus update to 'off'
Mac System Debug going to sleep for 9.39 seconds
Mac System Debug time ellapsed for dialog timer "Read volume data"
Mac System Debug going to call shell ls -1 /Volumes ...
Mac System Debug returned from shell ls -1 /Volumes ...
Mac System received "Respaldos" status onOffState update to True
Mac System received "Respaldos" status VStatus update to 'on'
Mac System Debug device "Respaldos" has automatic image for VStatus with value 'on'
Mac System Debug Device "Respaldos" has 3 update requests stacked
Mac System Debug going to call shell /usr/sbin/diskutil list ...
Mac System Debug returned from shell /usr/sbin/diskutil list ...
Mac System received "Respaldos" status onOffState update to False
Mac System received "Respaldos" status VStatus update to 'off'
Mac System Debug going to sleep for 9.39 seconds
Mac System Debug going to call shell ls -1 /Volumes ...
Mac System Debug returned from shell ls -1 /Volumes ...
Mac System received "Respaldos" status onOffState update to True
Mac System received "Respaldos" status VStatus update to 'on'
Mac System Debug device "Respaldos" has automatic image for VStatus with value 'on'
Mac System Debug Device "Respaldos" has 3 update requests stacked
Mac System Debug Device "Respaldos" is going to process an update request
Mac System Debug going to call shell /usr/sbin/diskutil list ...
Mac System Debug returned from shell /usr/sbin/diskutil list ...
Mac System received "Respaldos" status onOffState update to False
Mac System received "Respaldos" status VStatus update to 'off'
Mac System Debug going to sleep for 9.39 seconds
Mac System Debug going to call shell ls -1 /Volumes ...
Mac System Debug returned from shell ls -1 /Volumes ...
Mac System received "Respaldos" status onOffState update to True
Mac System received "Respaldos" status VStatus update to 'on'
Mac System Debug device "Respaldos" has automatic image for VStatus with value 'on'
Mac System Debug Device "Respaldos" has 3 update requests stacked
Mac System Debug Device "Respaldos" is going to process an update request
Mac System Debug going to call shell /usr/sbin/diskutil list ...
Mac System Debug returned from shell /usr/sbin/diskutil list ...
Mac System received "Respaldos" status onOffState update to False
Mac System received "Respaldos" status VStatus update to 'off'
Mac System Debug going to sleep for 9.39 seconds
Mac System Debug time ellapsed for dialog timer "Read application data"
Mac System Debug going to call shell ls -1 /Volumes ...
Mac System Debug returned from shell ls -1 /Volumes ...
Mac System received "Respaldos" status onOffState update to True
Mac System received "Respaldos" status VStatus update to 'on'
Mac System Debug device "Respaldos" has automatic image for VStatus with value 'on'
Mac System Debug Device "Respaldos" has 3 update requests stacked
Mac System Debug Device "Respaldos" is going to process an update request
Mac System Debug going to call shell /usr/sbin/diskutil list ...
Mac System Debug returned from shell /usr/sbin/diskutil list ...
Mac System received "Respaldos" status onOffState update to False
Mac System received "Respaldos" status VStatus update to 'off'
Mac System Debug going to sleep for 9.39 seconds
Mac System Debug going to call shell ls -1 /Volumes ...
Mac System Debug returned from shell ls -1 /Volumes ...
Mac System received "Respaldos" status onOffState update to True
Mac System received "Respaldos" status VStatus update to 'on'
Mac System Debug device "Respaldos" has automatic image for VStatus with value 'on'
Mac System Debug Device "Respaldos" has 3 update requests stacked
Mac System Debug Device "Respaldos" is going to process an update request
Mac System Debug going to call shell /usr/sbin/diskutil list ...
Mac System Debug returned from shell /usr/sbin/diskutil list ...
Mac System received "Respaldos" status onOffState update to False
Mac System received "Respaldos" status VStatus update to 'off'
Mac System Debug going to sleep for 9.39 seconds
Mac System Debug validating Prefs called

Posted on
Fri Dec 18, 2015 11:23 am
adamfox offline
Posts: 14
Joined: May 11, 2015

Re: Mac system plugin turning on/off continuosly

Were you ever able to resolve this? I'm noticing a similar behavior with my Airport Disk. It'll flip to on very briefly before switching back to off.

Posted on
Sat Dec 19, 2015 11:06 am
rvarela offline
Posts: 80
Joined: Oct 16, 2012

Re: Mac system plugin turning on/off continuosly

Sorry, no. Never got an answer after my last post.

Posted on
Sat Dec 19, 2015 1:48 pm
adamfox offline
Posts: 14
Joined: May 11, 2015

Re: Mac system plugin turning on/off continuosly

So, I was able to poke around a bit to see what's going on here. Forgive me in advance, I'm not a developer. However, I can see that the plugin uses Disk Utility to identify if a device is connected after first checking the "/Volumes" folder. So, what's happening, at least for me with a Apple Time Capsule is that the plugin will see the volume in the Volumes folder. However, it then proceeds to check with Disk Utility and since the NAS doesn't show up in Disk Utility like a typical USB drive it then assumes that the volume is not mounted and toggles off. I was able to play around a bit and get it to recognize my Time Capsule as connected. However, I broke a bunch of other things in the process and am not knowledgable enough to fix it.

Perhaps a future update will allow for detection of connected NAS devices.

Posted on
Mon Dec 21, 2015 2:56 am
rvarela offline
Posts: 80
Joined: Oct 16, 2012

Re: Mac system plugin turning on/off continuosly

Thanks Adam for your explanation. It seems to me (from the log, I'm not a developer also) a likely one. It's also a pity we haven't got an update for so long, since the plugin is useful.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest