Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

wlan button

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
jimakt
n00b
n00b
Posts: 1
Joined: Wed Jul 20, 2005 12:38 pm

wlan button

  • Quote

Post by jimakt » Wed Jul 20, 2005 12:42 pm

Hi! I have an Acer Aspire 5020 and i can't turn on wireless from the buttton....Any ideas????

The chipset is broadcom and i use ndiswrapper to load the driver....
Top
Specialized
Apprentice
Apprentice
User avatar
Posts: 264
Joined: Tue Jan 11, 2005 5:31 pm

  • Quote

Post by Specialized » Wed Jul 20, 2005 9:02 pm

I think you have to write an bash-script which loads the driver.
In my case, I use a thinkpad, it looks like this:

Code: Select all

#!/bin/sh
modprobe ath_pci;
/etc/init.d/net.ath0 start;
You have to save it to f. e. /etc/acpi/wifi.sh and make it executeable: chmod 0774 /etc/acpi/wifi.sh

Then you create an acpi-event which contains your Hotkey, in may case it looks like this:

Code: Select all

# /etc/acpi/events/wifi
#
event=ibm/hotkey HKEY 00000080 00001005
action=/etc/acpi/wifi.sh
The wifi.sh-script you can make a bit more komplex, it's very simple, because I'm not very firm with bash-scripting.
But here is an tutorial.
Maybe you can write an control-structur which checks if your wirelessmodule is loaded, if it is so, it unloads it by pressing your hotkey, if not, it loads the module and starts the needed services.
Top
azrael120
n00b
n00b
Posts: 3
Joined: Sun Aug 21, 2005 8:23 pm

Re: wlan button

  • Quote

Post by azrael120 » Sat Aug 27, 2005 9:53 am

jimakt wrote:Hi! I have an Acer Aspire 5020 and i can't turn on wireless from the buttton....Any ideas????

The chipset is broadcom and i use ndiswrapper to load the driver....
as many other people i am having the same problem. did anyone get it work on this model? i'm using an aspire 5024
Top
nabla²
Apprentice
Apprentice
User avatar
Posts: 280
Joined: Tue May 17, 2005 7:35 pm
Contact:
Contact nabla²
Website

  • Quote

Post by nabla² » Wed Sep 07, 2005 1:48 pm

Specialized wrote:[...]
Then you create an acpi-event which contains your Hotkey, in may case it looks like this:

Code: Select all

# /etc/acpi/events/wifi
#
event=ibm/hotkey HKEY 00000080 00001005
action=/etc/acpi/wifi.sh
[...]
How did you get the key of your wireless button? xev and and showkey didn't work. I have some other buttons that don't show any keys either but I found their keys in the discussion forum of the debian wiki for my notebook (and added them to the correspondig gentoo wiki, see signature). Did you find them too?
Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64)
Top
Specialized
Apprentice
Apprentice
User avatar
Posts: 264
Joined: Tue Jan 11, 2005 5:31 pm

  • Quote

Post by Specialized » Thu Sep 08, 2005 10:43 pm

I found the keys over linux on laptops. The Mute- and the AccessIBM button work with kde. This was the easiest part.
Top
akb
Guru
Guru
Posts: 314
Joined: Sat Jan 25, 2003 1:14 pm
Location: Wolfenbüttel/Germany
Contact:
Contact akb
Website

  • Quote

Post by akb » Wed Oct 12, 2005 5:57 pm

the problem is that the chip does not get power unless the corresponding windows app from "launch manager" is started. this program activates the power supply to the chip itself (thats what the acer support told me).
Top
Kaiiserni
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 121
Joined: Mon Apr 25, 2005 7:18 pm
Location: Antwerp - Belgium

  • Quote

Post by Kaiiserni » Mon Oct 24, 2005 4:10 pm

akb wrote:the problem is that the chip does not get power unless the corresponding windows app from "launch manager" is started. this program activates the power supply to the chip itself (thats what the acer support told me).
you have to google acerhk for 32 bit linux or acer_acpi for 64 bit linux... this activates the wireless lan in acpi bios...

have the same laptop... :wink:
Dell XPS M1330; Intel Core 2 Duo 1800 ; NV M 8400GS, 2 gig
Gentoo x (gentoo x, gnome x)
LINUX user 395333
Top
akb
Guru
Guru
Posts: 314
Joined: Sat Jan 25, 2003 1:14 pm
Location: Wolfenbüttel/Germany
Contact:
Contact akb
Website

  • Quote

Post by akb » Mon Oct 24, 2005 4:53 pm

yeah, i recently got it working
but for me its acer_acpi though its a 32bit linux. acerhk didnt work

but now it works fine. wrote a small script to automatically get it up while booting (/etc/init.d/acer_wireless.sh (c) akb ;) ) and all's fine :-)
Top
Post Reply

8 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic