Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750893AbZGSTIe (ORCPT ); Sun, 19 Jul 2009 15:08:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750757AbZGSTIc (ORCPT ); Sun, 19 Jul 2009 15:08:32 -0400 Received: from mail-fx0-f218.google.com ([209.85.220.218]:51850 "EHLO mail-fx0-f218.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750729AbZGSTIb convert rfc822-to-8bit (ORCPT ); Sun, 19 Jul 2009 15:08:31 -0400 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=dXl0Iney/gIJJGbU1mCALOpOcaMS4S1+5YK6JdGiZa3GNP0Y0XAsmZZWW2bBcBwI4j MBgeL3dg/CohYwhB6k6uWESt+DKBtT1UY3BcgR8pHEt9cy4UpDddz85zdjtJwrtc50D3 8LSTHVRXyodwd9pQwdSVULHcvn12apzXB5BTk= MIME-Version: 1.0 In-Reply-To: <4A6364DF.3040303@tuffmail.co.uk> References: <4A61FE7D.9080409@tuffmail.co.uk> <8db1092f0907181155h3d603a17q11815b9f174ac333@mail.gmail.com> <4A623490.50305@tuffmail.co.uk> <8db1092f0907190028o334371d7g798c1e8cb9a5744b@mail.gmail.com> <4A635618.3070507@tuffmail.co.uk> <8db1092f0907191110p2d3c2c45je61bda6365ed1468@mail.gmail.com> <4A6364DF.3040303@tuffmail.co.uk> Date: Sun, 19 Jul 2009 21:08:29 +0200 Message-ID: <8db1092f0907191208i6fcdf519r8204be542e95bbe4@mail.gmail.com> Subject: Re: [RFT] hp-wmi: improved rfkill support for wifi From: Maciej Rutecki To: Alan Jenkins Cc: Matthew Garrett , Frans Pop , Larry Finger , linux acpi , linux-kernel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1831 Lines: 59 2009/7/19 Alan Jenkins : > > Sorry, that was a dumb copy+paste error.  Here's a fixed version. > No errors during boot, but still bluetooth is disabled: root@gumis:/home/maciek/zrodelka/rfkill/rfkill# ./rfkill list 0: phy0: Wireless LAN Soft blocked: yes Hard blocked: yes 1: hp-wifi: Wireless LAN Soft blocked: yes Hard blocked: no root@gumis:/home/maciek/zrodelka/rfkill/rfkill# ./rfkill unblock 0 root@gumis:/home/maciek/zrodelka/rfkill/rfkill# ./rfkill list 0: phy0: Wireless LAN Soft blocked: no Hard blocked: yes 1: hp-wifi: Wireless LAN Soft blocked: yes Hard blocked: no root@gumis:/home/maciek/zrodelka/rfkill/rfkill# ./rfkill unblock 1 root@gumis:/home/maciek/zrodelka/rfkill/rfkill# ./rfkill list 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no 1: hp-wifi: Wireless LAN Soft blocked: no Hard blocked: no In /sys/class/rfkill I see only 2 "rfkill?" directory (compare to my first e-mail): root@gumis:/home/maciek/zrodelka/rfkill/rfkill# ls /sys/class/rfkill/ rfkill0 rfkill1 root@gumis:/home/maciek/zrodelka/rfkill/rfkill# cat /sys/class/rfkill/rfkill0/state 1 root@gumis:/home/maciek/zrodelka/rfkill/rfkill# cat /sys/class/rfkill/rfkill1/state 1 root@gumis:/home/maciek/zrodelka/rfkill/rfkill# /etc/init.d/bluetooth force-reload Restarting bluetooth: hcid. root@gumis:/home/maciek/zrodelka/rfkill/rfkill# hciconfig -a hci0 Can't get device info: No such device Wireless works OK. Regards -- Maciej Rutecki http://www.maciek.unixy.pl -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/