From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 22 19:41:39 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C13416A403 for ; Sun, 22 Oct 2006 19:41:39 +0000 (UTC) (envelope-from redchrom@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25D1243D5C for ; Sun, 22 Oct 2006 19:41:37 +0000 (GMT) (envelope-from redchrom@gmail.com) Received: by nf-out-0910.google.com with SMTP id p77so2192795nfc for ; Sun, 22 Oct 2006 12:41:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:x-useless-header; b=sMvVuwsfsd1XZz+mXoaC+GNT3EuMMwtNrRKMlf4dYiF6Le5xHs6HiQhBEjiZ7Q5ddvCl6ZACffAJr4wMV04PCFE1UO3C9DgTx87ujTGrkh/CxNtmP4F1Fnk3rrPrWfAhAnEoywokwby8PIOY7DhG3+IASuSgbtR9HcpV2QfjGBg= Received: by 10.49.20.5 with SMTP id x5mr12983204nfi; Sun, 22 Oct 2006 12:41:36 -0700 (PDT) Received: from localhost ( [82.146.37.133]) by mx.google.com with ESMTP id b1sm2095689nfe.2006.10.22.12.41.34; Sun, 22 Oct 2006 12:41:36 -0700 (PDT) Date: Mon, 23 Oct 2006 04:41:40 +0900 From: Stepan Zastupov To: Christopher Sean Hilton Message-ID: <20061022194140.GA11114@stepan.ispsystem.net> References: <1161347795.671.14.camel@localhost> <20061021055941.GA1582@stepan.ispsystem.net> <1161539347.1364.3.camel@dagobah.vindaloo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <1161539347.1364.3.camel@dagobah.vindaloo.com> User-Agent: Mutt/1.4.2.2i X-Useless-Header: They killed Kenny! THOSE BASTARDS! Cc: freebsd-mobile@freebsd.org Subject: Re: HP NX7400 - ACPI problems X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stepan Zastupov List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Oct 2006 19:41:39 -0000 On Sun, Oct 22, 2006 at 01:49:07PM -0400, Christopher Sean Hilton wrote: > I have a couple of questions. I have an hp nc6230. Are you able to get > your laptop to suspend/resume? And if possible could you post a kernel > config? Yes I've forced my laptop to suspend. Firstly I have to remove the bfe driver and load vesa module for console. So without bfe suspend shold work. Also loaded bfe cause an apic storm when starting X with playing music. I've tried to implement suspend/resume device methods for this driver and did it like in Linux - driver detachs on suspend and retachs on resume but system still don't wanna wake up with it. Here is my kernel config: cpu I686_CPU ident LILITH # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI # Debugging for use in -current options KDB # Enable kernel debugger support. options DDB # Support DDB. # To make an SMP kernel, the next two lines are needed options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC # Bus support. device eisa device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Serial (COM) ports #device sio # 8250, 16[45]50 based serial ports #device uart # Generic UART driver # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! #device miibus # MII bus support #device bfe # Broadcom BCM440x 10/100 Ethernet # Wireless NIC cards device wlan # 802.11 support device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device ath # Atheros pci/cardbus NIC's device ath_hal # Atheros HAL (Hardware Access Layer) device ath_rate_sample # SampleRate tx rate control for ath # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device ural # Ralink Technology RT2500USB wireless NICs device urio # Diamond Rio 500 MP3 player device uscanner # Scanners # FireWire support #device firewire # FireWire bus code #device sbp # SCSI over FireWire (Requires scbus and da) #device fwe # Ethernet over FireWire (non-standard!) options SC_PIXEL_MODE -- Best regards, Stepan Zastupov aka RedChrom ISPSystem