Return-path: Received: from perninha.conectiva.com.br ([187.115.55.249]:43418 "EHLO perninha.conectiva.com.br" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751281Ab0KXDJ2 convert rfc822-to-8bit (ORCPT ); Tue, 23 Nov 2010 22:09:28 -0500 Date: Wed, 24 Nov 2010 01:09:18 -0200 From: Herton Ronaldo Krzesinski To: Larry Finger Cc: Klaas De Craemer , htl10@users.sourceforge.net, linux-wireless@vger.kernel.org Subject: Re: RTL8187L: Can only "enable" hw radio switch after Windows boot Message-ID: <20101124010918.3509ba1a@mandriva.com.br> In-Reply-To: <4CEC5D6B.4060401@lwfinger.net> References: <4CEA9903.6070604@lwfinger.net> <370521.43644.qm@web29514.mail.ird.yahoo.com> <4CEAC868.9040402@lwfinger.net> <4CEC2292.1030808@lwfinger.net> <4CEC5D6B.4060401@lwfinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: Em Tue, 23 Nov 2010 18:33:47 -0600 Larry Finger escreveu: > On 11/23/2010 03:06 PM, Klaas De Craemer wrote: > > > > Don't worry, I live in Belgium and temperatures in winter rarely get > > below -10 °C. I might just jam an USB cup heater in the enclosure... > > > > If you think there is anything I can help you with, please let me > > know. For now I'll try some more test variations to see if I can > > find more clues. > > I got drivers for XP and Linux from the Alfa site. I selected the > high-power version, which should match your device. > > I don't know what version is in the Windows version, but the Linux > version has rtl8187_linux_26.1025.0328.2007, which is pretty old. I > have rtl8187L_linux_26.1038.0626.2009, > rtl8187L_linux_26.1039.0104.2010, and > rtl8187L_linux_26.1040.0820.2010 on my disk. At this point, I'm not > sure which version was used to generate the in-kernel Linux driver. > Perhaps Herton remembers, but it had to be something about the 2007 > time frame. For rfkill, if I remember correctly I based on rtl8187B_linux_26.1036.0708.2008 release (the one which only used rfkill_mask == 0x2), and verified on one of the more recent rtl8187L releases to see if was the same. But the initial driver was based on a release previous to rtl8187B_linux_26.1033.0611.2008, that was available for a quanta il1 machine on the web (tarball show release date == 2007-09-19) The old release rtl8187_linux_26.1025.0328.2007 doesn't have code to check RF switch state, so may be the windows driver doesn't have it too, and may be that's why it doesn't have the problem. > > I had to build a new Windows XP system in a virtual machine. The one > I already had won't run on the machine I have now and the original is > in the shop. Access to the new host is restricted to mornings. > > Larry -- []'s Herton