LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-13-2009, 05:09 AM   #1
mmreddy54
LQ Newbie
 
Registered: Aug 2009
Posts: 5

Rep: Reputation: 0
Connecting USB 2.0 Hard disk that goes to STANDBY


Hello All,

I have just joined this group. We are developing a Set-Top-Box based on Sigma chipset SMP8654, GNU/Linux Kernel version 2.6.12.


When we connect USB 2.0 Seagate Hard disk (connected to the STB) goes to STANDBY mode the OS is suppose to bring the drive back to active as soon as any read/write call is issued. But, some how drive is not becoming active and USB port is becoming un-usable till hard reboot.

Can some one please help me out!

Thanks

Mohan Reddy
 
Old 08-13-2009, 02:01 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Welcome to LQ!
Moderator note: I have moved your post to Linux-Hardware, where it seems to fit better.


Are you sure USB is still working in the standby? The thing is that if you enter too much sleep mode, the USB effectively disconnects. It maybe your case. I would read the disk's documentation and make sure that 1) the standby keeps USB running 2) the kernel doesn't enter such a power save mode that the processor powers USB down. You can start from checking if you have the right voltage when it's in standby.
 
Old 08-14-2009, 09:56 AM   #3
mmreddy54
LQ Newbie
 
Registered: Aug 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Mr

Before mounting/accessing the device, if you check the device status using TEST UNIT READY command and if it is in STANDBY mode then bring the device to ACTIVE by using START STOP UNIT command. One can find the SCSI Primary/Multimedia commands in sg3_utils. (Ref Docs: INCITS-T10/1731-D, T10/1836D).

With this work-around problem is solved.

Thanks

Mohan Reddy
 
  


Reply

Tags
harddisk, seagate, standby, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install grub on a USB hard disk (not disk on key) zvivered Linux - Embedded & Single-board computer 4 07-22-2009 10:30 PM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM
USB hard disk? where? Fatch_R Linux - Newbie 5 02-15-2005 09:34 AM
Hard Disk Timeout/Standby BIOS/hdparm win32sux Linux - Hardware 4 02-01-2005 12:05 AM


All times are GMT -5. The time now is 05:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration