From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 7 12:47:11 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 726A7106567E for ; Mon, 7 Jul 2008 12:47:11 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id E7D2B8FC1D for ; Mon, 7 Jul 2008 12:47:10 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so740337nfh.33 for ; Mon, 07 Jul 2008 05:47:09 -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:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent:sender; bh=lqgUAPYecf5bcICMNq7QlcrZ2RYo3X8xU4/9cWROIkU=; b=V+MuJX8RysiEVsGfJ10+dMxiv2dsBDtAKaGrOfMR2WJtrJDgUKO+2ZTd70sGkjEK5/ ErKpg93oyEhxo+w4NfBAnLyCVjnAy5tLuouKfklvex7cfYltrfRXE23EXUonVCSl9YSx bewiYFYaQKTYAv+57NojROlkfxEWifXsGAEwM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent:sender; b=EoXV9wqjQfR4VRdHT5GKjlnBUrv93OliMstePMznKQa3WL8UeMVfAWrAKB1D1TqsNR et2PLwBNF9hU97PpYi/nUqaBkLGUJXDbmvs0EH67/mod3ldJ9N+JQw846Gy56MQoDDbD fGRJXF4UhH3mFkQ8hMX9gQQGCOL+kIG3A3eLE= Received: by 10.210.21.6 with SMTP id 6mr3102857ebu.184.1215434829436; Mon, 07 Jul 2008 05:47:09 -0700 (PDT) Received: from phi.local ( [89.214.229.121]) by mx.google.com with ESMTPS id u14sm6867836gvf.6.2008.07.07.05.47.06 (version=SSLv3 cipher=RC4-MD5); Mon, 07 Jul 2008 05:47:08 -0700 (PDT) Date: Mon, 7 Jul 2008 13:45:38 +0100 From: Rui Paulo To: Matthias Apitz Message-ID: <20080707124538.GA1752@phi.local> References: <20080626075545.GA2964@rebelion.Sisis.de> <20080626231603.GC6875@phi.local> <20080627080203.GA19602@rebelion.Sisis.de> <20080627194447.GA34524@phi.local> <20080629160527.GA17075@rebelion.Sisis.de> <20080629162234.GB1261@phi.local> <20080701090220.GA4431@rebelion.Sisis.de> <20080701111426.GA1152@phi.local> <20080704144002.GA3661@rebelion.Sisis.de> <20080707121937.GA15609@rebelion.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080707121937.GA15609@rebelion.Sisis.de> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: Rui Paulo Cc: freebsd-hackers@FreeBSD.org, james@nighthack.org, Rui Paulo , Manolis Kiagias Subject: Re: eeePC 900 && turning off wireless (ath0) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2008 12:47:11 -0000 On Mon, Jul 07, 2008 at 02:19:37PM +0200, Matthias Apitz wrote: > /* Notify devd(8) */ > device_printf(sc->dev, > "Fn+F2 pressed, notify to devd(8) is %08x\n", notify); > acpi_UserNotify("ASUS-Eee", h, notify); > > and it turns out that in case of switching wireless of it is 0x00000011, > while on switch-on it is 0x00000010; but the devd(8) only sees both > events as '_SB_.ATKD'; I've grep'ed a lot around but can't see the place > where the hex events of acpi_UserNotify() are converted into the string > '_SB_.ATKD', any idea where to look; They are not converted, your devd.conf entries are probably wrong. Can you show again where do you get _SB_.ATKD from? -- Rui Paulo