Difference between revisions of "Fujitsu-Siemens Amilo Pro V3205"

From ArchWiki
Jump to: navigation, search
(initial template based on The Fujitsu-Siemens P7010 created)
 
(use https for links to archlinux.org)
(40 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[Category:Laptops (English)]]
+
[[Category:Fujitsu]]
[[Category:HOWTOs (English)]]
+
{{out of date}}
==Introduction==
+
=System Specifications=
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==
+
* Intel Core 2 Duo 1.66 GHz
1.2 System Specifications
+
* Intel 945GM Chipset
1.3 What works/What doesn't
+
* 1024 MB DDR2
2 Video
+
* 120GB SATA HDD
3 Audio
+
* NEC DL DVD-RW
4 Important Config files=
+
* Intel GMA 950 graphics with shared memory
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.
+
* 12.1" WXGA - 1280x800
 +
* Intel 80281G High Definitio Audio soundcard
 +
* Ricoh Co Ltd R5C822 4in1 card reader
 +
* IEEE1394 port
 +
* 4 USB 2.0 ports
 +
* Intel ProWireless 3945 wireless card
 +
* Intel Pro/100 VE ethernet controller
 +
* Bluetooth v2
 +
* DVI output
 +
* S-Video out
  
===System Specifications===
+
=Installation=
  
Fujitsu Siemens LifeBook P7010 - Pentium M 753 1.2 GHz - 10.6" TFT
+
A hub error message is printed repeatedly:
* 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
+
  hub 1-0:1.0: connect-debounce failed, port 6 disabled
  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)
+
  
 +
A workaround is to disable the laptop's wi-fi device in BIOS.
  
===What works/What doesn't===
+
=Video=
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).
+
==xorg==
  
 +
===xorg.conf===
 +
 +
* install hwd and xf86-video-i810
 +
* create default xorg.conf:
 +
hwd -x
 +
 +
 +
* rename the created file to xorg.conf:
 +
cd /etc/X11
 +
mv xorg.conf.hwd xorg.conf
 +
 +
 +
* edit the xorg.conf to contain this:
 +
Section "Monitor"
 +
          Identifier  "Monitor0"x
 +
          Option          "DPMS"
 +
          DisplaySize 390 246 # 84 DPI @ 1280x800
 +
          Modeline "1280x800_60.00"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
 +
EndSection
 +
 +
Section "Device"
 +
        Identifier  "Card0"
 +
        Driver      "i810"
 +
        VendorName  "Intel Corporation"
 +
        BoardName  "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
 +
        BusID      "PCI:0:2:0"
 +
        VideoRam        131072 # This memory size is needed for Beryl to run. You can set it to whatever you want.
 +
        Option          "DRI"          "true"
 +
        Option          "XVideo"        "true"
 +
EndSection
 +
 +
Section "Screen"
 +
        Identifier "Screen0"
 +
        Device    "Card0"
 +
        Monitor    "Monitor0"
 +
        DefaultDepth 24
 +
        SubSection "Display"
 +
                Virtual 1280 800
 +
                Modes  "38"
 +
                Depth    24
 +
        EndSubSection
 +
EndSection
 +
 +
Section "DRI"
 +
        Group        0666
 +
EndSection
 +
 +
 +
* restart X server
 +
 +
===915resolution===
 +
In order to get full 1280x800 resolution, you have to use the 915resolution.
 +
 +
 +
* install 915resolution using pacman
 +
* list all available modes:
 +
 +
 +
 +
915resolution 5c 1280 800
 +
915resolution -l
  
==Video==
 
