Re: [Cooker] Re: ACPI on Compaq Presario 700 and Kernel-2.4.19.19mdk-1-1mdk

2002-11-16 Thread Sebastien PAOLACCI
Here is what I found on the web about ACPI & Compaq presario 2800 laptops :

form the page http://www.scrye.com/~kevin/presario-2800.html

+===
Seems that the ACPI bios compaq has in the laptop is not right, so the ACPI 
linux drivers don't see it. 

In order to get it working, first you need to dump the tables from the bios to 
something we can edit, using: pacpidump once you have a acpi.asl file, edit 
it and replace all "*PNP" with "PNP" and change "C11C" to "BAT1" and "C11B" 
to "BAT2" and "C11A" to "ACAD". 

Once you have that get the iasl util from intel at: iasl-linux-20020725 and 
run it on the asl file: iasl -tc -bb -i dsdt.asl This will produce a dsdt.hex 
file.

Apply the following kernel diff to your kernel source: 2800-acpi.patch 
Recompile and reboot and you should have ACPI support.
+===

I don't really understand the purpose of all the steps, but hope this can 
help.

Sebastien.


Le Jeudi 14 Novembre 2002 18:03, Sebastien PAOLACCI a écrit :
>
> Whilst I still can't make acpi to work on my laptop, there are no problems
> at boot for me on a Compaq Presario 2800.
>
> It seems that compaq laptops ACPI implementation is "non standard", I
> always had the message :
> +
> Your computer seems to have a partial ACPI installation. ACPI was
> probably enabled, but some of the sub-options were not - you need to
> enable at least 'AC Adaptor' and 'Control Method Battery' and then
> rebuild your kernel.
> +
> Here are files present in /proc/acpi/ on my laptop. There are no BAT0, BAT1
> or some other things I were talk about in differents forums :
>
> ac_adapter/
> button/
> power_resource/
> processor/
> thermal_zone/
> alarm
> dsdt
> event
> fadt
> info
> sleep
>
> ./ac_adapter/C11A:
> state
>
> ./button/power/PWRF:
> info
>
> ./power_resource/C0CF:
> state
>
> ./power_resource/C140:
> state
>
> ./power_resource/C154:
> state
>
> ./power_resource/C158:
> state
>
> ./power_resource/C15B:
> state
>
> ./power_resource/C164:
> state
>
> ./power_resource/C1D0:
> state
>
> ./power_resource/C1D1:
> state
>
> ./power_resource/C1D2:
> state
>
> ./power_resource/C1D3:
> state
>
> ./processor/C000:
> info
> limit
> performance
> power
> throttling
>
> ./thermal_zone/TZ1:
> cooling_mode
> polling_frequency
> state
> temperature
> trip_points
>
> ./thermal_zone/TZ2:
> cooling_mode
> polling_frequency
> state
> temperature
> trip_points
>
> ./thermal_zone/TZ3:
> cooling_mode
> polling_frequency
> state
> temperature
> trip_points
>
>
> Hope this can help someone.
>
> Sebastien
>





Re: [Cooker] Re: ACPI on Compaq Presario 700 and Kernel-2.4.19.19mdk-1-1mdk

2002-11-14 Thread Per Øyvind Karlsen
Juan Quintela wrote:


"david" == David Walser <[EMAIL PROTECTED]> writes:
   


Hi
   please boot with

devfs=nomount

and send me the dmesg, I have no idea what can be happening :(

Later, Juan.

david> Juan lives!  I have a different machine with ACPI not
david> working.  It stops booting when trying to run devfsd,
david> and acpi=off works like before.  Let me know what
david> other info you need.

david> __
david> Do you Yahoo!?
david> Yahoo! Web Hosting - Let the expert host your site
david> http://webhosting.yahoo.com


 

ai, I reported what I think is the same problem just a few days ago:o)
have'nt had the time to investigate it though, it was also a compaq 
presario..

--
Mvh Per Øyvind Karlsen
Delonic Technology Group AS
Sysadmin, developer, greasemonkey
www.delonic.no - +47 41681061





Re: [Cooker] Re: ACPI on Compaq Presario 700 and Kernel-2.4.19.19mdk-1-1mdk

2002-11-14 Thread Sebastien PAOLACCI
Le Jeudi 14 Novembre 2002 18:45, Jan Hendrik Mangold a écrit :
> >That's what I mentioned by a "non standard" implementation. There no BATn
> >entry in my /proc/acpi directory. Here is the output of lsmod (all modules
> > are launched at startup).
> >
> >thermal 6592   0  (unused)
> >processor   9144   0  [thermal]
> >button  2444   0  (unused)
> >battery 6208   0  (unused)
> >ac  1984   0  (unused)
>
> Sorry. Didnt see the output of lsmod. Any error messages when you
> modprobe battery manually?
>
> Jan

No.
All seems ok, but nothing work ... 

Sebastien




Re: [Cooker] Re: ACPI on Compaq Presario 700 and Kernel-2.4.19.19mdk-1-1mdk

2002-11-14 Thread Jan Hendrik Mangold


That's what I mentioned by a "non standard" implementation. There no BATn
entry in my /proc/acpi directory. Here is the output of lsmod (all modules are 
launched at startup).

thermal 6592   0  (unused)
processor   9144   0  [thermal]
button  2444   0  (unused)
battery 6208   0  (unused)
ac  1984   0  (unused)


Sorry. Didnt see the output of lsmod. Any error messages when you 
modprobe battery manually?

Jan




Re: [Cooker] Re: ACPI on Compaq Presario 700 and Kernel-2.4.19.19mdk-1-1mdk

2002-11-14 Thread David Walser
--- Juan Quintela <[EMAIL PROTECTED]> wrote:
> > "luca" == Luca Landi (inwind it)
> <[EMAIL PROTECTED]> writes:
> 
> luca> I've try kernel-2.4.19.19mdk-1-1mdk on my
> Compaq Presario 700 and on
> luca> reboot my Mandrake 9.x (semi-cooker) don't
> start!! Freeze during kernel
> luca> loading
> 
> luca> With normal kernel 2.4.19-16mdk my linux don't
> shutdown.
> 
> luca> There is a bug in new ACPI patch?? 
> 
> luca> Any suggest??
> 
> luca> Thanks, Luca
> 
> 
> Could you told me where it stops?
> 
> And if it works if you try:
> 
> pci=noacpi
> 
> and if that fails:
> 
> acpi=off
> 
> Later, Juan.

Juan lives!  I have a different machine with ACPI not
working.  It stops booting when trying to run devfsd,
and acpi=off works like before.  Let me know what
other info you need.

__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com




Re: [Cooker] Re: ACPI on Compaq Presario 700 and Kernel-2.4.19.19mdk-1-1mdk

2002-11-14 Thread Sebastien PAOLACCI
That's what I mentioned by a "non standard" implementation. There no BATn
entry in my /proc/acpi directory. Here is the output of lsmod (all modules are 
launched at startup).

thermal 6592   0  (unused)
processor   9144   0  [thermal]
button  2444   0  (unused)
battery 6208   0  (unused)
ac  1984   0  (unused)

Sebastien.

Le Jeudi 14 Novembre 2002 18:11, Jan Hendrik Mangold a écrit :
> Sebastien PAOLACCI wrote:
> >Here are files present in /proc/acpi/ on my laptop. There are no BAT0,
> > BAT1 or some other things I were talk about in differents forums :
> >
> >ac_adapter/
> >button/
> >power_resource/
> >processor/
> >thermal_zone/
>
> Where is /proc/acpi/battery? Thats where the BATn directories are. Are
> you sure you did "modprobe battery"?
>
> Jan





Re: [Cooker] Re: ACPI on Compaq Presario 700 and Kernel-2.4.19.19mdk-1-1mdk

2002-11-14 Thread Jan Hendrik Mangold
Sebastien PAOLACCI wrote:


Here are files present in /proc/acpi/ on my laptop. There are no BAT0, BAT1 or 
some other things I were talk about in differents forums :

ac_adapter/
button/
power_resource/
processor/
thermal_zone/
 


Where is /proc/acpi/battery? Thats where the BATn directories are. Are 
you sure you did "modprobe battery"?

Jan





Re: [Cooker] Re: ACPI on Compaq Presario 700 and Kernel-2.4.19.19mdk-1-1mdk

2002-11-14 Thread Sebastien PAOLACCI
Le Jeudi 14 Novembre 2002 17:31, Juan Quintela a écrit :

Whilst I still can't make acpi to work on my laptop, there are no problems at 
boot for me on a Compaq Presario 2800.

It seems that compaq laptops ACPI implementation is "non standard", I always 
had the message :
+
Your computer seems to have a partial ACPI installation. ACPI was
probably enabled, but some of the sub-options were not - you need to
enable at least 'AC Adaptor' and 'Control Method Battery' and then
rebuild your kernel.
+
Here are files present in /proc/acpi/ on my laptop. There are no BAT0, BAT1 or 
some other things I were talk about in differents forums :

ac_adapter/
button/
power_resource/
processor/
thermal_zone/
alarm
dsdt
event
fadt
info
sleep

./ac_adapter/C11A:
state

./button/power/PWRF:
info

./power_resource/C0CF:
state

./power_resource/C140:
state

./power_resource/C154:
state

./power_resource/C158:
state

./power_resource/C15B:
state

./power_resource/C164:
state

./power_resource/C1D0:
state

./power_resource/C1D1:
state

./power_resource/C1D2:
state

./power_resource/C1D3:
state

./processor/C000:
info
limit
performance
power
throttling

./thermal_zone/TZ1:
cooling_mode
polling_frequency
state
temperature
trip_points

./thermal_zone/TZ2:
cooling_mode
polling_frequency
state
temperature
trip_points

./thermal_zone/TZ3:
cooling_mode
polling_frequency
state
temperature
trip_points


Hope this can help someone.

Sebastien

> > "luca" == Luca Landi (inwind it) <[EMAIL PROTECTED]> writes:
>
> luca> I've try kernel-2.4.19.19mdk-1-1mdk on my Compaq Presario 700 and on
> luca> reboot my Mandrake 9.x (semi-cooker) don't start!! Freeze during
> kernel luca> loading
>
> luca> With normal kernel 2.4.19-16mdk my linux don't shutdown.
>
> luca> There is a bug in new ACPI patch??
>
> luca> Any suggest??
>
> luca> Thanks, Luca
>
>
> Could you told me where it stops?
>
> And if it works if you try:
>
> pci=noacpi
>
> and if that fails:
>
> acpi=off
>
> Later, Juan.