[Prism54-devel] Bugs forum.

Lars E. Pettersson sm6rpz@home.se
Sun, 23 Nov 2003 12:12:11 +0100


In the bugs forum mcgrof writes:
> I recently made the driver (latest snapshot) do this but we may go back
> to not uploading the firmware at plug (hotplug) time.

I vote for uploading the firmware at hotplug time, preferably before the 
setup of the network, if this is at all possible (I am a bit uncertain at 
this.)

I am running Fedora Core 1 and the way things happen there at the moment 
are:
1. pci.agent
2. net.agent
3. firmware.agent

At the net.agent hotplug event ifup is called. In RedHat/Fedora this also 
triggers the ifup-wireless script, that uses the iwconfig command to set 
the wireless parameters. As the firmware is not yet uploaded, these have 
no effect. The network is setup, but not the card. To get it all going I 
have to manually issue a "ifup eth1", it would be nice if this could 
happen automatically.

As I am very uncertain on how these things work, I am not certain that it 
is possible to trigger events as; pci.agent, firmware.agent, and finally 
net.agent. I think this would solve my issue, but it may perhaps also 
create side effects.

Any comments?

/Lars
-- 
Lars E. Pettersson, SM6RPZ | Gothenburg, SWEDEN
sm6rpz@home.se | http://www.sm6rpz.se/