Skip to contentSkip to conversation

r2x00: Wrong rfkill inputdev poll interval

DISCUSSION Michael Buesch 2 participants 2 messages Sep 28, 2007

lore
Share & tools
lore
#0 lore raw

You pass the poll interval as (HZ/4), but the input
dev expects milliseconds instead of jiffies.
So a value of 250 would be right in your case.
Though, I think polling that often for this event might be overkill.

I'd say polling once a second should be OK for b43, for example. We currenty also poll it only once per second.
But that's up to your choice. :)

Signature · 1 line
Greetings Michael.
#1 lore raw
Quoted 2 lines · Michael Buesch

You pass the poll interval as (HZ/4), but the input dev expects milliseconds instead of jiffies.

Oops. Thanks, I'll fix this immediately. :)

Quoted 6 lines

So a value of 250 would be right in your case.
Though, I think polling that often for this event might be overkill.

I'd say polling once a second should be OK for b43, for example. We currenty also poll it only once per second.
But that's up to your choice. :)

Yeah, I was not really sure what a nice timeout value should be. I'll raise it to 1 second as well.

Thanks,

Ivo