linux-image 2.6.25 and .../BAT1/info

View: New views
6 Messages — Rating Filter:   Alert me  

linux-image 2.6.25 and .../BAT1/info

by zadig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
Why if I use kernel 2.6.22 the file /proc/acpi/battery/BAT1/info exists
and when I use kernel 2.6.25 it doesn't exist ?

(btw acpitool doesn't work with the kerne 2.6.25:

  Battery status : <not available>
   AC adapter     : <not available>
   Thermal zone 1 : ok, 38 C )


--
Gérard


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: linux-image 2.6.25 and .../BAT1/info

by Franklin PIAT :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 2008-06-01 at 16:47 +0200, Gerard Robin wrote:
> Why if I use kernel 2.6.22 the file /proc/acpi/battery/BAT1/info exists
> and when I use kernel 2.6.25 it doesn't exist ?


In /usr/share/doc/linux-doc-2.6.25/Documentation/feature-removal-schedule.txt.gz

"The following is a list of files and features that are going to be
removed in the kernel source tree.  Every entry should contain what
exactly is going away, why it is happening, and who is going to be doing
the work.  When the feature is removed from the kernel, it should also
be removed from this file."
[..]
What:   ACPI procfs interface
When:   July 2008
Why:    ACPI sysfs conversion should be finished by January 2008.
        ACPI procfs interface will be removed in July 2008 so that
        there is enough time for the user space to catch up.
Who:    Zhang Rui <rui.zhang@...>

On my system (standard debian 686 kernel) :
$ grep CONFIG_ACPI_PROCFS  /boot/config-2.6.25-2-686
CONFIG_ACPI_PROCFS=y
# CONFIG_ACPI_PROCFS_POWER is not set

> (btw acpitool doesn't work with the kerne 2.6.25:
For the same reason, I assume.

So, file bugs against the tools you use.

Franklin


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: linux-image 2.6.25 and .../BAT1/info

by Paolo-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Jun 01, 2008 at 04:47:15PM +0200, Gerard Robin wrote:
> Hello,
> Why if I use kernel 2.6.22 the file /proc/acpi/battery/BAT1/info exists
> and when I use kernel 2.6.25 it doesn't exist ?

maybe see Documentation/feature-removal-schedule.txt:

...
---------------------------

What:   ACPI procfs interface
When:   July 2008
Why:    ACPI sysfs conversion should be finished by January 2008.
        ACPI procfs interface will be removed in July 2008 so that
        there is enough time for the user space to catch up.
Who:    Zhang Rui <rui.zhang@...>

---------------------------

What:   /proc/acpi/button
When:   August 2007
Why:    /proc/acpi/button has been replaced by events to the input layer
        since 2.6.20.
Who:    Len Brown <len.brown@...>

---------------------------

What:   /proc/acpi/event      
When:   February 2008
Why:    /proc/acpi/event has been replaced by events via the input layer
        and netlink since 2.6.23.
Who:    Len Brown <len.brown@...>
       
---------------------------
...

though the /proc interface seems atill there (see eg
http://bugzilla.kernel.org/show_bug.cgi?id=10811)
 

--
 paolo
 
 GPG/PGP id:0x3A47DE45  - B5F9 AAA0 44BD 2B63 81E0  971F C6C0 0B87 3A47 DE45
 - 9/11: the outrageous deception and ongoing coverup: http://911review.org -


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: linux-image 2.6.25 and .../BAT1/info

by Paolo-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Jun 01, 2008 at 05:52:46PM +0200, Franklin PIAT wrote:
>
> > (btw acpitool doesn't work with the kerne 2.6.25:
> For the same reason, I assume.
>
> So, file bugs against the tools you use.

well, that perhaps applies only if you're using a distro that's supposed to
suppoert 2.6.24+, otherwise you've to check for backports.


--
paolo


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: linux-image 2.6.25 and .../BAT1/info

by zadig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Jun 01, 2008 at 05:52:46PM +0200, Franklin PIAT wrote:
>From: Franklin PIAT <fpiat@...>
>To: Gerard Robin <g.robin3@...>
>Cc: debian-laptop <debian-laptop@...>
>Subject: Re: linux-image 2.6.25 and .../BAT1/info
>X-Mailer: Evolution 2.22.1

-----------------------8<----------------------------
>$ grep CONFIG_ACPI_PROCFS  /boot/config-2.6.25-2-686
>CONFIG_ACPI_PROCFS=y
># CONFIG_ACPI_PROCFS_POWER is not set
-----------------------8<----------------------------
the same for me:

grep CONFIG_ACPI_PROCFS  /boot/config-2.6.25-2-amd64
CONFIG_ACPI_PROCFS=y
# CONFIG_ACPI_PROCFS_POWER is not set

Thanks for your explanation.
--
Gérard


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: linux-image 2.6.25 and .../BAT1/info

by Franklin PIAT :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 2008-06-01 at 17:52 +0200, Franklin PIAT wrote:
> On Sun, 2008-06-01 at 16:47 +0200, Gerard Robin wrote:
> > Why if I use kernel 2.6.22 the file /proc/acpi/battery/BAT1/info exists
> > and when I use kernel 2.6.25 it doesn't exist ?

For the record, this has been fixed in acpi_0.09-6 (still in unstable)
The bug was http://bugs.debian.org/462305 .

Franklin


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...

LightInTheBox - Buy quality products at wholesale price