> hey david, > this seems like a bug on. please file a new bug > report at > bugs.opensolaris.org. (or if you don't want to then > let me know > and i'll file one.) > > given that the wpi driver knows that the transmitter > is turned off, > it really should not complain that it can't turn on > the power of > configure the device. this is just a sign of an > overly chatty driver > that is abusing cmn_err(). > > additionaly, even if the WARNING messages were > removed it would still > be annoying to get a ton of NOTICE spam on the > console and it you're > log files. some other posters have suggested detach > or unloading the > driver from memory, but somehow i doubt this will > help. your post > mentions that you get a pop-up window for wireless > networks, which to > me suggests that your using nwam. so the nwam gui is > probably trying > to access the wpi device, which means that even in > you detach and unload > it, when nwam tries to access it again it will just > be reloaded. it > seems that the right answer here is that the wpi > driver should not > emmit a NOTICE message when the radio transmitter is > turned off. > instead it should return an error code to the > application that is > trying to access the wpi driver that indicates this > condition. then > that application can return the appripriate error > message to the user. > in the case of nwam, there would be no error message. > but say if the > ser ran "dladm connect-wifi", then that could > generate an error message > saying that the transmitter is off, so connecting to > networks is > impossible. > > ed > > > On Sun, Dec 02, 2007 at 01:25:27AM -0800, Dr. David > Kirkby wrote: > > I have a Sony VGN-SZ4XWN/C laptop, which has > integrated WiFi. The WiFi basically works - I am > sending this post via the WiFi. It uses the Intel > PRO/Wireless 3945ABG chip. > > > > There is a switch on the front panel to turn the > transmitter on/off. Trying to boot with this in the > off position is problematic at best, with it often > printing almost endless error messages on the scrren. > > > > So I tend to keep the wireless on, even if on a > train with no hope of using WiFi. Then I get an > irritating popup evey time the train passes a > wireless transmitter. > > > > Looking at /var/adm/messages below one can deduce > transmitter is off, then surprise suprise it can't > set the power. > > > > Nov 26 22:14:36 kingfisher wpi: [ID 644114 > kern.notice] NOTICE: wpi: Radio transmitter is off > > Nov 26 22:14:38 kingfisher mac: [ID 486395 > kern.info] NOTICE: wpi0 link down > > Nov 26 22:14:40 kingfisher wpi: [ID 644114 > kern.notice] NOTICE: wpi: Radio transmitter is off > > Nov 26 22:14:42 kingfisher wpi: [ID 514036 > kern.warning] WARNING: wpi_config(): failed to set > txpower > > Nov 26 22:14:42 kingfisher wpi: [ID 913098 > kern.warning] WARNING: wpi_init(): failed to > configure device > > Nov 26 22:14:44 kingfisher wpi: [ID 644114 > kern.notice] NOTICE: wpi: Radio transmitter is off > > Nov 26 22:14:46 kingfisher wpi: [ID 514036 > kern.warning] WARNING: wpi_config(): failed to set > txpower > > Nov 26 22:14:46 kingfisher wpi: [ID 913098 > kern.warning] WARNING: wpi_init(): failed to > configure device > > Nov 26 22:14:48 kingfisher wpi: [ID 644114 > kern.notice] NOTICE: wpi: Radio transmitter is off > > Nov 26 22:14:50 kingfisher wpi: [ID 514036 > kern.warning] WARNING: wpi_config(): failed to set > txpower > > Nov 26 22:14:50 kingfisher wpi: [ID 913098 > kern.warning] WARNING: wpi_init(): failed to > configure device > > > > Is there any special actions one should take to > enable/disable the wireless on a laptop? Just using > the on/off switch on the top does not work too well > for me. > > > > Dave > > > > > > This message posted from opensolaris.org > > _______________________________________________ > > laptop-discuss mailing list > > laptop-discuss at opensolaris.org > _______________________________________________ > laptop-discuss mailing list > laptop-discuss at opensolaris.org
I've reported it with the title 'WiFi driver tries to set power when it knows transmitter is off' I have put your name in the bug report too, so you might be contacted about it. I thought that was sensible. Hope you did not mind, but since you were willing to submit it yourself, I thought it would be sensible. I stuck the output from prtconf -pv and scanpci too. As I said in the bug report, I don't have the knowledge to debug drivers, but if someone wants to send me some code to try, I can test. I don't mind giving someone from Sun remote access (root) via ssh if necessary. But given its a laptop, I can't guarantee it will be on when it suites someone else. This message posted from opensolaris.org
