login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
14
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Ivo van Doorn
Subject:
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
Date: Monday, April 14, 2008 - 2:04 pm
On Monday 14 April 2008, Carlos Corbacho wrote:
quoted text
> On Monday 14 April 2008 13:00:41 Ivo van Doorn wrote: > > > > See rt2x00 and b43 in driver-wireless for an example implementation > > > > of pollable input device and rfkill > > > > > > They're broken by design, at least in b43's case. Someone (Carlos, I > > > believe?) posted an example of a ping-pong scenario using b43. > > > > Thats true. But was that a scenario where there were 2 keys for the same > > radio type? Or was that a matter of the driver indicating a key pressed > > event while it has no attached key to it, and only checked the register for > > the key status and the current radio status and saw it was different? > > Two part problem: > > 1) Bug in rfkill; rfkill is toggling all devices in the same state, and not > actually checking the type. > > (I submitted a patch for this on Sunday, although I sent it to linux-wireless > before you sent the MAINTAINERS patch with netdev as the official list; but I > did CC you on it regardless so you should have seen this. If not, let me know > and I'll resend it).
Completely overlooked the patch. I found it in my archives and just acked it. :) Ivo
quoted text
> 2) The cycle-of-doom bug, as described earlier. > > This still applies. > > Yes, b43 can also be fixed not to emit a keycode if it cannot control the > rfkill switch; but that doesn't solve the case of what happens if both the > wireless driver and the platform driver can control the radio. > > I agree wholeheartedly with Henrique here though - wireless drivers should > _not_ be using key press events as a reporting mechanism. > > -Carlos
--
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[GIT PATCH] rfkill support for r/w and r/o rfkill switches
, Henrique de Moraes H ...
, (Fri Apr 11, 1:37 pm)
[PATCH 1/8] rfkill: clarify meaning of rfkill states
, Henrique de Moraes H ...
, (Fri Apr 11, 1:37 pm)
[PATCH 2/8] rfkill: fix minor typo in kernel doc
, Henrique de Moraes H ...
, (Fri Apr 11, 1:37 pm)
[PATCH 3/8] rfkill: handle KEY_RADIO and SW_RADIO events
, Henrique de Moraes H ...
, (Fri Apr 11, 1:37 pm)
[PATCH 4/8] rfkill: add read-write rfkill switch support
, Henrique de Moraes H ...
, (Fri Apr 11, 1:37 pm)
[PATCH 5/8] rfkill: add read-only rfkill switch support
, Henrique de Moraes H ...
, (Fri Apr 11, 1:37 pm)
[PATCH 6/8] rfkill: add the WWAN radio type
, Henrique de Moraes H ...
, (Fri Apr 11, 1:37 pm)
[PATCH 7/8] rfkill: add an "any radio" switch type and fun ...
, Henrique de Moraes H ...
, (Fri Apr 11, 1:37 pm)
[PATCH 8/8] rfkill: add parameter to disable radios by default
, Henrique de Moraes H ...
, (Fri Apr 11, 1:37 pm)
Re: [PATCH 6/8] rfkill: add the WWAN radio type
, Inaky Perez-Gonzalez
, (Fri Apr 11, 1:44 pm)
Re: [PATCH 6/8] rfkill: add the WWAN radio type
, Henrique de Moraes H ...
, (Fri Apr 11, 1:53 pm)
Re: [GIT PATCH] rfkill support for r/w and r/o rfkill switches
, Ivo van Doorn
, (Sat Apr 12, 3:36 am)
Re: [PATCH 3/8] rfkill: handle KEY_RADIO and SW_RADIO events
, Ivo van Doorn
, (Sat Apr 12, 3:36 am)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Ivo van Doorn
, (Sat Apr 12, 3:36 am)
Re: [PATCH 6/8] rfkill: add the WWAN radio type
, Ivo van Doorn
, (Sat Apr 12, 3:36 am)
Re: [PATCH 8/8] rfkill: add parameter to disable radios by ...
, Ivo van Doorn
, (Sat Apr 12, 3:36 am)
Re: [PATCH 3/8] rfkill: handle KEY_RADIO and SW_RADIO events
, Henrique de Moraes H ...
, (Sat Apr 12, 5:05 am)
Re: [PATCH 6/8] rfkill: add the WWAN radio type
, Henrique de Moraes H ...
, (Sat Apr 12, 5:15 am)
Re: [PATCH 3/8] rfkill: handle KEY_RADIO and SW_RADIO events
, Ivo van Doorn
, (Sat Apr 12, 5:23 am)
Re: [PATCH 6/8] rfkill: add the WWAN radio type
, Ivo van Doorn
, (Sat Apr 12, 5:28 am)
Re: [PATCH 8/8] rfkill: add parameter to disable radios by ...
, Henrique de Moraes H ...
, (Sat Apr 12, 5:56 am)
Re: [PATCH 3/8] rfkill: handle KEY_RADIO and SW_RADIO events
, Henrique de Moraes H ...
, (Sat Apr 12, 6:08 am)
Re: [PATCH 3/8] rfkill: handle KEY_RADIO and SW_RADIO events
, Ivo van Doorn
, (Sat Apr 12, 6:17 am)
Re: [PATCH 8/8] rfkill: add parameter to disable radios by ...
, Ivo van Doorn
, (Sat Apr 12, 6:43 am)
Re: [PATCH 8/8] rfkill: add parameter to disable radios by ...
, Henrique de Moraes H ...
, (Sat Apr 12, 7:43 am)
Re: [PATCH 3/8] rfkill: handle KEY_RADIO and SW_RADIO events
, Dmitry Torokhov
, (Sat Apr 12, 8:47 am)
Re: [PATCH 8/8] rfkill: add parameter to disable radios by ...
, Ivo van Doorn
, (Sat Apr 12, 9:24 am)
Re: [PATCH 3/8] rfkill: handle KEY_RADIO and SW_RADIO events
, Henrique de Moraes H ...
, (Sat Apr 12, 11:02 am)
Re: [PATCH 3/8] rfkill: handle KEY_RADIO and SW_RADIO events
, Ivo van Doorn
, (Sat Apr 12, 11:14 am)
Re: [PATCH 8/8] rfkill: add parameter to disable radios by ...
, Henrique de Moraes H ...
, (Sat Apr 12, 11:36 am)
Re: [PATCH 3/8] rfkill: handle KEY_RADIO and SW_RADIO events
, Carlos Corbacho
, (Sat Apr 12, 12:09 pm)
Re: [PATCH 8/8] rfkill: add parameter to disable radios by ...
, Ivo van Doorn
, (Sat Apr 12, 12:15 pm)
Re: [PATCH 7/8] rfkill: add an "any radio" switch type and ...
, Pavel Machek
, (Sat Apr 12, 12:57 pm)
Re: [PATCH 3/8] rfkill: handle KEY_RADIO and SW_RADIO events
, Henrique de Moraes H ...
, (Sat Apr 12, 1:36 pm)
Re: [PATCH 6/8] rfkill: add the WWAN radio type
, Inaky Perez-Gonzalez
, (Sat Apr 12, 4:23 pm)
Re: [PATCH 6/8] rfkill: add the WWAN radio type
, Henrique de Moraes H ...
, (Sun Apr 13, 10:25 am)
Re: [PATCH 6/8] rfkill: add the WWAN radio type
, Ivo van Doorn
, (Sun Apr 13, 10:37 am)
Re: [PATCH 7/8] rfkill: add an "any radio" switch type and ...
, Henrique de Moraes H ...
, (Sun Apr 13, 10:40 am)
Re: [PATCH 6/8] rfkill: add the WWAN radio type
, Henrique de Moraes H ...
, (Sun Apr 13, 11:16 am)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Henrique de Moraes H ...
, (Sun Apr 13, 6:20 pm)
Re: [PATCH 6/8] rfkill: add the WWAN radio type
, Dmitry Torokhov
, (Sun Apr 13, 9:20 pm)
Re: [PATCH 1/8] rfkill: clarify meaning of rfkill states
, Dmitry Torokhov
, (Sun Apr 13, 9:22 pm)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Ivo van Doorn
, (Mon Apr 14, 5:00 am)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Dmitry Torokhov
, (Mon Apr 14, 7:16 am)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Henrique de Moraes H ...
, (Mon Apr 14, 7:36 am)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Dmitry Torokhov
, (Mon Apr 14, 8:19 am)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Henrique de Moraes H ...
, (Mon Apr 14, 9:33 am)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Dmitry Torokhov
, (Mon Apr 14, 11:05 am)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Carlos Corbacho
, (Mon Apr 14, 12:06 pm)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Dmitry Torokhov
, (Mon Apr 14, 1:23 pm)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Ivo van Doorn
, (Mon Apr 14, 2:04 pm)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Henrique de Moraes H ...
, (Mon Apr 14, 2:41 pm)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Henrique de Moraes H ...
, (Mon Apr 14, 2:46 pm)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Carlos Corbacho
, (Tue Apr 15, 12:27 am)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Ivo Van Doorn
, (Tue Apr 15, 1:14 am)
Re: [PATCH 4/8] rfkill: add read-write rfkill switch support
, Dmitry Torokhov
, (Tue Apr 15, 5:58 am)
Re: [GIT PATCH] rfkill support for r/w and r/o rfkill switches
, John W. Linville
, (Wed Apr 16, 11:37 am)
Re: [GIT PATCH] rfkill support for r/w and r/o rfkill switches
, Ivo van Doorn
, (Wed Apr 16, 12:26 pm)
Re: [GIT PATCH] rfkill support for r/w and r/o rfkill switches
, John W. Linville
, (Wed Apr 16, 12:58 pm)
Re: [GIT PATCH] rfkill support for r/w and r/o rfkill switches
, Ivo van Doorn
, (Wed Apr 16, 1:40 pm)
Re: [GIT PATCH] rfkill support for r/w and r/o rfkill switches
, David Miller
, (Wed Apr 16, 6:29 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
Greg Kroah-Hartman
[PATCH 16/36] driver core: cpu: fix section mismatch in cpu.c:store_online
Greg Kroah-Hartman
[PATCH 22/36] PM: Make wakeup flags available whenever CONFIG_PM is set
git
:
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
Johan Herland
[PATCH 6/7] Softrefs: Administrivia associated with softrefs subsystem and git-sof...
linux-netdev
:
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Guo-Fu Tseng
Re: jme: UDP checksum error, and lots of them
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Conor
Re: RFID Reader
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Stuart Henderson
Re: SquidGuard problem
Community First Financial
Teacher A+ Loan
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
ALSA: snd-usb-caiaq: Do not expose hardware input mode 0 of A4DJ
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Colocation donated by:
Syndicate