Sony vaio FZ21M (everything is now working)

Hi, I’ve got this laptop and installed opensuse 11.1 and got everything working:

Bluetooth: ok
Wlan: ok
Brightness: ok
FN-keys: ok
card-reader: ok (except Sony memorycards)

To do so, follow these tips:

For bluetooth:

The adapter is found, but you cannot pair with devices?:

/etc/sysconfig/bluetooth =>


PAND_ENABLE="yes"
DUND_ENABLE="yes"

For sound:

Add this to /etc/modprobe.d/sound =>


options snd-hda-intel model=vaio enable=1 index=0 position_fix=1
alias snd-card-0 snd-hda-intel

For sending hostnames with networkmanager:

Add this to /etc/dhclient.conf =>


send hostname "yourhostname";
supersede domain-name "yourdomain";

And now for brightness (this is needed because with the nvidia drivers it isn’t possible for this card):

install nvclock from cvs (hit enter when asked for password) =>


cvs -d:pserver:anonymous@nvclock.cvs.sourceforge.net:/cvsroot/nvclock login
cvs -z3 -d:pserver:anonymous@nvclock.cvs.sourceforge.net:/cvsroot/nvclock co -P nvclock
cd nvclock/
./configure --prefix=/usr --libdir=/usr/lib64
make
make install

create these files:
/etc/acpi/events/sony-brightness-up =>


# /etc/acpi/events/sony-brightness-up
event=sony/hotkey SNC 00000001 00000011
action=/etc/acpi/sonybright.sh up

/etc/acpi/events/sony-brightness-down =>


# /etc/acpi/events/sony-brightness-down
event=sony/hotkey SNC 00000001 00000010
action=/etc/acpi/sonybright.sh down

/etc/acpi/sonybright.sh =>


#!/bin/bash
if  "x$1" = "xdown" ]; then
# xbacklight -steps 10 -dec 10 2>/tmp/sonybright.log
        nvclock -S -10
elif  "x$1" = "xup" ]; then
# xbacklight -steps 10 -inc 10 2>/tmp/sonybright.log
        nvclock -S +10
else
   echo >&2 Unknown argument $1
fi

Now do:


sudo chmod +x sony-brightness-up
sudo chmod +x sony-brightness-down
sudo chmod +x sonybright.sh

Dim backlight on Battery

Create the file /etc/udev/rules.d/80-smartdimmer.rules (thx to IntuitiveNipple)
Code:


# NVidia backlight control using nvclock

ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Battery", ATTR{status}=="Discharging", RUN+="/usr/bin/nvclock -S 50"

ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Battery", ATTR{status}=="Charging", RUN+="/usr/bin/nvclock -S 100"

Reload the UDEV rules and then try switching the charger off/on:
Code:


 sudo udevadm control --reload-rules

Now restart hal and acpid or reboot and that should enable your fn-keys with brightness.

The webcam (ricoh r5u870):

Install the uvcvideo module and search for r5u87x-loader-*.rpm on the buildservice.

After that you have to execute following line everytime you started your laptop (or the less lazy people create a startup script):


su
rmmod uvcvideo
loader
modprobe uvcvideo

There also seems to be a problem with the wlan-driver and this kernel (2.6.27)(causing a freeze of your system). The fix is to install the iwl4965 driver from factory.

These are the things I had to do to get everything up and running.

Blu-ray movies won’t play and you can’t use sony memorycards because of patents and drm stuff

Greetz,

Philip

Philip,

awesome, thanks for the documentation. Would you mind helping with the Suse HCL?
http://forums.opensuse.org/hardware/402769-all-11-1-users-please-fill-hcl-opensuse-11-1-a.html

Also consider putting the stuff on a website and have the guys at tuxmobile.org link it.

Uwe

Already done updating the HCL :wink:

Later this week it should be on philipraets.be, but I’m kinda lazy, so it could take a few days :slight_smile:

Very helpful, thanks a lot !

Hi all,
bluetooth seems not to work…it says “No adapter found”. Ho w can i solve this problem?
Thanks in advance
Christian

  • zerocash wrote, On 12/30/2008 04:16 PM:
    > Hi all,
    > bluetooth seems not to work…it says “No adapter found”.

If I were you I’d start a new thread on this. Posting it under the subject “Sony vaio FZ21M (everything is now working)” won’t get you much help, I assume :slight_smile:

Uwe

Hi zerocash

I don’t know much about enabling bluetooth devices, but have a read of this thread first. If your’e still having problems, start another thread and submit details on your hardware. This may assist others to offer specific advice.

Bluetooth Wiki may also yield some useful info.

Good luck. :slight_smile:

for automatic switching between laptop speakers and audiojack :

edit: /etc/modprobe.b/sound

options snd slots=snd-hda-intel
options snd-hda-intel model=vaio enable=1 index=0 position_fix=1
alias snd-card-0 snd-hda-intel

after edit.

/etc/init.d/alsasound restart

Done

For Brightness
Now nvclock is available on repositories:
install It with Yast and create the 3 files suggested in this post.
Everything should work!