Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2000 00:33:04 +0100
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        freebsd-mobile@FreeBSD.org
Subject:   suspend problems with Dell Inspiron 3700
Message-ID:  <388A3E30.5E17C0A6@we.lc.ehu.es>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------1861ECDCEEA0BC64FCAD37AF
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hello,

I recently purchased a Dell Inspiron 3700 C433GT (Celeron 433MHz), and I am
having problems with APM suspend which are not easily reproducible. I am
running FreeBSD 3.4-RELEASE (no PAO) on this laptop.

Most of the time, APM suspend simply does not work. I compiled a kernel with
APM_DEBUG, and I cannot see nothing wrong. Simply, the machine does not go
into suspend state. I tried both "zzz" and the suspend hot key with identical
results. Surprisingly, the first two or three days after I received the laptop
and installed FreeBSD on it, APM suspend worked fine (even S2D), but it went
worse in the following days (I got the laptop two weeks ago). I left a small
Windows partition, and APM suspend/resume always works under Windows98.

The kernel is compiled with VM86 and the apm driver with no flags (attached to
this message is the dmesg output). I have tried to suspend just after reboot,
from X11, and after exiting X11. Sometimes (few), and randomly, suspend works,
but I cannot find a pattern. Once the machine is in the suspend state, it can
resume activity without any problems.

These are the messages (APM_DEBUG #defined) I get when I try to suspend using
"zzz":

APM ioctl: cmd = 0x20005001
Execute APM hook "VLSI 82C146."
Execute APM hook "VLSI 82C146."
Execute APM hook "default suspend."
  ... after some seconds ...
Received APM Event: PMEV_NORMRESUME
Execute APM hook "default resume."
resumed from suspended mode (slept 00:00:51)
Execute APM hook "system keyboard."
Execute APM hook "VLSI 82C146."
Execute APM hook "VLSI 82C146."

While "suspended", the system is apparently running OK; the only fault I found
is that the system beeps do not sound anymore (even after the "resume"). And,
sometimes (not always), if I type "shutdown -r now" while "suspended", the
laptop go into the true suspended state just before the reboot; when it
resumes, then immediately reboots.

I would love to hear any ideas about this strange behavior, and I would like
to know whether other Inspiron owners are suffering this type of problems.

My apologies for this looong message.

Cheers,
-- JMA
-----------------------------------------------------------------------
José Mª Alcaide                         | mailto:jose@we.lc.ehu.es
Universidad del País Vasco              | mailto:jmas@FreeBSD.org
Dpto. de Electricidad y Electrónica     | http://www.we.lc.ehu.es/~jose
Facultad de Ciencias - Campus de Lejona | Tel.:  +34-946012479
48940 Lejona (Vizcaya) - SPAIN          | Fax:   +34-946013071
-----------------------------------------------------------------------
 "Beware of Programmers who carry screwdrivers"  --  Leonard Brandwein
--------------1861ECDCEEA0BC64FCAD37AF
Content-Type: text/plain; charset=us-ascii;
 name="dmesg.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dmesg.out"

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.4-RELEASE #0: Sat Jan 22 20:57:26 CET 2000
    toor@v-ger.we.lc.ehu.es:/usr/src/sys/compile/V-GER
Timecounter "i8254"  frequency 1193182 Hz
CPU: Celeron (431.38-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134217728 (131072K bytes)
avail memory = 127807488 (124812K bytes)
Preloaded elf kernel "kernel" at 0xc029e000.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <PCI to CardBus bridge (vendor=104c device=ac1c)> rev 0x01 int a irq 11 on pci0.3.0
chip3: <PCI to CardBus bridge (vendor=104c device=ac1c)> rev 0x01 int a irq 11 on pci0.3.1
chip4: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.7.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
chip5: <Intel 82371AB Power management controller> rev 0x02 on pci0.7.3
Probing for devices on PCI bus 1:
vga0: <ATI model 4c4d graphics accelerator> rev 0x64 int a irq 11 on pci1.0.0
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
Add hook "system keyboard"
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model GlidePoint, device ID 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): <IBM-DBCA-204860>, DMA, 32-bit, multi-block-16
wd0: 4645MB (9514260 sectors), 10068 cyls, 15 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
apm: BIOS probe/32-bit connect successful
apm0 on isa
apm: APM BIOS version 0102
apm: Code32 0xc00f0000, Code16 0xc00f0000, Data 0xc00f0000
apm: Code entry 0x0000f0fc, Idling CPU disabled, Management enabled
apm: CS32_limit=0xffff, CS16_limit=0xffff, DS_limit=0xffff
apm: Engaged control enabled
apm: found APM BIOS version 1.2
apm: Slow Idling CPU disabled
Add hook "default suspend"
Add hook "default resume"
PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
Add hook "VLSI 82C146"
Add hook "VLSI 82C146"
pcic: controller irq 7
Add hook "VLSI 82C146"
Add hook "VLSI 82C146"
Initializing PC-card drivers: xe sio
APM ioctl: cmd = 0x20005005
called apm_event_enable()

--------------1861ECDCEEA0BC64FCAD37AF--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?388A3E30.5E17C0A6>