login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
16
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74ef03a3baf035412c95192b54dfc6f
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Larry Finger
Subject:
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74ef03a3baf035412c95192b54dfc6f
Date: Tuesday, September 16, 2008 - 1:34 pm
Matthew Garrett wrote:
quoted text
> On Tue, Sep 16, 2008 at 12:08:48PM -0500, Larry Finger wrote: > >> I agree with Michael. From what I know, the only possible reason for >> having this state would be if user space could somehow affect the >> state of the hardware switch. As the user's finger is the only such >> thing, then there is no use for the RFKILL_STATE_HARD_BLOCKED state, >> particularly when it breaks LED operations. > > RFKILL_STATE_HARD_BLOCKED indicates that the hardware is disabled in a > way that userspace can't influence, so sounds like exactly the right > state to have here. I still have absolutely no idea what b43 rfkill is > supposed to be doing - why on earth is it requesting rfkill-input, and > why does it generate keypress events? I /think/ it should e something > like the following (untested, I'm not near any of my b43 hardware at the > moment). This basically does the following: > > 1) Split the update function in two, so it can be called by either > polling or an interrupt driven event on newer hardware (not implemented > yet) > 2) Remove all the input handling > 3) Change the state updates to use rfkill_force_state, which will > generate an event that gets sent up to userland > 4) Retains the RFKILL_STATE_HARD_BLOCKED code > > When the user flicks a switch or presses a button that physically > disables the radio, the state will now automatically change to > RFKILL_STATE_HARD_BLOCKED. If they have a key that generates KEY_WLAN > but doesn't change the radio state, rfkill-input will trigger a change > to RFKILL_STATE_SOFT_BLOCKED. > > Like I said, this is only build-tested - I won't be back at a b43 until > next week. If someone could give this a go, that would be great.
It locks up tight with a kernel panic when booting. I have a screen picture that I will send separately to Matthew. Larry --
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:
Regression in 2.6.27-rcX caused by commit bc19d6e0b74ef03a ...
, Larry Finger
, (Tue Sep 16, 7:18 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Michael Buesch
, (Tue Sep 16, 8:42 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Larry Finger
, (Tue Sep 16, 10:08 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Carlos Corbacho
, (Tue Sep 16, 12:18 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Michael Buesch
, (Tue Sep 16, 12:25 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Larry Finger
, (Tue Sep 16, 12:30 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Matthew Garrett
, (Tue Sep 16, 12:51 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Larry Finger
, (Tue Sep 16, 1:34 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e ...
, Carlos Corbacho
, (Tue Sep 16, 1:44 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e ...
, Larry Finger
, (Tue Sep 16, 2:07 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Matthew Garrett
, (Tue Sep 16, 2:09 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Henrique de Moraes H ...
, (Tue Sep 16, 3:37 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Henrique de Moraes H ...
, (Tue Sep 16, 3:40 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Matthew Garrett
, (Tue Sep 16, 4:32 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Henrique de Moraes H ...
, (Tue Sep 16, 7:33 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Larry Finger
, (Tue Sep 16, 7:52 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, John W. Linville
, (Wed Sep 17, 6:23 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Michael Buesch
, (Wed Sep 17, 7:19 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Michael Buesch
, (Wed Sep 17, 7:22 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Michael Buesch
, (Wed Sep 17, 7:26 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, John W. Linville
, (Wed Sep 17, 7:29 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Michael Buesch
, (Wed Sep 17, 7:33 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Henrique de Moraes H ...
, (Wed Sep 17, 7:50 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Henrique de Moraes H ...
, (Wed Sep 17, 8:18 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Larry Finger
, (Wed Sep 17, 8:28 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Henrique de Moraes H ...
, (Wed Sep 17, 8:36 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Larry Finger
, (Wed Sep 17, 8:47 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ...
, Michael Buesch
, (Wed Sep 17, 8:59 am)
[PATCH] rfkill: update LEDs for all state changes
, Henrique de Moraes H ...
, (Wed Sep 17, 1:07 pm)
Re: [PATCH] rfkill: update LEDs for all state changes
, Larry Finger
, (Wed Sep 17, 1:55 pm)
Re: [PATCH] rfkill: update LEDs for all state changes
, Henrique de Moraes H ...
, (Thu Sep 18, 5:43 am)