From owner-freebsd-mobile@FreeBSD.ORG Mon May 9 12:57:33 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 D7F6B1065670; Mon, 9 May 2011 12:57:33 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 5E8508FC1B; Mon, 9 May 2011 12:57:32 +0000 (UTC) Received: from park.js.berklix.net (pD9FBE081.dip.t-dialin.net [217.251.224.129]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id p49CYqrD005818; Mon, 9 May 2011 12:34:53 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id p49CZOE9017591; Mon, 9 May 2011 14:35:24 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id p49CZJTC076217; Mon, 9 May 2011 14:35:24 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201105091235.p49CZJTC076217@fire.js.berklix.net> To: Adrian Chadd From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Sat, 07 May 2011 18:52:09 +0800." Date: Mon, 09 May 2011 14:35:19 +0200 Sender: jhs@berklix.com Cc: freebsd-wireless@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Does anyone have a laptop with an AR9280/AR9285 and Bluetooth in it? 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: Mon, 09 May 2011 12:57:33 -0000 Hi, Reference: > From: Adrian Chadd > Date: Sat, 7 May 2011 18:52:09 +0800 > Message-id: Adrian Chadd wrote: > Hi all, > > Does anyone have a laptop with an AR9280/AR9285 in it, along with Bluetooth? > > I'm looking for someone who's interested in getting bluetooth > coexistence support working in the atheros driver and has the > hardware. I'd like to stay focused on 11n and general radio/chipset > support. > > Please let me know if you've got something with this and know a little > bit about C. It's likely a good project to get down and dirty with the > atheros wireless codebase. > > Thanks! I have no idea whats in - my 2 cardbus wireless cards on my 8.2-Rel, - or direct in my new laptop ive acquired (with MS-Win only so far, not shrunk to install FreeBSD just yet) However if you had a code snippet you could publish to list, we could compile that to sniff what hardware, then I guess some with detected hardware would want to report back :-) Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail plain text; Not quoted-printable, Not HTML, Not base 64. Reply below text sections not at top, to avoid breaking cumulative context. From owner-freebsd-mobile@FreeBSD.ORG Tue May 10 14:33:47 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 8E6CE106566C; Tue, 10 May 2011 14:33:47 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 398DD8FC14; Tue, 10 May 2011 14:33:47 +0000 (UTC) Received: by yie12 with SMTP id 12so2697628yie.13 for ; Tue, 10 May 2011 07:33:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:cc:content-type; bh=frEAyeKIX2oq0A7J8wo169Z+5l+PAos3TtaqbX+597U=; b=QrA/f02cQbHYwDRpH4itHhi7N3GykPplYEeiyMPs9HCSMtoc/daFT2i/QqabI9APAb FFl37DJv+GAIXDa1rYgdlZMPS03h3GjznBt5+EeEuXQqJLIhdzo1q9iGAsNj2QgbNCJy HehrwTcOXvci+4NwxeSZMI0Z1ZO0HSh9n9ezM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; b=rZb86qS/nzMWBxKtRo22Pm8fgbO6+yey+dH4fY6iyv6CwD6GfC7g/vICtDJKX2V8D+ idy+zeg/B5+QuWC35T/KVINlyr0oj7am7YOnKFwIbobOP2o5Af9HtPyNKvDGJ+H8vt99 4ekg61cKsWsgwQ3brs/6xGdsyneID2T9lnu4Q= MIME-Version: 1.0 Received: by 10.150.150.28 with SMTP id x28mr6655405ybd.239.1305038026521; Tue, 10 May 2011 07:33:46 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.136.8 with HTTP; Tue, 10 May 2011 07:33:46 -0700 (PDT) Date: Tue, 10 May 2011 22:33:46 +0800 X-Google-Sender-Auth: 7dnUA_6mXyCRQ5C2fFZXAt-YIYA Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mobile@freebsd.org Subject: AR9285/AR2427 users - please test -HEAD 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: Tue, 10 May 2011 14:33:47 -0000 Hi all, If you're an AR9285 or AR2427 user, please try the very latest -HEAD ath driver. I've added controllable software RX diversity (which seems to be the last bit of the "weird throughput" problems) - you can select it by the very badly named txantenna sysctl. Sysctl dev.ath.0.txantenna = 0 means "enable both and do fast diversity on RX", = 1 means "favour antenna A", = 2 means "favour antenna 2." I'll figure out a better way of controlling this (likely by just overriding the RX antenna control method) in the future. This seems to have resolved all the issues I've had with the AR9285 and AR2427. Thanks, Adrian From owner-freebsd-mobile@FreeBSD.ORG Fri May 13 15:08:12 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 98A12106564A for ; Fri, 13 May 2011 15:08:12 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 245A98FC08 for ; Fri, 13 May 2011 15:08:11 +0000 (UTC) Received: by wwc33 with SMTP id 33so2915167wwc.31 for ; Fri, 13 May 2011 08:08:11 -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=bXFYHy5aimxfCb7GwHyi6TP+uzWgRKPluwNL149g+DY=; b=fLGdE8keISPoI26agU+FU5wziVq4n2GNRfOrmvM9vib5Ld+e53YMCVCN0kfeDqtOzu vOhSkaCKFus13iKC81NwlTLW/f+0csj/vAX5KaMmAsQnU36h0FdrEUKhfCMkxisKHLSe uv737wap6x2o0tj0qBbf/RuYDI0z4CSeH3YxQ= 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=Q9JROwEVCReKdCrHVodtRKQocmcu6w1T2IaB16zuq9WHz9+JK31PDp+Z8fXNAWPjT6 A+impQ/GTAcC+yKQVhWa+S+wQT0DXmRDJvQFAziTzzIrHSa6piI2EuQHOR6m7EwVWinb 3Yk1fRqKC1nqMXunl0vVa2Odqpp0q7NHnZBFY= Received: by 10.216.236.28 with SMTP id v28mr402454weq.12.1305297820855; Fri, 13 May 2011 07:43:40 -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 ed10sm1430460wbb.49.2011.05.13.07.43.38 (version=SSLv3 cipher=OTHER); Fri, 13 May 2011 07:43:39 -0700 (PDT) Message-ID: <4DCD43C6.1030106@gmail.com> Date: Fri, 13 May 2011 16:44:22 +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> <4DB8A3D9.7000705@chillt.de> <20110430220055.GB31905@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20110430220055.GB31905@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 15:08:12 -0000 On 01/05/2011 00:00, Anton Shterenlikht wrote: > On Thu, Apr 28, 2011 at 01:16:41AM +0200, Bartosz Fabianowski wrote: >>> Design capacity: 1 mAh >>> Last full capacity: 1 mAh >> >> Those are obviously bogus values. Your battery quite likely is actually >> dead and provides 20 minutes of run-time only. But since its capacity is >> not being reported properly via ACPI for some reason, FreeBSD has no way >> of knowing that. >> >> - Bartosz > > Thanks. I wonder whether ACPI is working correctly > at all. What other things can I check? > > Many thanks > Anton > > HP notebooks usually have good ACPI battery related information. I have one HP Probook and there is no problem at all. I think FreeBSD can't do anything and the problem is only from the battery I think :-( Battery are not really cheap so I bought a new one from honk-kong (not HP genuine but works well) Cheers. -- David Demelier 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