User:Lidel/Sony Vaio VGN-FW21E

From Gentoo Wiki
Jump to:navigation Jump to:search

This article describes the hardware on the FW21E and the drivers required to use it.

Warning
This is only a draft version of this article and far from being complete yet.

The Sony Vaio VGN-FW21E is an Intel Centrino 2 notebook with a P8400 Core 2 Duo CPU. It has 4096MB of RAM and a 320GB hard drive. The graphic is provided by a ATI Mobility Radeon™ HD 3470 and the display has a resolution of 1600x900 (16:9).

Hardware

Summary and Support Status

TODO

Device listings

PCI devices

root #lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3400 Series
01:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series]
06:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
08:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 13)
0a:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
0a:03.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
0a:03.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)


USB devices

root #lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 008 Device 002: ID 044e:3017 Alps Electric Co., Ltd 
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
Bus 001 Device 002: ID 05ca:183d Ricoh Co., Ltd Sony Vaio Integrated Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

CPU details

root #cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz
stepping	: 6
cpu MHz		: 2267.000
cache size	: 3072 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dts tpr_shadow vnmi flexpriority
bogomips	: 4520.37
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz
stepping	: 6
cpu MHz		: 2267.000
cache size	: 3072 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dts tpr_shadow vnmi flexpriority
bogomips	: 4520.68
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

Configuration

Hard Disk

The hard disk controller should work with the standard AHCI driver:

KERNEL AHCI Driver
Device Drivers --->
    [*] Serial ATA and Parallel ATA drivers  --->
        <*> AHCI SATA Support
        [*] ATA SFF support
            [*] ATA BMDMA support
                <*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support

Make sure that AHCI support is compiled into the kernel, and not as a module, or the kernel may fail to boot.

Input Devices

The keyboard support for X11 is provided by evdev. A driver for VAIO-specific keys is present in kernel. Touchpad support is provided through synaptics.

If you plan to use USB keyboard or mouse, remember to enable HID.

KERNEL Input Device Support
Device Drivers --->
    Input device support  --->
        <*>  Event interface
        [*]  Mice    --->
            <*>  PS/2 mouse
            [*]    Elantech PS/2 protocol extension
        [*]   Miscellaneous devices  --->
    [*] HID Devices  --->
        <*>   USB Human Interface Device (full HID) support
    [*] X86 Platform Specific Device Drivers  --->
        <*>  Sony Laptop Extras
        [*]  Sonypi compatibility
FILE /etc/make.confInput Device Support
INPUT_DEVICES="evdev synaptics"

Touchpad/mouse scrollwheel functionality works perfectly.

Networking

Ethernet

Ethernet networking is provided by a Marvell Yukon 88E8055 gigabit device.

KERNEL Ethernet Support
Device Drivers  --->
    [*] Network device support  --->  
        [*] Ethernet (1000 Mbit)  --->
            <*> Marvell Yukon 2 support

802.11 Wifi

Wifi connectivity is provided by an Intel 5100 AGN Wireless adapter:

KERNEL Wifi Support
Device Drivers  --->
    [*] Network device support  --->  
        [*] Wireless LAN  --->
            <*> Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlagn)
Note
Device may require firmware provided by Intel. It can be installed using net-wireless/iwl5000-ucode package.

Bluetooth

TODO

Firewire

TODO

Video Chipset

TODO

Sound

The audio hardware is handled by the Intel HD Audio driver:

KERNEL Audio Support
Device Drivers  --->
    <*> Sound card support  --->
        <*> Advanced Linux Sound Architecture  --->
            <*> Sequencer support 
            <*> OSS Mixer API
            <*> OSS PCM (digital audio) API
            [*] OSS PCM (digital audio) API - Include plugin system
            [*] OSS Sequencer API
            <*> HR-timer backend support
                [*] Use HR-timer as default sequencer timer
            [*] PCI sound devices  --->
                <*> Intel HD Audio

Webcam

The built-in webcam is a is supported through V4L with USB2.0 UVC:

KERNEL Webcam Support
Device Drivers  --->
    <*> Multimedia support  --->
        <*> Video For Linux   
        [*] Video capture adapters  ---> 
            [*] V4L USB devices  --->
                <*> USB Video Class (UVC)

Backlight control

Until support in x11-apps/xbacklight is introduced vaio-fw21e-backlight2.sh script can be used.

One can set it as a backlight keys response defined in /etc/acpi/default.sh (sys-power/acpid daemon is required) or just run it by hand.

There is also a legacy version which requires the rhd_dump tool which used to be present in the radeonhd driver (perhaps one could try building it?).

Memory Card Reader

The memory card reader works fine with the standard driver:

KERNEL Card Reader Support
Device Drivers  --->
    [*] MMC/SD/SDIO card support  --->
        <*> MMC block device driver
        <*> Secure Digital Host Controller Interface support
        <*> SDHCI support on PCI bus
    <*> Sony MemoryStick card support (EXPERIMENTAL)  --->
        <*>   MemoryStick Pro block device driver