Ubuntu 11.04 and the (broken) broadcom drivers
So you’re stuck, you got a lappy with a broadcom wifi and you just installed ubuntu 11.04 and you can’t click activate on the additional drivers AND you don’t have wired interwebs? AND you get some “look in jockeyshorts log cuz some shit failed yo!” when you try to activate?
This is what I found…
/var/log/jockey.log said some crap about not being able to find the wl driver… ok
I found the broadcom driver source in /usr/src/bcmwl-5.100.82.38+bdcom/
Ok cool. But when I cd there and do make? OH AWESOME!!!
/src/wl/sys/wl_linux.c: In function ‘wl_attach’:
/src/wl/sys/wl_linux.c:485: error: implicit declaration of function ‘init_MUTEX’
potassium! lets edit that suckka.
sudo vi src/wl/sys/wl_linux.c
comment out that dumb ass line… and add something that works
/* this line don’t werk. pleh.
init_MUTEX(&wl->sem);
*/
sema_init(&wl->sem, 1);
exit out of vi… sudo make
w00t!
Now, I also did an sudo make install but I don’t think thats actually necessary… But do it anyway… now when you go to the System -> Administration -> Additional Drivers, choose Broadcom STA Wireless Driver and click ACTIVATE everything seems to magically work now.
Horay!
If this helped you, AWESOME, send me a beer.