USB Takes a While (rc.sysinit)

FYI to anyone who needs USB support during rc.sysinit
I just spent most of a day trying dozens of modprobe this and modprobe that, trials and errors, with lenthy reboots in between, just to discover: It takes more than 5 seconds from a 'lshwd -a' to the time when /dev/sda* is available. :shock:
Here's some code that finally worked:
lshwd -a > /dev/null
...add as much time-consuming junk as you can, here...
# takes time for USB drive to activate
for (( i=10; $i; i=$i-1 )); do
if [ "`udevinfo -q path -n /dev/sda1 2>/dev/null | grep sda1`" ]; then
/bin/mount -t ext2 /dev/sda1 /mnt >/dev/null 2>&1
break
fi
sleep 1
# echo "Countdown: $i"
done
if [ ! -f /mnt/keyfile.gpg ]; then
echo "Ok, we probably really failed."
exit 1
fi
...do USB Drive related stuff here...
/bin/umount /mnt
/bin/umount /proc/bus/usb
# rc.sysinit later tries to mount /proc/bus/usb
As always, with USB, YMMV

The computer will sleep automatically as soon as the lid closes.
The computer should start to go to sleep as soon as the lid closes, but you should always verify that the sleep light is pulsing before assuming that it is sleeping and safe to move. Unless you disable it, safe sleep will almost always hold the computer up for a few seconds before it actually goes to sleep.

