Linux - Laptop and NetbookHaving 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

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

I recently installed Fedora Core 5 on my Acer Travelmate 230. Almost everything important is working except S3 Suspend. Out of the box it would appear to suspend but the screen stayed blank on wake-up. I added s3_bios to the kernel options and now the video comes back up.

Now when I close the lid, select "suspend" from the menu or issue "echo mem > /sys/power/state" it shows "stopping tasks" and then sleeps. Upon wake-up it displays a line in yellow at the top of the screen which appears to be supposed to say "Linux"-something but all that is there is the 'in', the rest is missing. Under that it shows

usb usb0: root hub lost power or was reset
usb usb1: root hub lost power or was reset
usb usb2: root hub lost power or was reset

That is all that happens. If I use CTRL+ALT+Fx I can change consoles and get login prompts or if I start a console session before suspending then what was on the screen will still be there after resume. I can type on the screens but they are unresponsive. If I try to login it allows me to enter a username and then hangs before displaying the password prompt. If I press CTRL+ALT+F7 to return to X the entire system hangs and I have to hard-reset.

To test a theory I wrote a simple program that spits out incrementing numbers onto a text console in an endless loop (basically while(1) { printf("%d ",x++) } ), ran it and the screen filled with incrementing numbers. Switched to another text console, then switched back, and of course it was still going. Switched to the other and did "echo mem /sys/power/state". The system went to standby. Then I woke it back up and switched back to the console that had my program running on it. The numbers were still there but the program was hung and no new numbers were coming up.

I have searched and searched trying to fix this. I only have dialup available so I can not really get the kernel sources or try upgrading the kernel--that is the only thing I have not tried. Is it possible maybe that whatever part of the kernel that stops the tasks is not resuming them again for whatever reason? I found a log of a successful resume process and it showed that there is supposed to be a "resuming tasks" that is the reverse of the "stopping tasks" I see immediately before standby...I don't see anything like that. Maybe the kernel doesn't know that the computer has woken up? Is that possible?

Until I get resume working I'm stuck with Windows. Anybody? PLEASE? I really really want to run FC5 on this system!

I also tried S4 via "echo disk > /sys/power/state", swsusp takes over but it hangs at the line about highmem and never shuts down. I have not been able to figure out how to get it to go into S2. S1 appears to work, at least the screen shuts off.

The usb-modules problem seems to be rather common-place when it comes to the S3 state. You could try writing a script file which unloads usb modules before the sleep state is invoked. This ofcourse is under the assumption that you have compiled the usb sub-system in the kernel as modules and not built-in.

The kernel is the stock kernel that comes with FC5, 2.6.15 and the USB is modules. I do not show uchi_hcd loaded but I do have ehci_hcd.

Copied the script from the last page of your link and ran it verbatim except I commented out the last chvt so I could see the text console.

Now there is no "usb: usb" messages, and below the corrupted "inu" line that is supposed to say Linux, it gives me a new message:

ACPI: PCI Interrupt 0000:00:1f.1[A]: No GSI

Any idea what that means?

I can still switch between consoles, but now the logged-in consoles do not allow typing. I can enter a username at the "login:" prompts but again it hangs before the password prompt.

Also tried just typing rmmod ehci_hcd then echo -n mem > /sys/power/state at the text console. On wake-up it still showed the "usb: usb" messages, but there was no blank space between them and the "inu" line (previously there were two blank lines), and below them was the new message about "PCI Interrupt".