unsubscribe
unsubscribe me please From: Michael Buesch m...@bu3sch.de To: Larry Finger larry.fin...@lwfinger.net Cc: linux-wirel...@vger.kernel.org; bcm43xx-dev@lists.berlios.de Sent: Thu, November 19, 2009 3:13:33 PM Subject: Re: [PATCH] ssb: Unconditionally log results of core scans On Thursday 19 November 2009 20:43:54 Larry Finger wrote: At present, the results of an SSB core scan are only logged when CONFIG_SSB_DEBUG is y. As this may not be set in a distro kernel, it is difficult interpret many problems posted in bug reports or in help forums. Signed-off-by: Larry Finger larry.fin...@lwfinger.net --- Index: wireless-testing/drivers/ssb/scan.c === --- wireless-testing.orig/drivers/ssb/scan.c +++ wireless-testing/drivers/ssb/scan.c @@ -354,7 +354,7 @@ int ssb_bus_scan(struct ssb_bus *bus, dev-bus = bus; dev-ops = bus-ops; - ssb_dprintk(KERN_INFO PFX + printk(KERN_INFO PFX Core %d found: %s (cc 0x%03X, rev 0x%02X, vendor 0x%04X)\n, i, ssb_core_name(dev-id.coreid), Please use KERN_DEBUG -- Greetings, Michael. ___ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/bcm43xx-dev ___ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
nuisance email
You probably recieved one or more emails that seemed to come from me, since yesterday afternoon. A spam bot got into my mail account and has sent out quite a few messages. One of them suggests a shopping site that seems too good to be true, it likely is. I had nothing to do with these messages and I'm sorry you've been troubled. Regards, John___ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
new shopping new life
Dear friend, I would like to introduce a really good company that mainly do the electornic products trade. Now the company is doing promotion,all of it's products are sold nearly as same as their cost. It redeners the best service to customers,it provide you original products which is good quality,and what's more,the pricewill give you a big surprise! It is realy a good opportunity for doing shopping.Just grasp the opportunity,or there will be no more than that! The web address: www.bvncn.com___ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
Re: I need some help stabaizing b43 for a 4306
I want to thank you guys once again for your advice, last week on my BCM4306 problem. I've tried 20dBm, 15, 12, and 10dBm, with varying degrees of success. Which, is just a fancy way of saying, no real success. I'm going back to the unpatched, 2-23 sources of last week to get to a known state and will try the open source firmware which is reported to work with b43. If it doesn't, and frankly, I'm not hopefull, is there any way of going back to bcm43xx. It'd be a shame to abandon a card which worked perfectly well, before, even if it's not as open as we'd like. A lot of us are stuck with this device in otherwise perfectly good laptops. One more question and i hope you don't mind, it's off topic but it's related to my quest. I hadven't done any C programming in 10 years but when I used to do a lot of it, if I patche a source file and ran 'make', it figured out what needed to be done and just recompiled and liknked the changed bits. Over the last week, every time I changed phy_g.c, make calmly repied, 'nothing to be done.' What am I forgetting? All the best, John - Original Message From: Larry Finger larry.fin...@lwfinger.net To: John Mountcastle mtcs...@yahoo.com Cc: Michael Buesch m...@bu3sch.de; bcm43xx-dev@lists.berlios.de Sent: Monday, February 23, 2009 2:30:05 PM Subject: Re: I need some help stabaizing b43 for a 4306 John Mountcastle wrote: Can I just edit Michael's patch and apply it again just like I did the first time: cd $(COMPAT_SRC_DIR) patch -p1 $(PATCH_FILE) Regards John Yes. Larry ___ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
Re: I need some help stabaizing b43 for a 4306
Here's a thought, every time I unload b43 and reload it, my indicated signal strength (NetworkManager) is 85%. Shortly it drops off to 65%, then 51%. then it usually fails. I ad to go find a wire because I couldn't keep the 4306 up, long enough to reach yahoo. Michael, I applied you patch and compiled. I'll install and load the ne drivers and let you know what TXmit power indicates. Larry, here's the SPROM you wanted. Password: sybill:~ # SPROM=$(find /sys -name ssb_sprom) sybill:~ # echo $SPROM /sys/devices/pci:00/:00:1e.0/:02:06.0/ssb_sprom sybill:~ # cat $SPROM 0140F4123C10204300800200021000189000944BA62C60369A1193FBA5FE3C003E000D000152 sybill:~ # - Original Message From: Larry Finger larry.fin...@lwfinger.net To: John Mountcastle mtcs...@yahoo.com Cc: Michael Buesch m...@bu3sch.de; bcm43xx-dev@lists.berlios.de Sent: Monday, February 23, 2009 10:31:05 AM Subject: Re: I need some help stabaizing b43 for a 4306 John, I would like to see what is in your SPROM concerning the power settings. Please run the following commands: SPROM=$(find /sys -name ssb_sprom) echo $SPROM sudo cat $SPROM and post the output. Thanks, Larry ___ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
Re: I need some help stabaizing b43 for a 4306
OK, it sounds like a pretty tough nut to crack. I'm not sure if I can get a new card as it's kinda built into this laptop, or, maybe I'm wrong. Do you think I might be able to crack this thing open and put in a replacement device? Anyway, thanks a lot for your help. I learned a little in the bargain so I won't call the adventure a total loss. Probably my best move is just to go back to openSUSE 10.3 with the bcm43xx driver. Or I might try blacklisting b43 and usng ndiswrapper. I've used it before with excellent results. Regards John - Original Message From: Michael Buesch m...@bu3sch.de To: Larry Finger larry.fin...@lwfinger.net Cc: John Mountcastle mtcs...@yahoo.com; bcm43xx-dev@lists.berlios.de Sent: Monday, February 23, 2009 1:47:39 PM Subject: Re: I need some help stabaizing b43 for a 4306 On Monday 23 February 2009 18:36:12 Larry Finger wrote: More food for thought: My BCM4306/2 in a Cardbus format has a maxpbg value that translates to 10 dBm. It routinely transmits at 5-6 Mb/s in my normal setting. When I reprogrammed the SPROM to 20 dBm, it would start out at the above rate, then rapidly drop to 1 Mb/s. It looked as if the radio was overheating. This has nothing to do with overheating, so let's reduce FUD a bit. ;) The attenuation is not linear. There's a certain threshold where it inverts. Let's explain it in simple numbers. Let's say the attenuation A is from 0-9. The actual power output O would looke something like this: A= 0 1 2 3 4 5 6 7 8 9 O= 0 1 2 3 4 4 3 2 1 0 This is true for broadcom cards and some atheros cards. So as we decrease attennuation, there's a point where output power is inverted. In this simple example we must not go below an A value of 5. The actual threshold is different for each device and you're pretty much likely hitting it. The control algorithm is unaware of this threshold and it will scale the attenuation down which results in lower power which will result in scaling down... So John, back to your problem. I think you're pretty much lost with it. Like thousands of other people (including me) are lost with crappy broadcom devices. I suggest you go and buy something sane instead. I cannot help you anymore with this. -- Greetings, Michael. ___ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
Re: I need some help stabaizing b43 for a 4306
Can I just edit Michael's patch and apply it again just like I did the first time: cd $(COMPAT_SRC_DIR) patch -p1 $(PATCH_FILE) Regards John - Original Message From: Larry Finger larry.fin...@lwfinger.net To: John Mountcastle mtcs...@yahoo.com Cc: Michael Buesch m...@bu3sch.de; bcm43xx-dev@lists.berlios.de Sent: Monday, February 23, 2009 1:54:54 PM Subject: Re: I need some help stabaizing b43 for a 4306 John Mountcastle wrote: Yes, I'd say results are mixed. B43 now says it wants 20dBm and it's getting 16.75 but iwconfig says rate is only 1Mb/s and I can't keep the link up long enough to be usefull. If the SPROM was wrong all along, why does it work fine with bcm43xx? Many parts of the power control have undergone major changes. For most interfaces, these changes made them work better; however, yours may be different. If you want to try what happens with lower power, you can change the line in Michaels patch that looks like +max_pwr = INT_TO_Q52(20); You started with the equivalent of INT_TO_Q52(15) - what happens if the 20 is replaced by 12 or 10? Larry ___ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
Re: I need some help stabaizing b43 for a 4306
b43-phy0 ERROR: PHY transmission error b43-phy0 debug: Current TX power output: 14.75 dBm, Desired TX power output: 15.0 dBm b43-phy0 debug: Tuning TX-power to bbatt(5), rfatt(4), tx_control(0x30), tx_bias(0x00), tx_magn(0x00) b43-phy0 ERROR: PHY transmission error b43-phy0 ERROR: PHY transmission error martian source 255.255.255.255 from 192.168.0.1, on dev wlan0 ll header: ff:ff:ff:ff:ff:ff:00:30:44:02:76:d2:08:00 b43-phy0 debug: Current TX power output: 15.0 dBm, Desired TX power output: 15.0 dBm b43-phy0 debug: Current TX power output: 15.0 dBm, Desired TX power output: 15.0 dBm b43-phy0 debug: Current TX power output: 15.0 dBm, Desired TX power output: 15.0 dBm b43-phy0 debug: Current TX power output: 15.0 dBm, Desired TX power output: 15.0 dBm b43-phy0 debug: Current TX power output: 15.0 dBm, Desired TX power output: 15.0 dBm - Original Message From: Michael Buesch m...@bu3sch.de To: John Mountcastle mtcs...@yahoo.com Cc: bcm43xx-dev@lists.berlios.de Sent: Sunday, February 22, 2009 3:58:21 PM Subject: Re: I need some help stabaizing b43 for a 4306 On Sunday 22 February 2009 21:45:44 John Mountcastle wrote: Michael, configuring a new kernel was a real blast from the past. I haven't done that in several years but I think I got it done. Funny thing, when I booted the debug kernel, the interface was rock solid for almost an hour, not one single error, then it went sour again. I switched on br43 debugging as you suggested, about half way through the capture. You can see the Tx-mit power messages start. About 60% into the capture I unloaded b43 (rmmod/insmod) and reloaded it in order to get the interface to come back up. I hope you can tell me something about what if anything this capture tells us? Or, the net step in debuggging b43-phy1 debug: Current TX power output: 14.75 dBm, Desired TX power output: 15.0 dBm b43-phy1 debug: Tuning TX-power to bbatt(5), rfatt(4), tx_control(0x30), tx_bias(0x00), tx_magn(0x00) The first thing I notice, of course, is the very low TX power output of 15dBm. Can you check iwconfig to check which TX power was selected? It should write something like this: wlan0 IEEE 802.11bg ESSID: Mode:Managed Frequency:2. GHz Access Point: X Bit Rate=XX Mb/s Tx-Power=20 dBm . So if there's a higher value than 15, please tell me so. If the value is 15 there, too. Try manually setting the TX power: iwconfig wlan0 txpower 20 This might be a bug in the card's PROM or possibly the code reading it. I also have a card where it incorrectly reads the TX power value (but it's 19dBm for me, so it doesn't matter that much for me...). Besides that, please tell me exactly at which point in the log messages it starts to break. That's essential information for me. Also, moving to latest b43 development code might help, too. It has improved TX power control code which might scale a bit better on your device. You can do so by downloading compat-wireless: http://wireless.kernel.org/en/users/Download -- Greetings, Michael. ___ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/bcm43xx-dev