public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* drivers for Lenovo 3000 series?
@ 2009-04-12  7:51 Andika Triwidada
  2009-04-13  1:27 ` yakui_zhao
  0 siblings, 1 reply; 9+ messages in thread
From: Andika Triwidada @ 2009-04-12  7:51 UTC (permalink / raw)
  To: linux-acpi

Hi all,

I have a Lenovo 3000 G430 [1] which seems to work ok except for
brightness control

but from [2]:
"... The ACPI and EC firmware are completely incompatible with
ThinkPads, and ibm-acpi/thinkpad-acpi will not support it. The Lenovo
3000 are not ThinkPads."

so, what do you suggest? create a new driver for Lenovo 3000 series?
Can I use thinkpad_acpi.c as a start or should I start from scratch?

Thanks
Andika Triwidada

[1] http://research.indocisc.com/~andika/g430/lenovo-g430.html
[2] http://www.thinkwiki.org/wiki/Category:Lenovo_3000

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

* Re: drivers for Lenovo 3000 series?
  2009-04-12  7:51 drivers for Lenovo 3000 series? Andika Triwidada
@ 2009-04-13  1:27 ` yakui_zhao
  2009-04-14 19:31   ` Andika Triwidada
  0 siblings, 1 reply; 9+ messages in thread
From: yakui_zhao @ 2009-04-13  1:27 UTC (permalink / raw)
  To: Andika Triwidada; +Cc: linux-acpi@vger.kernel.org

On Sun, 2009-04-12 at 15:51 +0800, Andika Triwidada wrote:
> Hi all,
> 
> I have a Lenovo 3000 G430 [1] which seems to work ok except for
> brightness control
> 
> but from [2]:
> "... The ACPI and EC firmware are completely incompatible with
> ThinkPads, and ibm-acpi/thinkpad-acpi will not support it. The Lenovo
> 3000 are not ThinkPads."
> 
> so, what do you suggest? create a new driver for Lenovo 3000 series?
> Can I use thinkpad_acpi.c as a start or should I start from scratch?
Will you please check whether there exists the ACPI generic backlight
I/F under the /sys/class/backlight/acpi_video0/*? If exists, please
check whether the backlight can be controlled by using the sys ACPI I/f.
   for example: echo 5 > /sys/class/backlight/*/brightness
   (Of course you had better test it under the X environment. And you
should assure that the acpi video driver is loaded).

Will you please attach the output of acpidump?
> 
> Thanks
> Andika Triwidada
> 
> [1] http://research.indocisc.com/~andika/g430/lenovo-g430.html
> [2] http://www.thinkwiki.org/wiki/Category:Lenovo_3000
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

* Re: drivers for Lenovo 3000 series?
  2009-04-13  1:27 ` yakui_zhao
@ 2009-04-14 19:31   ` Andika Triwidada
  2009-04-14 19:33     ` Matthew Garrett
  0 siblings, 1 reply; 9+ messages in thread
From: Andika Triwidada @ 2009-04-14 19:31 UTC (permalink / raw)
  To: yakui_zhao; +Cc: linux-acpi@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]

On Mon, Apr 13, 2009 at 8:27 AM, yakui_zhao <yakui.zhao@intel.com> wrote:
> On Sun, 2009-04-12 at 15:51 +0800, Andika Triwidada wrote:
>> Hi all,
>>
>> I have a Lenovo 3000 G430 [1] which seems to work ok except for
>> brightness control
>>
>> but from [2]:
>> "... The ACPI and EC firmware are completely incompatible with
>> ThinkPads, and ibm-acpi/thinkpad-acpi will not support it. The Lenovo
>> 3000 are not ThinkPads."
>>
>> so, what do you suggest? create a new driver for Lenovo 3000 series?
>> Can I use thinkpad_acpi.c as a start or should I start from scratch?

Sorry for very late answer ...

> Will you please check whether there exists the ACPI generic backlight
> I/F under the /sys/class/backlight/acpi_video0/*? If exists, please
> check whether the backlight can be controlled by using the sys ACPI I/f.
>   for example: echo 5 > /sys/class/backlight/*/brightness
>   (Of course you had better test it under the X environment. And you
> should assure that the acpi video driver is loaded).

$ lsmod|grep video
uvcvideo               70024  0
compat_ioctl32         18304  1 uvcvideo
videodev               46720  2 uvcvideo,compat_ioctl32
v4l1_compat            24580  2 uvcvideo,videodev
video                  29204  0
output                 11776  1 video
usbcore               175760  8
usb_storage,libusual,usbhid,uvcvideo,btusb,uhci_hcd,ehci_hcd

 /sys/class/backlight/acpi_video0/brightness exist, I can write and
the value kept,
but no effect on display brightness.

>
> Will you please attach the output of acpidump?

attached, and also placed here:
http://cecunguk.blankonlinux.or.id/~andika/lenovo-g430.acpidump

Thanks
Andika Triwidada

[-- Attachment #2: lenovo-g430.acpidump --]
[-- Type: application/octet-stream, Size: 36826 bytes --]

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

* Re: drivers for Lenovo 3000 series?
  2009-04-14 19:31   ` Andika Triwidada
@ 2009-04-14 19:33     ` Matthew Garrett
  2009-04-14 19:52       ` Andika Triwidada
  0 siblings, 1 reply; 9+ messages in thread
From: Matthew Garrett @ 2009-04-14 19:33 UTC (permalink / raw)
  To: Andika Triwidada; +Cc: yakui_zhao, linux-acpi@vger.kernel.org

On Wed, Apr 15, 2009 at 02:31:35AM +0700, Andika Triwidada wrote:

>  /sys/class/backlight/acpi_video0/brightness exist, I can write and
> the value kept,
> but no effect on display brightness.

Is this an Intel graphics machine? Is the i915 driver loaded?

-- 
Matthew Garrett | mjg59@srcf.ucam.org

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

* Re: drivers for Lenovo 3000 series?
  2009-04-14 19:33     ` Matthew Garrett
@ 2009-04-14 19:52       ` Andika Triwidada
  2009-04-15  1:44         ` Zhang Rui
  0 siblings, 1 reply; 9+ messages in thread
From: Andika Triwidada @ 2009-04-14 19:52 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: yakui_zhao, linux-acpi@vger.kernel.org

On Wed, Apr 15, 2009 at 2:33 AM, Matthew Garrett <mjg59@srcf.ucam.org> wrote:
> On Wed, Apr 15, 2009 at 02:31:35AM +0700, Andika Triwidada wrote:
>
>>  /sys/class/backlight/acpi_video0/brightness exist, I can write and
>> the value kept,
>> but no effect on display brightness.
>
> Is this an Intel graphics machine? Is the i915 driver loaded?

yes and yes

$ lspci -nn|egrep '(VGA|Disp)'
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4
Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series
Chipset Integrated Graphics Controller [8086:2a43] (rev 07)

$ lsmod|grep 915
i915                   44928  2
drm                   110304  3 i915
intel_agp              39152  1

Regards,
Andika
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: drivers for Lenovo 3000 series?
  2009-04-14 19:52       ` Andika Triwidada
@ 2009-04-15  1:44         ` Zhang Rui
       [not found]           ` <d0cc17060904180417i2cec7ebckddf31bed36606cde@mail.gmail.com>
  0 siblings, 1 reply; 9+ messages in thread
From: Zhang Rui @ 2009-04-15  1:44 UTC (permalink / raw)
  To: Andika Triwidada; +Cc: Matthew Garrett, Zhao, Yakui, linux-acpi@vger.kernel.org

On Wed, 2009-04-15 at 03:52 +0800, Andika Triwidada wrote:
> On Wed, Apr 15, 2009 at 2:33 AM, Matthew Garrett <mjg59@srcf.ucam.org> wrote:
> > On Wed, Apr 15, 2009 at 02:31:35AM +0700, Andika Triwidada wrote:
> >
> >>  /sys/class/backlight/acpi_video0/brightness exist, I can write and
> >> the value kept,
> >> but no effect on display brightness.
> >
> > Is this an Intel graphics machine? Is the i915 driver loaded?
> 
> yes and yes
> 
> $ lspci -nn|egrep '(VGA|Disp)'
> 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4
> Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
> 00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series
> Chipset Integrated Graphics Controller [8086:2a43] (rev 07)
> 
> $ lsmod|grep 915
> i915                   44928  2
> drm                   110304  3 i915
> intel_agp              39152  1
> 
please attach the acpidump output.
please try the latest git tree.

thanks,
rui


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

* Re: drivers for Lenovo 3000 series?
       [not found]           ` <d0cc17060904180417i2cec7ebckddf31bed36606cde@mail.gmail.com>
@ 2009-04-20  5:35             ` Zhang Rui
  2009-04-20 18:21               ` Andika Triwidada
  0 siblings, 1 reply; 9+ messages in thread
From: Zhang Rui @ 2009-04-20  5:35 UTC (permalink / raw)
  To: Andika Triwidada; +Cc: Matthew Garrett, Zhao, Yakui, linux-acpi@vger.kernel.org

On Sat, 2009-04-18 at 19:17 +0800, Andika Triwidada wrote:
> On Wed, Apr 15, 2009 at 8:44 AM, Zhang Rui <rui.zhang@intel.com> wrote:
> > On Wed, 2009-04-15 at 03:52 +0800, Andika Triwidada wrote:
> >> On Wed, Apr 15, 2009 at 2:33 AM, Matthew Garrett <mjg59@srcf.ucam.org> wrote:
> >> > On Wed, Apr 15, 2009 at 02:31:35AM +0700, Andika Triwidada wrote:
> >> >
> >> >>  /sys/class/backlight/acpi_video0/brightness exist, I can write and
> >> >> the value kept,
> >> >> but no effect on display brightness.
> >> >
> >> > Is this an Intel graphics machine? Is the i915 driver loaded?
> >>
> >> yes and yes
> >>
> >> $ lspci -nn|egrep '(VGA|Disp)'
> >> 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4
> >> Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
> >> 00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series
> >> Chipset Integrated Graphics Controller [8086:2a43] (rev 07)
> >>
> >> $ lsmod|grep 915
> >> i915                   44928  2
> >> drm                   110304  3 i915
> >> intel_agp              39152  1
> >>
> > please attach the acpidump output.
> > please try the latest git tree.
> >
> > thanks,
> > rui
> 
> using latest (?) git tree (my network link is quite slow, latest I
> have is v2.6.30-rc1)
> is worst, no /sys/class/backlight
> 
> furthermore,

please apply this patch
http://marc.info/?l=linux-kernel&m=123982845406021&w=2
on top of 2.6.30-rc1 and see if /sys/class/backlight/acpi_video0/ comes
back again.

If it doesn't help, please file a new bug report at
http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI
so that we can track this bug better.

thanks,
rui


>  running acpi_listen while running kernel Ubuntu
> 2.6.27-11-generic (amd64)
> I got some messages (comments are mine):
> video DD02 00000086 00000000; brightness up key pressed
> video DD02 00000087 00000000; brightness down key pressed
> 
> attached some files which might help,
> please let me know if you need more data/test
> 
> Regards,
> Andika


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

* Re: drivers for Lenovo 3000 series?
  2009-04-20  5:35             ` Zhang Rui
@ 2009-04-20 18:21               ` Andika Triwidada
  2009-04-20 19:12                 ` Zhang, Rui
  0 siblings, 1 reply; 9+ messages in thread
From: Andika Triwidada @ 2009-04-20 18:21 UTC (permalink / raw)
  To: Zhang Rui; +Cc: Matthew Garrett, Zhao, Yakui, linux-acpi@vger.kernel.org

On Mon, Apr 20, 2009 at 12:35 PM, Zhang Rui <rui.zhang@intel.com> wrote:
> On Sat, 2009-04-18 at 19:17 +0800, Andika Triwidada wrote:
>> using latest (?) git tree (my network link is quite slow, latest I
>> have is v2.6.30-rc1)
>> is worst, no /sys/class/backlight
>>
>> furthermore,
>
> please apply this patch
> http://marc.info/?l=linux-kernel&m=123982845406021&w=2
> on top of 2.6.30-rc1 and see if /sys/class/backlight/acpi_video0/ comes
> back again.

Yes, it does come back

>
> If it doesn't help, please file a new bug report at
> http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI
> so that we can track this bug better.
>
> thanks,
> rui

No need to file bug report then?

--
andika

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

* RE: drivers for Lenovo 3000 series?
  2009-04-20 18:21               ` Andika Triwidada
@ 2009-04-20 19:12                 ` Zhang, Rui
  0 siblings, 0 replies; 9+ messages in thread
From: Zhang, Rui @ 2009-04-20 19:12 UTC (permalink / raw)
  To: Andika Triwidada; +Cc: Matthew Garrett, Zhao, Yakui, linux-acpi@vger.kernel.org

This is a duplicate of bug http://bugzilla.kernel.org/show_bug.cgi?id=13048
So, no need to create a new bug report.

Thanks,
rui

>-----Original Message-----
>From: Andika Triwidada [mailto:andika@startrek.or.id]
>Sent: Tuesday, April 21, 2009 2:22 AM
>To: Zhang, Rui
>Cc: Matthew Garrett; Zhao, Yakui; linux-acpi@vger.kernel.org
>Subject: Re: drivers for Lenovo 3000 series?
>
>On Mon, Apr 20, 2009 at 12:35 PM, Zhang Rui <rui.zhang@intel.com> wrote:
>> On Sat, 2009-04-18 at 19:17 +0800, Andika Triwidada wrote:
>>> using latest (?) git tree (my network link is quite slow, latest I
>>> have is v2.6.30-rc1)
>>> is worst, no /sys/class/backlight
>>>
>>> furthermore,
>>
>> please apply this patch
>> http://marc.info/?l=linux-kernel&m=123982845406021&w=2
>> on top of 2.6.30-rc1 and see if /sys/class/backlight/acpi_video0/ comes
>> back again.
>
>Yes, it does come back
>
>>
>> If it doesn't help, please file a new bug report at
>> http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI
>> so that we can track this bug better.
>>
>> thanks,
>> rui
>
>No need to file bug report then?
>
>--
>andika

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

end of thread, other threads:[~2009-04-20 19:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-12  7:51 drivers for Lenovo 3000 series? Andika Triwidada
2009-04-13  1:27 ` yakui_zhao
2009-04-14 19:31   ` Andika Triwidada
2009-04-14 19:33     ` Matthew Garrett
2009-04-14 19:52       ` Andika Triwidada
2009-04-15  1:44         ` Zhang Rui
     [not found]           ` <d0cc17060904180417i2cec7ebckddf31bed36606cde@mail.gmail.com>
2009-04-20  5:35             ` Zhang Rui
2009-04-20 18:21               ` Andika Triwidada
2009-04-20 19:12                 ` Zhang, Rui

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