Difference between revisions of "Fujitsu Siemens Lifebook P7010"

From ArchWiki
Jump to: navigation, search
m (cat)
m (Reverted edits by Manolo (Talk) to last revision by DanyaelX)
Line 1: Line 1:
 +
[[Category:Laptops (English)]]
 +
[[Category:HOWTOs (English)]]
 +
==Introduction==
 
This is my first attempt to create/edit a wiki page. I will work on this page as much as time allows, but be prepared to have it little more than a stub at times (like now)...
 
This is my first attempt to create/edit a wiki page. I will work on this page as much as time allows, but be prepared to have it little more than a stub at times (like now)...
  
Line 441: Line 444:
  
 
* This report is listed at the [http://tuxmobil.org/fujitsu.html TuxMobil: Linux Laptop and Notebook Installation Guides Survey: Fujitsu-Siemens - FSC].
 
* This report is listed at the [http://tuxmobil.org/fujitsu.html TuxMobil: Linux Laptop and Notebook Installation Guides Survey: Fujitsu-Siemens - FSC].
 
[[Category:Fujitsu (English)]] [[Category:HOWTOs (English)]]
 

Revision as of 02:04, 17 November 2009

Introduction

This is my first attempt to create/edit a wiki page. I will work on this page as much as time allows, but be prepared to have it little more than a stub at times (like now)...

Summary

1.2 System Specifications 1.3 What works/What doesn't 2 Video 3 Audio 4 Important Config files= The Fujitsu-Siemens P7010(D) is a neat little laptop with a 10" widescreen. It weighs little more than a kilo, has a relatively long battery life and sports many things that low-weight laptops normally lack.

System Specifications

Fujitsu Siemens LifeBook P7010 - Pentium M 753 1.2 GHz - 10.6" TFT

  • 26.1 cm x 19.9 cm x 3.5 cm
  • 1.3 kg
  • Pentium M 753 1.2 GHz ULV, 2MB L2-cache
  • 512MB DDR SDRAM 333MHz PC2700 (maximum: 1024MB)
  • SD-card reader (ricoh)
  • CF reader
  • PCMCIA
  • 80GB 5400 rpm Harddrive
  • 10.6" TFT active matrix WXGA (1280 x 768)
  • Intel 855GME
  • Ethernet
  • Intel PRO/Wireless 2200BG
  • Modem
  • 2 USB ports, 1 firewire
  • Battery time: 7.5 hours
  • Port for external screen
  • TV-out
  • 1 modular bay (I've filled it out with a DVD-burner(MATSHITADVD-RAM UJ-822S)

Output of lshwd

00:00.0 Host bridge: Intel Corp.: Unknown device 3580 (intel-agp)
00:00.1 System peripheral: Intel Corp.: Unknown device 3584 (unknown)
00:00.3 System peripheral: Intel Corp.: Unknown device 3585 (unknown)
00:02.0 VGA compatible controller: Intel Corp.: Unknown device 3582 (vesa)
00:02.1 Display controller: Intel Corp.: Unknown device 3582 (vesa)
00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (uhci_hcd)
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (uhci_hcd)
00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (ehci-hcd)
00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (hw_random)
00:1f.0 ISA bridge: Intel Corp.: Unknown device 24cc (unknown)
00:1f.1 IDE interface: Intel Corp.: Unknown device 24ca (piix)
00:1f.3 SMBus: Intel Corp. 82801DB SMBus (i2c-i801)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (snd-intel8x0)
00:1f.6 Modem: Intel Corp. 82801DB AC'97 Modem (slamr)
01:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (yenta_socket)
01:0a.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (yenta_socket)
01:0a.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (ohci1394)
01:0a.3 System peripheral: Ricoh Co Ltd: Unknown device 0576 (unknown)
01:0a.4 System peripheral: Ricoh Co Ltd: Unknown device 0592 (unknown)
01:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (8139too)
01:0d.0 Network controller: Intel Corp.: Unknown device 4220 (ipw2200)
003:003 USB Mass Storage: FireWire/USB2.0 Combo (usb-storage)
003:001 USB Hub:  (hub)
002:001 USB Hub:  (hub)
001:002 USB Wireless: USAWireless Bluetooth Device (hci_usb)
001:001 USB Hub:  (hub)
---:--- Mouse: Generic PS/2 Wheel Mouse [/dev/psaux] (msintellips/2)


What works/What doesn't

Pretty much everything works on this laptop except the TV-out and the SD-card reader. The screen needs a little tweaking to get working. The preferred resolution (1280x768) isn't part of the VBIOS, and consequently the VBIOS needs to be patched with Alain Poirier's software 855resolution (to be found in the AUR).


Video

Template:Sn

In order to get the video working fine at 1280x768 you need to patch the VBIOS with Alain Poirier's 855resolution for which there is a PKGBUILD in the AUR. This application allows you to replace any of the modes in the VBIOS with something else. After you've compiled the package and installed it, run the following command.

855resolution 5c 1280 768

This will replace mode 5c with 1280 768. You can list the modes with

855resolution -l

which should return something like this:

855resolution version 0.4, by Alain Poirier

Chipset: 855GM (id=0x35808086)
VBIOS type: 2
VBIOS Version: 3181 

Mode 30 : 640x480, 8 bits/pixel
Mode 32 : 800x600, 8 bits/pixel
Mode 34 : 1024x768, 8 bits/pixel
Mode 38 : 1280x1024, 8 bits/pixel
Mode 3a : 1600x1200, 8 bits/pixel
Mode 3c : 1280x768, 8 bits/pixel
Mode 41 : 640x480, 16 bits/pixel
Mode 43 : 800x600, 16 bits/pixel
Mode 45 : 1024x768, 16 bits/pixel
Mode 49 : 1280x1024, 16 bits/pixel
Mode 4b : 1600x1200, 16 bits/pixel
Mode 4d : 1280x768, 16 bits/pixel
Mode 50 : 640x480, 32 bits/pixel
Mode 52 : 800x600, 32 bits/pixel
Mode 54 : 1024x768, 32 bits/pixel
Mode 58 : 1280x1024, 32 bits/pixel
Mode 5a : 1600x1200, 32 bits/pixel
Mode 5c : 1280x768, 32 bits/pixel

Before everything's set, you will also need to add the proper modelines in xorg.conf. This is done in the monitor section

Section "Monitor"
        Identifier      "InternalMonitor"
        Option  "DPMS"
        HorizSync    28.0 - 96.0
        VertRefresh  50.0 - 75.0
        Modeline "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
        Modeline "1024x768" 65.00 1024 1047 1183 1343 768 770 776 805
EndSection

Audio

Template:Sn The audio is really not a big deal, at least not if you use alsa (which is the only sound system I've ever used under linux). The only weirdness is that the Master channel has no effect on the sound, you have to play around with the Headphone and PCM channels in order to set the sound.

Wireless Network

Template:Sn Wireless network is an Intel Pro Wireless 2200BG and has very good linux drivers nowadays. If you're using the stock arch kernel, all you need to do is

pacman -S ipw2200

and add the proper modules to your rc.conf (see the rc.conf section of this page) if you're not using hotplug or hwd.

Card Readers

PCMCIA

Template:Sn As far as I've understood from other reports, the pcmcia card works as expected. I don't have one at this time, so I can't confirm it.

Compact Flash

The same goes for the Compact Flash. It's supposed to work as it uses the same interfaces as the PCMCIA does, but I can't confirm anything since I don't have a CF-card.

Secure Digital

There is now a driver in alpha test stage on Sourceforge http://sourceforge.net/projects/sdricohcs/ it supports only the SD Card driver so far and must be compiled from source. Arch packages found here http://aur.archlinux.org/packages.php?do_Details=1&ID=9884.

Important Config files

Kernel Config

Throughout most of linux days I've been using morph-sources, but recently I've been starting to use archck. Here's a config file for the kernel that can be used as a base. There are doubtless changes you should do, but it's always nice to have something to start off from. [I realise that I can't post the config file since it's so large... perhaps if it could be uploaded somehow and linked to :-/]

xorg.conf

Xorg 6.8.2 has loses direct rendering after resume from either suspend-to-disk or suspend-to-ram. I'm therefore using a snapshot of the upcoming xorg release, which has this issue solved. If you decide the to use the snapshot remember that you won't need to load the glcore module, so you can comment that in the xorg.conf.

I've been playing around a lot to get the TV-out working, but alas! (I'm actually keeping a Win-partition in order to be able to use the TV-out - it feels like a complete waste of gigabytes of my precious harddrive!). The setup you see here is for an internal monitor. If you alter the ServerLayout section so that you have InternalScreen commented instead of ExternalScreen, X should work with an external screen. There was some issue with xorg 6.8.2 that prevented it from showing image on internal and external screens simultaneously, but that is allegedly solved now. I haven't updated my xorg.conf, however, to reflect those changes.

Section "ServerLayout"
	Identifier     "Work in Progress"
#	Screen	0	"ExternalScreen" 0 0
	Screen  0	"InternalScreen" 0 0
#	Screen	1	"ExternalScreen" RightOf "InternalScreen"
	InputDevice    "Keyboard" "CoreKeyboard"
        InputDevice    "Synaptics TouchPad" "AlwaysCore"
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
	Option "AllowMouseOpenFail"  "true"
# 	Option  "BlankTime"  "7"  # Blank the screen after 10 minutes (Fake)
#	Option  "StandbyTime"  "10"  # Turn off screen after 15 minutes (DPMS)
#	Option  "SuspendTime"  "15"  # Full suspend after 20 minutes
	Option  "OffTime"  "20"  # Turn off after half an hour
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
    FontPath 	"/usr/X11R6/lib/X11/fonts/misc:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath 	"/usr/X11R6/lib/X11/fonts/Type1"
    FontPath 	"/usr/local/share/fonts"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
	Load  "GLcore"
	Load  "dbe"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
        Load  "bitmap" # bitmap-fonts
	Load  "type1"
	Load  "freetype"
	Load  "record"
EndSection

Section "InputDevice"
	Identifier  "Keyboard"
	Driver      "kbd"
        Option      "CoreKeyboard"
	Option "XkbRules" "xfree86"
	Option "XkbModel" "pc105"
	Option "XkbLayout" "se"

EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
	Option		"SendCoreEvents"	"true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

Section "InputDevice"
        Identifier      "Synaptics TouchPad"
        Driver          "synaptics"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "LeftEdge"              "1700"
        Option          "RightEdge"             "5300"
        Option          "TopEdge"               "1700"
        Option          "BottomEdge"            "4200"
        Option          "FingerLow"             "25"
        Option          "FingerHigh"            "30"
        Option          "MaxTapTime"            "180"
        Option          "MaxTapMove"            "220"
        Option          "VertScrollDelta"       "100"
        Option          "MinSpeed"              "0.06"
        Option          "MaxSpeed"              "0.12"
        Option          "AccelFactor"           "0.0010"
        Option          "SHMConfig"             "on"
        Option          "Repeater"              "/dev/ps2mouse"
EndSection

Section "Monitor"
	Identifier	"InternalMonitor"
	Option	"DPMS"
	HorizSync    28.0 - 96.0
	VertRefresh  50.0 - 75.0
	Modeline "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
	Modeline "1024x768" 65.00 1024 1047 1183 1343 768 770 776 805
EndSection

Section "Monitor"
	Identifier "ExternalMonitor"
	Option "DPMS" "true"
	HorizSync	30.0-83.0
	VertRefresh	56.0-76.0
	Modeline "1280x1024"  138.54  1280 1368 1504 1728  1024 1025 1028 1069
EndSection

Section "Monitor"
  Identifier   "Television"
  HorizSync    30-68
  VertRefresh  50-120
# fbset -fb /dev/fb1 -x
  Mode "720x576"
    # D: 42.600 MHz, H: 45.127 kHz, V: 74.963 Hz
    DotClock 42.601
    HTimings 720 760 832 944
    VTimings 576 577 580 602
    Flags    "-HSync" "-VSync"
  EndMode
EndSection


Section "Device"
	Identifier  "Intel"
	Driver      "i810"
#	BusID		"PCI:0:2:0"
#	Option		"MonitorLayout" "TV,LFP"
#	BusID       "PCI:1:0:0"
# VideoRam	65536
EndSection

Section "Screen"
	Identifier "InternalScreen"
	Device     "Intel"
	Monitor    "InternalMonitor"
	DefaultColorDepth 24
	SubSection "Display"
		Depth     16
		Modes "1280x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes "1280x768" "1024x768" "800x600" "640x480"
		ViewPort	0 0
	EndSubSection
	SubSection "Display"
		Depth     32
		Modes "1280x768" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"ExternalScreen"
	Device	"Intel"
	Monitor	"ExternalMonitor"
	DefaultColorDepth 24
	SubSection "Display"
		Depth	24
		Modes "1280x1024"
		ViewPort	0 0
	EndSubsection
EndSection

Section "Screen"
    Identifier  "TVScreen"
    Device      "Intel"
    Monitor     "Television"
    DefaultDepth 24
    Subsection "Display"
        Depth   24
        Modes   "768x576"
        ViewPort 0 0
    EndSubsection
EndSection


Section "DRI"
	Mode 0666
EndSection

Section "Extensions"
	Option "Composite" "Enable"
	Option "RENDER" "Enable"
EndSection

cpufreqd.conf

I've had quite a hard time deciding what the best cpufreqd setup would be for me. Right now I'm using this:

# this is a comment
#
# you need: 1 [General] section, 
#           1 or more [Profile] sections
#	          1 or more [Rule] sections
#
# a section ends at the first blank line
#
# [Rule] sample:
#           [Rule]
#           name=sample_rule
#           ac=on                    # (on/off)
#           battery_interval=0-10
#           cpu_interval=30-60
#           programs=xine,mplayer
#           profile=sample_profile
#
# [Profile] sample:
#           [Profile]
#           name=sample_profile
#           minfreq=10%
#           maxfreq=100%
#           policy=performance
#
# see CPUFREQD.CONF(5) manpage for a complete reference

[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=2
pm_type=acpi #(acpi, apm or pmu)
# Uncomment the following line to enable ACPI workaround (see cpufreqd.conf(5))
# acpi_workaround=1
verbosity=5 #(if you want a minimal logging set to 5)

[Profile]
name=hi_boost
minfreq=1000000
maxfreq=1200000
policy=performance

[Profile]
name=medium_boost
minfreq=800000
maxfreq=1000000
policy=conservative

[Profile]
name=lo_boost
minfreq=600000
maxfreq=800000
policy=performance

[Profile]
name=lo_power
minfreq=0
maxfreq=600000
policy=powersave

# conservative mode when not AC
[Rule]
name=low_bat_conservative
ac=off
battery_interval=0-100
cpu_interval=0-35
profile=lo_power

#[Rule]
name=conservative
ac=off                   # (on/off)
battery_interval=0-100   
cpu_interval=35-60
profile=lo_boost

# need some power

[Rule]
name=lo_cpu_boost
ac=off                   # (on/off)
battery_interval=0-100
cpu_interval=60-80
profile=medium_boost

# need big power (not if battery very low)
[Rule]
name=hi_cpu_boost
ac=off                   # (on/off)
battery_interval=50-100
cpu_interval=80-100
profile=hi_boost

full power when AC
[Rule]
name=AC_on
ac=on                   # (on/off)
profile=hi_boost

rc.conf (modules array)

This is just a starting point, you might want to load other modules or you might have some of these compiled into the kernel.

MODULES=(evdev \
        snd-intel8x0 snd-pcm-oss snd-mixer-oss snd-seq-oss \
        uhci-hcd ehci-hcd ohci1394 \
        ieee80211_crypt ieee80211 ipw2200 \
        i2c-i801 agp-intel i915)

Other Tweaks

I have a repository with some tweaked packages. Most noticably, there's an archck8-kernel, compiled for the lifebook p7010, as well as other packages compiled for the pentium-m processor (which could be used for other laptops too), such as a few of the KDE 3.4.3 packages, e17, and a few other things. Information on how to use my repository can be found here

External Links