public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* sony-laptop on AR series
@ 2008-01-23 10:33 eaglex
  2008-01-26  3:50 ` Mattia Dongili
  0 siblings, 1 reply; 6+ messages in thread
From: eaglex @ 2008-01-23 10:33 UTC (permalink / raw)
  To: linux-acpi

Hello,

I own a Sony Vaio VGN-AR41E and have gotten the Fn keys
to report ACPI events by adding:

---------- paste ---------
            .ident = "Sony Vaio AR Series",
            .callback = sony_nc_C_enable,
            .driver_data = sony_C_events,
            .matches = {
                DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
                DMI_MATCH(DMI_PRODUCT_NAME, "VGN-AR"),
------- end paste -----

to the appropriate section in drivers/misc/sony-laptop.c, but that's
about all that works.

I get no controls in /sys/devices/platform/sony-laptop. I do get a few
controls in
/sys/class/backlight/sony, but they don't seem to do anything.
(I get these: actual_brightness bl_power brightness max_brightness).

Any suggestions?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sony-laptop on AR series
  2008-01-23 10:33 sony-laptop on AR series eaglex
@ 2008-01-26  3:50 ` Mattia Dongili
  2008-01-26 15:46   ` eaglex
  0 siblings, 1 reply; 6+ messages in thread
From: Mattia Dongili @ 2008-01-26  3:50 UTC (permalink / raw)
  To: eaglex; +Cc: linux-acpi

On Wed, Jan 23, 2008 at 12:33:34PM +0200, eaglex wrote:
> Hello,

Hi,

> I own a Sony Vaio VGN-AR41E and have gotten the Fn keys
> to report ACPI events by adding:
> 
> ---------- paste ---------
>             .ident = "Sony Vaio AR Series",
>             .callback = sony_nc_C_enable,
>             .driver_data = sony_C_events,
>             .matches = {
>                 DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
>                 DMI_MATCH(DMI_PRODUCT_NAME, "VGN-AR"),
> ------- end paste -----
> 
> to the appropriate section in drivers/misc/sony-laptop.c, but that's
> about all that works.

Great, I can add this laptop to the list.

> I get no controls in /sys/devices/platform/sony-laptop. I do get a few
> controls in
> /sys/class/backlight/sony, but they don't seem to do anything.
> (I get these: actual_brightness bl_power brightness max_brightness).
> 
> Any suggestions?

Could you send the output of lspci and upload somewhere the DSDT (or
send me provately as I'm not sure about the limits for postings to this
list).

Thanks
-- 
mattia
:wq!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sony-laptop on AR series
  2008-01-26  3:50 ` Mattia Dongili
@ 2008-01-26 15:46   ` eaglex
  2008-01-27 12:50     ` Mattia Dongili
  0 siblings, 1 reply; 6+ messages in thread
From: eaglex @ 2008-01-26 15:46 UTC (permalink / raw)
  To: Mattia Dongili, linux-acpi

> Could you send the output of lspci and upload somewhere the DSDT (or
> send me provately as I'm not sure about the limits for postings to this
> list).

lspci: http://pastebin.ca/873456
dsdt: http://pastebin.ca/873459

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sony-laptop on AR series
  2008-01-26 15:46   ` eaglex
@ 2008-01-27 12:50     ` Mattia Dongili
  2008-01-27 13:16       ` eaglex
  0 siblings, 1 reply; 6+ messages in thread
From: Mattia Dongili @ 2008-01-27 12:50 UTC (permalink / raw)
  To: eaglex; +Cc: linux-acpi

On Sat, Jan 26, 2008 at 05:46:59PM +0200, eaglex wrote:
> > Could you send the output of lspci and upload somewhere the DSDT (or
> > send me provately as I'm not sure about the limits for postings to this
> > list).
> 
> lspci: http://pastebin.ca/873456
> dsdt: http://pastebin.ca/873459

01:00.0 VGA compatible controller: nVidia Corporation G86M [GeForce 8400M GT] (rev a1)

eh... this is known not to be working with sony-laptop. Even though the
DSDT exposes the brightness methods the nvidia cards have their own way
to handle dimming the screen.
You can try with nvclock which works for *some* cards.

For now all sony-laptop can do is enable the Fn keys, I'll add your
model to the DMI list asap.

ciao
-- 
mattia
:wq!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sony-laptop on AR series
  2008-01-27 12:50     ` Mattia Dongili
@ 2008-01-27 13:16       ` eaglex
  2008-01-27 13:45         ` Mattia Dongili
  0 siblings, 1 reply; 6+ messages in thread
From: eaglex @ 2008-01-27 13:16 UTC (permalink / raw)
  To: Mattia Dongili, linux-acpi

> eh... this is known not to be working with sony-laptop. Even though the
> DSDT exposes the brightness methods the nvidia cards have their own way
> to handle dimming the screen.
> You can try with nvclock which works for *some* cards.

Thanks, I'll try nvclock.

> For now all sony-laptop can do is enable the Fn keys, I'll add your
> model to the DMI list asap.

Any chances of getting the rest of the controls working? (like turning
on bluetooth and so on)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sony-laptop on AR series
  2008-01-27 13:16       ` eaglex
@ 2008-01-27 13:45         ` Mattia Dongili
  0 siblings, 0 replies; 6+ messages in thread
From: Mattia Dongili @ 2008-01-27 13:45 UTC (permalink / raw)
  To: eaglex; +Cc: linux-acpi

On Sun, Jan 27, 2008 at 03:16:27PM +0200, eaglex wrote:
...
> > For now all sony-laptop can do is enable the Fn keys, I'll add your
> > model to the DMI list asap.
> 
> Any chances of getting the rest of the controls working? (like turning
> on bluetooth and so on)

well, not until somebody is able to trace which SNC device methods (if
any at all) are called to control the extra features.
Unfortunately there are no specs available for it.

ciao
-- 
mattia
:wq!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-01-27 13:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-23 10:33 sony-laptop on AR series eaglex
2008-01-26  3:50 ` Mattia Dongili
2008-01-26 15:46   ` eaglex
2008-01-27 12:50     ` Mattia Dongili
2008-01-27 13:16       ` eaglex
2008-01-27 13:45         ` Mattia Dongili

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox