public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Toshiba Satellite P10
@ 2005-12-21  6:43 Jaco Kroon
       [not found] ` <43A8F98D.3000704-W7S27g77yncFbeUAN25fX/d9D2ou9A/h@public.gmane.org>
  0 siblings, 1 reply; 40+ messages in thread
From: Jaco Kroon @ 2005-12-21  6:43 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello all,

I'm having some trouble with suspend/resume on my Toshiba Satellite P10 
and was wondering whether anybody would be able to assist.

The omnibook module makes some functionality (like the multimedia keys, 
temperature readings, LCD and FAN adjustments) available.  It however 
does not help with suspend/resume at all.

It seems like the notebook only supports standby and suspend to ram.  It 
seems to come out of standby almost immediately and never come out of 
suspend to ram.  Running hibernate-ram -n works fine, but when running 
it without -n it actually suspends to RAM, hdd spins down, network goes 
down, CPU fans stop and the power led turns red (instead of the normal 
blue - this is in accordance with what I've seen with Windows).

When it's time again to resume however, it just does nothing and I need 
to power-cycle the machine to get it usable again.

I've proceeded to make a copy of /proc/acpi/dsdt into ~/dsdt.dat and 
decompiled that using iasl.  Upon recompiling (without making 
modifications) this rendered 17 errors and 3 warnings.  One of the 
warnings being about _WAK not returning a value - which I've changed to 
always return a packet containing two zeroes (not a fix but rather a 
workaround).  There were also some access errors where changing AnyAcc 
to ByteAcc solved 3 of the errors.

I unfortunately have no idea how to solve the other errors, most of 
which are 'Error 1094 - Missing ResourceSource string (required)'.  I've 
read somewhere that these strings are in fact optional.  Is this a bug 
in the iasl compiler?  An example of such a block:

DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, 
NonCacheable, ReadWrite,
     0x00000000, // Address Space Granularity
     0x000A0000, // Address Range Minimum
     0x000BFFFF, // Address Range Maximum
     0x00000000, // Address Translation Offset
     0x00020000, 0x00,,
     , AddressRangeMemory, TypeStatic)

This is inside a block '
Name (RSRC, ResourceTemplate ()
{
... many of the above blocks here
})

I suspect this is resource specifications, in this particular case, the 
VGA BIOS video memory used by vesa if I'm not mistaken.

The other error that I receive is 'Error 1013 - Method local variable is 
not initialized (Local1)'.  In this case I guess I can just initialize 
it to 0 and get it over with?

There are also two warnings 'Warning 2019 - Not all control paths return 
a value' for methods SLLB and PBGU.  Looking at these methods they 
indeed look dodgy.  The SLLB function looks like:

Method (SLLB, 1, NotSerialized)
{
     Store (Arg0, Local0)
     And (Local0, 0xFF, Local0)
     If (LLess (Arg0, 0x0100))
     {
         Return (Z00B)
     }
     Else
     {
         Store (Local0, Z00B)
     }
}

This means that when SLLB gets called with an argument less that 0x0100 
then a value will be returned, but if not we store the value passed in 
the argument anded with 0xFF.  For optimization - shouldn't this 
calculation be moved into the Else part, also, should both cases return 
Z00B, in which case the If can be rewritten to a > 0xFF and both Stores 
and the And inside that with the Return after the If.

The second case is less clear:

Method (PBGU, 1, NotSerialized)
{
     If (LEqual (Arg0, 0x00))
     {
         Return (BGU1)
     }

     If (LEqual (Arg0, 0x01))
     {
         Return (Z00C)
     }

     If (LEqual (Arg0, 0x02))
     {
         Store (0x00, ZOOC)
         Return (Z00C)
     }
}

This case is less clear.  If we can assume that values will always be in 
the range [0-2] then it's possible to simply remove the last If 
statement and just put it's contents there.

Any and all advice appreciated.  I could not locate these methods in the 
ACPI spec so I'm suspecting that they are being used internally and does 
not form part of the ACPI spec.

Thank,

-- 
Jaco Kroon
Support Engineer
CSS TIRISANO
Computer Systems (Pty) Ltd
Tel:   +27 12 621 3171
Fax:   +27 12 661 4984
Cell:  +27 84 515 8255

Notice: This message and any attachments are confidential and intended 
solely for the addressee. If you have received this message in error, 
please notify the sender by email or by phone to the listed number. Any 
unauthorised use, alteration or dissemination is prohibited. CSS 
Tirisano (Pty) Ltd accepts no liability for any direct, indirect or 
consequential loss or damages, arising from the contents of this message.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2005-12-25 20:32 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-21  6:43 Toshiba Satellite P10 Jaco Kroon
     [not found] ` <43A8F98D.3000704-W7S27g77yncFbeUAN25fX/d9D2ou9A/h@public.gmane.org>
2005-12-22 11:02   ` Pavel Machek
     [not found]     ` <20051222110219.GB9838-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-22 12:04       ` Stefan Seyfried
     [not found]         ` <20051222120413.GA28743-l3A5Bk7waGM@public.gmane.org>
2005-12-22 13:59           ` Jaco Kroon
     [not found]             ` <43AAB13E.4080206-W7S27g77yncFbeUAN25fX/d9D2ou9A/h@public.gmane.org>
2005-12-22 14:23               ` Pavel Machek
2005-12-22 16:06               ` Stefan Seyfried
     [not found]                 ` <20051222160633.GA3316-l3A5Bk7waGM@public.gmane.org>
2005-12-23  6:44                   ` Jaco Kroon
     [not found]                     ` <43AB9CD2.9090106-W7S27g77yncFbeUAN25fX/d9D2ou9A/h@public.gmane.org>
2005-12-23 11:12                       ` Pavel Machek
     [not found]                         ` <20051223111239.GB10748-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-23 16:53                           ` Jaco Kroon
     [not found]                             ` <43AC2B95.9060901-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-23 17:24                               ` Pavel Machek
     [not found]                                 ` <20051223172459.GB15357-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-23 22:57                                   ` Jaco Kroon
     [not found]                                     ` <43AC80F3.6040605-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-23 23:01                                       ` Pavel Machek
     [not found]                                         ` <20051223230133.GC16104-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24  0:07                                           ` Jaco Kroon
     [not found]                                             ` <43AC9127.10007-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24  0:25                                               ` Pavel Machek
     [not found]                                                 ` <20051224002527.GA16285-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24  0:35                                                   ` Jaco Kroon
     [not found]                                                     ` <43AC97E7.1030800-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24  0:38                                                       ` Pavel Machek
     [not found]                                                         ` <20051224003808.GB16285-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24  8:45                                                           ` Jaco Kroon
     [not found]                                                             ` <43AD0AC6.9060904-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24  8:54                                                               ` Stefan Seyfried
     [not found]                                                                 ` <20051224085403.GB23539-l3A5Bk7waGM@public.gmane.org>
2005-12-24  9:13                                                                   ` Jaco Kroon
     [not found]                                                                     ` <43AD113F.4090601-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 12:02                                                                       ` Jaco Kroon
     [not found]                                                                         ` <43AD38C5.5030203-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 12:22                                                                           ` Pavel Machek
     [not found]                                                                             ` <20051224122218.GG26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 12:45                                                                               ` Jaco Kroon
2005-12-24 10:44                                                               ` Manuel Lauss
     [not found]                                                                 ` <43AD2676.10703-nEyxjcs6f3Vin2gBucwGBecsttgLyre6@public.gmane.org>
2005-12-24 11:21                                                                   ` Jaco Kroon
     [not found]                                                                     ` <43AD2F3F.7010003-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 11:47                                                                       ` Pavel Machek
     [not found]                                                                         ` <20051224114758.GD26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 12:35                                                                           ` Jaco Kroon
     [not found]                                                                             ` <43AD407A.5020708-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 12:49                                                                               ` Pavel Machek
     [not found]                                                                                 ` <20051224124903.GH26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 13:14                                                                                   ` Toshiba Satellite P10 [Solved] Jaco Kroon
     [not found]                                                                                     ` <43AD49A8.3010708-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 13:57                                                                                       ` Pavel Machek
     [not found]                                                                                         ` <20051224135756.GI26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-25  8:26                                                                                           ` Toshiba Satellite P10 + ati-drivers (fglrx) Jaco Kroon
     [not found]                                                                                             ` <43AE57B4.7030008-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-25  8:47                                                                                               ` Pavel Machek
     [not found]                                                                                                 ` <20051225084728.GE2183-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-25 16:16                                                                                                   ` Jaco Kroon
2005-12-25 20:32                                                                                                   ` Jaco Kroon
2005-12-24 11:46                                                               ` Toshiba Satellite P10 Pavel Machek
     [not found]                                                                 ` <20051224114621.GC26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 12:43                                                                   ` Jaco Kroon
2005-12-23 13:43                       ` Sebastian Henschel
2005-12-23 23:25                       ` Matthew Garrett
     [not found]                         ` <20051223232505.GA21166-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2005-12-23 23:59                           ` Jaco Kroon
2005-12-22 14:15           ` Holger Macht
     [not found]             ` <20051222141500.GA15412-+Mg20aWpcBQb1SvskN2V4Q@public.gmane.org>
2005-12-22 14:28               ` Jaco Kroon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox