Larry Finger skrev: > Richard Jonsson wrote: >> Larry Finger skrev: >>> Richard Jonsson wrote: >>>> flipping switch a few times, led unchanged >>>> [ 1534.770048] b43-phy0: Radio hardware status changed to ENABLED >>>> [ 1550.778511] b43-phy0: Radio hardware status changed to DISABLED >>>> [ 1562.783474] b43-phy0: Radio hardware status changed to ENABLED >>>> [ 1565.788237] b43-phy0: Radio hardware status changed to DISABLED >>> This sounds like an rfkill/led configuration problem. In your >>> .config, you should have >>> >>> CONFIG_MAC80211_LEDS=y >>> CONFIG_RFKILL=m >>> CONFIG_RFKILL_INPUT=m >>> CONFIG_RFKILL_LEDS=y >>> CONFIG_B43_LEDS=y >>> CONFIG_B43_RFKILL=y >>> >> Confirmed, but the problem for me is how to select MAC80211_LEDS and >> B43_LEDS. Searching in menuconfig I found this: >> >> Symbol: B43_LEDS [=n] >> Symbol: RFKILL_LEDS [=n] >> >> with no more info below them. Then MAC80211_LEDS >> turned up this: >> >> Symbol: MAC80211_LEDS [=n] >> Prompt: Enable LED triggers >> Defined at net/mac80211/Kconfig:74 >> Depends on: NET && !S390 && MAC80211 && LEDS_TRIGGERS >> >> Location: >> -> Networking >> -> Networking support (NET [=y]) >> -> Wireless >> -> Generic IEEE 802.11 Networking Stack (mac80211) (MAC80211 >> [=y]) >> Selected by: IWL4965_LEDS && NETDEVICES && !S390 && IWL4965 || >> IWL3945_LEDS && NETDEVICES && !S390 && IWL3945 >> >> So without IWL4965 / IWL3945 MAC80211_LEDS can't be selected!! >> >> Selecting IWL3945 and IWL3945_LEDS and reloading menuconfig gives me: > > I duplicate your results from menuconfig; however, the appropriate > stanza in net/mac80211/Kconfig is > > config MAC80211_LEDS > bool "Enable LED triggers" > depends on MAC80211 && LEDS_TRIGGERS > ---help--- > This option enables a few LED triggers for different > packet receive/transmit events. > > There is no mention of IWL3945, etc, and only MAC80211 and LEDS_TRIGGERS > (discussed below) are needed. > >> >> CONFIG_MAC80211_LEDS=y >> CONFIG_RFKILL=m >> CONFIG_RFKILL_INPUT=m >> CONFIG_RFKILL_LEDS=n >> CONFIG_B43_LEDS=y >> CONFIG_B43_RFKILL=y >> >> I still can't enable RFKILL_LEDS because I have no clue as to what >> else needs to be enabled :/ > > You get CONFIG_RFKILL_LEDS from Networking -> RF Switch subsystem > support, which has an M, and the "Input layer to RF switch connector" in > the sub-menu, which also should be M. This section is the one that has > LEDS_TRIGGERS. > That section has only "Input layer to RF switch connector". I tried with make xconfig, same story. I have these set to M, still no option for RFKILL_LEDS show up.
> I only use menuconfig for systems that don't run X, and have never > noticed that the dependencies in the help are messed up there. AFAIK, To clarify, I grabbed those lines from the search feature in menuconfig. When searching for B43_LEDS in xconfig, there are no hits at all. In menuconfig the same search shows up as "Symbol: B43_LEDS [=n]" with no more info. > the Kconfig files are OK, and the problem is in menuconfig's parsing of > those files. > I grepped the .config and see that B43_RFKILL is somehow enabled. I don't think I had LED_TRIGGERS enabled before. The led now reacts to the switch, thanks! regards, Richard _______________________________________________ Bcm43xx-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
