"Modaliases" field missing from debian control file
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | b43-fwcutter (Ubuntu) |
High
|
Unassigned | ||
Bug Description
The b43 module is not listed as an option by the "additional drivers" section of the software-
However, if I'm reading things correctly, the firmware-
Modaliases: wl(pci:
This would be scanned by the ubuntu-
| Adam Smith (adamsmith) wrote : | #1 |
| Adam Smith (adamsmith) wrote : | #2 |
The attached is a simple patch. The modaliases files could be generated automatically by the debian rules file. It would work better if there weren't seperate b43/b43legacy packages and we could use the same alias as wl does.
| Adam Smith (adamsmith) wrote : | #3 |
Bug about the wl modaliases field: https:/
The attachment "Basic modaliases patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]
| tags: | added: patch |
| Adam Smith (adamsmith) wrote : | #5 |
The attached tells software-
| Adam Smith (adamsmith) wrote : | #6 |
Reboot patch for bcmwl - https:/
| Adam Smith (adamsmith) wrote : | #7 |
While we're at it, lets delete the directory properly.
| Adam Smith (adamsmith) wrote : | #8 |
A few more observations about my basic modaliases patch..... the aliases beginning ssb/bcma are inferior. In software-
I would highly recommend the the b43legacy package being turned into a dummy package, and letting the firmware-
| Adam Smith (adamsmith) wrote : | #9 |
Adding software-properties to the party since much of this involves them.
| affects: | software-properties → software-properties (Ubuntu) |
| Adam Smith (adamsmith) wrote : | #10 |
Mintdrivers (based on software-
There is one about firmware - https:/
One requesting an internet connection - https:/
| Adam Smith (adamsmith) wrote : | #11 |
FYI for anyone requiring background information on all this, the support of cards and a list of PCI ID's is here https:/
| Adam Smith (adamsmith) wrote : | #12 |
Back onto software-
| Adam Smith (adamsmith) wrote : | #13 |
Attached is a patch to make firmware-
The only problem I've found is due to the debconf value b43-fwcutter/
| Adam Smith (adamsmith) wrote : | #14 |
The modalias file was generated from the aliases of the ssb and bcma modules. I suppose I should of taken out the pci ids listed as not being supported ( https:/
One odditity I did notice was
alias pci:v000014A4d0
Note it is 14A4d not 14E4d like the others....dunno what all this is about!
Adam,
Generally this looks pretty good; but let's focus on just the modaliases issues for this bug. Can you file separate bug reports for the other problems?
As for software-
I'm adjusting the bug status accordingly.
| Changed in software-properties (Ubuntu): | |
| status: | New → Invalid |
| Changed in b43-fwcutter (Ubuntu): | |
| status: | New → Triaged |
| importance: | Undecided → High |
| Adam Smith (adamsmith) wrote : | #16 |
Thanks Mathieu for your interest in this.
If you use a patch similar to that in comment #2 then yes you could argue that is good enough to fix this (but it is much better to tell the user a reboot is needed too). However, it is not optimal. If you use modalises as in comment #13 then I think that needs changes in software-properties or yet more changes to the b43 installer package.
The problem is if people are experimenting, installing, removing then reinstalling the b43 installer package, they could be in the situation that the package is in the apt cache and can be installed without an internet connection. The download of the firmware will fail without an internet connection, but the user has no way of knowing this thanks to the fix in debian bug 781544
Now you could solve this by not deleting the firmware when the b43-firmware-
There is no point adding the modalises, without the other fixes, otherwise it is going to cause problems.
| Adam Smith (adamsmith) wrote : | #17 |
FYI, the reboot patch in comment #5 needs a slight adjustment because the commands are being run from a deleted directory/folder. I fixed this in the combined patch in comment #13.
| Adam Smith (adamsmith) wrote : | #18 |
I can provide a patch for what I was saying in comment #16, but I think it is just a one liner in the two postrm files. I think it would be sensible for software-
| Martin Pitt (pitti) wrote : | #19 |
Subscribing kernel team. Is this driver really something which we should offer to users via graphical means (and thus make it very easy)? It seems we've had three drivers (b43 with fwcutter, bcmwl, and now the relatively new bcma one). Which of these do we actually still support? We can't expect that users are qualified to pick between these three, that's our job.
| Changed in b43-fwcutter (Ubuntu): | |
| status: | Triaged → Incomplete |
| Martin Pitt (pitti) wrote : | #20 |
Unsubscribing sponsors for now. Let's please not change this until we have some clarity about the broadcom drivers.
| Launchpad Janitor (janitor) wrote : | #21 |
[Expired for b43-fwcutter (Ubuntu) because there has been no activity for 60 days.]
| Changed in b43-fwcutter (Ubuntu): | |
| status: | Incomplete → Expired |
| no longer affects: | software-properties (Ubuntu) |


So I've looked into this some more and the theory is sound. There are, however, a few stumbling blocks.
The first is software- properties- gtk is a bit rubbish because it doesn't provide much feedback about the package installation process. So if the firmware download fails then the firmware- b43-installer package is left in an unconfigured state, but the user is unaware of this. When you re-run the software- properties- gtk utility, the package is incorrectly marked as being used. There is even no error message when the download of the firmware- b43-installer package fails. So the user if left thinking "why isn't this working?". A message saying "please check your internet connection" is badly needed.
The modaliases line used by the wl driver captures the whole sweep of broadcom cards. So people with unsupported cards are told to install it. Gosh, no wonder people have so many problems with broadcom! When they install wl this automatically blacklists and removes the b43, ssb, bcma, etc modules. This adds to the next problem: what modaliases should firmware- b43-installer use?
Running the command:
modinfo b43 | perl -nae 'print "alias $1 b43\n" if /^alias:\s+(.*)$/'
gives
alias bcma:m04BFid081 2rev1Dcl* b43 2rev18cl* b43 2rev17cl* b43 2rev11cl* b43 rev10* b43 rev0F* b43 rev0D* b43 rev0C* b43 rev0B* b43 rev0A* b43 rev09* b43 rev07* b43 rev06* b43 rev05* b43
alias bcma:m04BFid081
alias bcma:m04BFid081
alias bcma:m04BFid081
alias ssb:v4243id0812
alias ssb:v4243id0812
alias ssb:v4243id0812
alias ssb:v4243id0812
alias ssb:v4243id0812
alias ssb:v4243id0812
alias ssb:v4243id0812
alias ssb:v4243id0812
alias ssb:v4243id0812
alias ssb:v4243id0812
These aliases work for ubuntu- driver/ software- properties- gtk until you blacklist b43/ssb/bcma or you rmmod them (like wl does). Then they are not found and the package is not matched. What we really need are aliases starting with pci, but how do we get these and correctly seperate them into the firmware- b43-installer and firmware- b43legacy- installer packages, accounting for revision numbers etc? I have to ask, but whose idea was it to create these seperate packages?! They've caused so much mayhem!
Also, in the modaliases file (e.g. debian/ firmware- b43-installer. modaliases) you can't use the name of an existing module (e.g. alias blahblahblah b43). If you do this the software- properties- gtk will not budge from the 'continue running a custom installed module' option. For testing I ended up using a file like so:
alias pci:v000014E4d* sv*sd*bc02sc80i * firmware- b43-installer
The final problem is with the b43 installer scripts. They don't rmmod/modprobe the b43/b43legacy modules therefore requiring a system reboot. Again, the user is not informed to do this. This feature should be added to the scripts.