netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hardware button support for Wireless cards
@ 2006-05-15 12:57 Mark Wallis
  2006-05-15 13:25 ` Jiri Benc
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Mark Wallis @ 2006-05-15 12:57 UTC (permalink / raw)
  To: netdev

Hi everyone,

During our development of the rt2x00 wireless driver we have come across an
interesting issue that we want to get comment on from the netdev-community.

Some laptops with our Ralink cards build-in also include a hardware button
that is meant to enable/disable the wireless card. We are wondering how we
should handle this.

Currently, in our rt2x00 (using the devicescape stack) we are firing off an
ACPI event so that the hardware button can be handled in userspace. This
allows the user to basically do whatever they want when this button is
pressed - including bringing down the wireless interface. The problem here
is no distro's currently contain scripts to run from this event so for many
users it just "doesn't work" without them manually having to write scripts
to handle the ACPI even themselves.

Some people are saying that instead of throwing and ACPI event we should be
either use hotplug or internally just disable the radio and somehow inform
the dscape stack that the radio has been disabled.

What are peoples thoughts here, should we 

A. be handling this within our drivers and doing "what the user expects" and
disabling the hardware radio, or 

B. should we be firing an ACPI event and getting the distro's to add scripts
so when this event is fired they bring down all the wireless interfaces.

Regards,
Mark Wallis
Project Admin
http://rt2x00.serialmonkey.com
mwallis@serialmonkey.com


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2006-05-25 15:13 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-15 12:57 Hardware button support for Wireless cards Mark Wallis
2006-05-15 13:25 ` Jiri Benc
2006-05-15 13:59   ` Ivo van Doorn
2006-05-15 14:06 ` Sergey Vlasov
2006-05-15 14:37 ` Dan Williams
2006-05-15 15:12   ` Ivo van Doorn
2006-05-15 16:20     ` Jouni Malinen
2006-05-16  3:10       ` Mark Wallis
2006-05-25 15:15         ` [RFC PATCH 0/2] " Ivo van Doorn
2006-05-15 16:19   ` David Zeuthen
2006-05-15 15:27 ` Jason Lunz
2006-05-15 16:01   ` Michael Buesch
2006-05-15 19:12     ` Dan Williams
2006-05-15 19:32       ` Michael Buesch
2006-05-15 19:46       ` Jason Lunz
2006-05-15 21:42         ` Ivo van Doorn
2006-05-15 20:08   ` John W. Linville

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).