From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 7 14:03:23 2007 Return-Path: X-Original-To: freebsd-mobile@FreeBSD.org Delivered-To: freebsd-mobile@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5DEE16A407; Sun, 7 Jan 2007 14:03:23 +0000 (UTC) (envelope-from stefan@fafoe.narf.at) Received: from viefep14-int.chello.at (viefep13-int.chello.at [213.46.255.15]) by mx1.freebsd.org (Postfix) with ESMTP id 054B713C455; Sun, 7 Jan 2007 14:03:22 +0000 (UTC) (envelope-from stefan@fafoe.narf.at) Received: from lizard.fafoe.narf.at ([213.47.85.26]) by viefep11-int.chello.at (InterMail vM.6.01.05.04 201-2131-123-105-20051025) with ESMTP id <20070107134813.ZBNE4990.viefep11-int.chello.at@lizard.fafoe.narf.at>; Sun, 7 Jan 2007 14:48:13 +0100 Received: by lizard.fafoe.narf.at (Postfix, from userid 1001) id C65A2BB3D; Sun, 7 Jan 2007 14:48:12 +0100 (CET) Date: Sun, 7 Jan 2007 14:48:12 +0100 From: Stefan Farfeleder To: freebsd-mobile@FreeBSD.org, freebsd-acpi@FreeBSD.org Message-ID: <20070107134812.GA881@lizard.fafoe.narf.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Dell Precision M70 and S3 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2007 14:03:23 -0000 Hi, I'm trying to get S3 working on an Dell Precision M70, for the moment without X. I have two problems: 1) This notebook has a serial port which I'd like to use for debugging my second problem. However, after resuming it seems to be dead. If I restart getty on /dev/ttyd0 I get this error: open /dev/ttyd0: Input/output error Is the combination sio and ACPI suspend/resume generally suppposed to work? 2) Resuming basically works but the display stays black. If I write to hw.acpi.video.*.active or press the CRT/LCD Fn-key the notebook completely freezes. If I load acpi_video, I get this: --- acpi_video0: on vgapci0 found TV/HDTV or Analog-Video Monitor(200), idx#0, port#0, detectable by BIOS, head #0 found VGA CRT or VESA Compatible Analog Monitor(100), idx#0, port#0, detectable by BIOS, head #0 found Internal/Integrated Digital Flat Panel(110), idx#0, port#1, detectable by BIOS, head #0 found VGA CRT or VESA Compatible Analog Monitor(120), idx#0, port#2, detectable by BIOS, head #0 -- And this is the -v kernel output from suspending and resuming in case that's any help: --- acpi_button1: sleep button pressed acpi_lid0: wake_prep enabled for \\_SB_.LID_ (S3) acpi_button0: wake_prep enabled for \\_SB_.PBTN (S3) unknown: wake_prep disabled wake for \\_SB_.PCI0.USB0 (S3) unknown: wake_prep disabled wake for \\_SB_.PCI0.USB1 (S3) unknown: wake_prep disabled wake for \\_SB_.PCI0.USB2 (S3) unknown: wake_prep disabled wake for \\_SB_.PCI0.USB4 (S3) unknown: wake_prep disabled wake for \\_SB_.PCI0.USB3 (S3) pci1:0:0: Transition from D0 to D3 pci3:3:0: Transition from D0 to D3 vga0: saving 68 bytes of video state pci0:31:2: Transition from D0 to D3 ======== acpi_printcpu() debug dump ======== gdt[0097:c0655680] idt[07ff:c0655b40] ldt[0050] tr[0048] efl[00080086] eax[c48b4101] ebx[c48fde80] ecx[00000004] edx[c48b41b0] esi[00000003] edi[00000000] ebp[e350dc5c] esp[e350dc40] cr0[8005003b] cr2[bfbfdf1c] cr3[0081e000] cr4[00000691] cs[0020] ds[0028] es[0028] fs[0008] gs[003b] ss[0028] ======== acpi_printcpu() debug dump ======== gdt[0097:c0655680] idt[07ff:c0655b40] ldt[0050] tr[0048] efl[00000002] eax[00000046] ebx[c48fde80] ecx[e30cf000] edx[00000001] esi[00000003] edi[00000000] ebp[e350dc5c] esp[e350dc40] cr0[8005003b] cr2[bfbfdf1c] cr3[0081e000] cr4[00000691] cs[0020] ds[0028] es[0028] fs[0008] gs[003b] ss[0028] acpi_lid0: run_prep cleaned up for \\_SB_.LID_ acpi_button0: run_prep cleaned up for \\_SB_.PBTN pci2:0:0: Transition from D3 to D0 battery0: battery initialization start battery1: battery initialization start battery0: battery initialization done, tried 1 times wakeup from sleeping state (slept 00:00:20) ata0: reiniting channel .. ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ata0: reinit done .. ata1: reiniting channel .. ata1: reset tp1 mask=03 ostat0=50 ostat1=00 ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: stat1=0x00 err=0x00 lsb=0x00 msb=0x00 ata1: reset tp2 stat0=00 stat1=00 devices=0x4 ata1: reinit done .. atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa battery1: battery initialization failed, giving up --- You can find the ASL and the boot -v output at http://people.freebsd.org/~stefanf/dell-m70/ . I patched the _WAK method as advised on http://forums.gentoo.org/viewtopic.php?t=122145 , but it makes no difference over the original DSDT. Regards, Stefan