linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alban browaeys <prahal@yahoo.com>
To: Ivo Van Doorn <ivdoorn@gmail.com>
Cc: "John W. Linville" <linville@tuxdriver.com>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	users@rt2x00.serialmonkey.com
Subject: Re: [PATCH 3/5] rt2x00: Fix the interval for rfkill and link_tuner.
Date: Thu, 30 Apr 2009 00:09:32 +0200	[thread overview]
Message-ID: <1241042973.14263.489.camel@argos.server.maison> (raw)
In-Reply-To: <a32f33a40904281318r7b26e5c2ja5ebefe19ecaa089@mail.gmail.com>

Le mardi 28 avril 2009 =E0 22:18 +0200, Ivo Van Doorn a =E9crit :
> On Tue, Apr 28, 2009 at 8:57 PM, John W. Linville
> <linville@tuxdriver.com> wrote:
> > On Sun, Apr 26, 2009 at 04:09:11PM +0200, Ivo van Doorn wrote:
> >> From: Alban Browaeys <prahal@yahoo.com>
> >>
> >> extra parenthesis made the value an argument and the value of the
> >> define empty. This was triggering those very fast.
> >>
> >> Signed-off-by: Alban Browaeys <prahal@yahoo.com>
> >> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
> >
> > ???
> >
> > If that were so, wouldn't that have caused compile-time errors?
>=20
> I've CCed Alban so he can explain the issue he experienced..
>=20
> For me this patch is just a style-fix, because those
> parenthesis were useless anyway.

Right this is only style change. Not that when I sent it I thought :
#define A (x)
was like:
#define A(X)()

thus the patch and the comment.

Thankfully it does not hurt though it does not help either . My getting
the issue fixed was that I had EV_KEY  instead of EV_SW for the rfkill
switch. I mixed the results of this test and the one about this patch.

By the way I found out that I had rfkill-input loaded for no good reaso=
n
(only because the debian eeepc acpi support package load it at boot).
If one load it at the same time as rt2800pci crash follows next rfkill
switch.=20
That could be due to the init of the rfkill-input module that register =
a
handler to input subsystem. Its connect operation triggers a start whic=
h
itself triggers the EV_SW,and swbit code of its device. Thus it would
explain that the device is shut down at registration of the
input_register_polled_device. =20
=20

This is minor as on eeepc the status is always on (when off the device
is out of power and thus no status is available) and the rfkill for wla=
n
is already managed by eeepc-laptop platform driver.
One only need not have rfkill-input loaded which is the default on
debian and may be required by other uses .

Regards,
Alban

PS: sorry for the mistake and the time I took to tell about it. Finding
out the real culprit of the crash/invalid behaviour (crash is new ...
reproducible though) took time.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2009-04-29 22:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-26 14:08 [PATCH 1/5] rt2x00: Move iv_len into tx descriptor data Ivo van Doorn
2009-04-26 14:08 ` [PATCH 2/5] rt2x00: Add support for L2 padding during TX/RX Ivo van Doorn
2009-04-26 14:09   ` [PATCH 3/5] rt2x00: Fix the interval for rfkill and link_tuner Ivo van Doorn
2009-04-26 14:09     ` [PATCH 4/5] rt2x00: Implement support for 802.11n Ivo van Doorn
2009-04-26 14:11       ` [PATCH 5/5] rt2x00: Implement support for rt2800usb Ivo van Doorn
2009-04-28 18:57     ` [PATCH 3/5] rt2x00: Fix the interval for rfkill and link_tuner John W. Linville
2009-04-28 20:18       ` Ivo Van Doorn
2009-04-29 19:43         ` John W. Linville
2009-04-29 19:57           ` Ivo van Doorn
2009-04-29 22:09         ` Alban browaeys [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1241042973.14263.489.camel@argos.server.maison \
    --to=prahal@yahoo.com \
    --cc=ivdoorn@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=users@rt2x00.serialmonkey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).