From: ISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
To: preining@logic.at, malattia@linux.it, joshua@joshuawise.com,
linux-acpi@vger.kernel.org
Subject: Re: [RFH,Status] Sony Vaio VGN-Z11 support
Date: Tue, 28 Oct 2008 22:12:20 +0900 [thread overview]
Message-ID: <20081028131220.A89C9E072@master.hanzubon.jp> (raw)
In-Reply-To: <20081028014708.GA2649@gamma.logic.tuwien.ac.at>
>>>>> In <20081028014708.GA2649@gamma.logic.tuwien.ac.at>
>>>>> Norbert Preining <preining@logic.at> wrote:
>> Hi Mattia,
>>
>> (taking the MMC guy out, this is not about the SD card reader anymore)
>>
>> On Di, 28 Okt 2008, Mattia Dongili wrote:
>> > Yes, I am. But I have no idea what might be wrong. Did you also try
>> > xbacklight while in X and using the Intel card?
>>
>> I am a step further on. Thanks to Ishikawa-san I have an sony-laptop.c
>> file which allows setting the backlight using the
>> /sys/devices/backlight/{sony,acpi_video0}/backlight files
>> (interestingly, they do not agree on their behaviour, xbacklight can
>> change in 12.5% jumps, that makes 9 different values, but allowed are
>> only 8 (from 0 to 7). In sony the 0% is missing, in acpi_video0 the 100%
>> is missing -- i.e., sony/brightness 0 is brighter than
>> acpi_video0/brightness 0, and so on).
There are two points of roblems to enable backlight control on VGN-Z
1)
VGN-Z have SNC, but it is not enabled.
- prevoius patch posted.
- add VGN-Z entry to sony_nc_ids table
2)
In sony_pic_detect_device_type() function, VGN-Z's SPIC is
detected as SONYPI_DEVICE_TYPE2 (per default).
But it does not work for me.
I've checkd throug TYPE1 to TYPE4. Only Type3 and Type4 does
work (but it is possible to control backlight only, other
function does not work...)
I do not have datasheet for this model, but I think SPIC on
this model is not TYPE2. It is same or variant of Type3 or
Type4 SPIC.
I put this quick dirty hack code on URL bellow:
http://hanzubon.jp/tmp/VGN-Z90S/sony-laptop.c
Two kinds of change set are included:
- add VGN-Z entry to sony_nc_ids
- add type5 SPIC table (currently same as Type4) and
use it on VGN-Z.
--
ISHIKAWA Mutsumi
<ishikawa@debian.org>, <ishikawa@hanzubon.jp>, <ishikawa@osdn.jp>
next prev parent reply other threads:[~2008-10-28 13:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-25 21:46 [RFH,Status] Sony Vaio VGN-Z11 support Norbert Preining
2008-10-25 23:02 ` Joshua Wise
2008-10-25 23:31 ` Norbert Preining
2008-10-27 23:20 ` Norbert Preining
2008-10-28 1:41 ` Mattia Dongili
2008-10-28 1:47 ` Norbert Preining
2008-10-28 13:12 ` ISHIKAWA Mutsumi [this message]
2008-11-01 5:25 ` Mattia Dongili
2008-11-08 20:34 ` Pierre Ossman
2008-11-08 23:33 ` Norbert Preining
2008-11-14 21:25 ` Pierre Ossman
[not found] ` <20090127004840.GA7246@gamma.logic.tuwien.ac.at>
2009-02-02 19:40 ` Pierre Ossman
[not found] ` <20090202235754.GA13222@gamma.logic.tuwien.ac.at>
2009-02-03 0:13 ` Norbert Preining
2009-02-21 12:48 ` Pierre Ossman
2009-02-24 23:44 ` Norbert Preining
2009-03-08 13:34 ` Pierre Ossman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081028131220.A89C9E072@master.hanzubon.jp \
--to=ishikawa@hanzubon.jp \
--cc=joshua@joshuawise.com \
--cc=linux-acpi@vger.kernel.org \
--cc=malattia@linux.it \
--cc=preining@logic.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox