Re: brcmsmac driver only works when sitting next to the AP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



that is great. Ok, do you have the kernel sources on your system ? If so, cd
to the root of the source tree and issue these commands to build the driver:

make SUBDIRS=drivers/staging/brcm80211 clean
make SUBDIRS=drivers/staging/brcm80211 modules

Done!

perfect !

if that works, do a 'modprobe mac80211' followed by a 'insmod
drivers/staging/brcm80211/brcmutil/brcmutil.ko'

root@stt300:/usr/src/linux-source-3.0.0# insmod
drivers/staging/brcm80211/brcmutil/brcmutil.ko
insmod: can't read 'drivers/staging/brcm80211/brcmutil/brcmutil.ko':
No such file or directory

Ah, okay...
root@stt300:/usr/src/linux-source-3.0.0# insmod
drivers/staging/brcm80211/util/brcmutil.ko

Ah, the source tree had some renaming. It is named 'brcmutil' in my source but in the source you are using it is still named 'util'.

root@stt300:/usr/src/linux-source-3.0.0#

followed by a 'insmod drivers/staging/brcm80211/brcmsmac/brcmsmac.ko'.

Mmm... this one returned an error:

root@stt300:/usr/src/linux-source-3.0.0# insmod
drivers/staging/brcm80211/brcmsmac/brcmsmac.ko
insmod: error inserting
'drivers/staging/brcm80211/brcmsmac/brcmsmac.ko': -1 Unknown symbol in
module

And dmesg shows:

[16235.934894] brcmsmac: Unknown symbol bcm_chspec_malformed (err 0)
[16235.934985] brcmsmac: Unknown symbol bcm_pktq_init (err 0)
[16235.935035] brcmsmac: Unknown symbol bcm_bitcount (err 0)
[16235.935092] brcmsmac: Unknown symbol bcm_pktq_peek_tail (err 0)
[16235.935130] brcmsmac: Unknown symbol bcm_pktq_mdeq (err 0)
[16235.935283] brcmsmac: Unknown symbol bcm_pktq_pdeq (err 0)
[16235.935329] brcmsmac: Unknown symbol bcm_chspec_ctlchan (err 0)
[16235.935375] brcmsmac: Unknown symbol bcm_pkt_buf_free_skb (err 0)
[16235.935414] brcmsmac: Unknown symbol bcm_iovar_lencheck (err 0)
[16235.935457] brcmsmac: Unknown symbol bcm_pkttotlen (err 0)
[16235.935519] brcmsmac: Unknown symbol bcm_ether_atoe (err 0)
[16235.935581] brcmsmac: Unknown symbol bcm_crc8 (err 0)
[16235.935636] brcmsmac: Unknown symbol bcm_pkt_buf_get_skb (err 0)
[16235.935677] brcmsmac: Unknown symbol bcm_pktq_penq_head (err 0)
[16235.935735] brcmsmac: Unknown symbol bcm_pktq_pdeq_tail (err 0)
[16235.935774] brcmsmac: Unknown symbol bcm_pktq_pflush (err 0)
[16235.935827] brcmsmac: Unknown symbol bcm_pktq_penq (err 0)
[16235.935882] brcmsmac: Unknown symbol bcm_pktq_flush (err 0)

These symbols are contained in the 'brcmutil.ko' module. Can you check with lsmod that brcmutil is indeed loaded ?

Thanks, Roland.

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux