From owner-freebsd-mobile@FreeBSD.ORG Sun Sep 19 01:34:23 2010 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 6D35E106566B; Sun, 19 Sep 2010 01:34:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id DA8978FC08; Sun, 19 Sep 2010 01:34:22 +0000 (UTC) Received: by iwn34 with SMTP id 34so3761332iwn.13 for ; Sat, 18 Sep 2010 18:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=slP+F6ItEBUwdOYKQBJyPNKfTFbcT0AS7uxFLVZf9MY=; b=MWK1M/tk5rEh6XRD2bAg8sjzCZcwFvn+AbM9sfVYb+6lPdYVjKZL98whKoEsT0phDc bkyYg3a+f0yiy3rn/lMJbdY0bhrv41Wr/TvMoWxhjwTxwWfdc+eknZWSVnHK88IC6Bhg i8bZnpRHzJL12Xxk5fdrHwWVDhfEGHuRi2Z9c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=IRf9V/7kjDmlwez3yvNTA44a/e8/UecALn9tu3WsglniNPorfOP9/lMpx4IuJKvTt/ nUnwFBicXywzp/h6Il4LMl8yopv/l4MgS44CS03VzqkA5XpQUsOKYrMgm5cld1XZ0vqH dEfCV1mdxkRk0y5Z8lAYRhUaxA7yLi+WEYgZ8= MIME-Version: 1.0 Received: by 10.231.191.138 with SMTP id dm10mr7735179ibb.126.1284860061614; Sat, 18 Sep 2010 18:34:21 -0700 (PDT) Received: by 10.231.156.206 with HTTP; Sat, 18 Sep 2010 18:34:21 -0700 (PDT) In-Reply-To: <813E7FEA-2BA9-450C-9826-CE3D799BBDED@FreeBSD.org> References: <813E7FEA-2BA9-450C-9826-CE3D799BBDED@FreeBSD.org> Date: Sun, 19 Sep 2010 09:34:21 +0800 Message-ID: From: Adrian Chadd To: Rui Paulo Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current , freebsd-mobile@freebsd.org Subject: Re: RFT: if_ath HAL refactoring 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, 19 Sep 2010 01:34:23 -0000 On 19 September 2010 06:38, Rui Paulo wrote: > Can you also provide a diff against HEAD please? Done. It's in the same place; named "complete.diff". Adrian From owner-freebsd-mobile@FreeBSD.ORG Sun Sep 19 10:03:48 2010 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 8F18E106564A; Sun, 19 Sep 2010 10:03:48 +0000 (UTC) (envelope-from rpaulo@freebsd.org) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id 65BCF8FC0C; Sun, 19 Sep 2010 10:03:48 +0000 (UTC) Received: from d.earth.lavabit.com (d.earth.lavabit.com [192.168.111.13]) by karen.lavabit.com (Postfix) with ESMTP id B6B5C11B8C0; Sun, 19 Sep 2010 05:03:47 -0500 (CDT) Received: from 10.0.10.3 (221.163.108.93.rev.vodafone.pt [93.108.163.221]) by lavabit.com with ESMTP id 6182EJ96GDPN; Sun, 19 Sep 2010 05:03:47 -0500 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: Date: Sun, 19 Sep 2010 11:03:44 +0100 Content-Transfer-Encoding: 7bit Message-Id: <6B21C415-F8C3-4839-A743-2A43866CA1EC@freebsd.org> References: <813E7FEA-2BA9-450C-9826-CE3D799BBDED@FreeBSD.org> To: Adrian Chadd X-Mailer: Apple Mail (2.1081) Cc: freebsd-current , freebsd-mobile@freebsd.org Subject: Re: RFT: if_ath HAL refactoring 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, 19 Sep 2010 10:03:48 -0000 On 19 Sep 2010, at 02:34, Adrian Chadd wrote: > On 19 September 2010 06:38, Rui Paulo wrote: > >> Can you also provide a diff against HEAD please? > > Done. It's in the same place; named "complete.diff". Hmm, I don't see it :-( Regards, -- Rui Paulo From owner-freebsd-mobile@FreeBSD.ORG Sun Sep 19 10:31:42 2010 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 7B610106566C; Sun, 19 Sep 2010 10:31:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 26B898FC1C; Sun, 19 Sep 2010 10:31:41 +0000 (UTC) Received: by iwn34 with SMTP id 34so4012994iwn.13 for ; Sun, 19 Sep 2010 03:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=nrzoKwDf/JmSICrb/dG+WZODT458NkvuCZTK7FaSztk=; b=GVfLpV79QbKgjVBBMIEGR/+lDtFDsrJF2KkcxL1Oh46eQcdrRzHbw7nD3I7JsdwoAl Fe9frt6XRk4cQ+EDNv7grYNeYICdrs9HcL4jIMDSPrQJrhGc8pjxAORXKxMCGmBlwhuC cijL//zv7ps9UotlHI+ol2+Jrf9IAgEWQQHts= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jUHRbE5j/WrSv7WT5F7gMW6zQkNipu+pMJ2Rb3UryTEUilJ7nIeSu87asxL2LtGl33 4TlQ1bf/SOfKTieYPKLfgTKdVilcHCyxBz+UuT1mHAkpSkJXWbnKX2aF9b3XAs9Q/F8b TH8n2JfYtVKktGs/w5K/FDuBTwHZhYeYg/Dtk= MIME-Version: 1.0 Received: by 10.231.16.75 with SMTP id n11mr7687602iba.49.1284892301377; Sun, 19 Sep 2010 03:31:41 -0700 (PDT) Received: by 10.231.156.206 with HTTP; Sun, 19 Sep 2010 03:31:41 -0700 (PDT) In-Reply-To: <6B21C415-F8C3-4839-A743-2A43866CA1EC@freebsd.org> References: <813E7FEA-2BA9-450C-9826-CE3D799BBDED@FreeBSD.org> <6B21C415-F8C3-4839-A743-2A43866CA1EC@freebsd.org> Date: Sun, 19 Sep 2010 18:31:41 +0800 Message-ID: From: Adrian Chadd To: Rui Paulo Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current , freebsd-mobile@freebsd.org Subject: Re: RFT: if_ath HAL refactoring 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, 19 Sep 2010 10:31:42 -0000 oops, I put it in the wrong place. Try again! adrian On 19 September 2010 18:03, Rui Paulo wrote: > On 19 Sep 2010, at 02:34, Adrian Chadd wrote: > >> On 19 September 2010 06:38, Rui Paulo wrote: >> >>> Can you also provide a diff against HEAD please? >> >> Done. It's in the same place; named "complete.diff". > > Hmm, I don't see it :-( > > Regards, > -- > Rui Paulo > > > From owner-freebsd-mobile@FreeBSD.ORG Mon Sep 20 13:51:42 2010 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 AFF84106566B; Mon, 20 Sep 2010 13:51:42 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8155D8FC13; Mon, 20 Sep 2010 13:51:42 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 1359046B06; Mon, 20 Sep 2010 09:51:42 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id BD3F68A04E; Mon, 20 Sep 2010 09:51:40 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Mon, 20 Sep 2010 09:25:10 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009200925.10362.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 20 Sep 2010 09:51:40 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Adrian Chadd , freebsd-mobile@freebsd.org Subject: Re: RFT: if_ath HAL refactoring 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, 20 Sep 2010 13:51:42 -0000 On Saturday, September 18, 2010 12:09:21 pm Adrian Chadd wrote: > Hi all, > > I've uploaded a snapshot of the if_ath HAL which i've been working on. > I've been refactoring out various bits of the AR5416 HAL into > something that resembles the ath9k hardware MAC/PHY operations to make > it easier to port further ath9k updates over. It also includes the > AR9100 support (but it's missing a couple bits of glue needed to use > it outside of my GIT tree.) Finally, it includes the probe/attach > operations for the AR2427, but I haven't at all tested it yet (and > i've explained why it isn't working in a previous email.) > > It's available for download at http://people.freebsd.org/~adrian/ath/ > . There's a diff against src/sys/files/conf and a tarball that just > replaces the ath device/module directory. > > Note you'll need to add "device if_ath_pci" to your kernel > configuration file as the PCI bus glue is now not built by default in > a static kernel in this HAL. (It's included in the module Makefile by > default.) This was done to allow multiple backend bus types - now > being PCI and "AHB" for the AR9100 SoC. Why not include this iff both 'device ath' and 'device pci' are included? That is what is normally done for bus-specific attachments. -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Mon Sep 20 14:06:54 2010 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 AB0801065696; Mon, 20 Sep 2010 14:06:54 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4034B8FC18; Mon, 20 Sep 2010 14:06:53 +0000 (UTC) Received: by gwb15 with SMTP id 15so1657637gwb.13 for ; Mon, 20 Sep 2010 07:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=xQa5jN83EEc5jo9s97ZajSxo7h56nuNnP53SBwSNbQg=; b=ueYWbfQzVgwwWpZjj683rk74Z27DYYDaT3CG+UO8kswUtBVA3ghV0Y8MTeUEh/nSaH oF0e3mhqtm17OmqYoP6sfI7AiuFAxpyoi77hE4XT0vWebGjZHRTI4EuEWN5ifEP1hwNB KwiUOJXC7YHS1B1ZkIksD2vB3IEc/k9W88CxI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RGfAsYgrRdiT/TUHNdmclfemB/HFX5OCo543nPejLbslMCBZEoHeuPdrmxfZOlcn4B WgHrSBXVJ+dMUmSnsauibZxsTWt6u3u8A7WVUzOEsPsOHJtASz4uvYFxTo304FZiSfy6 RbmbtuSqlL2Tsyq37l5bzJ4kK9Bn1VgD/y6s0= MIME-Version: 1.0 Received: by 10.150.178.2 with SMTP id a2mr9159880ybf.250.1284991613502; Mon, 20 Sep 2010 07:06:53 -0700 (PDT) Received: by 10.231.156.206 with HTTP; Mon, 20 Sep 2010 07:06:53 -0700 (PDT) In-Reply-To: <201009200925.10362.jhb@freebsd.org> References: <201009200925.10362.jhb@freebsd.org> Date: Mon, 20 Sep 2010 22:06:53 +0800 Message-ID: From: Adrian Chadd To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: RFT: if_ath HAL refactoring 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, 20 Sep 2010 14:06:54 -0000 On 20 September 2010 21:25, John Baldwin wrote: > Why not include this iff both 'device ath' and 'device pci' are included? > That is what is normally done for bus-specific attachments. I've not idea right now whether there's an Atheros SoC with an AHB-attached wireless device and a PCI bus. In fact, that won't work at the present time because the device names would clash. I'm happy to do that in whatever form the eventual merged codebase takes. Adrian From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 21 13:35:39 2010 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 19E1810656B0; Tue, 21 Sep 2010 13:35:39 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id DE1B98FC0A; Tue, 21 Sep 2010 13:35:38 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 8F0CC46C15; Tue, 21 Sep 2010 09:35:38 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id CCAF28A04F; Tue, 21 Sep 2010 09:35:32 -0400 (EDT) From: John Baldwin To: Adrian Chadd Date: Tue, 21 Sep 2010 09:19:28 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: <201009200925.10362.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009210919.28923.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 21 Sep 2010 09:35:32 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-current@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: RFT: if_ath HAL refactoring 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, 21 Sep 2010 13:35:39 -0000 On Monday, September 20, 2010 10:06:53 am Adrian Chadd wrote: > On 20 September 2010 21:25, John Baldwin wrote: > > > Why not include this iff both 'device ath' and 'device pci' are included? > > That is what is normally done for bus-specific attachments. > > I've not idea right now whether there's an Atheros SoC with an > AHB-attached wireless device and a PCI bus. In fact, that won't work > at the present time because the device names would clash. Why would the device names clash? We have _lots_ of drivers with multiple bus attachments that use the same name regardless of which bus they are on, and making a bus attachment conditional on the bus being present is what every other driver that desires this level of granularity does. -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 21 14:24:24 2010 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 C1398106566C; Tue, 21 Sep 2010 14:24:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6B84D8FC16; Tue, 21 Sep 2010 14:24:24 +0000 (UTC) Received: by iwn34 with SMTP id 34so6218559iwn.13 for ; Tue, 21 Sep 2010 07:24:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/sYMbbKJwrPehLDosuHPId1nqNfYlcuIuxP1zYOGCwg=; b=q2IZa/n8YpaP7GTQ6sbtk0bn20WYOPQbXZ78yLMhMddqupfDTrt9OWoV98r3UwDDPy hqXNNiMslT45aGWfpx/iifug638eOTFcyXZHWypaunvAdVhPIbClwuq8c926f+WlqrfL EbTt08xDlbPWV0I7J98UvJvJ8CoOZe/NSjoNY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OTwBuTnQ4oXhUNNuAZpKiVfgoHjMozV0yhjpMs9rlihNDxj9qkMIZPG69m8x+7uu+2 UhCEKPUIWc69aDOT7BvI7SHJ1UUDqBz/e8FRRjkAGKfrde98qE23/Phu2sHAf9FSDMBx kYnPt2uvY+zEmllx0922DL91HFDWnu10aaOKQ= MIME-Version: 1.0 Received: by 10.231.174.5 with SMTP id r5mr11975881ibz.132.1285079063754; Tue, 21 Sep 2010 07:24:23 -0700 (PDT) Received: by 10.231.156.206 with HTTP; Tue, 21 Sep 2010 07:24:23 -0700 (PDT) In-Reply-To: <201009210919.28923.jhb@freebsd.org> References: <201009200925.10362.jhb@freebsd.org> <201009210919.28923.jhb@freebsd.org> Date: Tue, 21 Sep 2010 22:24:23 +0800 Message-ID: From: Adrian Chadd To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: RFT: if_ath HAL refactoring 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, 21 Sep 2010 14:24:24 -0000 On 21 September 2010 21:19, John Baldwin wrote: >> I've not idea right now whether there's an Atheros SoC with an >> AHB-attached wireless device and a PCI bus. In fact, that won't work >> at the present time because the device names would clash. > > Why would the device names clash? =A0We have _lots_ of drivers with multi= ple bus > attachments that use the same name regardless of which bus they are on, a= nd > making a bus attachment conditional on the bus being present is what ever= y > other driver that desires this level of granularity does. Cool. Well, that's one less thing I have to worry about. :-) Thanks, Adrian From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 21 16:56:05 2010 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 11E391065672 for ; Tue, 21 Sep 2010 16:56:05 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id C26C88FC0A for ; Tue, 21 Sep 2010 16:56:04 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Oy3Ju-0004Hu-AX; Tue, 21 Sep 2010 15:55:42 +0200 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o8LDtfW4007641; Tue, 21 Sep 2010 15:55:41 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o8LDtfrK007640; Tue, 21 Sep 2010 15:55:41 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 21 Sep 2010 15:55:41 +0200 From: Matthias Apitz To: freebsd-mobile@freebsd.org, freebsd-multimedia@freebsd.org Message-ID: <20100921135541.GA7577@current.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: Subject: improving the recording with the build-in mic X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2010 16:56:05 -0000 Hello, For voice calls I'm using the build-in mic of my laptop (in the upper part of the lid). The recording is of poor quality. My environment is: $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default) pcm1: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex) pcm2: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels) $ mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 100:100 Mixer speaker is currently set to 100:100 Mixer mix is currently set to 100:100 Mixer rec is currently set to 100:100 Recording source: mic Is there anything I could do to higher the level of recording? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-mobile@FreeBSD.ORG Thu Sep 23 12:40:20 2010 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 B0F501065672 for ; Thu, 23 Sep 2010 12:40:20 +0000 (UTC) (envelope-from arvid.warnecke@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9718FC0C for ; Thu, 23 Sep 2010 12:40:19 +0000 (UTC) Received: by bwz15 with SMTP id 15so1539973bwz.13 for ; Thu, 23 Sep 2010 05:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent; bh=+be8mv1S+8SNCLTaox4p+L1LoP6bI1nJERlmfKCriVg=; b=FfcOMc0KATtJV01G+ANtysRF9OLzNhiKDUEqIomqCGFI6TH/thOvQXjDgxHW8CAida urAamf+0cQ6Ug/Z75gu9exRhbLSAvryUVxFZKPtaaq33ThxnkHFG8fEeBJTI/OL1VJyo 5YJzodWbzwwuxtlz16sul0dySs04AnK2iieow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent; b=pIeMXsNVUl88jfBjOPKpHCU0vCPmEvkp/WP3P8sfnpDs/ZPMsuw3abiHl4/TV1dcQ0 W5HsuTjx5kX4sjFtYgqSxXwEaB8/bLTuZ7Crt2e8c9gu80Tuc+ta1HhtL2iJeh/Oezvi BWOxuK7LcpO2VZYcjcT8cNBuOF+tZ/K1+Mm/o= Received: by 10.204.122.1 with SMTP id j1mr1039345bkr.106.1285244149377; Thu, 23 Sep 2010 05:15:49 -0700 (PDT) Received: from hogwarts.local (188-192-198-19-dynip.superkabel.de [188.192.198.19]) by mx.google.com with ESMTPS id d27sm542697bku.22.2010.09.23.05.15.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 23 Sep 2010 05:15:48 -0700 (PDT) Date: Thu, 23 Sep 2010 14:15:54 +0200 From: Arvid Warnecke To: freebsd-mobile@freebsd.org Message-ID: <20100923121552.GA14706@hogwarts.local> Mail-Followup-To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: IBM T60 issues with resume from zzz 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: Thu, 23 Sep 2010 12:40:20 -0000 Hello everybody, I am new to the list as the T60 is my first PC laptop and furthermore the first mobile computer I run FreeBSD on. When I have been using FreeBSD on my workstation I did not care too much about any powermanagement and stuff like that. I did some research and found old messages about using acpi_ibm and devd. So I edited my loader.conf to load acpi_ibm and /etc/rc.conf have these two more lines now: dev.acpi_ibm.0.events=1 hw.acpi.lid_switch_state=S3 I then added this to my /etc/devd.conf # ACPI_IBM notify 10 { match "system" "ACPI"; match "subsystem" "IBM"; match "notify" "0x04"; action "/usr/sbin/zzz"; }; Now the T60 goes to sleep complimentary but does not wake up at all. I read a few times about issues with Xorg running, but this does not seem to make any difference... Where can I get more information about fixing the resume/ wake up? Has somebody already got the resume working on his/her IBM T60 notebook? Thank you very much in advance. Best regards, Arvid From owner-freebsd-mobile@FreeBSD.ORG Thu Sep 23 13:46:13 2010 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 3531D1065673 for ; Thu, 23 Sep 2010 13:46:13 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id EE7FF8FC0C for ; Thu, 23 Sep 2010 13:46:12 +0000 (UTC) Received: by mail.0x20.net (Postfix, from userid 1002) id 8604F3A581; Thu, 23 Sep 2010 15:28:42 +0200 (CEST) Date: Thu, 23 Sep 2010 15:28:42 +0200 From: Lars Engels To: freebsd-mobile@freebsd.org Message-ID: <20100923132842.GA49398@e.0x20.net> References: <20100923121552.GA14706@hogwarts.local> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <20100923121552.GA14706@hogwarts.local> X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: IBM T60 issues with resume from zzz 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: Thu, 23 Sep 2010 13:46:13 -0000 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 23, 2010 at 02:15:54PM +0200, Arvid Warnecke wrote: > Hello everybody, >=20 > I am new to the list as the T60 is my first PC laptop and furthermore > the first mobile computer I run FreeBSD on. When I have been using > FreeBSD on my workstation I did not care too much about any > powermanagement and stuff like that. >=20 > I did some research and found old messages about using acpi_ibm and > devd. So I edited my loader.conf to load acpi_ibm and /etc/rc.conf have > these two more lines now: >=20 > dev.acpi_ibm.0.events=3D1 > hw.acpi.lid_switch_state=3DS3 >=20 > I then added this to my /etc/devd.conf >=20 > # ACPI_IBM > notify 10 { > match "system" "ACPI"; > match "subsystem" "IBM"; > match "notify" "0x04"; > action "/usr/sbin/zzz"; > }; >=20 > Now the T60 goes to sleep complimentary but does not wake up at all. I > read a few times about issues with Xorg running, but this does not seem > to make any difference... >=20 > Where can I get more information about fixing the resume/ wake up? Has > somebody already got the resume working on his/her IBM T60 notebook? >=20 > Thank you very much in advance. >=20 > Best regards, > Arvid Hi Arvid, perhaps this can help you: http://www.bsdforen.de/showthread.php?t=3D24823 It's in German, but it's mostly a copy & paste from the config files. You need a 8-STABLE and compile a kernel without USB support. You load the USB kernel modules then and unload them before suspending. --zhXaljGHf11kAtnf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkybVgoACgkQKc512sD3afjKFwCfU8kDUnXu7c8rnbfqXyy4nqSR xuIAn0PvkMjMVRWupRw7dOo3SbGjAki3 =3ZaU -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf-- From owner-freebsd-mobile@FreeBSD.ORG Thu Sep 23 21:51:28 2010 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 2BFF1106566C for ; Thu, 23 Sep 2010 21:51:28 +0000 (UTC) (envelope-from arvid.warnecke@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id A939B8FC08 for ; Thu, 23 Sep 2010 21:51:27 +0000 (UTC) Received: by bwz15 with SMTP id 15so2096948bwz.13 for ; Thu, 23 Sep 2010 14:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=EHC/abEdGZ56Iz3DGYE2QZMk2Sw3TLEOCmhXlqNnQkY=; b=l0P6Ufa1nbIpJMh4uZawKncs1E/59E1nEE+CipuRYfJGHKnxhA/rh+ITW9aaH5jYOU h1QPAwhqY8gj89YfHCHmtQvKm3r8koKf0a+8RgAu6PuXRGMZrDOipI5SrMwBnWm6rK4y wG3C6Mrwx+po7v2CL/rh3tpeoxWPRgepDu+pU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=CNn8mFIo4+V3z9vqJnMc5EJo0crvS1U0csa28O0rdHHz30iQ0xvs/oOcdCYW4CYNPl oTzHWY6fACsBlOY05zWtiFtqQHeFEbpd3R01KFG/ZwC9f7Uq/hG/II9810nGhZ8mvhKb C1Zsma34KXOKnJlC60mhp9e6a1ppSgpGe2qBQ= Received: by 10.204.101.132 with SMTP id c4mr734524bko.87.1285278685910; Thu, 23 Sep 2010 14:51:25 -0700 (PDT) Received: from localhost (188-192-198-19-dynip.superkabel.de [188.192.198.19]) by mx.google.com with ESMTPS id g12sm1010546bkb.2.2010.09.23.14.51.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 23 Sep 2010 14:51:25 -0700 (PDT) Date: Thu, 23 Sep 2010 23:51:31 +0200 From: Arvid Warnecke To: freebsd-mobile@freebsd.org Message-ID: <20100923215130.GA48771@hogwarts.local> Mail-Followup-To: freebsd-mobile@freebsd.org References: <20100923121552.GA14706@hogwarts.local> <20100923132842.GA49398@e.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100923132842.GA49398@e.0x20.net> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: IBM T60 issues with resume from zzz 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: Thu, 23 Sep 2010 21:51:28 -0000 Hello Lars, On Thu, Sep 23, 2010 at 03:28:42PM +0200, Lars Engels wrote: > On Thu, Sep 23, 2010 at 02:15:54PM +0200, Arvid Warnecke wrote: > > Now the T60 goes to sleep complimentary but does not wake up at all. I > > read a few times about issues with Xorg running, but this does not seem > > to make any difference... > > > > Where can I get more information about fixing the resume/ wake up? Has > > somebody already got the resume working on his/her IBM T60 notebook? > > > perhaps this can help you: > http://www.bsdforen.de/showthread.php?t=24823 > > It's in German, but it's mostly a copy & paste from the config files. > You need a 8-STABLE and compile a kernel without USB support. You load > the USB kernel modules then and unload them before suspending. Thank you for the link. German is no problem (I am from Germany). I already thought about building my own kernel again, so I will try it the way described on bsdforen.de Best regards, Arvid