LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Wifi card LED comes on after suspend/resume but not at boot? (https://www.linuxquestions.org/questions/linux-hardware-18/wifi-card-led-comes-on-after-suspend-resume-but-not-at-boot-546733/)

hollywoodb 04-17-2007 07:01 AM

Wifi card LED comes on after suspend/resume but not at boot?
 
I've an Intel ipw2200 wifi card in my laptop that works fine, except for one thing. The LED to indicate whether the wifi card is on or off comes on after suspend/resume, but doesn't come on at boot.

I have the following in /etc/modprobe.conf:
Code:

options ipw2200 led=1
However this doesn't seem to be read at boot. Is there someplace else I need to specify "led=1" so that the LED comes on when the module is loaded at boot?

samstar 04-18-2007 01:43 AM

Does the module install at boot? Some systems don't install network hardware modules until a network managing program asks for it.

It could be that your pcmcia module is loaded after the system looks for network cards, in which case, it will miss your card. That happened on one of my laptops, and I just rearranged the order of my /etc/init.d scripts, so that they would be detected in order.

Adding "options ipw2200 led=1" by itself doesn't guarantee that the module will be loaded.

Sam

hollywoodb 04-18-2007 11:47 AM

Quote:

Originally Posted by samstar
Adding "options ipw2200 led=1" by itself doesn't guarantee that the module will be loaded.

Yes, I'm aware of that. However what I'm trying to achieve is that when the ipw2200 module is loaded, whether it be by an initscript, autoloading, whathaveyou, it uses the "led=1" option to enable the LED.

As it is right now, when the module loads during the boot process it either isn't reading this line, or it is loading the module in a fashion I'm unfamiliar with, or both.

After suspend/resume, I assume it uses modprobe in the standard fashion, because the LED then comes on.

samstar 04-18-2007 01:10 PM

OK,
What kind of distribution are you using? And what kernel version are you using with that? What kind of laptop are you using?

Also, please post the output of lsmod after your boot, but before you suspend.

Last, have a look in /var/log/boot.messages (or wherever your boot information is saved) and find where and how your network card is loaded.

Sam


All times are GMT -5. The time now is 04:55 AM.