Similar Messages

  • Takes a while to play sound via audio interface on iMac

    I purchased iMac along with Focusrite Scarlett 6i6 USB audio interface and started having following problems from the beginning.
    When I play video/music on itunes, logic or whatever apps that plays sound, it takes a while(about 20 sec) to play sounds. Sometimes it does not play sounds at all until I turn the volume halfway up on Focusrite Scarlett 6i6. It happens all the time when I play sound for the first time after turning the computer on. It happens when I start using the computer after a while. Sometimes it turns off the sound even when the music/video is being played. I had problem with latest Scarlett driver and still happens after switching to class compliant mode. It seems like it takes time for the computer to wake 6i6 via USB, but I am not sure. Please help!
    computer Specifications:
    - late 2013 iMac / flash 1TB / GTX 780M / 32GB RAM
    - mavericks 10.9.2
    - Just Scarlett 6i6 connected directly via USB
    - no other devices connected, just apple bluetooth keyboard, magic mouse and touchpad
    Softwares:
    - Logic pro x latest version, Kontakt 5.3.0
    - sample rate 44
    Product Info:
    - was using latest 6i6 driver but recently switched to class compatible mode

    Well I have done the disk cleanup and it still didnt fix it. I just got this player yesterday too I have about 3.5 gigs on it. I didnt get my usb 2.0 system yet, but im just really worried about these long load times for the songs on the player. Im gona try loading some mp3s and see how those go.
    edit... I just loaded up some MP3s and they start in about 3-4 seconds. A lot faster then my WMAs from yahoo, but still I was expecting mp3s to play instantly pretty much.Message Edited by Johnwashere on 05-2-2005 2:26 AM

  • Why do text notifications take a while to appear?

    I am using an iPhone 6 that is just barely over a month old with the latest iOS update. I have not dropped my phone in any way that would damage it but I'm having issues with my text notifications. I will recieve a notification that says someone sent me a text 8 minutes or so ago but I only recived the notification just then. This problem only occurs when my phone is locked. And another issue I'm having is that I will open up a text conversation and new texts will not appear until a couple of seconds have passed (I can deal with this but if anyone has solutions they'd also be appreciated). If anyone has any solutions to these inconveniences please help. I'm considering taking the phone to Apple as soon as I get a chance. This is my first iPhone and I love it but I am fairly upset with this problem.

    Sorry
    It's a direct TCPIP connection via a switch
    192.168.1.200 - 255.255.255.0
    If my Rigol DS1074Z is on and I start my PC
    I don't have a delay, but if I power on My DS1074Z
    it takes a while.
    The USB Connection is just in time available.
    In Pascal
    viOpenDefaultRM(defrm);
    Error := viFindRsrc(defrm, '?*?', list, nmatches, matches);  // Open the device
    if Error <> VI_SUCCESS then begin
    end;

  • Why it's take a while to get a TCP Connection

    I Guys
    I open VISA Interactive Control
    and I see my USB Connection just in time,
    but the TCP/IP Connection takes at least 5 min to be recognized.
    What is the reason for this and can I force the auto detection?
    I Develop an Application in Delphi

    Sorry
    It's a direct TCPIP connection via a switch
    192.168.1.200 - 255.255.255.0
    If my Rigol DS1074Z is on and I start my PC
    I don't have a delay, but if I power on My DS1074Z
    it takes a while.
    The USB Connection is just in time available.
    In Pascal
    viOpenDefaultRM(defrm);
    Error := viFindRsrc(defrm, '?*?', list, nmatches, matches);  // Open the device
    if Error <> VI_SUCCESS then begin
    end;

  • I need to download an online quicktime video for a project.  Its is 3gb so takes a while to buffer but when it buffers to about half way it stops and I have to reload the page and try again?

    I need to download an online quicktime video for a project.  Its is 3gb so takes a while to buffer but when it buffers to about half way it stops and I have to reload the page and try again?

    Let's first try updating using an installer file downloaded from the Apple Website:
    http://www.apple.com/itunes/download/

  • Samsung screen blinks and takes a while to come on

     Why does my Samsung screen keep blinking when I press the button and it takes a long time to come on?

    Hello Gin-e,
    You should contact Samsung if you are talking about your Samsung monitor. it could be expected behavior or it might not be. I've noticed on some Samsung monitors that it takes a while to boot and the monitor doesn't come out of sleep mode very well. Sounds like you have a monitor issue though and as the monitor is not an HP monitor I wouldn't be able to provide you any information on if that behavior is to be expected or not.
    If I have helped you in any way click the Kudos button to say Thanks.
    The community works together, click Accept as Solution on the post that solves your issue for other members of the community to benefit from the solution.
    - Friendship is magical.

  • TS3212 itunes takes a while to open on windows 7

    When I open itunes, it takes a while to open up. What can I do about this?

    Hello there Tonyal8507,
    I was researching what might cause performance issues with iTunes on a Windows computer and found this lil gem. Named Apple software on Windows: May see performance issues and blank iTunes Store, found here http://support.apple.com/kb/ts4123, I think it will help you out.
    If that troubleshooting does not resolve your issue, you may want to consider recreating your iTunes library.
    iTunes: How to re-create your iTunes library and playlists
    http://support.apple.com/kb/ht1451
    Regards,
    Sterling

  • Adding blog page + First upload - Takes a while! - Then watch it fly!

    I just thought that I would share this with everyone
    Having been running my site for quite a while now, without too many problems I decided that it was time to add a blog!
    I follow this forum and one thing that I have noticed in the past is comments about upload time. But luckily for me this has never really been a problem, I add one page and upload it, and never has it been unreasonable (a couple of times I had to resubmit because it didn't like a picture). But I have never changed the picture, just hit Publish again! So I was really shocked last night when I published my first blog page, two failures due to pictures and on the third attempt it went through, but it did take a loooong time..
    Looking at my iDisk, all of the .html files in the top level folder were modified during upload, but I stuck with it.
    Today I added a second entry to my blog, and I must say, WOW! Back to the old speed that i love and know!
    It seems that the first blog creation takes a while but after this all is back to normal.
    Will

    Jo
    Yes photos in both blogs.
    I have two photos the same as you, one large (I should have resized!), one not. When viewing the site you only see the smaller one.
    Yes I have RSS, and when I click the button, in safari, I get an RSS feed of my blog and the large images are there as icons, which when clicked load in safari.
    I am just off to resize them now, i think 800*600 should be enough.
    Will

  • Sending mail takes a while.

    Mail works fine, apart from it takes a while to send, or more to the point, there is a noticeable delay before the message is finally sent. I didn't have this quirk in 10.4 so why if Mail has been completely rebuilt from scratch in Leopard, this happens?
    any ideas anyone?

    I have something similar to this issue too.
    When I send an email the entire mail.app locks up until the email is sent... which could take up to a minute.
    Weird. It doesn't happen all the time, but most of the time when I'm emailing people outside of our organization

  • Downloading TRIAL CS6... "Extracting...this may take a while.." Is taking too long.

    I've used the Adobe Assistant to download the trial version of CS6, Design and Web Premium on my MAC. It has gotten all the way to the point where it says "Extracting...this may take a while...." But it's been almost 24 hours at this point. What should I do? Do I start over? Or is there something I can do to speed up this process. This is ridiculous at this point. Never had  problem like this before...

    Yes, start over. Use anotehr browser to initiate the download or use this method:
    Direct Download Links for Adobe Software
    Then extract the files manualyl using winZip or similar tools.
    Mylenium

  • Rikaichan (add-on) doesn't work at my office. It gives this error "Javascript application: the index for one or more dictionaries needs to be created. This may take a while on slower computers". And then the PC freezes. What should I do?

    I'm using Firefox 3.6.17, and have installed Rikaichan 2.02. Once I've installed the Japanese-English dictionary, I then click on Rikaichan to get it started, and it always gives a "Javascript Application" error:
    '''"The index for one or more dictionaries needs to be created. This may take a while on slower computers"'''
    Rikaichan always works fine on my laptop, but I just can't seem to install it properly at work. Is there some sort of office security screwing it up?

    venicespent,
    Boot into your Mavericks Recovery partition by hold down the command and R keys whilst booting. You'll see a screen that looks like this:
    Click on the Disk Utility item to open Disk Utility. You should see your boot drive (usually named "Macintosh HD" unless you've changed it) in the column on the left of the screen. Select your boot partition and click on the "Verify" button. Let your Mac do it's thing - if you get green text telling you that everything seems to be OK, then your disk should not be damaged. If, however, you get red text telling you that the disk needs to be repaired, click on the "Repair" button. If the disk can be repaired, you should be good to go. If the disk cannot be repaired then the drive is damaged.
    But before you do anything, make certain that you have backups!!!
    Clinton
    MacBook Pro (15-inch Late 2011), OS Mavericks 10.9.4, 16GB RAM, 960GB SSD, 27” Apple Thunderbolt Display

  • It's been saying "extracting... it may take a while" for 2 days. Is this normal? What should I do?

    it's been saying "extracting... it may take a while" for 2 days. Is this normal? What should I do?

    No, it's long past the point of no return. download again using anotehr browser/ method such as described here:
    Direct Download Links for Adobe Software
    Mylenium

  • Stuck in extracting...this may take a while stage for 3 days

    My trial download for CS6 production premiuim has been in the extracting...this may take a while stage for 3 days; what do I do?

    Cancel it, try again. Use another browser to download, extract the files manually e.g. using WinZip.
    Mylenium

  • "Extracting this may take a while" for 4 hours

    I downloaded the trial and had to download the adobe download assistant and it started downloading my file after it finished.  After it finished downloading it said Extracting... This may take a while.  Its been saying that for 4 hours now and it only took 30min to download.  Is this normal and if not what can i do to fix it?

    Check for the Internet connection. If its good, then try the same with a different broswer. Below link would help in this scenario,
    http://helpx.adobe.com/creative-suite/kb/troubleshoot-download-assistant.html

  • OSX VPN takes a while because its loading custom icons

    When I connect via VPN (PPTP) to the OSX Server it takes quite a while to show a directory containing TIF images, because they all have a custom icon (the icon is a thumbnail of the image). It doesn't matter whether I'm in List, Icon, or any other view.
    The connection I'm on is a Cable Modem, and I'm connecting to the OSX Server that is sitting on a T3 line, and it just takes about a minute or two before I get a complete directory listing.
    Is this normal over a VPN connection? I realize its encrypted and takes a while longer, but still....
    I was just curious if there was a way to just show blank icons or not show thumbnails that have a preview, etc., and see if that would help.
    Thanks in advance

    Ohok can you please tell me how to fic the error with in the class ?
    Apparently i put the cube inside a movieclip.
    so this error keeps popping up and i need help to get rid of it.
    this is the error :
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at com.flashandmath.as3::DisplayCube/sortFaces()
        at com.flashandmath.as3::DisplayCube/rotateXYZ()
        at BgStripes/onEnter()

Maybe you are looking for

  • ¿Is it possible to upgrade from SCCM 2012 a domain controller in Windows Server 2008 R2 TO 2012 R2?

    Hi all. I want to know if is it possible to upgrade a domain controller from Windows Server 2008 r2 to 2012 r2 installing from SCCM 2012. Thanks. Regards.

  • Memory issues AP3 & 10.9.1

    I've been using Aperture since version 1.0 and never have I had memory issues until now. HAs anyone come across issues with AP3 and 10.9.1 "Your system has run out of application memory" ? and shows Aperture in red (paused)? I have 32GB ram, all SSD'

  • Mac Book Pro 2009 17inch, cuts out when unplugged

    Can anyone help i have a mac Book Pro mid 2009, 17inch.  The problem is that my computer shuts down when unpluged, i thought it would be the battery, so i purchased another battery, it arrived and i installed it. Still crashes on unplugging the compu

  • Itunes crashed every time I try to sync Iphone6

    I am try to sync my Iphone6+. Every time i run the sync in itunes it crashes. I re-downloaded the program and selected repair and it still has the same issue. I ran the sync diagnostic and it said it was fine. Using windows7. IOS8 on phone and itunes

  • Release Issue after PO Modification

    Hi Gurus, I am facing one issue. I have configured released strategy for PO. Alternate Release is authorisation based. The release is working perfectly during creation of PO. PO is picking appropriate release strat based on value after creation. But