kern/98162: [feature request] AcerHK driver port needed for enabling WiFi on Acer's laptops

William Anderle William.Anderle at Alice.iT
Mon Jun 5 06:13:46 PDT 2006


AT Matik ha scritto:
> On Monday 05 June 2006 09:28, William Anderle wrote:
>   
>> Hi João,
>> I'm sorry but at least on my Acer 5024WLMi (and in theory so on all 3020
>> / 5020 series) the situation is different.
>>     
>
> Hi
>
> hum, I have a 3002 and a 5020 (but running i386)
>
>   
>> Enabling / disabling internal antenna by just pressing the button
>> without software loaded do *not* work.
>>     
>
> on my NB it works but sure you *NEED* the driver loaded in order to work, to 
> be more precise you need the driver to *see* the effect
>   
I've the WiFi's card driver loaded on both Windows, FreeBSD (if_ath) and 
Linux (madwifi): in each OS the card is recognized and the driver can be 
installed without problems
>   
>> I was not speaking of an aesthetical thing. If the radio is off, the led
>> is off; if radio is on, led is on.
>>     
>
> you say YOUR led is blinking or is on or off when running freebsd?
> if not the led definitly is blinking when not connected and stays on when 
> associated and of after pressing the button
> on FreeBSD the LED is *not* working at all
>   
Let's sum up: when I power on notebook, the led is of and wifi's radio 
is off. As default, WiFi's radio is disabled.
I explain what happens in the following situations, assumed that the 
driver is loaded properly in any os.
In Windows, after login and Acer Launch Manager being loaded, Led's 
starts blinking.
In Linux, after login led is off; pressing wlan button doesn't cause 
anything (no syslog messages). Once loaded acerhk module or acer_acpi 
under linux amd64, pressing the WiFi's button do *not* enable radio but 
dmesg shows that a key has been pressed; once enabled radio with "echo 1 
 > /proc/driver/acerhk/wirelessed", WiFi's radio turns on, and led on 
too (differently than in Windows, in Linux led keeps on and doesn't blink)
In FreeBSD, after I login led is off, radio is off, dmesg shows no 
events after pressing WiFi's button.
>   
>> I cannot have radio on with led off.
>>     
>
> yes, ok, on my I can, the driver is loaded I can switch it off by pressing the 
> button
>   
Eh... in mine not :/
>   
>> I've done a fast try on Windows XP: if I close Acer "launch manager",
>> pressing the WLAN becomes useless.
>>     
>
> I never used launchmanager and the WL button works independent here
>
>   
>> The same on FreeBSD with if_ath driver (I changed original Broadcom card
>> with an Atheros one); pressing WLAN button doesn't enable WiFi, and
>> dmesg shows no information about keys being pressed.
>>     
>
> ok, mine is broadcom, dont know about the ATH device, how do you changed it? 
> You do not mean you are using a ATH PCMCIA card are you?
>   
I changed the miniPCI card, since differently from Broadcom's one 
Atheros' card is natively supported in Linux and FreeBSD too. Anyway, I 
had the same problem even with old Broadcom's one loaded via NDISWrapper 
(on Linux).
> you can see the button code with xev in X
>   
xev detects the WiFi's button being pressed (it founds a KeyPress + 
KeyRelease event):

KeyPress event, serial 31, synthetic NO, window 0x400001,
   root 0x44, subw 0x0, time 115534, (62,-13), root:(660,10),
   state 0x0, keycode 214 (keysym 0x0, NoSymbol), same_screen YES,
   XLookupString gives 0 bytes:
   XmbLookupString gives 0 bytes:
   XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x400001,
   root 0x44, subw 0x0, time 115702, (62,-13), root:(660,10),
   state 0x0, keycode 214 (keysym 0x0, NoSymbol), same_screen YES,
   XLookupString gives 0 bytes:


More information about the freebsd-bugs mailing list