[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems withs uspend on IBM thinkpad 380xd - screens stay blank on resume



Well, this works when the AC power is disconnected at least. Not
sure how to make it behave when the AC power is connected. :-/


Dwaine Gonyier wrote:
> I think figured it out:
> 
> Creating the file /etc/pcmcia/apm.opts
> with the line
> APM=eject
> seems to make supsend, redisafe, and hibernate magically
> start working now...
> 
> 
> Dwaine Gonyier wrote:
>> I am trying to get suspend, hibernate, etc. working on
>> an IBM thinkpad 380xd. I managed to recompile a kernel
>> with the thinkpad modules included. The problem I am
>> having is that the laptop seems to enter supsend OK, but
>> on resume, the display stays blank (the backlight turns on though).
>> I can ping, telnet, etc.
>> to the laptop, but no consoles are viewable. I am using text consoles
>> right now, and I plan to use X "on demand" rather than on boot.
>> I have X turned off while I try to fiure this suspend stuff out.
>> Both Fn-F4 on the keyboard and apm --suspend seem to exhibit this
>> problem.
>> 
>> 
>> BTW, I have used Linux before, but I am new to Debian.
>> 
>> I am running the 3.0r1 stable distribution. I started with
>> the 2.4.18-bf2.4 kernel.
>> 
>> If it is helpful, here is what kernel sources I used:
>> kernel 2.4.18
>> apmd 3.0.2 (from stock debian binary package--did not compile this)
>> thinkpad-source 3.5
>> pcmcia-cs 3.1.33
>> 
>> The laptop model is 2635FAU
>> 
>> Here are the APM options I compiled in the kernel:
>> CONFIG_PM=y
>> # CONFIG_ACPI is not set
>> CONFIG_APM=y
>> # CONFIG_APM_IGNORE_USER_SUSPEND is not set
>> # CONFIG_APM_DO_ENABLE is not set
>> CONFIG_APM_CPU_IDLE=y
>> CONFIG_APM_DISPLAY_BLANK=y
>> CONFIG_APM_RTC_IS_GMT=y
>> CONFIG_APM_ALLOW_INTS=y
>> # CONFIG_APM_REAL_MODE_POWER_OFF is not set
>> 
>> Are there some things I should set up related to tpctl? I have used
>> that utility to query
>> BIOS settings from the new kernel without problems. I'm not sure if I
>> need to
>> modify APM mode scripts or something (like ejecting cards, etc.)
>> because I haven't figured out how Debian handles those events.
>> 
>> I don't know if it matters, but I turned off PCMCIA support in the
>> kernel in order to use
>> pcmcia-cs instead. The latter works with my SMC-8035TX ethernet card.
>> Plus I think I need this to get a Linksys WPC11 ver 3 working as well
>> (ala linux-wlan--I saw a HOWTO on ldp for this using pcmcia-cs).
>> 
>> The irony is that Fn-F3 (turn off display) works fine and I can wake
>> up the display from that with no problems. I also enabled the
>> autoblank after timeout feature via PS2.EXe under Dos, and that seems
>> to work OK. I enabled the latter because I noticed that the APM
>> features of Linux would
>> blank the display, but do not turn off the backlight.
>> 
>> To clarify, the problems I am having are related to suspend (Fn-F4).
>> apm --suspend seems to have the same problem.
>> 
>> Hibernate doesn't work yet (yes, I have a hiber file on a DOs
>> partition, but I read in the FAQ on linux-thinkpad.org that there are
>> some other things that need to be modified first).
>> 
>> 
>> 
>> 
>> --
>> Dwaine Gonyier
>> dwaine_gonyier@mindspring.com
> 
> --
> Dwaine Gonyier
> dwaine_gonyier@mindspring.com

-- 
Dwaine Gonyier
dwaine_gonyier@mindspring.com



Reply to: