Re: [PATCH 0/1] toshiba_acpi: Add support for bluetooth toggling through rfkill (v2)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Philip Langdale
Date: Saturday, August 2, 2008 - 12:14 pm

Philip Langdale wrote:

I've updated the diff to use force_state instead of get_state. I'm a little
unhappy in that it requires poking the rfkill state from the input poll
function but that's the only way we know anything changed.

The event handling is still the same as before because I realised that there's
no fundamental state I can use to distinguish the two transitions - at the time
the event fires, the kill switch is inactive and the bluetooth device is
disconnected but we simply don't know where we came from (hard killed or on),
so we have to maintain some form of state in the driver and the current mechanism
is as good (or bad) as any other.

--phil
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/1] toshiba_acpi: Add support for bluetooth to ..., Henrique de Moraes H ..., (Sun Jul 27, 7:55 pm)
Re: [PATCH 0/1] toshiba_acpi: Add support for bluetooth to ..., Philip Langdale, (Sat Aug 2, 12:14 pm)