Re: rfkill-input understanding help

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

 



On Saturday 12 April 2008 18:21:31 Carlos Corbacho wrote:
> Any thoughts at all on how to diagnose why rfkill-input is not able to find
> a device to attach to the first time it loads (or more specifically, why
> input_match_device() fails to return a match the first time around),
> because I'm still scratching my head on this four months later...

I think I've found the problem here.

rfkill-input isn't being attached to a device because it's looking for 
KEY_WLAN. The problem is that at boot time, I don't have a KEY_WLAN - the key 
isn't mapped until HAL & hal-info kick in much later.

I've tested this by blacklisting rfkill-input, waiting until HAL has loaded 
and run setkeycodes, and then loaded rfkill-input, which then works properly 
first time round.

Unfortunately, that's only a workaround, not a real solution, so we're going 
to need a better way of handling this case.

-Carlos
-- 
E-Mail: carlos@xxxxxxxxxxxxxxxxxxx
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux