LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* /proc/acpi/ac_adapter/AC is missing after latest ACPI merge
@ 2007-02-12 18:45 Ismail Dönmez
  2007-02-13  5:23 ` Len Brown
  2007-02-13  5:56 ` Lebedev, Vladimir P
  0 siblings, 2 replies; 5+ messages in thread
From: Ismail Dönmez @ 2007-02-12 18:45 UTC (permalink / raw)
  To: linux-acpi; +Cc: linux-kernel

Hi all,

After latest ACPI merge /proc/acpi/ac_adapter/AC has gone fishing :

[~]> ls -al /proc/acpi/ac_adapter/
dr-xr-xr-x  2 root root 0 Şub 12 20:44 ADP1

[~]> ls -al /proc/acpi/ac_adapter/ADP1
-r--r--r-- 1 root root 0 Şub 12 20:44 state

This at least breaks HAL which thinks AC is always plugged in, is this change 
intentional?

Regards,
ismail

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

* Re: /proc/acpi/ac_adapter/AC is missing after latest ACPI merge
  2007-02-12 18:45 /proc/acpi/ac_adapter/AC is missing after latest ACPI merge Ismail Dönmez
@ 2007-02-13  5:23 ` Len Brown
  2007-02-13  7:36   ` Ismail Dönmez
  2007-02-13 11:51   ` Ismail Dönmez
  2007-02-13  5:56 ` Lebedev, Vladimir P
  1 sibling, 2 replies; 5+ messages in thread
From: Len Brown @ 2007-02-13  5:23 UTC (permalink / raw)
  To: Ismail Dönmez; +Cc: linux-acpi, linux-kernel

On Monday 12 February 2007 13:45, Ismail Dönmez wrote:
> Hi all,
> 
> After latest ACPI merge /proc/acpi/ac_adapter/AC has gone fishing :
> 
> [~]> ls -al /proc/acpi/ac_adapter/
> dr-xr-xr-x  2 root root 0 Şub 12 20:44 ADP1
> 
> [~]> ls -al /proc/acpi/ac_adapter/ADP1
> -r--r--r-- 1 root root 0 Şub 12 20:44 state
> 
> This at least breaks HAL which thinks AC is always plugged in, is this change 
> intentional?

no change intended here.

grep CONFIG_ACPI_AC .config

lsmod |grep ac

cheers,
-Len

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

* RE: /proc/acpi/ac_adapter/AC is missing after latest ACPI merge
  2007-02-12 18:45 /proc/acpi/ac_adapter/AC is missing after latest ACPI merge Ismail Dönmez
  2007-02-13  5:23 ` Len Brown
@ 2007-02-13  5:56 ` Lebedev, Vladimir P
  1 sibling, 0 replies; 5+ messages in thread
From: Lebedev, Vladimir P @ 2007-02-13  5:56 UTC (permalink / raw)
  To: Ismail Dönmez; +Cc: linux-kernel


On Monday 12 February 2007 13:45, Ismail Dönmez wrote:

> Hi all,
> 
> After latest ACPI merge /proc/acpi/ac_adapter/AC has gone fishing :
> 
> [~]> ls -al /proc/acpi/ac_adapter/
> dr-xr-xr-x  2 root root 0 Şub 12 20:44 ADP1
> 
> [~]> ls -al /proc/acpi/ac_adapter/ADP1
> -r--r--r-- 1 root root 0 Şub 12 20:44 state
> 
> This at least breaks HAL which thinks AC is always plugged in, is this change 
> intentional?

Could you please clarify what is incorrect - ADP1 name ...? Why does HAL think so?

Thanks.
Vladimir.

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

* Re: /proc/acpi/ac_adapter/AC is missing after latest ACPI merge
  2007-02-13  5:23 ` Len Brown
@ 2007-02-13  7:36   ` Ismail Dönmez
  2007-02-13 11:51   ` Ismail Dönmez
  1 sibling, 0 replies; 5+ messages in thread
From: Ismail Dönmez @ 2007-02-13  7:36 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-acpi, linux-kernel, Lebedev, Vladimir P

On Tuesday 13 February 2007 07:23:15 Len Brown wrote:
> On Monday 12 February 2007 13:45, Ismail Dönmez wrote:
> > Hi all,
> >
> > After latest ACPI merge /proc/acpi/ac_adapter/AC has gone fishing :
> >
> > [~]> ls -al /proc/acpi/ac_adapter/
> > dr-xr-xr-x  2 root root 0 Şub 12 20:44 ADP1
> >
> > [~]> ls -al /proc/acpi/ac_adapter/ADP1
> > -r--r--r-- 1 root root 0 Şub 12 20:44 state
> >
> > This at least breaks HAL which thinks AC is always plugged in, is this
> > change intentional?
>
> no change intended here.
>
> grep CONFIG_ACPI_AC .config
>
> lsmod |grep ac


[~/GIT/linux-2.6]> grep CONFIG_ACPI_AC .config
CONFIG_ACPI_AC=y

[~/GIT/linux-2.6]> lsmod|grep ac
af_packet              19976  2
cpufreq_userspace       3732  0

But it looks like older kernels had only  /proc/acpi/ac_adapter/ADP1 and it 
worked fine with HAL, maybe something in sysfs changed? Also for some reason 
hal-addon-acpi doesn't seem to start at all, which might be the problem.

Regards,
ismail

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

* Re: /proc/acpi/ac_adapter/AC is missing after latest ACPI merge
  2007-02-13  5:23 ` Len Brown
  2007-02-13  7:36   ` Ismail Dönmez
@ 2007-02-13 11:51   ` Ismail Dönmez
  1 sibling, 0 replies; 5+ messages in thread
From: Ismail Dönmez @ 2007-02-13 11:51 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-acpi, linux-kernel

On Tuesday 13 February 2007 07:23:15 Len Brown wrote:
> On Monday 12 February 2007 13:45, Ismail Dönmez wrote:
> > Hi all,
> >
> > After latest ACPI merge /proc/acpi/ac_adapter/AC has gone fishing :
> >
> > [~]> ls -al /proc/acpi/ac_adapter/
> > dr-xr-xr-x  2 root root 0 Şub 12 20:44 ADP1
> >
> > [~]> ls -al /proc/acpi/ac_adapter/ADP1
> > -r--r--r-- 1 root root 0 Şub 12 20:44 state
> >
> > This at least breaks HAL which thinks AC is always plugged in, is this
> > change intentional?
>
> no change intended here.

It was indeed a sysfs problem which commit 
c2b6705b75d9c7aff98a4602a32230639e10891c fixed.

Regards,
ismail


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

end of thread, other threads:[~2007-02-13 11:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12 18:45 /proc/acpi/ac_adapter/AC is missing after latest ACPI merge Ismail Dönmez
2007-02-13  5:23 ` Len Brown
2007-02-13  7:36   ` Ismail Dönmez
2007-02-13 11:51   ` Ismail Dönmez
2007-02-13  5:56 ` Lebedev, Vladimir P

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).