How do I make Lion wake up when a USB device is plugged in?

I'm having this issue on a MacBook Air, but I assume it would occur on a MacBook Pro as well.
What I want to do is to use my MacBook with an external display, and have the lid open so I can use the keyboard/trackpad, but have the MacBook display turned off. There are two obstacles to doing this under Lion:
1. You can start the laptop in clamshell mode with an external display attached, but opening the lid will make it go out of clamshell mode and turn on the MacBook display, going into dual screen mode.
2. Since I don't have a wireless keyboard, the trick that I was using in Snow Leopard to wake up my MacBook was to plug in a USB device. This doesn't work anymore in Lion.
Issue 1 has been resolved by this post:
https://discussions.apple.com/message/16059565#16059565
But I'm still looking for a fix to issue 2. Any help would be appreciated!
PS The solution to issue 1 in the thread above recommends running this command:
sudo nvram boot-args="iog=0x0"
I would imagine there's probably some kind of command that will fix issue 2 as well?

Are there any web interfaces for LKML? I dislike mailinglists; the last one I subscribed to randomly stopped sending messages to me after about an hour. I might try usenet; there are some good-looking groups on there I think.
Also, I'm sure there has to be a way to do this outside of udev. I mean, if udev can be made to work without using like 30% CPU (which I'd imagine would be what would happen if it polled every 1 second, which is what I'd want it to do), I'll use it, but what about thinking outside the box a little?
I mean, my first thought was to write a kernel module that responded to dmesg at the kernel level; dmesg doesn't update all that often, and I could run through all the lines I recieve and look for, for example, my PCI ID and a signature telling me if it was added or removed. I just have no idea how to do that.
-dav7

Similar Messages

  • How can I make a labview application for a usb-device?

    I've built an application using the FT8U245AM from FTDI. This is a chip that converts signals into usb signals. Now I want to set parameters using labview. There is a driver provided with the chip, that makes it possible to turn the usb port into a virtual com-port. But how do I continue from here? Do I write my application as if it were a classic serial port device, using VISA, or is it more complicated than this?

    We had an RS-232 design that communicated with LabVIEW via the plain old serial commands here that needs to be converted to USB and CAN.
    A serial-USB chip was inserted to account for the hip USB transition. As i've been told by the electronics designer, it worked without a flaw (I don't remember the type used however).

  • My USB Ethernet connection drops when another USB device is plugged in?

    I have a MacBook Air (Mac OS X 10.6.7 but it happened with older OS versions, too) and have a few issues with my wired ethernet connection. (through USB Ethernet adapter).
    1. When I have the USB adapter plugged in when I wake the MacBook Air up it won't be recognised (have to plug it in after wake up)
    2. (that is more annoying).When I have the Adapter connected and I plug in another USB device (like a USB stick) into the other slot, my USB EthernetConnection drops! Only once I unplug the adapter and plug it back in it works again.
    Is there maybe a firmware upgrade that should be installed or something??
    Does anybody have an idea???
    Thanks

    Hi, you can upgrade the Firmware for the wrt54g router under the system screen.
    you will find the "upgrade Firmware" tab under the system screen.
    Once the Firmware has been upgraded you can then reset the router by holding and pressing the reset on the back panel for 30seconds. And then reconfigure the router again.

  • 1 day old MBP, MASSIVE cpu usage when any USB device is plugged in?!?

    I just purchased a brand new MBP 2.2
    If I plug anything into any of the usb ports my CPU starts clocking and within 10 minutes my system is running it's fans at full speed trying to keep it cool. This can be with no activity AT ALL. I can simply plug a USB thumb drive in and watch as the system gets hotter and hotter!
    Has anyone heard of this and is there a solution. I had planned on booting and external USB drive to run a separate OSX install but this makes that impossible. Any help is greatly appreciated.
    Kalel

    Sorry, it was just taking FOREVER to index my USB drives. One drive is only 120GB and after almost 6 hours it still has 4 hours remaining! For reference it indexed my Firewire drive in about 15 minutes.

  • When I am connected to my home wifi, it says I am connected but the 4G icon doesn't go away.  How can I make that go away when I am connected?

    When I am connected to my home wifi, it says I am connected but the 4G icon doesn't go away.  How can I make that go away when I am connected?

    When I'm at my home, and on my Wifi, my 4G icon on my LG G2 is still present. No big deal. If the bits can flow via WiFi, that's what they'll do.
    You might try (if you really MUST shut off the cellular radio):
    Settings, Network Connections and More networks. Select Mobile Networks and uncheck Mobile data and data roaming.
    Not sure if that will work - but give it a try.

  • How can I make it so that when Safari opens it takes me to the homepage?

    Say I am on youtube and I quit safari, when I reopen safari later, it goes to the page last open, in this case, youtube. How can I make it so that when Safari opens it always takes me to the homepage?

    Click on the red button (top left) to close the window before quitting.

  • In windows 7, how do I make firefox start automatically when I turn on the pc.?

    In windows 7, how do I make firefox start automatically when I turn on the pc

    That worked, thanks. When I turn on the pc, I almost always go to the internet before anything else, so this eliminates one step. It doesn't seem to save any time, however, but it is easy. If anyone else wants to try this, it looks like it's very easy to undo if you change your mind.

  • How would I make it so that when "deleting" an image I can make it so that the delete key does it or a button I put on the application?

    How would I make it so that when "deleting" an image I can make it so that the delete key does it or a button I put on the application?
    I want it so that I can use either a button on the designer window or the delete key. I know how to do the or part but the trouble I'm having is coding the button in.
    if (LastImageClicked != null && (e.Key == Key.Delete || Button))
    This is the code that I have in the format I'm looking for I just don't know how to do it. Thanks for your help!

    There are a number of things which are unclear about your question.
    I'll tell you one way to approach this though.
    Handle Window.PreviewKeyDown.
    <Window
    Window.PreviewKeyDown="Mainwindow_PreviewKeyDown"
    Code behind
    private void Mainwindow_PreviewKeyDown(object sender, KeyEventArgs e)
    if (e.Key == Key.Delete)
    File.Delete("p001.jpg");
    I don't know enough about what you mean by LastImageClicked  but you need some way of knowing which path you are going to delete.
    Then you might well have a problem if it's showing in an image control.
    You will need to copy the picture off disk into a new bitmapimage object.
    If you just do
    <Image Source="p001.jpg"
    Then that image will grab the file and you won't be able to delete it - you'll  get an error.
    In my experimental code p001.jpg is set as content copy always so it ends up next to the exe in the bin when the solution compiles.
    You would probably want a full path to a file there.
    Hope that helps.
    Recent Technet articles:
    Property List Editing;  
    Dynamic XAML

  • How do I make objects fade in when scrolling?

    How do I make objects fade in when scrolling? Thanks!

    Do you know of a way to make Edge animations play when scrolled into view on a Muse website?
    Apple does this well here: http://www.apple.com/ios/ios7/features/

  • I updated my iphone to ios 7.1.1 and after that my contact photo when i call or call others to me is a small cycle of that picture i choose ... How can i make a big picture when i call my contant and when others call me ?

    I updated my iphone to ios 7.1.1 and after that my contact photo when i call or call others to me is a small cycle of that picture i choose ... How can i make a big picture when i call my contant and when others call me ?

    It's not clear why Apple made this change; speculation (which is not really allowed in these forums) is that it was done to protect the privacy of the caller.

  • How can I make folder name show up on mp3 device?

    how can I make folder name show up on mp3 device?

    Read the User's Guide for the device.

  • How do you turn off an iphone when the usb to itunes is diplayed on the screen

    How do you turn off an iphone when the usb to itunes is displayed on the screen and it wouldn't shut off

    Jerry4321a wrote:
    How do you turn off an iphone when the usb to itunes is displayed on the screen and it wouldn't shut off
    You cannot...
    You need to Connect to iTunes on the computer you usually Sync with and “ Restore “...
    http://support.apple.com/kb/HT1414
    If necessary Place the Device into Recovery mode...
    http://support.apple.com/kb/HT1808
    Note on Recovery Mode.
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...

  • My Mac Mini doesn't start up when usb devices are plugged in.

    My Mac Mini doesn't start up when usb devices are plugged in.
    It just shows the "White screen of Death" when 1 or more usb ports are used.

    Haha. I just restarted it and it worked. Instead of turning it off and on. But thanks.
    By the way:
    Note: It is possible that the SMC could encounter an issue that may cause unusual system behavior typically related to the symptoms described below. In some cases, resetting the SMC may be the only correct method to resolve the issue, however, an SMC reset should only be attempted after all other standard troubleshooting has been performed.
    So I hope it is fixed for now. But could someone also post another solution?

  • How can I make the data persistent when using plist ?

    I have a UITableView table1. And when I touch any cell in the table a new UIViewController appears and it have two UITextField's name and description. After entering the data in both the text fields I used the save button to save them. In save method I wrote the code for the data to be stored in plist.
    -(void)save:(id)sender
    indexOfDataArray = temp;
    NSString *string1 = [[NSString alloc]init];
    NSString *string2 = [[NSString alloc]init];
    string1 = nameField.text;
    string2 = descriptionField.text;
    NSDictionary *myDict = [[NSDictionary alloc] initWithObjectsAndKeys:string2, string1, nil];
    [myArray addObject:myDict];
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *documentsDirectory = [paths objectAtIndex:0];
    NSString *path = [documentsDirectory stringByAppendingPathComponent:@"VideoData.plist"];
    [myArray writeToFile:path atomically:YES];
    UIAlertView *alertMesage = [[UIAlertView alloc] initWithTitle: @"Save Alert" message:@"The data entered is saved" delegate:nil cancelButtonTitle:@"cancel" otherButtonTitles:nil] ;
    [alertMesage show];
    [alertMesage release];
    [myArray retain];
    But the problem is every time I restart my application the data in the plist is deleted. How can I retain the data in the plist name I specified ?

    I think yes, I am specifying only one file name to store in the path. I understood my where I am wrong.
    If I added data in plist for two items(item1 and item2). And again I need to add next two items(item3 and item4) . How can I make item3 and item 4 do not replace item1 and item2 ?
    Thank You.

  • How do i make my screen rotate when i turn it

    How do i make my ipad screen rotate when i turn it

    If the screen doesn't rotate on your iPhone, iPad, or iPod touch - Apple Support