{{sn|relevant modules:
 
* intel-agp
 
* i915}}
 
  
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 [http://aur.archlinux.org/packages.php?do_Details=1&ID=1672&O=0&L=&C=&K=&SB=&PP=&do_MyPackages=&do_Orphans= 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
+
  Intel 800/900 Series VBIOS Hack : version 0.5.2
  855resolution -l
+
which should return something like this:
+
855resolution version 0.4, by Alain Poirier
+
 
   
 
   
  Chipset: 855GM (id=0x35808086)
+
  Chipset: 945GM
  VBIOS type: 2
+
  BIOS: TYPE 1
  VBIOS Version: 3181
+
  Mode Table Offset: $C0000 + $269
 +
Mode Table Entries: 36
 
   
 
   
 
  Mode 30 : 640x480, 8 bits/pixel
 
  Mode 30 : 640x480, 8 bits/pixel
Line 90: Line 107:
 
  Mode 38 : 1280x1024, 8 bits/pixel
 
  Mode 38 : 1280x1024, 8 bits/pixel
 
  Mode 3a : 1600x1200, 8 bits/pixel
 
  Mode 3a : 1600x1200, 8 bits/pixel
  Mode 3c : 1280x768, 8 bits/pixel
+
  Mode 3c : 1280x800, 8 bits/pixel
 
  Mode 41 : 640x480, 16 bits/pixel
 
  Mode 41 : 640x480, 16 bits/pixel
 
  Mode 43 : 800x600, 16 bits/pixel
 
  Mode 43 : 800x600, 16 bits/pixel
Line 96: Line 113:
 
  Mode 49 : 1280x1024, 16 bits/pixel
 
  Mode 49 : 1280x1024, 16 bits/pixel
 
  Mode 4b : 1600x1200, 16 bits/pixel
 
  Mode 4b : 1600x1200, 16 bits/pixel
  Mode 4d : 1280x768, 16 bits/pixel
+
  Mode 4d : 1280x800, 16 bits/pixel
 
  Mode 50 : 640x480, 32 bits/pixel
 
  Mode 50 : 640x480, 32 bits/pixel
 
  Mode 52 : 800x600, 32 bits/pixel
 
  Mode 52 : 800x600, 32 bits/pixel
Line 102: Line 119:
 
  Mode 58 : 1280x1024, 32 bits/pixel
 
  Mode 58 : 1280x1024, 32 bits/pixel
 
  Mode 5a : 1600x1200, 32 bits/pixel
 
  Mode 5a : 1600x1200, 32 bits/pixel
  Mode 5c : 1280x768, 32 bits/pixel
+
  Mode 5c : 1280x800, 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==
+
* edit /etc/conf.d/915resolution:
{{sn|relevant modules:
+
* snd-intel8x0}}
+
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 ==
+
# Enter the VBIOS mode to patch
{{sn|relevant modules:
+
  MODE="5c"
* ipw2200}}
+
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
+
# Enter the desired resolution
  pacman -S ipw2200
+
RESOLUTION="1280 800"
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 ===
+
{{sn|relevant modules:
+
* yenta_socket}}
+
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 ===
+
The SD-card reader on the other hand is a pain! It uses proprietary drivers from ricoh under windows and there are no drivers under linux. I would really want this working but I think the only chance would be to reverse engineer the reader and I guess not enough coders have this device. Subsequently, there are no drivers now and there won't be in the foreseeable future...
+
==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 :-/]
+
* add 915resolution into /etc/rc.conf DAEMONS section
 +
* restart X server
  
===xorg.conf===
+
==At boot time==
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.
+
I was not able to get full 1280x800 resolution. But you can use 1024x768:
 +
* add vga=0x317 as a kernel parameter in /boot/grub/menu.lst
  
<pre>
+
or 800x600:
Section "ServerLayout"
+
* add vga=788 as a kernel parameter in /boot/grub/menu.lst
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"
+
=Audio=
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"
+
* Alsa loads module snd_hda_intel automatically.
RgbPath      "/usr/X11R6/lib/X11/rgb"
+
* Run alsaconf.
ModulePath  "/usr/X11R6/lib/modules"
+
* Add the @alsa into /etc/rc.conf DAEMONS section.
    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"
+
= Wireless Network =
        Load  "ddc"  # ddc probing of monitor
+
* install ipw3945 daemon and kernel module according [https://wiki.archlinux.org/index.php/Wireless#ipw3945 this] wiki article. Modify /etc/rc.conf
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
+
note: for kernel26 install ipw3945, for kernel26beyond install ipw3945-beyond, etc.
  
Section "InputDevice"
+
=Suspend=
        Identifier      "USB Mouse"
+
==To disk (swap)==
        Driver          "mouse"
+
        Option          "Device"                "/dev/input/mice"
+
Option "SendCoreEvents" "true"
+
        Option          "Protocol"              "IMPS/2"
+
        Option          "ZAxisMapping"          "4 5"
+
        Option          "Buttons"              "5"
+
EndSection
+
  
Section "InputDevice"
+
using the kernel26beyond:
        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"
+
* install kernel26beyond, hibernate-script and userui:
Identifier "ExternalMonitor"
+
* edit /boot/grub/menu.lst to contain ''resume2=swap:/dev/sdXX'':
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
 
  
 +
# (0) Arch Linux
 +
title  Arch Linux
 +
root  (hd0,5)
 +
kernel /boot/vmlinuz26beyond root=/dev/sda6 resume2=swap:/dev/sda5 ro
 +
initrd /boot/kernel26beyond.img
  
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"
+
where /dev/sda5 is my swap device and /dev/sda6 is my root device.
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"
+
* edit /etc/hibernate/hibernate.conf:
    Identifier "TVScreen"
+
 
    Device      "Intel"
+
 
    Monitor    "Television"
+
  TryMethod suspend2.conf
    DefaultDepth 24
+
#TryMethod disk.conf
    Subsection "Display"
+
#TryMethod ram.conf
        Depth  24
+
 
        Modes  "768x576"
+
 
        ViewPort 0 0
+
* edit /etc/hibernate/suspend2.conf:
    EndSubsection
+
 
EndSection
+
 
 +
UseSuspend2 yes
 +
Reboot no
 +
EnableEscape yes
 +
DefaultConsoleLevel 1
 +
Compressor lzf
 +
Encryptor none
 +
 +
SuspendDevice swap:/dev/sda5
 +
 +
PowerdownMethod 5
 +
 +
ProcSetting user_interface/program /usr/sbin/suspend2ui_text
 +
 +
FullSpeedCPU yes
 +
 +
Include common.conf
 +
 
 +
 
 +
all other settings are commented.
 +
 
 +
 
 +
* edit /etc/hibernate/common.conf
 +
 
 +
 
 +
Verbosity 0
 +
LogFile /var/log/hibernate.log
 +
LogVerbosity 1
 +
 +
Distribution arch (or debian/fedora/gentoo/mandrake/redhat/slackware/suse)
 +
 +
SaveClock restore-only
 +
 +
Runi915resolution yes
 +
 +
UnloadBlacklistedModules yes
 +
LoadModules auto
 +
 +
SwitchToTextMode yes
 +
 +
--colour=Green --shadow 1 --pos bottom --align center --offset 50
 +
 
 +
 
 +
all other settings are commented.
 +
 
 +
 
 +
* edit /etc/mkinitcpio.conf to contain:
 +
 
 +
 
 +
HOOKS="base udev autodetect ide scsi sata resume filesystems"
 +
 
 +
 
 +
 
 +
* run mkinitcpio:
 +
 
 +
 
 +
mkinitcpio -p kernel26beyond
 +
 
 +
 
 +
 
 +
* now you might be able to hibernate your system:
 +
 
 +
 
 +
hibernate
 +
 
 +
= Suspend - kernel 2.6.37-ARCH =
 +
 
 +
 +
 
 +
* Frozen touchpad after wake can be fixed with kernel parameter atkbd.reset. Only tried with grub2. To add the parameter, you need to edit /boot/grub/grub.cfg
  
 +
legacy_kernel  '/vmlinuz26' '/vmlinuz26' 'root=/dev/sda5' 'resume=/dev/sda7' 'ro' ''''atkbd.reset''''
  
Section "DRI"
+
= Power management =
Mode 0666
+
EndSection
+
  
Section "Extensions"
+
* Install laptop-mode-tools and add laptop-mode to DAEMONS section of your /etc/rc.conf
Option "Composite" "Enable"
+
Option "RENDER" "Enable"
+
EndSection
+
</pre>
+
  
===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:
 
<pre>
 
# 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]
+
* Install powersaved and add powersaved to DAEMONS section of your /etc/rc.conf<br>Add speedstep_centrino to CPUFREQD_MODULE section of your  /etc/powersave/cpufreq
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]
+
* Install cpudyn and acpid, add cpudyn and acpid to DAEMONS section of your /etc/rc.conf<br>Add speedstep_centrino, cpufreq_powersave, cpufreq_userspace and freq_table to MODULES section of your /etc/rc.conf<br>Add:
name=medium_boost
+
minfreq=800000
+
maxfreq=1000000
+
policy=conservative
+
  
[Profile]
 
name=lo_boost
 
minfreq=600000
 
maxfreq=800000
 
policy=performance
 
  
[Profile]
+
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
name=lo_power
+
echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
minfreq=0
+
maxfreq=600000
+
policy=powersave
+
  
# conservative mode when not AC
+
to /etc/rc.local.
[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
+
'''Note:''' Use cpufreq-info to see if the frequency scaling works.
[Rule]
+
name=AC_on
+
ac=on                  # (on/off)
+
profile=hi_boost
+
  
</pre>
+
=Keyboard=
  
===rc.conf (modules array)===
+
To setup windows keys (useful for fluxbox keybindings) as well as multimedia keys (accessed with Fn + the function keys) recognition in X, edit ~/.Xmodmap
This is just a starting point, you might want to load other modules or you might have some of these compiled into the kernel.
+
  
<pre>
+
keycode 115 = XF86ApplicationLeft
MODULES=(evdev \
+
add mod4 = XF86ApplicationLeft
        snd-intel8x0 snd-pcm-oss snd-mixer-oss snd-seq-oss \
+
keycode 116 = XF86ApplicationRight
        uhci-hcd ehci-hcd ohci1394 \
+
add mod4 = XF86ApplicationRight
        ieee80211_crypt ieee80211 ipw2200 \
+
keycode 117 = XF86MenuKB
        i2c-i801 agp-intel i915)
+
keycode 162 = XF86AudioPlay
</pre>
+
keycode 164 = XF86AudioStop
 +
keycode 144 = XF86AudioPrev
 +
keycode 153 = XF86AudioNext
 +
keycode 223 = XF86Sleep
 +
keycode 160 = XF86AudioMute
 +
keycode 176 = XF86AudioRaiseVolume
 +
keycode 174 = XF86AudioLowerVolume
  
==Other Tweaks==
+
If you have amarok, configure the global shortcuts, setting the multimedia keys as "alternate".
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 [http://www.naderehvandi.net/computers.html here]
+
  
 
= External Links =
 
= External Links =
  
* 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://gentoo-wiki.com/HARDWARE_Gentoo_on_Fujitsu-Siemens_Amilo_Pro_V3205 Gentoo wiki] and Lubos Vrbka's [http://www.lubos.vrbka.net/misc_ntb.html homepage].

Revision as of 01:02, 6 December 2012

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:Fujitsu-Siemens Amilo Pro V3205#)

System Specifications

  • Intel Core 2 Duo 1.66 GHz
  • Intel 945GM Chipset
  • 1024 MB DDR2
  • 120GB SATA HDD
  • NEC DL DVD-RW
  • Intel GMA 950 graphics with shared memory
  • 12.1" WXGA - 1280x800
  • Intel 80281G High Definitio Audio soundcard
  • Ricoh Co Ltd R5C822 4in1 card reader
  • IEEE1394 port
  • 4 USB 2.0 ports
  • Intel ProWireless 3945 wireless card
  • Intel Pro/100 VE ethernet controller
  • Bluetooth v2
  • DVI output
  • S-Video out

Installation

A hub error message is printed repeatedly:

hub 1-0:1.0: connect-debounce failed, port 6 disabled

A workaround is to disable the laptop's wi-fi device in BIOS.

Video

xorg

xorg.conf

  • install hwd and xf86-video-i810
  • create default xorg.conf:
hwd -x


  • rename the created file to xorg.conf:
cd /etc/X11
mv xorg.conf.hwd xorg.conf


  • edit the xorg.conf to contain this:
Section "Monitor"
         Identifier   "Monitor0"x
         Option          "DPMS"
         DisplaySize 390 246 # 84 DPI @ 1280x800
         Modeline "1280x800_60.00"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
        VideoRam        131072 # This memory size is needed for Beryl to run. You can set it to whatever you want.
        Option          "DRI"           "true"
        Option          "XVideo"        "true"
EndSection

Section "Screen"
        Identifier "Screen0"
       Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Virtual 1280 800
                Modes   "38"
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Group        0666
EndSection


  • restart X server

915resolution

In order to get full 1280x800 resolution, you have to use the 915resolution.


  • install 915resolution using pacman
  • list all available modes:


915resolution 5c 1280 800
915resolution -l


Intel 800/900 Series VBIOS Hack : version 0.5.2

Chipset: 945GM
BIOS: TYPE 1
Mode Table Offset: $C0000 + $269
Mode Table Entries: 36

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 : 1280x800, 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 : 1280x800, 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 : 1280x800, 32 bits/pixel


  • edit /etc/conf.d/915resolution:


# Enter the VBIOS mode to patch
MODE="5c"

# Enter the desired resolution
RESOLUTION="1280 800"


  • add 915resolution into /etc/rc.conf DAEMONS section
  • restart X server

At boot time

I was not able to get full 1280x800 resolution. But you can use 1024x768:

  • add vga=0x317 as a kernel parameter in /boot/grub/menu.lst

or 800x600:

  • add vga=788 as a kernel parameter in /boot/grub/menu.lst

Audio

  • Alsa loads module snd_hda_intel automatically.
  • Run alsaconf.
  • Add the @alsa into /etc/rc.conf DAEMONS section.

Wireless Network

  • install ipw3945 daemon and kernel module according this wiki article. Modify /etc/rc.conf


note: for kernel26 install ipw3945, for kernel26beyond install ipw3945-beyond, etc.

Suspend

To disk (swap)

using the kernel26beyond:


  • install kernel26beyond, hibernate-script and userui:
  • edit /boot/grub/menu.lst to contain resume2=swap:/dev/sdXX:


# (0) Arch Linux
title  Arch Linux
root   (hd0,5)
kernel /boot/vmlinuz26beyond root=/dev/sda6 resume2=swap:/dev/sda5 ro
initrd /boot/kernel26beyond.img


where /dev/sda5 is my swap device and /dev/sda6 is my root device.


  • edit /etc/hibernate/hibernate.conf:


TryMethod suspend2.conf
#TryMethod disk.conf
#TryMethod ram.conf


  • edit /etc/hibernate/suspend2.conf:


UseSuspend2 yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 1
Compressor lzf
Encryptor none

SuspendDevice swap:/dev/sda5

PowerdownMethod 5

ProcSetting user_interface/program /usr/sbin/suspend2ui_text

FullSpeedCPU yes

Include common.conf


all other settings are commented.


  • edit /etc/hibernate/common.conf


Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1

Distribution arch (or debian/fedora/gentoo/mandrake/redhat/slackware/suse)

SaveClock restore-only

Runi915resolution yes

UnloadBlacklistedModules yes
LoadModules auto

SwitchToTextMode yes

--colour=Green --shadow 1 --pos bottom --align center --offset 50


all other settings are commented.


  • edit /etc/mkinitcpio.conf to contain:


HOOKS="base udev autodetect ide scsi sata resume filesystems"


  • run mkinitcpio:


mkinitcpio -p kernel26beyond


  • now you might be able to hibernate your system:


hibernate

Suspend - kernel 2.6.37-ARCH

  • Frozen touchpad after wake can be fixed with kernel parameter atkbd.reset. Only tried with grub2. To add the parameter, you need to edit /boot/grub/grub.cfg

legacy_kernel '/vmlinuz26' '/vmlinuz26' 'root=/dev/sda5' 'resume=/dev/sda7' 'ro' 'atkbd.reset'

Power management

  • Install laptop-mode-tools and add laptop-mode to DAEMONS section of your /etc/rc.conf


  • Install powersaved and add powersaved to DAEMONS section of your /etc/rc.conf
    Add speedstep_centrino to CPUFREQD_MODULE section of your /etc/powersave/cpufreq


  • Install cpudyn and acpid, add cpudyn and acpid to DAEMONS section of your /etc/rc.conf
    Add speedstep_centrino, cpufreq_powersave, cpufreq_userspace and freq_table to MODULES section of your /etc/rc.conf
    Add:


echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

to /etc/rc.local.



Note: Use cpufreq-info to see if the frequency scaling works.

Keyboard

To setup windows keys (useful for fluxbox keybindings) as well as multimedia keys (accessed with Fn + the function keys) recognition in X, edit ~/.Xmodmap

keycode 115 = XF86ApplicationLeft 
add mod4 = XF86ApplicationLeft 
keycode 116 = XF86ApplicationRight
add mod4 = XF86ApplicationRight
keycode 117 = XF86MenuKB
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 223 = XF86Sleep
keycode 160 = XF86AudioMute
keycode 176 = XF86AudioRaiseVolume
keycode 174 = XF86AudioLowerVolume

If you have amarok, configure the global shortcuts, setting the multimedia keys as "alternate".

External Links