kepler
Posts: 5
Joined: Sat Jan 05, 2013 2:50 pm

Problems with bcm43143 and raspbmc

Mon Mar 02, 2015 7:15 pm

I'm having no joy getting this working. The device shows up in lsusb:

Code: Select all

Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 007: ID 0a5c:bd1e Broadcom Corp. 
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Bus 001 Device 004: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 006: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 005: ID 1f4d:c803 G-Tek Electronics Group 
But I can't see any relevant module with lsmod (I'm not 100% sure what I'm looking for, but there are the same number of modules whether dongle is plugged in or not). ifconfig just shows eth0 and lo.

I followed the advice in this post http://www.raspberrypi.org/forums/viewt ... 43#p623433. which seems to have put the files in the right place:

Code: Select all

pi@raspbmc:/lib/firmware/brcm$ ls
bcm4329-fullmac-4.bin   brcmfmac43236b.bin        brcmfmac4334-sdio.bin
bcm43xx-0.fw            brcmfmac43241b0-sdio.bin  brcmfmac4335-sdio.bin
bcm43xx_hdr-0.fw        brcmfmac43241b4-sdio.bin  brcmfmac43362-sdio.bin
brcmfmac43143-sdio.bin  brcmfmac4329-sdio.bin     brcmfmac4354-sdio.bin
brcmfmac43143.bin       brcmfmac4330-sdio.bin
pi@raspbmc:/lib/firmware/brcm$
I've looked through dmesg but again can't see anything abnormal, but again I'm not quire sure what I'm looking for.

Any suggestions? This is kind of at the limits of my linux knowledge (it's changed a lot since I last tried to do anything serious with it).

Thanks

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2690
Joined: Thu Jul 11, 2013 2:37 pm

Re: Problems with bcm43143 and raspbmc

Mon Mar 02, 2015 7:19 pm

Is this a retail device? Can you post a picture?

Also, the output of dmesg may be more illuminating.
Rockets are loud.
https://astro-pi.org

kepler
Posts: 5
Joined: Sat Jan 05, 2013 2:50 pm

Re: Problems with bcm43143 and raspbmc

Mon Mar 02, 2015 7:37 pm

It's one of these https://www.pi-supply.com/product/broad ... pberry-pi/.

Dmesg output (didn't post this first time because I thought it was a bit long)

Code: Select all

Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpu
Linux version 3.12.31 (root@raspbmcbb-legacy) (gcc version 4.7.1 20120402 (prerelease) (crosstool-NG 1.15.2) ) #2 PREEMPT Wed Oct 29 09:24:56 UTC 2014
CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: BCM2708
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 98304
free_area_init_node: node 0, pgdat c05e23dc, node_mem_map c0637000
  Normal zone: 768 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 98304 pages, LIFO batch:31
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 97536
Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=720 bcm2708_fb.fbheight=576 bcm2708.boardrev=0xf bcm2708.serial=0x1725609d smsc95xx.macaddr=B8:27:EB:25:60:9D bcm2708_fb.fbswap=1 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 rootfstype=ext4 noatime quiet rootwait loglevel=1 sdhci-bcm2708.enable_llm=1 dwc_otg.microframe_schedule=1 dwc_otg.fiq_fix_enable=0 dwc_otg.fiq_split_enable=0
PID hash table entries: 2048 (order: 1, 8192 bytes)\
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 383324K/393216K available (4971K kernel code, 218K rwdata, 604K rodata, 191K init, 333K bss, 9892K reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xd8800000 - 0xff000000   ( 616 MB)
    lowmem  : 0xc0000000 - 0xd8000000   ( 384 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc057a00c   (5577 kB)
      .init : 0xc057b000 - 0xc05aae9c   ( 192 kB)
      .data : 0xc05ac000 - 0xc05e2b20   ( 219 kB)
       .bss : 0xc05e2b2c - 0xc06361e9   ( 334 kB)
Preemptible hierarchical RCU implementation.
NR_IRQS:394
sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
Switching to timer-based delay loop
Console: colour dummy device 80x30
console [tty0] enabled
Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys bfqio
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0xc04e0e00 - 0xc04e0e5c
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
NET: Registered protocol family 16
DMA: preallocated 4096 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
bcm2708.uart_clock = 0
mailbox: Broadcom VideoCore Mailbox driver
bcm2708_vcio: mailbox at f200b880
bcm_power: Broadcom power driver
bcm_power_open() -> 0
bcm_power_request(0, 8)
bcm_mailbox_read -> 00000080, 0
bcm_power_request -> 0
Serial: AMBA PL011 UART driver
dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switched to clocksource stc
FS-Cache: Loaded
CacheFiles: Loaded
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
bcm2708_dma: DMA manager at f2007000
bcm2708_gpio: bcm2708_gpio_probe c05b8210
vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
FS-Cache: Netfs 'nfs' registered for caching
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
msgmni has been set to 748
Key type asymmetric registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered
io scheduler bfq registered (default)
BFQ I/O-scheduler version: v7r4
BCM2708FB: allocated DMA memory 57960000
BCM2708FB: allocated DMA channel 0 @ f2007000
Console: switching to colour frame buffer device 90x36
uart-pl011 dev:f1: no DMA platform data
brd: module loaded
loop: module loaded
vchiq: vchiq_init_state: slot_zero = 0xd8804000, is_master = 0
bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
usbcore: registered new interface driver ax88179_178a
usbcore: registered new interface driver smsc95xx
usbcore: registered new interface driver cdc_ncm
dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
Core Release: 2.80a
Setting default values for core params
Finished setting default values for core params
Using Buffer DMA mode
Periodic Transfer Interrupt Enhancement - disabled
Multiprocessor Interrupt Enhancement - disabled
OTG VER PARAM: 0, OTG VER FLAG: 0
Dedicated Tx FIFOs mode
WARN::dwc_otg_hcd_init:1042: FIQ DMA bounce buffers: virt = 0xd8c27000 dma = 0x5794c000 len=9024
FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
dwc_otg: Microframe scheduler enabled
WARN::hcd_init:473: FIQ at 0xc038239c
WARN::hcd_init:474: FIQ ASM at 0xc0382650 length 36
WARN::hcd_init:500: MPHI regs_base at 0xd8c1c000
dwc_otg bcm2708_usb: DWC OTG Controller
dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
Init: Port Power? op_state=1
Init: Power Port (0)
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: DWC OTG Controller
usb usb1: Manufacturer: Linux 3.12.31 dwc_otg_hcd
usb usb1: SerialNumber: bcm2708_usb
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
dwc_otg: FIQ enabled
dwc_otg: NAK holdoff enabled
dwc_otg: FIQ split-transaction FSM enabled
Module dwc_common_port init
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.26.0-ioctl (2013-08-15) initialised: dm-devel@redhat.com
bcm2835-cpufreq: min=850000 max=850000 cur=850000
bcm2835-cpufreq: switching to governor ondemand
bcm2835-cpufreq: switching to governor ondemand
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc-bcm2835: Unable to initialise DMA channels. Falling back to PIO
Load BCM2835 MMC driver
sdhci-pltfm: SDHCI platform and OF driver helper
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
zram: Created 1 device(s) ...
TCP: westwood registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
Key type dns_resolver registered
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Waiting for root device /dev/mmcblk0p2...
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SDHC card at address ded9
mmcblk0: mmc0:ded9 SD16G 14.8 GiB 
 mmcblk0: p1 p2
Indeed it is in host mode hprt0 = 00021501
usb 1-1: new high-speed USB device number 2 using dwc_otg
Indeed it is in host mode hprt0 = 00001101
usb 1-1: New USB device found, idVendor=0424, idProduct=9512
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 3 ports detected
usb 1-1.1: new high-speed USB device number 3 using dwc_otg
usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
smsc95xx v1.0.4
smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:25:60:9d
usb 1-1.3: new high-speed USB device number 4 using dwc_otg
usb 1-1.3: New USB device found, idVendor=1a40, idProduct=0201
usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1.3: Product: USB 2.0 Hub [MTT]
hub 1-1.3:1.0: USB hub found
hub 1-1.3:1.0: 7 ports detected
usb 1-1.3.6: new high-speed USB device number 5 using dwc_otg
usb 1-1.3.6: New USB device found, idVendor=1f4d, idProduct=c803
usb 1-1.3.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.3.6: Product: RTL2838UHIDIR
usb 1-1.3.6: Manufacturer: Realtek
usb 1-1.3.6: SerialNumber: 00000001
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 188K (c057b000 - c05aa000)
udevd[86]: starting version 175
bcm2708_i2c_init_pinmode(1,2)
bcm2708_i2c_init_pinmode(1,3)
bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100000)
usb 1-1.3.6: dvb_usb_v2: found a 'Trekstor DVB-T Stick Terres 2.0' in warm state
usb 1-1.3.6: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
DVB: registering new adapter (Trekstor DVB-T Stick Terres 2.0)
mmcblk0: error -110 transferring data, sector 31116024, nr 8, cmd response 0x900, card status 0x80000b00
mmcblk0: retrying using single block read
usb 1-1.3.6: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
pcm512x 1-004d: Failed to reset device: -5
pcm512x: probe of 1-004d failed with error -5
pcm512x 1-004c: Failed to reset device: -5
pcm512x: probe of 1-004c failed with error -5
fc0013: Fitipower FC0013 successfully attached.
Registered IR keymap rc-empty
input: Trekstor DVB-T Stick Terres 2.0 as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.6/rc/rc0/input0
rc0: Trekstor DVB-T Stick Terres 2.0 as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.6/rc/rc0
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
input: MCE IR Keyboard/Mouse (dvb_usb_rtl28xxu) as /devices/virtual/input/input1
lirc_dev: IR Remote Control driver registered, major 250 
rc rc0: lirc_dev: driver ir-lirc-codec (dvb_usb_rtl28xxu) registered at minor = 0
IR LIRC bridge handler initialized
usb 1-1.3.6: dvb_usb_v2: schedule remote query interval to 400 msecs
usb 1-1.3.6: dvb_usb_v2: 'Trekstor DVB-T Stick Terres 2.0' successfully initialized and connected
usbcore: registered new interface driver dvb_usb_rtl28xxu
input: lircd as /devices/virtual/input/input2
EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
bcm2835-cpufreq: switching to governor performance
bcm2835-cpufreq: switching to governor performance
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (5992 buckets, 23968 max)
Console: switching to colour dummy device 80x30
NET: Registered protocol family 10
smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
dvb_hdhomerun: module is from the staging directory, the quality is unknown, you have been warned.
HDHomeRun: Begin init, version 0.0.11
HDHomeRun: Waiting for userspace to connect
HDHomeRun: End init
bcm2708 watchdog, heartbeat=10 sec (nowayout=0)
Loading kernel module for a network device with CAP_SYS_MODULE (deprecated).  Use CAP_NET_ADMIN and alias netdev- instead.
bcm2835-cpufreq: switching to governor ondemand
bcm2835-cpufreq: switching to governor ondemand
usb 1-1.3.4: new high-speed USB device number 6 using dwc_otg
usb 1-1.3.4: New USB device found, idVendor=05e3, idProduct=0610
usb 1-1.3.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1.3.4: Product: USB2.0 Hub
hub 1-1.3.4:1.0: USB hub found
hub 1-1.3.4:1.0: 4 ports detected
usb 1-1.3.4.1: new high-speed USB device number 7 using dwc_otg
usb 1-1.3.4.1: New USB device found, idVendor=0a5c, idProduct=bd1e
usb 1-1.3.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.3.4.1: Product: Remote Download Wireless Adapter
usb 1-1.3.4.1: Manufacturer: Broadcom
usb 1-1.3.4.1: SerialNumber: 000000000001
usb 1-1.3.4: USB disconnect, device number 6
usb 1-1.3.4.1: USB disconnect, device number 7
usb 1-1.3.4: new high-speed USB device number 8 using dwc_otg
usb 1-1.3.4: New USB device found, idVendor=05e3, idProduct=0610
usb 1-1.3.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1.3.4: Product: USB2.0 Hub
hub 1-1.3.4:1.0: USB hub found
hub 1-1.3.4:1.0: 4 ports detected
usb 1-1.3.4.1: new high-speed USB device number 9 using dwc_otg
usb 1-1.3.4.1: New USB device found, idVendor=0a5c, idProduct=bd1e
usb 1-1.3.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.3.4.1: Product: Remote Download Wireless Adapter
usb 1-1.3.4.1: Manufacturer: Broadcom
usb 1-1.3.4.1: SerialNumber: 000000000001

fruitoftheloom
Posts: 27225
Joined: Tue Mar 25, 2014 12:40 pm

Re: Problems with bcm43143 and raspbmc

Mon Mar 02, 2015 7:44 pm

http://www.raspberrypi.org/new-raspbian ... s-releases
Our Raspbian image now includes driver support for the BCM43143 802.11n WiFi chip. Last week Broadcom released a rather neat USB hub and WiFi adapter combo based on this chip, which should now work out of the box.
It would appear the Raspbmc developers have not included the drivers in their release



The driver source is here:

https://wireless.wiki.kernel.org/en/use ... /brcm80211

http://blog.broadcom.com/raspberry-pi/w ... less-power
Take what I advise as advice not the utopian holy grail, and it is gratis !!

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2690
Joined: Thu Jul 11, 2013 2:37 pm

Re: Problems with bcm43143 and raspbmc

Mon Mar 02, 2015 7:58 pm

I forgot about that one.

Yes, it appears the driver is not enabled in the kernel config so the device is detected but not utilised.

I believe OpenELEC supports this out-of-the-box, as does Raspbian.
Rockets are loud.
https://astro-pi.org

kepler
Posts: 5
Joined: Sat Jan 05, 2013 2:50 pm

Re: Problems with bcm43143 and raspbmc

Wed Mar 04, 2015 7:08 pm

Thanks for the replies.

This is at the limits of my knowledge, so just to be clear, this means I can't get it working without recompiling the kernel? Or can I get the source, compile it, put it in the right place and things will work?

ibrahimshiyam
Posts: 6
Joined: Sun Sep 13, 2015 1:47 am

Re: Problems with bcm43143 and raspbmc

Sun Sep 13, 2015 2:05 am

need help with this. I have stumble upon the same problem and now am stuck in my plight to build a raspberry wireless access point.

Return to “Troubleshooting”