Maybe you are looking for

  • VZW Customer NO MORE After 8-1/2 Years

    I have had VZW service since May 15, 2001. I've always had a contract and upgraded phones every year or two. That all changed tonight when I terminated my contract after 5 trips to the store in the last week, each over an hour, and totally fruitless.

  • Unable to view the contents in NQS Config file

    Hi Forum, After I successfully install the OBI EE 10.1.3 Application, I am unable to view the contents in NQS Config file. It is opening in Notepad with error showing as "The filename, directory name or volume label syntax is incorrect." So please gu

  • ADV: New java reporting tool

    Windward Reports (http://www.WindwardReports.com) is a fast, easy, and powerful xml reporting system that allows you to quickly layout reports using Microsoft Word and then create reports in rtf, html, or pdf format using an xml file for the data and

  • Question for Database EXPERTS about implementing an Embedded Database

    One of my current projects is to implement a Embedded pure java database with a smaill subset of SQL. Since I estimate it will take me at least 400 man hours (based on my intial unfinished attempt) to build something robust and usable, I thought I'd

  • Premiere Pro CC crashes when I try to preview files.

    Hi forum, I recently bought Creative Cloud as I got a new computer and felt like cloud based was the way to go. But now when I try to preview clips in Premiere, it just crashes for no apparent reason. I'm running on an i7 MacBook Pro Retina 15" with