From owner-freebsd-mobile@FreeBSD.ORG Fri May 13 21:34:15 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCB83106564A for ; Fri, 13 May 2011 21:34:15 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5E75A8FC1B for ; Fri, 13 May 2011 21:34:15 +0000 (UTC) Received: by wyf23 with SMTP id 23so2992251wyf.13 for ; Fri, 13 May 2011 14:34:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=jpMy+uXqC79bSUu99w976E7tamx3MgqleMUrE4B/aFE=; b=PNFhSr2d3xRz7xYqPT9T5j4JTlqp8S6JYF79s4tJkNj4cdAvZgJz9ZN9JGBGDWJKlA RxuuHN/1idSl8Lm/HIuyawNSVCls/aKhKmaxt+NUX5hrLjmtTBGgQ5IuvcDldqXB3+np f7UjVOKSj/itWs8GcHgUUK5aR61t+0g1GRXDo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=NT+Rd1TDLBFgsZheIxVdNazjH8HO0Lmip/XWP+iTZFWd0/sG7dKHRASOacPhGM5DWT chy7LvUR2kiTtFNCz8Ax6KRjRM5Yb7fPfrshhiXlSF/7utLfqgfZNsWKpd7kYUcResuX RZYkGcnnrlWfIUDhv2wUxVuvKAdBKN9SQHKOI= Received: by 10.216.245.6 with SMTP id n6mr442212wer.40.1305297988268; Fri, 13 May 2011 07:46:28 -0700 (PDT) Received: from Groseille.malikania.fr (65.21.102.84.rev.sfr.net [84.102.21.65]) by mx.google.com with ESMTPS id h11sm1436831wbc.9.2011.05.13.07.46.26 (version=SSLv3 cipher=OTHER); Fri, 13 May 2011 07:46:27 -0700 (PDT) Message-ID: <4DCD446E.7000000@gmail.com> Date: Fri, 13 May 2011 16:47:10 +0200 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <20110427221701.GA63285@mech-cluster241.men.bris.ac.uk> <16430353-817B-49D8-8712-71CCB5E1C9D9@gmail.com> <20110430215531.GA31905@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20110430215531.GA31905@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: acpiconf shows 100%, but laptop switches off 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: Fri, 13 May 2011 21:34:15 -0000 On 30/04/2011 23:55, Anton Shterenlikht wrote: > On Wed, Apr 27, 2011 at 06:39:27PM -0400, you@subluminal.net wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hey, I can help with this! >> >> laptop batteries die REALLY quickly if you overcharge them for a long time, so, that probably explains why the battery dies after 20 minutes, no idea why acpi isn't being updated with the battery status, however. >> what chipset does your sound/wireless use? Not the connection, we know it's pcmcia, but what chipset? If you don't know, then just list the brand names. > > Below's "pciconf -lv". Could it be here? > Many thanks for your help. > Anton > > hostb0@pci0:0:0:0: class=0x060000 card=0x30c2103c chip=0x79101002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'RS690 Host Bridge' > class = bridge > subclass = HOST-PCI > pcib1@pci0:0:1:0: class=0x060400 card=0x30c2103c chip=0x79121002 rev=0x00 hdr=0x01 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'RS690 PCI to PCI Bridge (Internal gfx)' > class = bridge > subclass = PCI-PCI > pcib2@pci0:0:4:0: class=0x060400 card=0x30c2103c chip=0x79141002 rev=0x00 hdr=0x01 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > class = bridge > subclass = PCI-PCI > pcib3@pci0:0:5:0: class=0x060400 card=0x30c2103c chip=0x79151002 rev=0x00 hdr=0x01 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > class = bridge > subclass = PCI-PCI > atapci0@pci0:0:18:0: class=0x01018f card=0x43801002 chip=0x43801002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'IXP SB600 Serial ATA Controller' > class = mass storage > subclass = ATA > ohci0@pci0:0:19:0: class=0x0c0310 card=0x30c2103c chip=0x43871002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'IXP SB600 USB Controller (OHCI0)' > class = serial bus > subclass = USB > ohci1@pci0:0:19:1: class=0x0c0310 card=0x30c2103c chip=0x43881002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'IXP SB600 USB Controller (OHCI1)' > class = serial bus > subclass = USB > ohci2@pci0:0:19:2: class=0x0c0310 card=0x30c2103c chip=0x43891002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'IXP SB600 USB Controller (OHCI2)' > class = serial bus > subclass = USB > ohci3@pci0:0:19:3: class=0x0c0310 card=0x30c2103c chip=0x438a1002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'IXP SB600 USB Controller (OHCI3)' > class = serial bus > subclass = USB > ohci4@pci0:0:19:4: class=0x0c0310 card=0x30c2103c chip=0x438b1002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'IXP SB600 USB Controller (OHCI4)' > class = serial bus > subclass = USB > ehci0@pci0:0:19:5: class=0x0c0320 card=0x30c2103c chip=0x43861002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'IXP SB600 USB Controller (EHCI)' > class = serial bus > subclass = USB > none0@pci0:0:20:0: class=0x0c0500 card=0x30c2103c chip=0x43851002 rev=0x14 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'ATI SMBus (ATI RD600/RS600)' > class = serial bus > subclass = SMBus > atapci1@pci0:0:20:1: class=0x010182 card=0x30c2103c chip=0x438c1002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'ATI RD600/RS600 IDE Controller (RD600/RS600)' > class = mass storage > subclass = ATA > hdac0@pci0:0:20:2: class=0x040300 card=0x30c2103c chip=0x43831002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'IXP SB600 High Definition Audio Controller' > class = multimedia > subclass = HDA > isab0@pci0:0:20:3: class=0x060100 card=0x30c2103c chip=0x438d1002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'IXP SB600 PCI to LPC Bridge' > class = bridge > subclass = PCI-ISA > pcib4@pci0:0:20:4: class=0x060401 card=0x00000000 chip=0x43841002 rev=0x00 hdr=0x01 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'IXP SB600 PCI to PCI Bridge' > class = bridge > subclass = PCI-PCI > hostb1@pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00 > vendor = 'Advanced Micro Devices (AMD)' > device = 'Athlon64/Opteron/Sempron (K8 Family) HyperTransport Technology Configuration' > class = bridge > subclass = HOST-PCI > hostb2@pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00 > vendor = 'Advanced Micro Devices (AMD)' > device = 'Athlon64/Opteron/Sempron (K8 Family) Address Map' > class = bridge > subclass = HOST-PCI > hostb3@pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00 > vendor = 'Advanced Micro Devices (AMD)' > device = 'Athlon64/Opteron/Sempron (K8 Family) DRAM Controller' > class = bridge > subclass = HOST-PCI > hostb4@pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00 > vendor = 'Advanced Micro Devices (AMD)' > device = 'Athlon64/Opteron/Sempron (K8 Family) Miscellaneous Control' > class = bridge > subclass = HOST-PCI > vgapci0@pci0:1:5:0: class=0x030000 card=0x30c2103c chip=0x791f1002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'ATI Mobility Radeon x1100 (RS690M)' > class = display > subclass = VGA > bge0@pci0:16:0:0: class=0x020000 card=0x30c2103c chip=0x171314e4 rev=0x02 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'Broadcom NetLink (TM) Fast Ethernet (BCM5906m)' > class = network > subclass = ethernet > cbb0@pci0:2:4:0: class=0x060700 card=0x30c2103c chip=0x04761180 rev=0xb6 hdr=0x02 > vendor = 'Ricoh Co Ltd' > device = 'Ricoh R/RL/5C476(II) (unknown)' > class = bridge > subclass = PCI-CardBus > > You have a Intel HDA sound (as 99% of computers now) can you boot with verbose logging and post your dmesg somewhere ? it seems bge(4) is detected for your broadcom chipset. Did you read the handbook to make a wlan(4) device and use it because you can't use directly bge(4) to associate your laptop to access points I ask this because you said (wireless doesn't work so i'm just guessing of course) Cheers, -- David Demelier