Bran, There is the same bug in iwk driver. I will fix this bug next week. Is it necessary to file a CR to track this?
Zhonghui -----Original Message----- From: laptop-discuss-bounces at opensolaris.org [mailto:[email protected]] On Behalf Of Brian Xu - Sun Microsystems - Beijing China Sent: 2007?12?4? 12:28 To: Edward Pilatowicz Cc: laptop-discuss at opensolaris.org; Dr. David Kirkby Subject: Re: [laptop-discuss] Wireless drivers tries to set Tx power whenit knows transmitter is off Edward Pilatowicz ??: > 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 > user ran "dladm connect-wifi", then that could generate an error message > saying that the transmitter is off, so connecting to networks is > impossible. > > This should be a bug. Pls file a CR to track this. -Brian > 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 > _______________________________________________ laptop-discuss mailing list laptop-discuss at opensolaris.org
