2009-08-10, 00:39
Recently I've been trying to adjust a few settings with regards to hal and disk activity. My system is XBMCbuntu install as described in stickies (PPA SVN Source). The following is some background...
Hal Polling cdrom
=============
During idle and normal playback, My HD Led constantly flashes twice every 2 seconds. This can be a little annoying in a dark room while watching a movie. This is due to hal polling the cdrom. I have found that I can disable this with the following.
And renabled with
This has removed one of the flashes but I still have one to go. This is my problem.
If xbmc is running, I still get the single flash every 2 seconds.
If xbmc is Not running, Its seems that all polling stops and HD LED flashes ceases(apart from normal disk activity)
What I have noticed also is that with hal polling being disabled, dvd/cdrom auto mount is still working with xbmc running. This leads me to believe that xbmc might have its own method of enabling some form of polling when it starts up that is not tied into hal. If so, can this polling be disabled? My DVD rom drive is SATA. xbmc.log shows the drive being mounted. Please request any additional info as Im not sure where to start looking.
The main reason for wanting to do this is that I suspect this polling activity impacts on video playback. I have occasionally noticed a slight studder in the video playback that seems to coinside with polling intervals.
Please do not make suggestions like disconnect the HD Led or disconnect your CDROM. Im hoping that people could share their knowledge to how they may have optimised thier systems with reagrds to disk activity / performance and hal.
Zepp
Hal Polling cdrom
=============
During idle and normal playback, My HD Led constantly flashes twice every 2 seconds. This can be a little annoying in a dark room while watching a movie. This is due to hal polling the cdrom. I have found that I can disable this with the following.
Code:
sudo hal-disable-polling --device /dev/cdrom
And renabled with
Code:
sudo hal-disable-polling --enable-polling --device /dev/cdrom
This has removed one of the flashes but I still have one to go. This is my problem.
If xbmc is running, I still get the single flash every 2 seconds.
If xbmc is Not running, Its seems that all polling stops and HD LED flashes ceases(apart from normal disk activity)
What I have noticed also is that with hal polling being disabled, dvd/cdrom auto mount is still working with xbmc running. This leads me to believe that xbmc might have its own method of enabling some form of polling when it starts up that is not tied into hal. If so, can this polling be disabled? My DVD rom drive is SATA. xbmc.log shows the drive being mounted. Please request any additional info as Im not sure where to start looking.
The main reason for wanting to do this is that I suspect this polling activity impacts on video playback. I have occasionally noticed a slight studder in the video playback that seems to coinside with polling intervals.
Please do not make suggestions like disconnect the HD Led or disconnect your CDROM. Im hoping that people could share their knowledge to how they may have optimised thier systems with reagrds to disk activity / performance and hal.
Zepp