Re: [RFH,Status] Sony Vaio VGN-Z11 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> In <20081028014708.GA2649@xxxxxxxxxxxxxxxxxxxxxxxx> 
>>>>>	Norbert Preining <preining@xxxxxxxx> 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@xxxxxxxxxx>, <ishikawa@xxxxxxxxxxx>, <ishikawa@xxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux