LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-04-2005, 06:36 AM   #1
db391
Member
 
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186

Rep: Reputation: 31
IBM Thinkpad T22 won't resume


Hiya everyone

I'm having a problem with the suspend on my ThinkPad. (which btw is 100% linux.)

When I run suspend, it goes normally (screen blank, moon symbol...)

and when I resume, the screen backlight and the power LED comes on and the hard disk spins up as usual.
The only problem is that i get no screen, but a white line across the top. Also the keyboard does not work (some of the Fn controls work: brightness and thinklight)

I have also tried switching to a tty (crtl-alt-F1 etc) but nothing.

This problem affects both APM and ACPI. (ThinkPad extras is compiled into ACPI)...

Does anyone know how I'm able to get the suspend to work properly or would it be my acpid is misconfigured?

Cheers in advance

db.
 
Old 05-07-2005, 04:18 PM   #2
littlemidget
Member
 
Registered: Aug 2004
Location: Oslo, Norway.
Distribution: Debian Sarge
Posts: 171

Rep: Reputation: 30
Re: IBM Thinkpad T22 won't resume

Quote:
Originally posted by db391
Does anyone know how I'm able to get the suspend to work properly or would it be my acpid is misconfigured?
I have a thinkpad x31, and to suspend it - I use this script:
Code:
#!/bin/bash
# sove.sh

#Stop the bluetooth service.
modprobe -r ehci_hcd
modprobe -r uhci_hcd

#sync the disks.
 sync && sync && sync

#Change the screen to VT1 (text mode)
  /usr/bin/chvt 1

#turn off the backlight on the laptop
# (Note: You must have the radeontool installed....)
  radeontool light off

#perform the actual "go-to-sleep" function.
echo "mem" > /sys/power/state

#Pause a second or two to let us sleep.
 sleep 2
#Sleepytime...Everything after this line gets exectued
#after the user resumes...
#switch back to the Xterminal (automatically turns on backlight)
  /usr/bin/chvt 7

#restart services...
modprobe ehci_hcd
modprobe uhci_hcd
You might wonder why I need to modprobe ehci_hcd and uhci_hcd - that's because they refused to 'wake up' after a suspend, if I did not 'remove' them before suspending the laptop. I hope this works for you
 
Old 05-17-2005, 09:30 PM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
I've got a T22, never had much luck with cpufreq scaling under 2.6 so I stick to 2.4 and apm, but I've only ever gotten hang on resume out of buggedy drivers, usually the sound driver or something pcmcia. If you've got an onboard wireless card, rip out that driver, same with e100, it has resume issues eepro100 is safe on. I think my magic combo with 2.6 was eepro and the alsa driver for the soundcard, then I got wake events to work properly, but it depended on the 2.6.

Cheers,

Finegan
 
Old 05-18-2005, 06:30 AM   #4
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

i will drop my cause i spent a lot of time with some of the issues here.
i am poor so mine is a R51
but i think most of the things apply.
first of all the thing with cpufreq:
finegan, i got cpufreq running smooth after loading the module "ondemand" changing the governor scale in acpi - ondemand. i didn't want to use daemons.
you need to "echo" somewhere in /sys/device/... and change the scaling_governor file to "ondemand".
be sure that you don't have "performance" this will push the fan load. i solved that recompiling the kernel without apm and only the necessary things in acpi as modules.
db391, the thinkpad extras from the kernel are pretty outdated so, if you have the possbility take them out from your kernel and get the new one from the web. in my case, this extras just bring me the possibility to read the fan speed. nothing else.
last of all, the thing with resume only works like described. you write a script removing most of the "weird" modules of your kernel, and when resumed you "modprobe" them again.
sorry for the bad english.
some tips about thinkpad notebooks
regards
slackie1000
 
Old 05-18-2005, 12:15 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Quote:
Originally posted by slackie1000
hi there,

i will drop my cause i spent a lot of time with some of the issues here.
i am poor so mine is a R51

In all seriousness, that was humour right? I mean... I'm gettin CPU envy here.

Quote:
Originally posted by slackie1000

but i think most of the things apply.
first of all the thing with cpufreq:
finegan, i got cpufreq running smooth after loading the module "ondemand" changing the governor scale in acpi - ondemand. i didn't want to use daemons.
you need to "echo" somewhere in /sys/device/... and change the scaling_governor file to "ondemand".
be sure that you don't have "performance" this will push the fan load. i solved that recompiling the kernel without apm and only the necessary things in acpi as modules.
Haven't tried the ondemand governor, but earlier when I said I hadn't had much luck with acpi, I really meant cpufreq control. As far as I can tell none of the device drivers for my cpu speed scaling will load, so acpi-cpufreq.ko, speedstep-ich.ko, and speedstep-smi.ko all kick when I try to load them. I don't have anything in /sys/device/cpu/... etc (booted into an apm kernel now, so I can't look).

The only time I did get acpi and cpu speed scaling to work was under the depricated /proc interface which gave me 3 cpuspeeds to play with, and with cpufreqd, I got about 1/3 as effective battery time as under apm.

