Sony Vaio Z21VN/X
Installation OpenSuse 11.1

 

Author:

Eva Brucherseifer, eva.brucherseifer at basyskom.de

Matthias Welwarsky, matze at welwarsky.de (contributed most ACPI patches)

 

History:

2009/02/07  initial version

2009/02/08  added more information on ACPI/DSDT

2009/02/13  uploaded new version of sony_laptop.c for using Intel card only with Linux

2009/02/15  uploaded new version of sony_laptop.c

2009/02/27  update ALSA (see section „Sound on KDE 4.2“) and BIOS (see section „ACPI“)

2009/03/07  updated sony_laptop package to properly inform kernel about updated module
                   during install

2009/03/21  merged sony_laptop module with Matthew Garrett and Norbert Preinings port

                    (thanks!) and backported to Suse kernel. Tested and released as version 0.7

2009/03/22  added results on fingerprinting. Scanning works, but login doesn't.

2009/03/29  updated sony_laptop package to version 0.8/0.9

2009/05/17  released plasmoid (KDE desktop widget) for controlling rfkill switch devices from
                   the desktop. Version 0.5

 

Installation

Special Configuration during Installation

 

Worked out of the box

 

Manual Fixes using Yast

 

Desktop Settings

 

ACPI

There is a kernel module sony-laptop, which is being loaded automatically on OpenSUSE 11.1. The ACPI seems to be different to other models, so it's not sure it makes a difference at all.

Some things work out of the box, e.g. battery monitoring, speaker control through Fn-keys. This also works without the module being loaded.

The DSDT can be downloaded here:   http://www.basyskom.org/~eva/VGN-Z21VN_X-R2140M3.dsdt.tar

DSDT after BIOS update (2009/02/27): http://www.basyskom.org/~eva/VGN-Z21VN_X-R2164M3.dsdt.tar

 

The DSDT also contains the SNY5001 and SNY6001 sections, but they still don't work with the sony_laptop module, even though it should support it. Maybe it is another revision or so. More information on the sony_laptop module: http://www.linux.it/~malattia/wiki/index.php/Sony-laptop and http://tjworld.net/snc/

 

Sony's DSDT is changed significantly different from previous models, probably to enable special hardware support e.g. for the graphics card switching, enabling/disabling the 3G module and more. Any further input here is welcome.

 

 

Solutions for various issues

ACPI

We have modified the sony-laptop kernel module to support some more ACPI functions.

 

Disclaimer: This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

 

Latest for download:

sony-laptop-zseries-0.9.tar.bz2

 

Change Log:

0.1

'2009/02/07

sony-laptop-zseries-0.1.c

Add support for switching on/off 3G module

Initialize ECON variable (DSDT behaves different if !=0), maybe not necessary

0.2

'2009/02/08

sony-laptop-zseries-0.2.c

Merged version from http://hanzubon.jp/tmp/VGN-Z90S/sony-laptop.c

0.3

'2009/02/13

sony-laptop-zseries-0.3.tar.bz2

Operating Linux in Stamina Mode ONLY

WARNING! Switching to Speed Mode by booting into XP is NOT possible after having booted with this module version.
Also loading this driver at runtime will break a running X server.
Delivering the module in a compilable source dir

0.4

'2009/02/13

sony-laptop-zseries-0.4.tar.bz2

Removed patch from hanzubon (version 0.2) again, as we don't see any change and one user reported a kernel oops which probably happens because of type5 stuff in the patch

0.5

'2009/02/15

sony-laptop-zseries-0.5.tar.bz2

Added sysfs access to switch speed/stamina and module parameter. Also added better support for suspend.

0.6

'2009/03/07

sony-laptop-zseries-0.6.tar.bz2

Fixed Makefile to properly call depmod during install, so that kernel is informed about updated sony-laptop module. Otherwise it is not being loaded by modprobe at boot time.
Also a test.ko module has been added which dumps bios variables.

0.7

'2009/03/21

sony-laptop-zseries-0.7.tar.bz2

Merged with ….
Current State:

- wwan/bluetooth/wifi on by default (when loading module)

- wirdless switch correctly turns on/off wifi/umts/bluetooth (unloading umts takes about 1 minute)

- turning off nvidia card works, but cannot turned on (unchanged)

- buttons recognized (tested with acpi_listen): stamina/speed switch. All other buttons (S1/S2/eject/Fn keys) generate an acpi event, but the same for all unfortunately.

0.8

'2009/03/29

sony-laptop-zseries-0.8.tar.bz2

- Integrated support for kernel versions 2.6.27 to 2.6.29
- fixed fn keys, e.g. S1, S2
- uncomplete decoded buttons are not releasing key input events anymore (e.g. rfkill and stamina/speed)
- known bug: stamina/speed switch gives same acpi event for both positions
- known bug: rfkill doesn't work properly if hw switch is off when module is being loaded

- if you load the module with speed_stamina=3 the acpi graphics card settings are not being touched. This is usefull if you want to run nvidia xp settings.

0.9

'2009/03/29

sony-laptop-zseries-0.9.tar.bz2

- fixed acpi event for speed/stamina switch

 

Installation:

 

Description of new Features:

 

For more implementation details see http://thinkfat.blogspot.com/

 

Old Stuff:

 

External VGA

Disconnect external monitor, then:

 

# xrandr --newmode "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync

# xrandr --addmode VGA "1024x768_60.00"

# xrandr --output VGA

# xrandr --output VGA --mode "1024x768_60.00"

 

tried to add this line to monitor definition in xorg.conf, but it didn't help:

    ModeLine     "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync

If you use KDE 4.2 with workspaces and xinerama mode you can use the external LCD in a very nice manner as a seperate desktop. This hides your private desktop during presentations.

Comment: 2009/05/17 Didn't work when trying this week – maybe not all projectors work out of the box, or something has changed because of updates.

 

Brightness

sudo setpci -s 00:02.0 F4.B=00 ----> zero bright

sudo setpci -s 00:02.0 F4.B=FF ----> max bright

 

Sound

 

Built-in 3G Modem

Type: Option GTM 378

Issues, when trying it out of the box:

 

also see: http://markmail.org/message/s7y4letfedskh6qn?q=Sony+z11&page=2

 

Steps to make it work with HSOconnect from http://www.pharscape.org/:

 

Other Notes:

 

Fingerprint

TouchStrip, device is there on usb bus  147e:1000

Comments:

Update OpenOffice.org

If you update OpenOffice.org for OpenSUSE, make sure you remove all rpm packages with original 3.0.0.9 revision. This is mostly the extensions you'll lose. But otherwise OpenOffice will not start because of „fatal error“.

 

KDE Plasmoid for controlling rfkill devices from the desktop

This KDE plasmoid controls rfkill devices from the desktop. The plasmoid is generic, so it can be used on any hardware for controlling any rfkill devices.

 

Available for download from here:

plasmoid-applet-killswitch-0.5.1.tar.bz2

 

Current Features:

- show killswitch (rfkill) devices and their states, uses killswitch api through HAL

- checkbox to turn devices off/on

- checkbox disabled when hardware button has them disabled

- config dialog: selection of devices to show

- config dialog: change order of devices

 

Known Issues:
- layout issues (tested with KDE 4.2, Qt 4.4)

 

Installation from Sources

- you need to have devel packages installed for Qt and kdelibs
- call ./build.sh and ./install.sh
- call ./test.sh to test the applet
- add the widget to plasma (search for „killswitch“)

 

Installation as binary (tested for OpenSuse 11.1, KDE 4.2)

- call ./install.sh

 

Unsolved Issues

 

Graphics

 

Multimedia

 

Buttons / ACPI

  - properly integrate Fn buttons, which are supported since sony-laptop-zseries-0.8:
   brightness, externalLCD, zoom, sleep, S1, S2, eject

  - power button works correctly and inititates logout in KDE 4.2

 

Power saving

 

Suspend / Resume

Things that break when suspend to ram on opensuse:
- touchpad scrolling doesn't work anymore
- rfkill switch off => add proper initialization to sony-laptop module

Fingerprint

TouchStrip, device is there on usb bus  147e:1000

 

Untested


 

General Information

 

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:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

# this one only shows up with Nvidia card disabled and Intel graphics enabled

00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)

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: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-E 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: nVidia Corporation GeForce 9300M GS (rev a1)

06:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100

0b:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)

0b:04.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)

0b:04.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)

0b:04.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)

 

lsusb

Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

# Camera

Bus 004 Device 003: ID 05ca:18b0 Ricoh Co., Ltd

Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

# Bluetooth?

Bus 007 Device 002: ID 044e:3017 Alps Electric Co., Ltd

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 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

# TouchStrip device

Bus 001 Device 003: ID 147e:1000

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

# 3G modem

Bus 002 Device 006: ID 0af0:6911 Option

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

 

 

Dump of various bookmarks used along the way

 

https://launchpad.net/~sony-vaio-z-series

 

Vaio Z Meine Erfahrungen mit dem Vaio Z21 - Seite 10 - Notebookforum

Sony Vaio Z11 - Seite 4 - Notebookjournal.de - Forum

Problems with 9300M GS on Sony Vaio Z11 - nV News Forums

Official VAIO Z Series Owners Thread - Page 521 - Notebook Forums and Laptop Discussion

Vaio Z Sony Vaio Z11 WN/B - Eindrücke - Seite 20 - Notebookforum

Sony Vaio Z11 - Seite 3 - Notebookjournal.de - Forum

Ubuntu Forums - Threads Tagged with vaio z11

Linux on Sony Vaio Laptops & Notebooks

Vaio Z Sony Vaio Z11 WN/B - Eindrücke - Seite 18 - Notebookforum

Sony Z11 › Forum › ubuntuusers.de

LINUX • openSUSE - openSUSE 11 auf Sony Vaio Z mit 2 Grafikkarten

Configuracion Sony Vaio VGN-Z11 UBUNTU-8

[ubuntu] ubuntu intrepid on sony vaio z11wn - Ubuntu Forums

[ubuntu] ubuntu intrepid on sony vaio z11wn Hardware & Laptops

[ubuntu] Problem with GeForce 9300GS - Page 3 - Ubuntu Forums

Page 3-[ubuntu] Problem with GeForce 9300GS Hardware & Laptops

VAIO Z

NVIDIA Pioneers New Hybrid Graphics In Notebooks From Sony, Fujitsu Siemens, And Benq

LINUX • openSUSE - openSUSE 11 auf Sony Vaio Z mit 2 Grafikkarten

openSUSE - openSUSE 11 auf Sony Vaio Z mit 2 Grafikkarten

Problems with 9300M GS on Sony Vaio Z11 - Page 2 - nV News Forums

Page 2- Problems with 9300M GS on Sony Vaio Z11 NVIDIA Linux

Sony-laptop - MalaWiki

Sony Notebook Control ACPI support

Calling all Vaio owners - Ubuntu Forums

Calling all Vaio owners Hardware & Laptops

My discoveries on Vaio Z’s Hybrid Graphics - Notebook Forums and Laptop Discussion

My discoveries on Vaio Z’s Hybrid Graphics Sony

Keymap Quirk Debugger

PHARscape | 404 - Document Not Found

Fedora 10 Cambridge on a Sony Vaio VGN-Z11WN/B (VGN-Z550N/B)

Search results for HSC3 DSDT Sony - MarkMail

[PATCH] sony-laptop: Ignore missing _DIS method on pic device - Adam Jackson - org.kernel.vger.linux-acpi - MarkMail

Re: usb device not showing up - Norbert Preining - org.kernel.vger.linux-usb - MarkMail

Bug #256296 in linux (Ubuntu): “USB id 0af0:6911 should use hso and not 'option' driver”