Search:  
Gentoo Wiki

Dialogue_Flybook

This article is still a Stub. You can help Gentoo-Wiki by expanding it.

This article is part of the Hardware series.
Laptops TV Tuner Cards Wireless Servers Storage Other Hardware Motherboards Related

A short guide to getting the Dialogue Flybook working with Linux.

Contents

Booting up

Knoppix terminal server can be used to netboot the laptop to initiate installation. Knoppix has ntfsresize and other useful utilities that can be used to install the distro of your choice. You could even download the iso on your hard drive, copy the files through loopback mount to hd, install grub so that it boots the install cd like this.


Alternatively usb cdrom or hard disk might work as well.

Hardware

IDE Chipset

ALI M15x3

Ethernet

RealTek RTL-8139 PCI

WiFi

The wireless card is usb and has prism3 chipset. The module to load is prism2_usb. At least version 0.2.1_pre20 is known to work (there was trouble with the newer drivers).

USE="usb" emerge linux-wlan-ng

GPRS

GPRS, appears as /dev/ttyS0 (with knoppix kernel 2.6.9). It is a Siemens MC45 card. Use AT+CGMI+CGMM+CGMR to check.

AT+CGMI+CGMM+CGMR
SIEMENS

MC45

REVISION 02.04

OK

Google for siemens cellular engine mc45 to find the manual. The device conforms to the standard GSM AT Command set. SMS works great, voice calls are possible, through the sound volume is only very low, but the other side can hear me good (so microphone is working automagically). aumix lists to mixer channels called PhoneIn and PhoneOut. Are they connected?

The AT command set manual: title

wvdial configuration script that works for operator Saunalahti (Finland)

######################################################################
# File:
# wvdial-gprs.conf
#
#
[Dialer Defaults]
Modem = /dev/ttyS0
Baud = 115200 
# 
Init1 = ATZ
Init2 = AT+CGMI+CGMM+CGMR
# put your pin code here if you need one.
Init3 = AT+CPIN="0000"
# Init4 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init5 = AT+CGDCONT=1,"IP","internet" 
#
SetVolume = 1
Dial Command = ATD 
#
Phone = *99***1#
Username = test
Password = test
#
#######################################################################

Modem

Needs proprietary drivers? (See Discussion)

Penmount display

Heikki Linnakangas, Elmar Hanlhofer and Christoph Pittracher wrote a driver for the touchscreen.

Get the explanation and patch at Heikki's page.

Longrun

Enable cpuid and msr in kernel options.

Code: Kernel configuration options
 <*> /dev/cpu/*/msr - Model-specific register support                      
 <*> /dev/cpu/*/cpuid - CPU information support          

emerge app-admin/longrun

Mouse

Mouse flips on 2.6 kernels, 2.4 kernels work fine. To prevent flipping in 2.6 kernels, you can hack the psmouse module in /usr/src/linux-YOUR_CURRENT_KERNEL_VERSION/drivers/input/mouse/psmouse-base.c and then build your kernel/modules again. Easiest way is to build psmouse as a module to prevent the need to compile the whole kernel again.

Below are listed the differences between hacked and unhacked versions of the file.

File: psmouse-base.c.diff
 120,121c120,121
 < 	input_report_rel(dev, REL_X, packet[1] ? (int) packet[1] - (int) ((packet[0] << 4) & 0x100) : 0);
 < 	input_report_rel(dev, REL_Y, packet[2] ? (int) ((packet[0] << 3) & 0x100) - (int) packet[2] : 0);
 ---
 > 	input_report_rel(dev, REL_X, packet[1] ? (int) ((packet[0] << 4) & 0x100) - (int) packet[1] : 0);
 > 	input_report_rel(dev, REL_Y, packet[2] ? (int) packet[2] - (int) ((packet[0] << 3) & 0x100) : 0);

Mouse and X.org with 2.6 kernel

If not willing to hack the kernel (see above) and you are not using an usb mouse with Flybook, you can put following code to /etc/X11/xorg.conf's mouse definition to invert the mouse movement in X:

File: /etc/X11/xorg.conf
  Section "InputDevice"
          Driver      "mouse"
          ### ...your own settings...
          Option      "InvX"
          Option      "InvY"
  EndSection

Video and suspend to swap drive

Radeon mobility M6. OpenGL acceleration works at least with x11-drm driver, although this breaks software suspend on 2.4 kernels. However, with 2.6 kernels the software suspend using

Linux Kernel Configuration:
[*] Power Management support
[*]   Software Suspend (EXPERIMENTAL)
(/dev/hda2) Default resume partition

and command

/usr/bin/echo 4 > /proc/acpi/sleep

works fine. The relevant parts of the X's configuration file look as follows:

File: /etc/X11/xorg.conf
Section "Module"
  ...
  Load       "glx"
  Load       "dri"
  ...
EndSection

Section "Device"
  Identifier  "radeon"
  Driver      "radeon"
EndSection

From kernel choose under Device drivers -> Character Devices

Linux Kernel Configuration:
[*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
<M>   ATI Radeon

TV output, external monitor and ati-drivers untested.

Sound card

OSS and ALSA drivers available (Trident 4DWave DX/NX, SiS 7018 or ALi 5451 PCI Audio Core).

Suspend to RAM

$ echo "3" > /proc/acpi/sleep

Bluetooth

Seems to work flawlessly. See Mobile Phone/Bluetooth.

Links to other Flybook Sites

Retrieved from "http://www.gentoo-wiki.info/Dialogue_Flybook"

Last modified: Thu, 28 Aug 2008 21:54:00 +0000 Hits: 20,688