Package: firmware-b43-installer
Version: 1:019-2
Severity: wishlist
Tags: patch

Hi,
I've written a patch to install the newest firmware which has been
supported by b43-fwcutter since version 1:018 (released in 2013) and
attached the patch to this email. b43-fwcutter 1:019-2 in jessie already
supported installing this firmware offline.

Upstream referred me to Debian [1] for this and confirmed that 784.2 is
the latest version of firmware available [2].

The patch I attached also corrects the description of the firmware
version. The description string listed the old postinst referred to the wl
driver version.

I changed the depends for those upgrading as b43-fwcutter before 018 will
not support this newer firmware. Though Debian may not need this,
downstream distributions might.

Two other issues I may later file/append to bugs on:
1) The listed Debian Package Source Repository (Browseable)[3] only shows
1:018 whereas 1:019 is in the package tracking system.

2) Upstream now lists more supported devices [4] than what the postinst has.

Thanks,

     Drew Daniels
Blog: http://www.boxheap.net/ddaniels/blog/

[1] http://lists.infradead.org/pipermail/b43-dev/2016-January/003866.html
[2] http://lists.infradead.org/pipermail/b43-dev/2016-January/003867.html
[3] http://anonscm.debian.org/cgit/collab-maint/b43-fwcutter.git
[4] http://linuxwireless.sipsolutions.net/en/users/Drivers/b43/
diff -uprwd old/debian/control new/debian/control
--- old/debian/control	2016-01-06 23:06:51.361668328 -0600
+++ new/debian/control	2016-01-06 23:07:21.241816495 -0600
@@ -21,7 +21,7 @@ Description: utility for extracting Broa
 Package: firmware-b43-installer
 Section: contrib/kernel
 Architecture: all
-Depends: b43-fwcutter (>= ${source:Version}), bzip2, wget, ${misc:Depends} 
+Depends: b43-fwcutter (>= 1:018-1), bzip2, wget, ${misc:Depends} 
 Replaces: firmware-b43-lpphy-installer (<= 1:015-14)
 Breaks: firmware-b43-lpphy-installer (<= 1:015-14)
 Description: firmware installer for the b43 driver
diff -uprwd old/debian/firmware-b43-installer.postinst new/debian/firmware-b43-installer.postinst
--- old/debian/firmware-b43-installer.postinst	2016-01-06 22:34:38.164082118 -0600
+++ new/debian/firmware-b43-installer.postinst	2016-01-06 22:45:04.367187292 -0600
@@ -22,7 +22,7 @@ if [ -n "$APT_PROXIES" ]; then
         eval export $APT_PROXIES
 fi
 
-wget --timeout=60 http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
+wget --timeout=60 http://www.lwfinger.com/b43-firmware/broadcom-wl-6.30.163.46.tar.bz2
 if [ $? -ne 0 ]; then
 	echo "Some problem occurred during the firmware download. Please check your internet connection." 
 	exit 0
@@ -32,9 +32,8 @@ if [ $? -ne 0 ]; then
 	   rm -rf /lib/firmware/b43
 	fi
 fi
-tar xvjf broadcom-wl-5.100.138.tar.bz2
-cd broadcom-wl-5.100.138/linux
-b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o
+tar xvjf broadcom-wl-6.30.163.46.tar.bz2
+b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" broadcom-wl-6.30.163.46.wl_apsta.o
 rm -rf $tmp
 }
 
@@ -125,7 +124,7 @@ elif [ "$nottested" ]; then
         echo "This card is actually not tested. Please install the driver manually."
         exit 0
 elif [ "$latest" ]; then
-        echo "This card work with newer 5.100.138 firmware. Trying to install it."
+        echo "This card work with newer 666.2 or 784.2 firmware. Trying to install it."
         latest_firmware
         exit 0
 fi

Reply via email to