Talk:HCL/Network Adapters (Wireless)/Broadcom BCM43xx
From openSUSE
I'm here ho ask your help.. here wl spec file.. from my side everything looks to be ok, but i'm still not able to understand why broadcom-wl does not call the correct kmp package:
# norootforbuild
%ifarch x86_64
%define driverarch 64
%else
%define driverarch 32
%endif
Name: broadcom-wl
BuildRequires: kernel-source kernel-syms module-init-tools
License: Proprietary
Group: System/Kernel
Summary: Wireless driver for Broadcom 43xx series of chips
Version: 5.10.27.14
Release: 5.pm.3
Source0: hybrid-portsrc_5_10_27_14.tar.bz2
Source1: README.SuSE
Source2: broadcom-wl-blacklist
Source3: LICENSE.txt
Patch0: %{name}-5.10.27.6-hidden-essid.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: http://www.broadcom.com/support/802.11/linux_sta.php
Provides: wl-kmod-common = %{version}
Requires: broadcom-wl-kmp
ExclusiveArch: %ix86 x86_64
%suse_kernel_module_package kdump um
%description
These packages contain Broadcom's IEEE 802.11a/b/g/n hybrid Linux®
device driver for use with Broadcom's BCM4311-, BCM4312-, BCM4321-,
and BCM4322-based hardware.
NOTE: You must read the LICENSE.TXT file before using this software.
%package KMP
Group: System/Kernel
Summary: Wireless driver for Broadcom 43xx sreies of chips
%description KMP
These packages contain Broadcom's IEEE 802.11a/b/g/n hybrid Linux®
device driver for use with Broadcom's BCM4311-, BCM4312-, BCM4321-,
and BCM4322-based hardware.
NOTE: You must read the LICENSE.TXT file before using this software.
%debug_package
%prep
%setup -q -n hybrid-portsrc_5_10_27_14
%patch0 -p0
mv lib/wlc_hybrid.o_shipped.%{driverarch} lib/wlc_hybrid.o_shipped
set -- *
mkdir source
mv "$@" source/
mkdir obj
%build
export EXTRA_CFLAGS='-DVERSION=\"%version\"'
for flavor in %flavors_to_build; do
rm -rf obj/$flavor
cp -r source obj/$flavor
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules \
M=$PWD/obj/$flavor
done
%install
%__rm -rf %buildroot
# backlist
mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d/
mkdir -p %{buildroot}%{_docdir}/%{name}/
install -p -m0644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/modprobe.d/
install -p -m0644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}/
install -p -m0644 %{SOURCE3} %{buildroot}%{_docdir}/%{name}/
# Kernel module
export INSTALL_MOD_PATH=%{buildroot}
export INSTALL_MOD_DIR=updates
for flavor in %flavors_to_build; do
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install \
M=$PWD/obj/$flavor
done
%clean
%__rm -rf %buildroot
%files
%defattr(-,root,root)
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/LICENSE.txt
%{_docdir}/%{name}/README.SuSE
%config(noreplace) %{_sysconfdir}/modprobe.d/broadcom-wl-blacklist
%changelog
*bla bla bla... we don't care changelog >:)
--Anubisg1 (Andrea package maintainer)
I added a keyword of "wl.ko" to this article. Why doesn't a search for wl.ko bring up this article?
nice idea :)
--Anubisg1 16:51, 22 February 2009 (UTC)
I installed an 11.0 suse on my Dell Latitude 100L with a Sony Ericsson GC89 PCM-CIA wireless 802-11g (Broadcom 43xx type). Then i came to a SUSE 11.1 upgrade via .iso (DvD-torrent downloaded), and i can't make the insmod wl.ko work. I tried insmod /lib/modules/2.6.27.7-9-pae/updates/wl.ko and recieved the mensage: insmod: error inserting '/lib/modules/2.6.27.7-9-pae/updates/wl.ko': -l Unknown symbol in module. My 'uname -r' answers: 2.6.27.7-9-pae, can anybody help me?
just try to re-install kernel and all kmp packages the retry.. have no idea right know ... sorry
--Anubisg1 16:51, 22 February 2009 (UTC)
I had the same error but after "modprobe crypt tkip" it works! I watched here http://www.htmlstaff.org/ver.php?id=23201 (sorry for my english:) ) Daniele

