Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Linux/Opus/sleep(or shutdown)

  1. #1
    Maximum Bitrate nasa's Avatar
    Join Date
    Aug 2006
    Location
    PA
    Posts
    696

    Linux/Opus/sleep(or shutdown)

    Hi,

    I was wondering... How are people using thier DC-DC power supplies to put linux asleep or shutdown? I looked for an acpi event corresponding to something from my opus -- but didn't see a thing. I am sure I am lost and googling doesn't result in much. So any hints would be appreciated.

    Nasa

  2. #2
    Constant Bitrate
    Join Date
    Jun 2006
    Location
    Chicago, IL
    Posts
    143
    acpid handles everything, once it receives the signal from PS, it shuts down the system, you don't even need any special configuration for it.
    EPIA TC 1G 256MB 60GB Linux,WindowMaker, Roadnav, Xine, XMMS, iGuidance3
    Lilliput 8", Pharos i360, WUSB11v2.6 WiFi

  3. #3
    Maximum Bitrate nasa's Avatar
    Join Date
    Aug 2006
    Location
    PA
    Posts
    696
    hmmm...,

    When I try it, all that happens is linux sits there (all dumb and happy) for about 90 seconds and then the PS kills all power. I don't see it going through the shutdown steps at all... I know I *%@$ something up...

    Nasa

  4. #4
    Constant Bitrate
    Join Date
    Jun 2006
    Location
    Chicago, IL
    Posts
    143
    do you have "power button" actually connected to your PS? , try to install a switch and see if it'll work, your PS not necessarily sends the pulse for shutdown, the switch would easily show where the problem is. Make sure acpi daemon loads and keeps running too.
    EPIA TC 1G 256MB 60GB Linux,WindowMaker, Roadnav, Xine, XMMS, iGuidance3
    Lilliput 8", Pharos i360, WUSB11v2.6 WiFi

  5. #5
    Maximum Bitrate nasa's Avatar
    Join Date
    Aug 2006
    Location
    PA
    Posts
    696
    Ok,

    I did some more testing...

    doing "cat /proc/acpi/event" doesn't show anything when I kill the power to ACC line. Nor do I see anything on the acpi line in /proc/interrupts. What could keep the signal from getting to ACPI?

    BTW: the computer will shutdown after the allotted time, so the DC-DC power supply is getting the message.

  6. #6
    Maximum Bitrate nasa's Avatar
    Join Date
    Aug 2006
    Location
    PA
    Posts
    696
    dupa2:

    I just noticed your suggestion of running a switch.... Exactly what are you suggesting? Right now I am testing the system on my bench. I have the a switch on the ACC line so I can simulate what happens in the car. That's how I noticed the problem....

    Nasa

  7. #7
    Maximum Bitrate nasa's Avatar
    Join Date
    Aug 2006
    Location
    PA
    Posts
    696
    Bump....

  8. #8
    Maximum Bitrate nasa's Avatar
    Join Date
    Aug 2006
    Location
    PA
    Posts
    696
    So,

    no other linux users are having problems with ACPI? I know I can be cursed, but usually someone else is cursed with me....

    Nasa

  9. #9
    Constant Bitrate
    Join Date
    Jun 2006
    Location
    Chicago, IL
    Posts
    143
    do you have acpi support in kernel? you need it (with "button" property enabled)

    eventually you have to load acpi module with parameters to get it to work, and test it with power switch as you have it connected.
    EPIA TC 1G 256MB 60GB Linux,WindowMaker, Roadnav, Xine, XMMS, iGuidance3
    Lilliput 8", Pharos i360, WUSB11v2.6 WiFi

  10. #10
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    also make sure that you have the acpid package installed.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •