Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BCM43142A0-0a5c-216c.hcd #39

Open
Notadumdum opened this issue Sep 22, 2023 · 9 comments
Open

BCM43142A0-0a5c-216c.hcd #39

Notadumdum opened this issue Sep 22, 2023 · 9 comments

Comments

@Notadumdum
Copy link

I have BCM43142A0-0a5c-216c.hcd patch missing.. but whenever I try installing it it doesn't work.. Its not network i'm certain

@winterheart
Copy link
Owner

Hello.
Please provide information about your system:

uname -a
dmesg | grep -i Bluetooth
lspci -nnvv | grep -A12 Broadcom
hciconfig -a
lsusb

and

md5sum /lib/firmware/brcm/BCM43142A0-0a5c-216c.hcd

@Notadumdum
Copy link
Author

$ uname -a
Linux babyy 5.10.142-antix.2-amd64-smp #1 SMP PREEMPT Fri Sep 9 21:15:01 EEST 2022 x86_64 GNU/Linux

$ sudo dmesg | grep -i Bluetooth
[sudo] password for babyy:
[ 13.266807] Bluetooth: Core ver 2.22
[ 13.266866] Bluetooth: HCI device and connection manager initialized
[ 13.266873] Bluetooth: HCI socket layer initialized
[ 13.266877] Bluetooth: L2CAP socket layer initialized
[ 13.266884] Bluetooth: SCO socket layer initialized
[ 13.384640] Bluetooth: hci0: BCM: chip id 70
[ 13.385622] Bluetooth: hci0: BCM: features 0x06
[ 13.401660] Bluetooth: hci0: BCM43142A
[ 13.401665] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000
[ 13.406458] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[ 13.406530] Bluetooth: hci0: BCM: 'brcm/BCM43142A0-0a5c-216c.hcd'
[ 13.406581] Bluetooth: hci0: BCM: 'brcm/BCM-0a5c-216c.hcd'
[ 15.422144] Bluetooth: hci0: command 0x1003 tx timeout
[ 15.423612] Bluetooth: hci0: unexpected event for opcode 0x1003

$ sudo lspci -nnvv |grep -A12 Broadcom
01:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n [103c:2230]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at 90400000 (64-bit, non-prefetchable) [size=32K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=2 PME-
Capabilities: [58] Vendor Specific Information: Len=78 <?>
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000

$ hciconfig -a
hci0: Type: Primary Bus: USB
BD Address: D8:5D:E2:C9:8C:7C ACL MTU: 1021:8 SCO MTU: 64:1
DOWN
RX bytes:903 acl:0 sco:0 events:38 errors:0
TX bytes:392 acl:0 sco:0 commands:38 errors:0
Features: 0xff 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0a5c:216c Broadcom Corp. BCM43142A0 Bluetooth Device
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 04f2:b45e Chicony Electronics Co., Ltd HP Truevision HD
Bus 001 Device 003: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 001 Device 002: ID 0000:3825 USB OPTICAL MOUSE
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ md5sum: no such file or directory

@winterheart
Copy link
Owner

Hello.
You don't have required file in system. You need download BCM43142A0-0a5c-216c.hcd and place it in /lib/firmware/brcm:

sudo wget https://github.com/winterheart/broadcom-bt-firmware/raw/master/brcm/BCM43142A0-0a5c-216c.hcd -O /lib/firmware/brcm/BCM43142A0-0a5c-216c.hcd

Do it, reboot system and recheck again. Chances that Bluetooth will work after that.

@Notadumdum
Copy link
Author

Notadumdum commented Sep 23, 2023

It still does not work

--2023-09-23 08:37:40--  https://github.com/winterheart/broadcom-bt-firmware/raw/master/brcm/BCM43142A0-0a5c-216c.hcd
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/winterheart/broadcom-bt-firmware/master/brcm/BCM43142A0-0a5c-216c.hcd [following]
--2023-09-23 08:37:41--  https://raw.githubusercontent.com/winterheart/broadcom-bt-firmware/master/brcm/BCM43142A0-0a5c-216c.hcd
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.


It stops here for hours

@winterheart
Copy link
Owner

Download file manually in browser and place it in /lib/firmware/brcm/

@Notadumdum
Copy link
Author

It doesn't download

1 similar comment
@Notadumdum
Copy link
Author

It doesn't download

@Notadumdum
Copy link
Author

It doesn't download. I tried that first

@winterheart
Copy link
Owner

It's not a problem in my side. You need somehow download it. Try to fetch https://github.com/winterheart/broadcom-bt-firmware/archive/refs/tags/v12.0.1.1105_p4.tar.gz and get file out that archive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants