LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Toshiba A100-SK9 Suspend-Standby-Hibernate Function keys (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/toshiba-a100-sk9-suspend-standby-hibernate-function-keys-495895/)

fiery_ice 10-26-2006 06:48 PM

Problem suspending on toshiba with phoenix bios
 
I'm running debian etch on my new laptop.

I've been googling, and researching for weeks,
I can't seem to find any kind of support for a software, or kernel level suspend support for my toshiba laptop model.
I definately DO have a Phoenix Bios, and not a true Toshiba bios

Has anyone successfully suspended, and resumed this toshiba laptop model? How about function key support?

ANY help will be much appreciated.

I did come across the omnibook drivers, but was unable to successfully compile them.

Code:

ice@icey:~/omnibook-20060126$ make
PWD=/home/ice/omnibook-20060126
make -C /lib/modules/2.6.18/build SUBDIRS=/home/ice/omnibook-20060126 modules
make[1]: Entering directory `/usr/src/linux-2.6.18'
  CC [M]  /home/ice/omnibook-20060126/init.o
/home/ice/omnibook-20060126/init.c:473: error: expected ')' before string constant
/home/ice/omnibook-20060126/init.c:474: error: expected ')' before string constant
/home/ice/omnibook-20060126/init.c:475: error: expected ')' before string constant
/home/ice/omnibook-20060126/init.c:476: error: expected ')' before string  constant

---many more errors of this type---

make[2]: *** [/home/ice/omnibook-20060126/init.o] Error 1
make[1]: *** [_module_/home/ice/omnibook-20060126] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18'
make: *** [omnibook.ko] Error 2

Whats the next step? Pull out hair? hehe.

cab15625 11-15-2006 12:21 PM

I also have a toshiba a100, not sure of the exact model though (the only difference I noticed between your specs and mine was that I have an onboard intel video card, not an nvidia).

Anyway, suspend works for me:
- Make sure it is turned on in the kernel (I'm running 2.6.18.2)
-> Power management options
-> ACPI support
-> Sleep states
- If you have smp support turned on in your kernel, make sure you also have support for hotpluggable cpus turned on. If not, suspend to ram will fail. This is an "issue" with the centrino core chips since they effectively have two cpus that you can use, but suspend only works properly when there is only one active cpu.
-> Processor type and features
-> Support for hot-pluggable cpus

Once you have that running in your kernel, you can issue a command from the command line (eg, in an xterm)

echo -n "mem" > /sys/power/state

and the laptop should go into suspend mode. A different command to do the same thing is

acpitool -s

if you have acpitool installed.

I haven't managed to get ANY of the fn-key combinations to work. It's very annoying. fn-f3 or fn-f4 should trigger the same result as those two commands, but nothing happens. I would also like to be able to control the brightness on the backlight, but even that is too much to ask right now.

Good luck

fiery_ice 11-15-2006 02:20 PM

Thank you very much for the reply, cab15625 :)

Okay, I'm recompiling my kernel again with those options specified. (I added the hotplug cpu feature, and already had "sleep states")

I'm also using the 2.6.18.2 kernel.


All times are GMT -5. The time now is 07:48 AM.