Other then that, I got all the IBM acpi latop extras to work, including hotswap, the port replication registration, etc... and found a lot of fun crash bugs too Mostly things like ndiswrapper not handling sleep, nor the orinoco_cs driver v 0.13e being able to handle acpi sleep.

If I missed something with cpu speed scaling under a T22, please let me know, I've not gotten an answer here at LQ, nor the Linux-TP mailing list.

Cheers,

Finegan
 
Old 05-18-2005, 12:35 PM   #6
FredL2
Member
 
Registered: Feb 2005
Location: Uppsala, Sweden
Distribution: Arch Linux
Posts: 30

Rep: Reputation: 15
I've got a HP/Compaq nc6000, and I don't know if this applies to your thinkpads, but I'm using the "ACPI frequency modulation" module and the "userspace" governor, along with a dockapp called "wmlaptop". Everything works smooth, with very few problems. One of my friends had a problem with wmlaptop finding the battery slots, although he has a nc6000 too, so i think it depens on your kernel version and/or acpid version.
I experience suspend problems too, but these is mostly about the graphics card(ATI) and wlan nic (Intel PRO/Wireless 2100).
 
Old 05-18-2005, 12:45 PM   #7
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

Quote:
Originally posted by finegan
In all seriousness, that was humour right? I mean... I'm gettin CPU envy here.
lol.. it is ok... no envy...

Quote:
Originally posted by finegan
Haven't tried the ondemand governor, but earlier when I said I hadn't had much luck with acpi, I really meant cpufreq control. As far as I can tell none of the device drivers for my cpu speed scaling will load, so acpi-cpufreq.ko, speedstep-ich.ko, and speedstep-smi.ko all kick when I try to load them. I don't have anything in /sys/device/cpu/... etc (booted into an apm kernel now, so I can't look).
[/B]
i misunderstood your point before... you can't load the modules.. now i got it.
in order to get the /sys/wherever thing i think the "cpufreq statistics details" in the kernel will help. this will "read" the speedstepish info and write there. if your cpu do not send info there is a module called "speedstep relaxed capability check" that accepts the parameter relaxed_check=1 to bypass some weird things that cpu is reporting. like you wrote you get with the old /proc interface, maybe this bypass can help..

regards

slackie1000
 
Old 05-18-2005, 12:48 PM   #8
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Quote:
Originally posted by slackie1000
hi there,



lol.. it is ok... no envy...



i misunderstood your point before... you can't load the modules.. now i got it.
in order to get the /sys/wherever thing i think the "cpufreq statistics details" in the kernel will help. this will "read" the speedstepish info and write there. if your cpu do not send info there is a module called "speedstep relaxed capability check" that accepts the parameter relaxed_check=1 to bypass some weird things that cpu is reporting. like you wrote you get with the old /proc interface, maybe this bypass can help..

regards

slackie1000
image = /boot/2611-three
root = /dev/hda3
label = 2611-evil3
append = "relaxed_check=1"
read-only

Yeah been there too... I honestly think the bugger won't load.... sad, but the only time it bugs me is when I'm trying to use a driver thats newer and not APM safe, like the madwifi driver for atheros cards.

Honestly you've suggested in 1 day everything I researched over a week, keep it comin... got another? It still bugs me I'm stuck in 2.4-land.

Cheers,

Finegan
 
Old 05-18-2005, 01:09 PM   #9
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

Quote:
Originally posted by finegan

Honestly you've suggested in 1 day everything I researched over a week, keep it comin... got another? It still bugs me I'm stuck in 2.4-land.
happy to help..

ok. there is one last thing that can happen. if you have the "speedstep enhanced" as builtin - i don't mean a module here - in your kernel this can conflict somehow with your cpu - don't ask why. i have no idea.
i would wipe all the speedstep drivers from the kernel and leave only the smi interface - this one is "special" for Intel 440BX/ZX/MX southbridge - that i think is the case of the t22. compiling this driver with the relaxed check and the details in your sysfs would be my guess..

regards
slackie1000
 
Old 02-08-2006, 01:57 AM   #10
soupy
Member
 
Registered: Aug 2004
Posts: 40

Rep: Reputation: 15
forgive me if my comment here is out of place, and i can see that this is an older thread, but i just have a simple question from all of this. i have a thinkpad T22 900mhz p3. is it possible under some flavor (i don't even care which one) of linux for my thinkpad T22 to work correctly, including hotswapping ultrabay drives (i.e. floppy, cdrw/dvd, zip, etc.) and the suspend/hibernate functions? if so, would someone, anyone, be so very kind as to tell me which distro comes closest to doing these things 'out of the box'? i would very much love to make/keep my thinkpad a linux machine. weeks of googling and frustration are starting to fray my edges. thanks for any responses.

soupy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux on thinkpad T22 ptawe Linux - Hardware 10 01-02-2006 11:11 PM
Thinkpad t22 video brooks1277 Mandriva 1 09-22-2005 08:10 PM
Debian on Thinkpad T22 lantern Debian 2 01-16-2005 10:49 PM
Mandrake 10.0 on IBM t22 Thinkpad nallee Linux - Newbie 1 11-17-2004 12:45 AM
IBM T22 Thinkpad Winmodem nallee Linux - Laptop and Netbook 0 11-17-2004 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration