Search Linux Wireless

Re: [PATCH/RFC] b43: remove input device usage for rfkill

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 01 Jul 2008, Johannes Berg wrote:
> On Tue, 2008-07-01 at 13:50 -0300, Henrique de Moraes Holschuh wrote:
> > On Tue, 01 Jul 2008, Johannes Berg wrote:
> > > > 1. It has an input pin that sometimes people connect buttons/switches
> > > > to.
> > > > 
> > > > Does that input pin act as an input for a FLIP-FLOP (and that flip-flop
> > > > output is the hardware rfkill line), or is it the hardware rfkill line
> > > > itself?
> > > 
> > > Neither. It's not hw kill, but it's not just edge detect either, it does
> > > have 'kill' and 'not kill' states.
> > 
> > What exactly the input pin does?  what exactly the hardware does when
> > the input pin state changes?
> 
> The hardware does nothing, it just sets a bit high or low depending on
> the input pin.

THIS is very interesting alright...  and it is *extremely* important, so
let's triple verify it, shall we?

Please hack the driver to try to transmit data with that bit set to high, and
also with that bit set to low.  The best way to go about it is probably to
disable the rfkill support (so that it doesn't get in the way), hack the
check-the-bit function to just printk its state, and see if the radio can
effectively transmit and communicate no matter what state the input pin is
at.

This is very important.  It will caracterize that input pin as either an
hardware rfkill line, or as an input device (in which case I would be wrong
when I asked to remove the input support from b43, but one step at a time).

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux