Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-16 Thread Marc Haber
Hi,

On Mon, Mar 15, 2010 at 07:41:02PM -0500, Larry Finger wrote:
 On 03/15/2010 06:20 PM, Marc Haber wrote:
  On Thu, Mar 04, 2010 at 06:54:23PM +0100, Marc Haber wrote:
  when the broadcom-sta driver didn't compile with 2.6.33 I decided to
  give b43 a new try. I have a Lenovo Ideapad S12, which has a BCM4312
  with LP Phy (14e4:4315). I am using Debian unstable.
 
  When I load the module, a new interface wlan0 appears, but iwlist scan
  says Interface doesn't support scanning. Looks like the device isn't
  properly initialized.
  
  The issue was that CRDA is not yet in Debian, and thus the kernel
  needs to have CONFIG_WIRELESS_OLD_REGULATORY=y. With this setting, the
  interface can scan. There should be a clearer error message about this.
 
 I feel that Debian should get their act together. The old regulatory method 
 was
 left in the kernel for several cycles so that the distros could adapt. Only
 Debian failed to do so.

Debian has a severe manpower problem in many fields.

  However, the interface doesn't work. Most prominent error is:
  Mar 15 18:27:12 feather kernel: [  505.012549] b43-phy0 ERROR: PHY 
  transmission error
  (this is with he chip forced to PIO).
 
 Are there lots of PHY Transmission errors, os just a few? We have never
 understood why these errors occur in the firmware.

grep ERROR: PHY syslog | wc -l
10

 What version are you using?

Mar 15 18:27:45 feather kernel: [  538.208462] b43-phy0: Loading firmware 
version 478.104 (2008-07-01 00:50:23)

I don't have the system in question at hand now and therefore cannot
check where the actual file is pulled from, but I clearly remember
building b43-firmwarecutter from the VCS and using it on the exact
version of the broadcom driver package mentioned in the instructions.

I'll check back later today, probably.

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-15 Thread Marc Haber
Hi,

On Thu, Mar 04, 2010 at 06:54:23PM +0100, Marc Haber wrote:
 when the broadcom-sta driver didn't compile with 2.6.33 I decided to
 give b43 a new try. I have a Lenovo Ideapad S12, which has a BCM4312
 with LP Phy (14e4:4315). I am using Debian unstable.
 
 When I load the module, a new interface wlan0 appears, but iwlist scan
 says Interface doesn't support scanning. Looks like the device isn't
 properly initialized.

The issue was that CRDA is not yet in Debian, and thus the kernel
needs to have CONFIG_WIRELESS_OLD_REGULATORY=y. With this setting, the
interface can scan. There should be a clearer error message about this.

However, the interface doesn't work. Most prominent error is:
Mar 15 18:27:12 feather kernel: [  505.012549] b43-phy0 ERROR: PHY transmission 
error
(this is with he chip forced to PIO).

Any ideas about this?

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-15 Thread Larry Finger
On 03/15/2010 06:20 PM, Marc Haber wrote:
 Hi,
 
 On Thu, Mar 04, 2010 at 06:54:23PM +0100, Marc Haber wrote:
 when the broadcom-sta driver didn't compile with 2.6.33 I decided to
 give b43 a new try. I have a Lenovo Ideapad S12, which has a BCM4312
 with LP Phy (14e4:4315). I am using Debian unstable.

 When I load the module, a new interface wlan0 appears, but iwlist scan
 says Interface doesn't support scanning. Looks like the device isn't
 properly initialized.
 
 The issue was that CRDA is not yet in Debian, and thus the kernel
 needs to have CONFIG_WIRELESS_OLD_REGULATORY=y. With this setting, the
 interface can scan. There should be a clearer error message about this.

I feel that Debian should get their act together. The old regulatory method was
left in the kernel for several cycles so that the distros could adapt. Only
Debian failed to do so.

 However, the interface doesn't work. Most prominent error is:
 Mar 15 18:27:12 feather kernel: [  505.012549] b43-phy0 ERROR: PHY 
 transmission error
 (this is with he chip forced to PIO).

Are there lots of PHY Transmission errors, os just a few? We have never
understood why these errors occur in the firmware. What version are you using?

Larry
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-08 Thread Marc Haber
Hi Larry,

On Sat, Mar 06, 2010 at 07:57:57AM -0600, Larry Finger wrote:
 On 03/06/2010 04:07 AM, Marc Haber wrote:
  On Fri, Mar 05, 2010 at 05:54:24PM +, Chris Vine wrote:
  You can get the Ideapad to work by forcing use of the PIO however.
  
  How exactly do I do this? I remember trying by adding some options to
  /etc/modprobe.d/b43, but the module didn't seem to understand this. I
  don't have the ideapad at hand at the moment, so I cannot look, but I
  can try tonight.
 
 Unless you are getting the DMA error, choosing PIO will not help. If you are
 getting that error, it will say so in the dmesg output.

I have looked again, and the fatal DMA error is indeed there. It
suggested setting CONFIG_B43_FORCE_PIO=y, which I did despite of the
very clear warnings given in the make menuconfig help.

However, the DMA error has vanished, but my B43 still says that the
interface doesn't support scanning.

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-08 Thread Gábor Stefanik
On Mon, Mar 8, 2010 at 11:28 AM, Marc Haber mh+bcm43xx-...@zugschlus.de wrote:
 Hi Larry,

 On Sat, Mar 06, 2010 at 07:57:57AM -0600, Larry Finger wrote:
 On 03/06/2010 04:07 AM, Marc Haber wrote:
  On Fri, Mar 05, 2010 at 05:54:24PM +, Chris Vine wrote:
  You can get the Ideapad to work by forcing use of the PIO however.
 
  How exactly do I do this? I remember trying by adding some options to
  /etc/modprobe.d/b43, but the module didn't seem to understand this. I
  don't have the ideapad at hand at the moment, so I cannot look, but I
  can try tonight.

 Unless you are getting the DMA error, choosing PIO will not help. If you are
 getting that error, it will say so in the dmesg output.

 I have looked again, and the fatal DMA error is indeed there. It
 suggested setting CONFIG_B43_FORCE_PIO=y, which I did despite of the
 very clear warnings given in the make menuconfig help.

 However, the DMA error has vanished, but my B43 still says that the
 interface doesn't support scanning.

That message sounds like you are using iwlist to scan - try iw instead.


 Greetings
 Marc

 --
 -
 Marc Haber         | I don't trust Computers. They | Mailadresse im Header
 Mannheim, Germany  |  lose things.    Winona Ryder | Fon: *49 621 72739834
 Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190
 ___
 Bcm43xx-dev mailing list
 Bcm43xx-dev@lists.berlios.de
 https://lists.berlios.de/mailman/listinfo/bcm43xx-dev




-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-08 Thread Gábor Stefanik
2010/3/8 Marc Haber mh+bcm43xx-d...@zugschlus.de:
 Hi,

 On Mon, Mar 08, 2010 at 12:54:44PM +0100, Gábor Stefanik wrote:
 That message sounds like you are using iwlist to scan - try iw instead.

 Yes, I am using iwlist. Has this changed? Have the tools like wicd
 and/or network-manager already adapted to use the new tools/API?

AFAIK not, but iw gives more meaningful error messages in case of a failure.


 On the box that I am currently using (which has a ipw2200, oh
 wonderful old times), iw list returns nl80211 not found. Which
 option is my kernel missing?

Probably nothing - rather, your libnl is too old (older than
1.0-pre8). However, you can't use iw with ipw2200 - it only supports
drivers that use cfg80211.


 Greetings
 Marc

 --
 -
 Marc Haber         | I don't trust Computers. They | Mailadresse im Header
 Mannheim, Germany  |  lose things.    Winona Ryder | Fon: *49 621 72739834
 Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190




-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-04 Thread William Bourque

Hello

Marc Haber wrote:
 Hi,
 
 when the broadcom-sta driver didn't compile with 2.6.33 I decided to
 give b43 a new try. I have a Lenovo Ideapad S12, which has a BCM4312
 with LP Phy (14e4:4315). I am using Debian unstable.
 
 When I load the module, a new interface wlan0 appears, but iwlist scan
 says Interface doesn't support scanning. Looks like the device isn't
 properly initialized.
 
Silly question, but did you try to up (ifconfig wlan0 up) the
interface before scanning?
My b43 won't allow scanning either unless it is upped. i don't know if
this behavior is intended (poke to the list) but it's not quite a problem.

- William
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-04 Thread Larry Finger
On 03/04/2010 12:49 PM, William Bourque wrote:
 
 Hello
 
 Marc Haber wrote:
 Hi,

 when the broadcom-sta driver didn't compile with 2.6.33 I decided to
 give b43 a new try. I have a Lenovo Ideapad S12, which has a BCM4312
 with LP Phy (14e4:4315). I am using Debian unstable.

 When I load the module, a new interface wlan0 appears, but iwlist scan
 says Interface doesn't support scanning. Looks like the device isn't
 properly initialized.

 Silly question, but did you try to up (ifconfig wlan0 up) the
 interface before scanning?
 My b43 won't allow scanning either unless it is upped. i don't know if
 this behavior is intended (poke to the list) but it's not quite a problem.

If you control the device with NetworkManager, it will bring it up. If you are
controlling it manually, then either an explicit ifup is required, or it is set
implicitly in the control file. That is distro dependent. For openSUSE, that
file is /etc/sysconfig/network/ifcfg-wlan0 where there is a line that says

STARTMODE='XX', where XX is auto, ifplugd, manual, or off.

Larry
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-04 Thread Marc Haber
On Thu, Mar 04, 2010 at 01:16:26PM -0600, Larry Finger wrote:
 CRDA is the user-space implementation of the regulatory database.

What will the b43 driver do without a CRDA user-space daemon? It's not
yet in Debian (see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536502).

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-04 Thread Marc Haber
On Thu, Mar 04, 2010 at 01:49:14PM -0500, William Bourque wrote:
 Silly question, but did you try to up (ifconfig wlan0 up) the
 interface before scanning?

I tried ip link set dev wlan0 up, which gave me a few more dmesg lines:
b43 ssb0:0: firmware: requesting b43/ucode15.fw
b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw
b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw
b43-phy0: Loading firmware version 478.108 (2008-07-01 00.50:23)
ADDRCONF(NETDEV_UP): wlan0: link is not ready

iwlist scan wlan0 still says 'doesn't support scanning

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-04 Thread Larry Finger
On 03/04/2010 03:46 PM, Marc Haber wrote:
 On Thu, Mar 04, 2010 at 01:16:26PM -0600, Larry Finger wrote:
 CRDA is the user-space implementation of the regulatory database.
 
 What will the b43 driver do without a CRDA user-space daemon? It's not
 yet in Debian (see
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536502).

I'm not an expert on the regulatory stuff, but if you do not have a list of
allowed frequencies listed as I posted, then I think that none are allowed.

There was compatibility code kept in the kernel for several cycles so that even
the slowest distros could get prepared. Perhaps the devs underestimated Debian.

Your best approach is to go to
http://linuxwireless.org/en/developers/Regulatory/CRDA, get and build a copy.

Larry
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-04 Thread Celejar
On Thu, 4 Mar 2010 22:46:10 +0100
Marc Haber mh+bcm43xx-...@zugschlus.de wrote:

 On Thu, Mar 04, 2010 at 01:16:26PM -0600, Larry Finger wrote:
  CRDA is the user-space implementation of the regulatory database.
 
 What will the b43 driver do without a CRDA user-space daemon? It's not
 yet in Debian (see
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536502).

b43 works perfectly fine with my 4318 on my Debian Sid system, without
CRDA installed.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator

___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-04 Thread Larry Finger
On 03/04/2010 04:53 PM, Celejar wrote:
 
 b43 works perfectly fine with my 4318 on my Debian Sid system, without
 CRDA installed.

What kernel version is in Sid?

Larry
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-04 Thread Celejar
On Thu, 04 Mar 2010 17:11:06 -0600
Larry Finger larry.fin...@lwfinger.net wrote:

 On 03/04/2010 04:53 PM, Celejar wrote:
  
  b43 works perfectly fine with my 4318 on my Debian Sid system, without
  CRDA installed.
 
 What kernel version is in Sid?

Currently some version of 2.6.32.  I should have noted that I actually
usually run self-built vanilla ones (from upstream mainline), but I'm
pretty sure that b43 works even when I use the Debian packaged ones
from the repos.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator

___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-04 Thread Gábor Stefanik
On Thu, Mar 4, 2010 at 11:36 PM, Marc Haber mh+bcm43xx-...@zugschlus.de wrote:
 On Thu, Mar 04, 2010 at 01:49:14PM -0500, William Bourque wrote:
 Silly question, but did you try to up (ifconfig wlan0 up) the
 interface before scanning?

 I tried ip link set dev wlan0 up, which gave me a few more dmesg lines:
 b43 ssb0:0: firmware: requesting b43/ucode15.fw
 b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw
 b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw
 b43-phy0: Loading firmware version 478.108 (2008-07-01 00.50:23)
 ADDRCONF(NETDEV_UP): wlan0: link is not ready

 iwlist scan wlan0 still says 'doesn't support scanning

Is your kernel compiled with WEXT scanning support? AFAIK it is
deprecated in 2.6.33 in favor of nl80211 (i.e. iw dev wlan0 scan),
so it is not auto-selected.


 Greetings
 Marc

 --
 -
 Marc Haber         | I don't trust Computers. They | Mailadresse im Header
 Mannheim, Germany  |  lose things.    Winona Ryder | Fon: *49 621 72739834
 Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190
 ___
 Bcm43xx-dev mailing list
 Bcm43xx-dev@lists.berlios.de
 https://lists.berlios.de/mailman/listinfo/bcm43xx-dev




-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-04 Thread Larry Finger
On 03/04/2010 05:33 PM, Celejar wrote:
 
 Currently some version of 2.6.32.  I should have noted that I actually
 usually run self-built vanilla ones (from upstream mainline), but I'm
 pretty sure that b43 works even when I use the Debian packaged ones
 from the repos.

It may fail with 2.6.33.
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: BCM4312 (14e4:4315) in Lenovo Ideapad S12 cannot scan with 2.6.33

2010-03-04 Thread Celejar
On Thu, 04 Mar 2010 17:52:15 -0600
Larry Finger larry.fin...@lwfinger.net wrote:

 On 03/04/2010 05:33 PM, Celejar wrote:
  
  Currently some version of 2.6.32.  I should have noted that I actually
  usually run self-built vanilla ones (from upstream mainline), but I'm
  pretty sure that b43 works even when I use the Debian packaged ones
  from the repos.
 
 It may fail with 2.6.33.

I'm currently using .33, and it works fine.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator

___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev