Re: acpi patch for dell laptop?

2003-06-25 Thread Vincent Poy
On Wed, 25 Jun 2003, M. Warner Losh wrote:

 In message: [EMAIL PROTECTED]
 Vincent Poy [EMAIL PROTECTED] writes:
 : On Tue, 24 Jun 2003, M. Warner Losh wrote:
 :
 :  In message: [EMAIL PROTECTED]
 :  Vincent Poy [EMAIL PROTECTED] writes:
 :  : Speaking about ACPI, has anyone figured out how to close the lid
 :  : without suspending?  I remember before, when the lid was closed, it would
 : 
 :  add the following to your /boot/loader.conf:
 : 
 :  hw.acpi.lid_switch_state=NONE
 :
 : Putting it in /boot/loader.conf doesn't work since at some port
 : during the system bootup, it will set the hw.acpi.lid_switch_state: S1
 : back to S1.  My /boot/loader.conf is as follows:

 you are right.  that's what I get for not double checking on my laptop
 at home first.

Hehe, I thought you knew something we didn't. =)

 : Doing /sbin/sysctl -w hw.acpi.lid_switch_state=NONE in
 : /etc/rc.local does work which was the way I had it before but without the
 : ACPI_DSDT patch, all it does when I close the lid is suspend the machine
 : without the LCD going off and the LCD isn't alive until I reboot the
 : machine.  Same thing happens with hw.acpi.lid_switch_state=S1 even with
 : the DSDT patch is that when the system resumes, the LCD is not live
 : either.  With the DSDT path and hw.acpi.lid_switch_state=NONE, the LCD
 : turns off without suspending but when you open the lid, the LCD doesn't
 : turn on until you hit Fn-F10.  This is with the A10 BIOS on the Dell
 : Inspiron 8200.

 this matches my experiences, to a point.  I've not tried the patched
 dsdt table on my dell yet. :-)

Guess there are lots of people with Dell's and IBM Thinkpads. =)


Cheers,
Vince - [EMAIL PROTECTED] - Vice President    __ 
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[]
[EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-25 Thread Jason Dambrosio
 Great. Do you also have working battery status now?

Does anyone have a 5000e? The fix for the 5000 doesn't fix my
suspend/resume problems on my 5000e. However, the battery status
works fine using standard /dev/apm from the acpi module.

Jason
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-24 Thread Vincent Poy
On Mon, 23 Jun 2003, Scott Lambert wrote:

 On Mon, Jun 23, 2003 at 10:38:26AM -1000, Vincent Poy wrote:
  Speaking about ACPI, has anyone figured out how to close the lid
  without suspending?  I remember before, when the lid was closed, it would
  suspend even with sysctl set to not suspend and the screen stays on and
  when you resume, you can type but the screen freezes and doesn't update.

 Setting hw.acpi.lid_switch_state=NONE in /etc/sysctl.conf keeps my
 Toshiba from suspending on lid close.  Is that the sysctl you are
 referring to as not working?

Yep, on my IBM ThinkPad 770Z and A31P,
sysctl -w hw.acpi.lid_switch_state=NONE works fine but on the Dell
Inspiron 8200, it doesn't work at all.  The screen doesn't turn off and
the machine suspends and then when you resume the machine, the screen
appears to not update but the commands you type on the keyboard still make
it.


Cheers,
Vince - [EMAIL PROTECTED] - Vice President    __ 
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[]
[EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-24 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Vincent Poy [EMAIL PROTECTED] writes:
:   Speaking about ACPI, has anyone figured out how to close the lid
: without suspending?  I remember before, when the lid was closed, it would

add the following to your /boot/loader.conf:

hw.acpi.lid_switch_state=NONE

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-24 Thread Vincent Poy
On Tue, 24 Jun 2003, M. Warner Losh wrote:

 In message: [EMAIL PROTECTED]
 Vincent Poy [EMAIL PROTECTED] writes:
 : Speaking about ACPI, has anyone figured out how to close the lid
 : without suspending?  I remember before, when the lid was closed, it would

 add the following to your /boot/loader.conf:

 hw.acpi.lid_switch_state=NONE

Putting it in /boot/loader.conf doesn't work since at some port
during the system bootup, it will set the hw.acpi.lid_switch_state: S1
back to S1.  My /boot/loader.conf is as follows:

hw.ata.wc=1
snd_ich_load=YES
acpi_dsdt_load=YES
acpi_dsdt_name=/boot/acpi_dsdt.aml
hw.acpi.lid_switch_state=NONE

Doing /sbin/sysctl -w hw.acpi.lid_switch_state=NONE in
/etc/rc.local does work which was the way I had it before but without the
ACPI_DSDT patch, all it does when I close the lid is suspend the machine
without the LCD going off and the LCD isn't alive until I reboot the
machine.  Same thing happens with hw.acpi.lid_switch_state=S1 even with
the DSDT patch is that when the system resumes, the LCD is not live
either.  With the DSDT path and hw.acpi.lid_switch_state=NONE, the LCD
turns off without suspending but when you open the lid, the LCD doesn't
turn on until you hit Fn-F10.  This is with the A10 BIOS on the Dell
Inspiron 8200.


Cheers,
Vince - [EMAIL PROTECTED] - Vice President    __ 
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[]
[EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-23 Thread Julian Elischer
doesn't work for several models.. Including Inspiron 7500.
WHo knows enough about this to be able to look at debug info
I have?

My system gives lots of:
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ACPI-0432: *** Error: Handler for [EmbeddedControl] returned
AE_ERROR
ACPI-1287: *** Error: Method execution failed [\\_SB_.BAT1._STA]
(Node 0xc167ed60), AE_ERROR
ACPI-0340: *** Error: Could not release ACPI Global Lock,
AE_BAD_PARAMETER
ACPI-0340: *** Error: Could not release ACPI Global Lock,
AE_BAD_PARAMETER
ad0: 24207MB IBM-DARA-225000 [49184/16/63] at ata0-master UDMA33
ACPI-0340: *** Error: Could not release ACPI Global Lock,
AE_BAD_PARAMETER
acd0: DVD-ROM TOSHIBA DVD-ROM SD-C2402 at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s4a
ACPI-0340: *** Error: Could not release ACPI Global Lock,
AE_BAD_PARAMETER
ACPI-0340: *** Error: Could not release ACPI Global Lock,
AE_BAD_PARAMETER
ACPI-0340: *** Error: Could not release ACPI Global Lock,
AE_BAD_PARAMETER
ACPI-0340: *** Error: Could not release ACPI Global Lock,
AE_BAD_PARAMETER
[...]



On Sun, 22 Jun 2003, Kenneth D. Merry wrote:

 On Sat, Jun 21, 2003 at 00:13:10 +0200, Stijn Hoop wrote:
  On Fri, Jun 20, 2003 at 05:29:30PM -0400, Mike Sturdee wrote:
   Where can I find the latest, greatest patch that fixes this?
  
  Try this URL:
  
  http://sandcat.nl/~stijn/freebsd/dell.php
  
  and let me know if it works.
 
 It seems to work for me.  The ACPI warnings about zero length buffers go
 away at least.
 
 I've got a Dell Inspirion 8500, A03 BIOS.
 
 Ken
 -- 
 Kenneth Merry
 [EMAIL PROTECTED]
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-23 Thread Stijn Hoop
On Sun, Jun 22, 2003 at 09:35:32PM -0600, Kenneth D. Merry wrote:
 On Sat, Jun 21, 2003 at 00:13:10 +0200, Stijn Hoop wrote:
  On Fri, Jun 20, 2003 at 05:29:30PM -0400, Mike Sturdee wrote:
   Where can I find the latest, greatest patch that fixes this?
  
  Try this URL:
  
  http://sandcat.nl/~stijn/freebsd/dell.php
  
  and let me know if it works.
 
 It seems to work for me.  The ACPI warnings about zero length buffers go
 away at least.

Great. Do you also have working battery status now?

 I've got a Dell Inspirion 8500, A03 BIOS.

I've added this model to the confirmed working model list on the page.

I've also added the models from the rest of the reports. Thanks to all the
people who submitted their report!

Maybe it is time to think about an integrated kernel database of bad ACPI
hardware, so that people won't have to search on the mailing lists/web to
get their laptop to work?

--Stijn

-- 
Tact, n.:
The unsaid part of what you're thinking.


pgp0.pgp
Description: PGP signature


Re: acpi patch for dell laptop?

2003-06-23 Thread Shizuka Kudo

--- Julian Elischer [EMAIL PROTECTED] wrote:
 doesn't work for several models.. Including Inspiron 7500.
 WHo knows enough about this to be able to look at debug info
 I have?

John Baldwin has posted a patch which worked for me on my Thinkpad 600X with the same 
ACPI-0340
error.

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=214877+0+archive/2003/freebsd-current/20030615.freebsd-current

 
 My system gives lots of:
 acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
 ACPI-0432: *** Error: Handler for [EmbeddedControl] returned
 AE_ERROR
 ACPI-1287: *** Error: Method execution failed [\\_SB_.BAT1._STA]
 (Node 0xc167ed60), AE_ERROR
 ACPI-0340: *** Error: Could not release ACPI Global Lock,
 AE_BAD_PARAMETER
 ACPI-0340: *** Error: Could not release ACPI Global Lock,
 AE_BAD_PARAMETER
 ad0: 24207MB IBM-DARA-225000 [49184/16/63] at ata0-master UDMA33
 ACPI-0340: *** Error: Could not release ACPI Global Lock,
 AE_BAD_PARAMETER
 acd0: DVD-ROM TOSHIBA DVD-ROM SD-C2402 at ata1-master UDMA33
 Mounting root from ufs:/dev/ad0s4a
 ACPI-0340: *** Error: Could not release ACPI Global Lock,
 AE_BAD_PARAMETER
 ACPI-0340: *** Error: Could not release ACPI Global Lock,
 AE_BAD_PARAMETER
 ACPI-0340: *** Error: Could not release ACPI Global Lock,
 AE_BAD_PARAMETER
 ACPI-0340: *** Error: Could not release ACPI Global Lock,
 AE_BAD_PARAMETER
 [...]
 
 
 
 On Sun, 22 Jun 2003, Kenneth D. Merry wrote:
 
  On Sat, Jun 21, 2003 at 00:13:10 +0200, Stijn Hoop wrote:
   On Fri, Jun 20, 2003 at 05:29:30PM -0400, Mike Sturdee wrote:
Where can I find the latest, greatest patch that fixes this?
   
   Try this URL:
   
   http://sandcat.nl/~stijn/freebsd/dell.php
   
   and let me know if it works.
  
  It seems to work for me.  The ACPI warnings about zero length buffers go
  away at least.
  
  I've got a Dell Inspirion 8500, A03 BIOS.
  
  Ken
  -- 
  Kenneth Merry
  [EMAIL PROTECTED]
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-current
  To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to [EMAIL PROTECTED]


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-23 Thread Eirik Oeverby
Hi,

  doesn't work for several models.. Including Inspiron 7500.
  WHo knows enough about this to be able to look at debug info
  I have?
 
 John Baldwin has posted a patch which worked for me on my Thinkpad
 600X with the same ACPI-0340 error.

I tried this patch, and while it does get rid of that particular error
message, I have a feeling it's (ACPI/the patch/or something) causing my
system to overheat, making it power down after a while. Funny thing is
that this only seems to happen while I'm in a dockingstation (ThinkPad
T21 + Dock). And with ACPI disabled, the machine refuses totally to
boot, it hangs at 'Mounting root from ...'. If I undock the machine, I
can boot with and without ACPI, with the latter option being the only
usable (stable) mode. 

/Eirik

  
  My system gives lots of:
  acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently
  100.0%
  ACPI-0432: *** Error: Handler for [EmbeddedControl] returned
  AE_ERROR
  ACPI-1287: *** Error: Method execution failed [\\_SB_.BAT1._STA]
  (Node 0xc167ed60), AE_ERROR
  ACPI-0340: *** Error: Could not release ACPI Global Lock,
  AE_BAD_PARAMETER
  ACPI-0340: *** Error: Could not release ACPI Global Lock,
  AE_BAD_PARAMETER
  ad0: 24207MB IBM-DARA-225000 [49184/16/63] at ata0-master UDMA33
  ACPI-0340: *** Error: Could not release ACPI Global Lock,
  AE_BAD_PARAMETER
  acd0: DVD-ROM TOSHIBA DVD-ROM SD-C2402 at ata1-master UDMA33
  Mounting root from ufs:/dev/ad0s4a
  ACPI-0340: *** Error: Could not release ACPI Global Lock,
  AE_BAD_PARAMETER
  ACPI-0340: *** Error: Could not release ACPI Global Lock,
  AE_BAD_PARAMETER
  ACPI-0340: *** Error: Could not release ACPI Global Lock,
  AE_BAD_PARAMETER
  ACPI-0340: *** Error: Could not release ACPI Global Lock,
  AE_BAD_PARAMETER
  [...]
  
  
  
  On Sun, 22 Jun 2003, Kenneth D. Merry wrote:
  
   On Sat, Jun 21, 2003 at 00:13:10 +0200, Stijn Hoop wrote:
On Fri, Jun 20, 2003 at 05:29:30PM -0400, Mike Sturdee wrote:
 Where can I find the latest, greatest patch that fixes this?

Try this URL:

http://sandcat.nl/~stijn/freebsd/dell.php

and let me know if it works.
   
   It seems to work for me.  The ACPI warnings about zero length
   buffers go away at least.
   
   I've got a Dell Inspirion 8500, A03 BIOS.
   
   Ken
   -- 
   Kenneth Merry
   [EMAIL PROTECTED]
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-current
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
   
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-current
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 
 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 http://sbc.yahoo.com
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]




pgp0.pgp
Description: PGP signature


Re: acpi patch for dell laptop?

2003-06-23 Thread Jesse Guardiani
Eirik Oeverby wrote:

[...]


 And with ACPI disabled, the machine refuses totally to
 boot, it hangs at 'Mounting root from ...'. If I undock the machine, I
 can boot with and without ACPI, with the latter option being the only
 usable (stable) mode.

Just out of curiosity, have you tried setting

hw.pci.allow_unsupported_io_range=1

in your /boot/device.hints file? I've found that this option fixes many
unbootable laptops - especially thinkpads.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-23 Thread Eirik Oeverby
On Mon, 23 Jun 2003 10:53:32 -0400
Jesse Guardiani [EMAIL PROTECTED] wrote:

  And with ACPI disabled, the machine refuses totally to
  boot, it hangs at 'Mounting root from ...'. If I undock the machine,
  I can boot with and without ACPI, with the latter option being the
  only usable (stable) mode.
 
 Just out of curiosity, have you tried setting
 
 hw.pci.allow_unsupported_io_range=1
 
 in your /boot/device.hints file? I've found that this option fixes
 many unbootable laptops - especially thinkpads.

Hmm.. Yes, I think I have. Atleast it's in my device.hints file now -
however I don't know if I tried docking it and booting without ACPI
after I put that line in.. Perhaps I should try again, but my gut
feeling tells me it's not gonna make any difference. Atleast as long as
its undocked it had no effect on any of the other problems I'm
experiencing.

/Eirik


pgp0.pgp
Description: PGP signature


Re: acpi patch for dell laptop?

2003-06-23 Thread Kenneth D. Merry
On Mon, Jun 23, 2003 at 08:52:20 +0200, Stijn Hoop wrote:
 On Sun, Jun 22, 2003 at 09:35:32PM -0600, Kenneth D. Merry wrote:
  On Sat, Jun 21, 2003 at 00:13:10 +0200, Stijn Hoop wrote:
   On Fri, Jun 20, 2003 at 05:29:30PM -0400, Mike Sturdee wrote:
Where can I find the latest, greatest patch that fixes this?
   
   Try this URL:
   
   http://sandcat.nl/~stijn/freebsd/dell.php
   
   and let me know if it works.
  
  It seems to work for me.  The ACPI warnings about zero length buffers go
  away at least.
 
 Great. Do you also have working battery status now?

How do I figure that out?  Via the ACPI sysctls, or some other method?

When I unplug the power:

 - hw.acpi.battery.state goes from 0 - 1
 - hw.acpi.battery.time goes from 0 to 152
 - hw.acpi.battery.life starts to go down

Is there some tool that'll show battery info?

Also, what units are the temperature in?

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-23 Thread Stijn Hoop
On Mon, Jun 23, 2003 at 11:03:34AM -0600, Kenneth D. Merry wrote:
 On Mon, Jun 23, 2003 at 08:52:20 +0200, Stijn Hoop wrote:
  On Sun, Jun 22, 2003 at 09:35:32PM -0600, Kenneth D. Merry wrote:
   On Sat, Jun 21, 2003 at 00:13:10 +0200, Stijn Hoop wrote:
http://sandcat.nl/~stijn/freebsd/dell.php
   
   It seems to work for me.  The ACPI warnings about zero length buffers go
   away at least.
  
  Great. Do you also have working battery status now?
 
 How do I figure that out?  Via the ACPI sysctls, or some other method?

ACPI sysctls was the method that didn't work without the patch on my Inspiron.

 When I unplug the power:
 
  - hw.acpi.battery.state goes from 0 - 1
  - hw.acpi.battery.time goes from 0 to 152
  - hw.acpi.battery.life starts to go down

That looks like correct behaviour. The battery time can't be determined when
on AC power.

 Is there some tool that'll show battery info?

I don't know of one that uses the ACPI sysctls, maybe someone else?

 Also, what units are the temperature in?

1/10 Kelvin I've been led to believe.

HTH,

--Stijn

-- 
My server has more fans than Britney.
-- Steve Warwick, from a posting at [EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: acpi patch for dell laptop?

2003-06-23 Thread Sebastian Yepes [ESN]
I am modifying and improving a kernel module to work with the dell i8500 so 
you can have access to the battery, temp, fan info true the sysctl  ioctl.. 
it's now working in 2day i well send info about this. or look at my web page 
www.x123.info

sysctl hw.dell
hw.dell.fan_restricted: 0
hw.dell.handle_buttons: 0
hw.dell.repeat_delay: 250
hw.dell.repeat_rate: 10
hw.dell.service_tag: BFT8Q0J
hw.dell.power_status: 0
hw.dell.left_fan.status: low
hw.dell.left_fan.rpm: 102450
hw.dell.right_fan.status: low
hw.dell.right_fan.rpm: 141840
hw.dell.cpu_temp: 47


On Monday 23 June 2003 17:03, Kenneth D. Merry wrote:
 On Mon, Jun 23, 2003 at 08:52:20 +0200, Stijn Hoop wrote:
  On Sun, Jun 22, 2003 at 09:35:32PM -0600, Kenneth D. Merry wrote:
   On Sat, Jun 21, 2003 at 00:13:10 +0200, Stijn Hoop wrote:
On Fri, Jun 20, 2003 at 05:29:30PM -0400, Mike Sturdee wrote:
 Where can I find the latest, greatest patch that fixes this?
   
Try this URL:
   
http://sandcat.nl/~stijn/freebsd/dell.php
   
and let me know if it works.
  
   It seems to work for me.  The ACPI warnings about zero length buffers
   go away at least.
 
  Great. Do you also have working battery status now?

 How do I figure that out?  Via the ACPI sysctls, or some other method?

 When I unplug the power:

  - hw.acpi.battery.state goes from 0 - 1
  - hw.acpi.battery.time goes from 0 to 152
  - hw.acpi.battery.life starts to go down

 Is there some tool that'll show battery info?

 Also, what units are the temperature in?

 Ken

-- 


/*
FingerPrint:
 5BF1 58B1 DE75 CBE3 6044
 7098 1246 1EF6 9E78 041C

 @@@   @@ @@@ 
 @@!  @@@ !@@ @@!  @@@
 @[EMAIL PROTECTED]@!@   !@@!!  @!@  [EMAIL PROTECTED]
 !!:  !!! !:! !!:  !!!
 :: : ::  ::.: :  :: :  : 
 The Power To Kill LinuX
*/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-23 Thread Jesse Guardiani
Eirik Oeverby wrote:

 On Mon, 23 Jun 2003 10:53:32 -0400
 Jesse Guardiani [EMAIL PROTECTED] wrote:
 
  And with ACPI disabled, the machine refuses totally to
  boot, it hangs at 'Mounting root from ...'. If I undock the machine,
  I can boot with and without ACPI, with the latter option being the
  only usable (stable) mode.
 
 Just out of curiosity, have you tried setting
 
 hw.pci.allow_unsupported_io_range=1
 
 in your /boot/device.hints file? I've found that this option fixes
 many unbootable laptops - especially thinkpads.
 
 Hmm.. Yes, I think I have. Atleast it's in my device.hints file now -
 however I don't know if I tried docking it and booting without ACPI
 after I put that line in.. Perhaps I should try again, but my gut
 feeling tells me it's not gonna make any difference. Atleast as long as
 its undocked it had no effect on any of the other problems I'm
 experiencing.

Try again and let me know.


 
 /Eirik

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-23 Thread Vincent Poy
Speaking about ACPI, has anyone figured out how to close the lid
without suspending?  I remember before, when the lid was closed, it would
suspend even with sysctl set to not suspend and the screen stays on and
when you resume, you can type but the screen freezes and doesn't update.
This is on a Inspiron 8200.  I can't test the new patch for a few days as
my original HD running March 8, 2003 -CURRENT died on April 7, 2003 and it
seems the drive has problems reading/writing as it timeouts but I can get
/etc only so I'm going to rebuild the system.


Cheers,
Vince - [EMAIL PROTECTED] - Vice President    __ 
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[]
[EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-23 Thread Eirik Oeverby
Hi again,

No workie. No difference in behaviour whatsoever.
Sorry :(

/Eirik

On Mon, 23 Jun 2003 13:43:14 -0400
Jesse Guardiani [EMAIL PROTECTED] wrote:

 Eirik Oeverby wrote:
 
  On Mon, 23 Jun 2003 10:53:32 -0400
  Jesse Guardiani [EMAIL PROTECTED] wrote:
  
   And with ACPI disabled, the machine refuses totally to
   boot, it hangs at 'Mounting root from ...'. If I undock the
 machine,  I can boot with and without ACPI, with the latter option
 being the  only usable (stable) mode.
  
  Just out of curiosity, have you tried setting
  
  hw.pci.allow_unsupported_io_range=1
  
  in your /boot/device.hints file? I've found that this option fixes
  many unbootable laptops - especially thinkpads.
  
  Hmm.. Yes, I think I have. Atleast it's in my device.hints file now
  - however I don't know if I tried docking it and booting without
  ACPI after I put that line in.. Perhaps I should try again, but my
  gut feeling tells me it's not gonna make any difference. Atleast as
  long as its undocked it had no effect on any of the other problems
  I'm experiencing.
 
 Try again and let me know.
 
 
  
  /Eirik
 
 -- 
 Jesse Guardiani, Systems Administrator
 WingNET Internet Services,
 P.O. Box 2605 // Cleveland, TN 37320-2605
 423-559-LINK (v)  423-559-5145 (f)
 http://www.wingnet.net
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]




pgp0.pgp
Description: PGP signature


Re: acpi patch for dell laptop?

2003-06-23 Thread Eirik Oeverby
Crap.
I just saw that I had no quotes around the '1'. Will it still get that
setting, or do I have to change it and try again?
(My line says 
hw.pci.allow_unsupported_io_range=1
while I believe (according to the other examples in the file) it should
say
hw.pci.allow_unsupported_io_range=1
. Does this make a difference?)

/Eirik

On Mon, 23 Jun 2003 22:40:40 +0200
Eirik Oeverby [EMAIL PROTECTED] wrote:

 Hi again,
 
 No workie. No difference in behaviour whatsoever.
 Sorry :(
 
 /Eirik
 
 On Mon, 23 Jun 2003 13:43:14 -0400
 Jesse Guardiani [EMAIL PROTECTED] wrote:
 
  Eirik Oeverby wrote:
  
   On Mon, 23 Jun 2003 10:53:32 -0400
   Jesse Guardiani [EMAIL PROTECTED] wrote:
   
And with ACPI disabled, the machine refuses totally to
boot, it hangs at 'Mounting root from ...'. If I undock the
  machine,  I can boot with and without ACPI, with the latter
  option being the  only usable (stable) mode.
   
   Just out of curiosity, have you tried setting
   
   hw.pci.allow_unsupported_io_range=1
   
   in your /boot/device.hints file? I've found that this option
  fixes many unbootable laptops - especially thinkpads.
   
   Hmm.. Yes, I think I have. Atleast it's in my device.hints file
   now- however I don't know if I tried docking it and booting
   without ACPI after I put that line in.. Perhaps I should try
   again, but my gut feeling tells me it's not gonna make any
   difference. Atleast as long as its undocked it had no effect on
   any of the other problems I'm experiencing.
  
  Try again and let me know.
  
  
   
   /Eirik
  
  -- 
  Jesse Guardiani, Systems Administrator
  WingNET Internet Services,
  P.O. Box 2605 // Cleveland, TN 37320-2605
  423-559-LINK (v)  423-559-5145 (f)
  http://www.wingnet.net
  
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-current
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 
 




pgp0.pgp
Description: PGP signature


Re: acpi patch for dell laptop?

2003-06-23 Thread Scott Lambert
On Mon, Jun 23, 2003 at 10:38:26AM -1000, Vincent Poy wrote:
   Speaking about ACPI, has anyone figured out how to close the lid
 without suspending?  I remember before, when the lid was closed, it would
 suspend even with sysctl set to not suspend and the screen stays on and
 when you resume, you can type but the screen freezes and doesn't update.

Setting hw.acpi.lid_switch_state=NONE in /etc/sysctl.conf keeps my
Toshiba from suspending on lid close.  Is that the sysctl you are 
referring to as not working?

-- 
Scott LambertKC5MLE   Unix SysAdmin
[EMAIL PROTECTED]  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-23 Thread Michael W. Oliver
+--- On Monday, June 23, 2003 09:42,
| Shizuka Kudo proclaimed:
|
| --- Julian Elischer [EMAIL PROTECTED] wrote:
|  doesn't work for several models.. Including Inspiron 7500.
|  WHo knows enough about this to be able to look at debug info
|  I have?
|
| John Baldwin has posted a patch which worked for me on my Thinkpad 600X
| with the same ACPI-0340 error.
|
| http://docs.freebsd.org/cgi/getmsg.cgi?fetch=214877+0+archive/2003/freebs
|d-current/20030615.freebsd-current
|

ACPI-0340: *** Error: Could not release ACPI Global Lock, AE_BAD_PARAMETER

After patching my DSDT table, I was receiving a flood of these messages as 
well on my Gateway SOLO-9300, but the above patch also worked for me, and 
now I see zero messages from ACPI.  Whoo-hoo!

Is there a central location where we can post DSDT patches, as well as 
quirks like this, for various laptop models?  I would like to share mine 
(although I think I am the only person who has mentioned a Gateway laptop 
here).

In case there isn't, here is some info about my machine:
(if any of this looks strange, please let me know)

$ sysctl hw.acpi
hw.acpi.supported_sleep_state: S1 S2 S3 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S1
hw.acpi.sleep_delay: 0
hw.acpi.s4bios: 1
hw.acpi.verbose: 0
hw.acpi.disable_on_poweroff: 1
hw.acpi.cpu.max_speed: 8
hw.acpi.cpu.current_speed: 8
hw.acpi.cpu.performance_speed: 8
hw.acpi.cpu.economy_speed: 4
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 5
hw.acpi.thermal.tz0.temperature: 3291
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 3681
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3701
hw.acpi.thermal.tz0._ACx: 3321 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.acline: 1
hw.acpi.battery.life: 100
hw.acpi.battery.time: -1
hw.acpi.battery.state: 2
hw.acpi.battery.units: 2
hw.acpi.battery.info_expire: 5

$ cat /etc/sysctl.conf
#
# the NONE setting lets the intended BIOS setting of 'lcd off' work
hw.acpi.lid_switch_state=NONE
# update the temperatures more often
hw.acpi.thermal.polling_rate=5
# the S3 setting was causing all sorts of havoc, locking the machine up
# so tight that the AC and batteries had to be removed to make it
# function again
hw.acpi.suspend_state=S1

-- 
+-+--+
|   Michael W. Oliver, CCNP   | The tree of liberty must be |
| IPv6  FreeBSD mark | refreshed from time to time  |
|   [EMAIL PROTECTED]| with the blood of patriots   |
|   http://michael.gargantuan.com/| and tyrants.|
|  ASpath-tree, Looking Glass, etc.   | - President Thomas Jefferson |
| +--+
|  gpg key - http://michael.gargantuan.com/gnupg/pubkey.asc  |
++



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-22 Thread Kenneth D. Merry
On Sat, Jun 21, 2003 at 00:13:10 +0200, Stijn Hoop wrote:
 On Fri, Jun 20, 2003 at 05:29:30PM -0400, Mike Sturdee wrote:
  Where can I find the latest, greatest patch that fixes this?
 
 Try this URL:
 
 http://sandcat.nl/~stijn/freebsd/dell.php
 
 and let me know if it works.

It seems to work for me.  The ACPI warnings about zero length buffers go
away at least.

I've got a Dell Inspirion 8500, A03 BIOS.

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-21 Thread Danny Braniss

 On Fri, Jun 20, 2003 at 05:29:30PM -0400, Mike Sturdee wrote:
  Where can I find the latest, greatest patch that fixes this?
 
 Try this URL:
 
 http://sandcat.nl/~stijn/freebsd/dell.php
 
 and let me know if it works.
 
 --Stijn

just to confirm that it works on a Dell Latitude C800

danny


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-20 Thread Stijn Hoop
On Fri, Jun 20, 2003 at 05:29:30PM -0400, Mike Sturdee wrote:
 Where can I find the latest, greatest patch that fixes this?

Try this URL:

http://sandcat.nl/~stijn/freebsd/dell.php

and let me know if it works.

--Stijn

-- 
Man had always assumed that he was more intelligent than dolphins because
he had achieved so much... the wheel, New York, wars, and so on, whilst
all the dolphins had ever done was muck about in the water having a good
time. But conversely the dolphins believed themselves to be more intelligent
than man for precisely the same reasons.
-- Douglas Adams, The Hitchhikers Guide To The Galaxy


pgp0.pgp
Description: PGP signature


Re: acpi patch for dell laptop?

2003-06-20 Thread Mike Sturdee
I just found that one and was trying it as this mail came in.. It looks to
work w/o any side-effects

Thanks!

-Mike


On Sat, 21 Jun 2003, Stijn Hoop wrote:

 On Fri, Jun 20, 2003 at 05:29:30PM -0400, Mike Sturdee wrote:
  Where can I find the latest, greatest patch that fixes this?

 Try this URL:

 http://sandcat.nl/~stijn/freebsd/dell.php

 and let me know if it works.

 --Stijn

 --
 Man had always assumed that he was more intelligent than dolphins because
 he had achieved so much... the wheel, New York, wars, and so on, whilst
 all the dolphins had ever done was muck about in the water having a good
 time. But conversely the dolphins believed themselves to be more intelligent
 than man for precisely the same reasons.
   -- Douglas Adams, The Hitchhikers Guide To The Galaxy




--
Hard Work Often Pays Off After Time,
 but Laziness Always Pays Off Now.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-20 Thread Morten Rodal
On Sat, Jun 21, 2003 at 12:13:10AM +0200, Stijn Hoop wrote:
 On Fri, Jun 20, 2003 at 05:29:30PM -0400, Mike Sturdee wrote:
  Where can I find the latest, greatest patch that fixes this?
 
 Try this URL:
 
 http://sandcat.nl/~stijn/freebsd/dell.php
 
 and let me know if it works.
 

I was also seeing this errors on a Dell Inspiron 8200, until I
followed your instructions.  Thank you for making apci (and more
importantly the battery level) work again!

-- 
Morten Rodal



pgp0.pgp
Description: PGP signature


Re: acpi patch for dell laptop?

2003-06-20 Thread Julian Elischer


On Fri, 20 Jun 2003, Mike Sturdee wrote:

 I just found that one and was trying it as this mail came in.. It looks to
 work w/o any side-effects



Unfortunatly it doesn't work for Inspiron 7500 and 5000 models..

 
 Thanks!
 
 -Mike
  Try this URL:
 
  http://sandcat.nl/~stijn/freebsd/dell.php
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]