Bug 554823 - automate b43-fwcutter
Summary: automate b43-fwcutter
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: Network (show other bugs)
Version: Factory
Hardware: Other Other
: P4 - Low : Enhancement with 5 votes (vote)
Target Milestone: ---
Assignee: Vladimir Botka
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-12 09:10 UTC by Michal Zugec
Modified: 2017-08-10 19:33 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Zugec 2009-11-12 09:10:32 UTC
For b43 wireless drivers we have b43-fwcutter to fetch firware. But this process is not automated. I suggest to execute /usr/sbin/install_bcm43xx_firmware as package postinstall script (something similar we have with MS fonts).

As workaround we have this implemented in YaST (Factory version) - when you configure such device, you're asked to install && execute this fetcher. But for example NetworkManager users don't use YaST - they should to do that manually.
Comment 1 Christopher Stender 2009-12-02 13:44:46 UTC
One of the problems is that you need a working internet connection to be able to download the firmware files (of course this is also the case if you run install_bcm43xx_firmware manually). The b43fwcutter provides a 'Supplements' tag and gets installed without any user interaction. I don't like the idea of downloading and installing proprietary firmware without asking the user. IMHO we need a tool which offers several firmware files to download.
Comment 2 Christopher Stender 2009-12-02 14:30:29 UTC
I hope that we can get rid of the proprietary firmware in openSUSE 11.3. Therefore we shouldn't implement things which are used only in factory. If we cannot use the open source firmware for 11.3 we can think about a pullin-package which only execute the install_bcm43xx_firmware script. Closing as wontfix.
Comment 3 Rastislav Krupansky 2009-12-02 18:51:50 UTC
If you do not use proprietary firmware, can you try it via pullin-package, like pullin-flash-player, or pullin-msttf-fonts?
Sorry, but i don't understand why you closed as wontfix, if it's possible via pullin-package as you mentioned in comment 2.
I don't know, whether you've tried Ubuntu, ever.
Ubuntu launches install wizard for fetch and extract firmware after installing b43 fwcutter package. It's very easy and usefull. That means no more i have to run usr/sbin/install_bcm43xx_firmware manually.
Comment 4 Christopher Stender 2009-12-02 19:22:12 UTC
The main reason why I closed this bug is that I don't have time to work on it. If somebody provide a pullin-package (and an additional update for b43-fwcutter which require this pullin-package) I'm fine with it.
Comment 5 Vladimir Botka 2009-12-10 20:03:56 UTC
I take over. I will work on it if there will be any time.
Comment 6 Rastislav Krupansky 2009-12-10 20:25:00 UTC
(In reply to comment #5)
> I take over. I will work on it if there will be any time.

Thanks a lot. That would be great. I appreciate it.
Comment 7 Vladimir Botka 2009-12-10 22:11:20 UTC
For the record i post links from my notices. I am not sure about the licenses in [2], but then packman could be an option.

[1] http://wireless.kernel.org/en/users/Drivers/b43#device_firmware
[2] http://www.ing.unibs.it/openfwwf/
Comment 8 Mariusz Fik 2010-03-24 13:13:26 UTC
Open Source firmware is licensed on GPLv2.
What about https://features.opensuse.org/306619

Package with the open source firmware is ready in my home repo.
Comment 9 Vladimir Botka 2010-03-24 13:28:58 UTC
(In reply to comment #8)
> Open Source firmware is licensed on GPLv2.
Would it be possible to point me to the license statement ?
Comment 10 Mariusz Fik 2010-03-24 13:31:41 UTC
http://www.ing.unibs.it/openfwwf/

/*
 * Opensource firmware for BCM43xx devices with Wireless-Core Revision 5
 *
 *  Copyright (C) 2009          University of Brescia
 *
 *  Copyright (C) 2008, 2009    Lorenzo Nava <navalorenx@gmail.com>
 *                              Francesco Gringoli <francesco.gringoli@ing.unibs.it>
 *  Copyright (C) 2008          Michael Buesch <mb@bu3sch.de>
 *
 *
 *   This program is free software; you can redistribute it and/or
 *   modify it under the terms of the GNU General Public License
 *   version 2, as published by the Free Software Foundation.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 */
Comment 11 Vladimir Botka 2010-03-24 14:12:07 UTC
(In reply to comment #10)
> http://www.ing.unibs.it/openfwwf/
<snip>
>  *   This program is free software; you can redistribute it and/or
>  *   modify it under the terms of the GNU General Public License
>  *   version 2, as published by the Free Software Foundation.

Thank you ! You got the package already according to the Comment #8. Would it be possible to submit the package into the driver:wireless ? Or just point me to your package.
Comment 12 Mariusz Fik 2010-03-24 14:33:24 UTC
Ok. I made a submitreq of b43-tools and b43-openfwwf to driver:wireless.

Btw, my repo:
b43-tools → https://build.opensuse.org/package/show?package=b43-tools&project=home%3AFisiu

b43-openfwwf → https://build.opensuse.org/package/show?package=b43-openfwwf&project=home%3AFisiu
Comment 13 Vladimir Botka 2010-03-30 09:36:22 UTC
Ciaran, is ti OK to distribute the package ? The package is now in OBS [1]. This is the license [2]. The issue is also tracked in FATE 306619.


[1] driver:wireless/b43-openfwwf

[2]
/*
 * Opensource firmware for BCM43xx devices with Wireless-Core Revision 5
 *
 *  Copyright (C) 2009          University of Brescia
 *
 *  Copyright (C) 2008, 2009    Lorenzo Nava <navalorenx@gmail.com>
 *                              Francesco Gringoli <francesco.gringoli@ing.unibs.it>                                    
 *  Copyright (C) 2008          Michael Buesch <mb@bu3sch.de>
 *
 *
 *   This program is free software; you can redistribute it and/or
 *   modify it under the terms of the GNU General Public License
 *   version 2, as published by the Free Software Foundation.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 */
Comment 14 Rastislav Krupansky 2010-05-07 20:24:55 UTC
No progress here in M6. Any news?
I tried Ubuntu 10.04. They use the hardware configuration tool, which detects hardware and installs drivers, such as b43. It´s easy way for users.
Comment 15 Rastislav Krupansky 2010-09-10 05:51:19 UTC
Ping. Anybody is working on this request here?
Btw, Broadcom releasing fully open-source wifi driver. More here:
http://marc.info/?l=linux-wireless&m=128404502308426&w=3
http://www.phoronix.com/scan.php?page=news_item&px=ODU4Mg
Comment 16 Vladimir Botka 2010-09-10 07:06:27 UTC
(In reply to comment #15)
> Btw, Broadcom releasing fully open-source wifi driver.

Yes, everybody's very exited about that ! Is the firmware OS too ? Then we do not need the b43-fwcutter anymore.
Comment 17 Ciaran Farrell 2010-09-10 07:20:48 UTC
It looks ok to me. Make a request to factory to actually start the review process.
Comment 18 Vladimir Botka 2010-09-10 10:24:16 UTC
(In reply to comment #17)
> It looks ok to me. Make a request to factory to actually start the review
> process.

From the source-code it seems that the firmware shall be downloaded.

/staging-next-2.6/drivers/staging/bcm> grep fw_ Adapter.h
        struct semaphore        fw_download_sema;
        BOOLEAN                         fw_download_done;
        wait_queue_head_t       ioctl_fw_dnld_wait_queue;
        BOOLEAN                         waiting_to_fw_download_done;
        pid_t                           fw_download_process_pid;
Comment 19 Ciaran Farrell 2010-09-10 13:12:24 UTC
We would have expected the firmware to be downloaded onto the hardware - this is the reason that firmware with an incompatible license can be even shipped (i.e. the firmware license allows free redistribution but no modification).
Comment 20 Rastislav Krupansky 2010-09-10 20:00:37 UTC
(In reply to comment #16)
> (In reply to comment #15)
> > Btw, Broadcom releasing fully open-source wifi driver.
> 
> Yes, everybody's very exited about that ! Is the firmware OS too ? Then we do
> not need the b43-fwcutter anymore.

It seems like we need the b43-fwcutter so far, because it supports only 802.11n BCM4313, BCM43224, and BCM43225 chipsets.
In my case i have 802.11g BCM 4318.
Comment 21 Vladimir Botka 2010-09-11 10:30:29 UTC
(In reply to comment #20)
> It seems like we need the b43-fwcutter so far

The b43-fwcutter will stay in the distribution.
Comment 22 Tomáš Chvátal 2017-08-10 19:33:41 UTC
Seems most of the stuff is integrated in Leap/TW. Please open a new report if there are still some changes needed against the respective product.