Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#339964 - 30/11/2010 16:34 USB hard disk control?
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
I have all my digital media on a 2TB USB hard drive (w/the essential stuff backed up), and I use this drive to serve data to my Boxee Box. The only problem is that this drive seems to be set to spin down after about 5 minutes with no accessing. This makes starting a video on Boxee very slow, and what's even more annoying is that if I pause a video for 4-6 minutes (for people to use the restroom or get snacks), when I start playing it again, Boxee waits for the video for about 5 seconds before it quits back out to the video selection screen.

Part of this is Boxee's fault. It should be more graceful in handling these delays. I had the same problem with my WDTV and it would just wait until the video came.

Anyway, I was hoping that someone might know how I can control my USB hard drive a little more. I remember there used to be a setting in Windows that let me choose how long the system should wait before letting individual hard disks spin down. Was I dreaming that? Where did it go?

At the moment, when I know we're going to watch a good deal of stuff on Boxee, I've been playing a video from the drive on my computer on repeat to make sure the disk is always in use. I'd much rather tell the drive to spin down after 20 minutes of inactivity. Can I do that? Or does it have to be an internal drive?
_________________________
Matt

Top
#339966 - 30/11/2010 16:49 Re: USB hard disk control? [Re: Dignan]
hybrid8
carpal tunnel

Registered: 12/11/2001
Posts: 7738
Loc: Toronto, CANADA
Boxee's software should be able to control this. Might be another thing to email them about.
_________________________
Bruno
Twisted Melon : Fine Mac OS Software

Top
#339968 - 30/11/2010 16:55 Re: USB hard disk control? [Re: hybrid8]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
I thought USB HD spindown was hit & miss depending on the exact chip used to interface between USB and PATA/SATA?

Top
#339971 - 30/11/2010 17:22 Re: USB hard disk control? [Re: tman]
hybrid8
carpal tunnel

Registered: 12/11/2001
Posts: 7738
Loc: Toronto, CANADA
Quite possibly, I don't know about that. I didn't mean to imply that Boxee would set some prescribed setting to the HD chipset, but rather that a piece of software like Boxee could keep that disk spinning by periodically accessing it. This could be implemented as a setting in Boxee with a time-based preference.
_________________________
Bruno
Twisted Melon : Fine Mac OS Software

Top
#339976 - 30/11/2010 17:59 Re: USB hard disk control? [Re: Dignan]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Is this a drive attached directly to the Boxee Box, or connected to a server? If it's a server, or if there's some sort of alternative interface to the Boxee Box, just write a little script that reads some inconsequential piece of data every minute.

Beyond that, Trevor's right about it being hit-or-miss over the USB connection.
_________________________
Bitt Faulk

Top
#339982 - 30/11/2010 20:11 Re: USB hard disk control? [Re: hybrid8]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
Originally Posted By: wfaulk
Is this a drive attached directly to the Boxee Box, or connected to a server? If it's a server, or if there's some sort of alternative interface to the Boxee Box, just write a little script that reads some inconsequential piece of data every minute.

It's connected to my desktop at the other end of my network. I'd be fine with software like that, but I'd have to run it pretty much like I do my little video file playback trick already. I'll probably stick with that tactic for now.

Quote:
Beyond that, Trevor's right about it being hit-or-miss over the USB connection.

Yeah, I was afraid of that. No matter.

Originally Posted By: hybrid8
...a piece of software like Boxee could keep that disk spinning by periodically accessing it. This could be implemented as a setting in Boxee with a time-based preference.

Sounds like a reasonable idea to me. I might suggest that. I'm keeping a list of things to write them as I use the Box. This issue is about more than just Boxee, though. Occasionally I'll need the drive several times while on my computer, and it's annoying having to wait for it to spin up every single time. It's an inexpensive drive and pretty slow, so it takes at least 5-10 seconds for the drive to be usable.
_________________________
Matt

Top
#339986 - 30/11/2010 20:37 Re: USB hard disk control? [Re: Dignan]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
Would there be any point in removing the drive from its enclosure and just putting it in the computer its self? I only bought it because it was on sale for less than internal drives were going for at the time. I don't need it to be USB. How would I control spin down times for internal drives?
_________________________
Matt

Top
#339993 - 30/11/2010 21:01 Re: USB hard disk control? [Re: Dignan]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
If you directly attach the drive then you can use hdparm or another HD tool to alter the power management settings. The problem with USB enclosures is that most of them don't pass through the messages to allow you to control it. This is assuming it is a regular drive in there and that you can take it out.

Top
#339996 - 30/11/2010 21:38 Re: USB hard disk control? [Re: tman]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
A lot of the newest (last year or so) enclosure chips now pass ATA commands directly through to the drive (aka. "SAT"), which allows hdparm and kin to work over USB (at last!).

Cheers

Top
#340017 - 01/12/2010 04:13 Re: USB hard disk control? [Re: mlord]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Originally Posted By: mlord
A lot of the newest (last year or so) enclosure chips now pass ATA commands directly through to the drive (aka. "SAT"), which allows hdparm and kin to work over USB (at last!).

About time! USB HDs have been out for how many years now? laugh

Top