Initialen



Change color to default
Change color to red
Change color to blue
Change color to green
Change color to yellow
Change color to cyan
Change color to magenta
Change color to orange
Change color to b/w

Linux on Dialogue Flybook Howto - fuschlberger.net

Change color to default
Change color to red
Change color to dark red
Change color to blue
Change color to dark blue
Change color to green
Change color to dark green
Change color to yellow
Change color to dark yellow
Change color to cyan
Change color to dark cyan
Change color to magenta
Change color to dark magenta
Change color to magenta
Change color to dark orange
Change color to grey
Change color to b/w

Printme!

ACPI

ACPI works.
Software-Suspend from kernel 2.6.12 works.

According to dmesg the following ACPI-events are supported:
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery absent)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Processor [CPU0] (supports C1 C2 C3, 8 throttling states)

The Sleep Button (Fn+F4) does not work. Who wants to write a driver?

When running acpid you can configure in /etc/acpi/ how the flybook should react to each ACPI-event.
For details please consult the acpid manpage/documentation and the example files in /etc/acpi/

Software-Suspend / Hibernate

Activate it in the kernel. There is no need for patching the kernel with swsusp2
Install the hibernate-package (apt-get install hibernate)
Adapt the file /etc/hibernate/hibernate.conf to your needs.

Comment everything in the swsusp2_15-section and uncomment the following lines instead:
UseSysfsPowerState disk
# choose one from standby, mem or disk
PowerdownMethod shutdown


Uncomment the line
SwitchToTextMode yes

A file /etc/acpi/events/powerbtn will have been installed by the acpid-package. If not, create it.

-------- /etc/acpi/events/powerbtn --------
event=button[ /]power
action=/etc/acpi/powerbtn.sh
-------- /etc/acpi/events/powerbtn --------

This will run the script /etc/acpi/powerbtn.sh when the power-button is pressed.

Create/Modify /etc/acpi/powerbtn.sh

-------- /etc/acpi/powerbtn.sh --------
#!/bin/sh
# /etc/acpi/powerbtn.sh
# Initiates a shutdown when the power putton has been
# pressed.

hibernate
-------- /etc/acpi/powerbtn.sh --------

This will run hibernate when the power-button is pressed.

Hibernating and resuming works out-of-the-box. Only the touchscreen needs to be reinitialized.

Resuming the Touchscreen

You need a program to initialize the touchscreen after resuming. Download it from Elmar's Flybook Page.
Untar it to a directory, compile and install it:
make; make install
The program will be installed to /usr/bin/

Now you can initialize the touchscreen by running pentinit from a shell as root.

For doing this automatically when resuming create a file /usr/share/hibernate/scriptlets.d/tsi

-------- /usr/share/hibernate/scriptlets.d/tsi --------
# -*- sh -*-
# vim:ft=sh:ts=8:sw=4:noet

tsiResume() {
    /usr/bin/pentinit
}

tsiOptions() {
    if [ -z "$TSI_HOOKED" ] ; then
        AddResumeHook 01 tsiResume
        TSI_HOOKED=1
    fi
    return 0
}

# $Id: tsi (TouchScreenInit) 2005-06-24 wf $
-------- /usr/share/hibernate/scriptlets.d/tsi --------


Change color to defaultChange color to redChange color to blueChange color to greenChange color to yellowChange color to cyanChange color to magentaChange color to orangeChange color to b/w

© by wf
webslave (at) fuschlberger.net
Medieninhaber:
Wolfgang Fuschlberger, Salzburg