Bluetooth / BLE on Nano

Okay, I need Bluetooth functionality for a wearable use case:

  1. I need to be able to communicate to/from a headset (i.e., AVRCP Bluetooth profile)
  2. I need to communicate to a couple other custom wireless input devices (i.e., HID and custom BLE profiles/services/characteristics)

So, I basically need a working Bluetooth 5.0 adapter. Here’s what’s on the approved list:

a) Intel 8265ngw (Bluetooth 4.2…which might be okay, but I’ve not seen that folks have been successful getting BT to work on this card)
b) see a

I bought the Intel 9260ngw. It has BT 5.0 and after a lot of help from this community, WiFi is working with the latest jetpack. But as far as I can tell, Bluetooth isn’t functioning. I brought up this issue in another thread on the 9260. But that one was primarily concerned with WiFi, so I’m not surprised to see no response there.

So I’m starting a dedicated thread here. I’m a Windows guy, so it’s certainly (even likely) possible that I’m missing a step in getting BT enabled on the 9260. Which is to say, I’ve really taken no steps other than to hack the 9260 working in WiFi and then hoping to find a BT device using demsg, lsmod, rfkill, hcitool, etc.

Any thoughts on getting that to work?

Short of that, anyone have suggestions for a small BT dongle that WILL work and support my basic BT 5.0 requirements? I say “basic,” but it seems from the forums that even getting AVRCP streaming working on this has been a challenge.

Thanks!!

If it helps at all:

paul@niche-nano-1:~$ uname -a
Linux niche-nano-1 4.9.140-tegra #1 SMP PREEMPT Tue Jul 16 17:04:49 PDT 2019 aarch64 aarch64 aarch64 GNU/Linux
paul@niche-nano-1:~$ sudo dmesg | egrep -i 'blue|firm'                                                                  
[    0.000000] psci: PSCIv1.0 detected in firmware.                                                                     
[    0.622571] Bluetooth: Core ver 2.22                                                                                 
[    0.622624] Bluetooth: HCI device and connection manager initialized                                                 
[    0.622641] Bluetooth: HCI socket layer initialized                                                                  
[    0.622650] Bluetooth: L2CAP socket layer initialized                                                                
[    0.622678] Bluetooth: SCO socket layer initialized                                                                  
[    1.091476] tegra-xusb 70090000.xusb: Firmware timestamp: 2019-05-08 09:42:10 UTC, Version: 50.22 release            
[    1.380747] Bluetooth: RFCOMM socket layer initialized                                                               
[    1.380756] Bluetooth: RFCOMM ver 1.11                                                                               
[    1.380761] Bluetooth: HIDP (Human Interface Emulation) ver 1.2                                                      
[    1.380765] Bluetooth: HIDP socket layer initialized                                                                 
[    7.391719] iwlwifi 0000:01:00.0: Direct firmware load for iwl-dbg-cfg.ini failed with error -2                      
[   19.703960] Bluetooth: BNEP (Ethernet Emulation) ver 1.3                                                             
[   19.703972] Bluetooth: BNEP socket layer initialized                                                                 
[   68.756287] iwlwifi 0000:01:00.0: loaded firmware version 46.a41adfe7.0 op_mode iwlmvm                               
[   69.552442] iwlwifi 0000:01:00.0: Allocated 0x00400000 bytes for firmware monitor.                                   
paul@niche-nano-1:~$ sudo rfkill list                                                                                   
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
paul@niche-nano-1:~$ sudo lsmod                                                                                         Module                  Size  Used by
iwlmvm                561845  0
mac80211              915559  1 iwlmvm
bnep                   16562  2
xt_multiport            3269  2
iptable_filter          2481  1
zram                   26166  4
iwlwifi               456458  1 iwlmvm
hid_logitech_hidpp     22721  0
btusb                  40149  0
btrtl                   7318  1 btusb
btbcm                   8808  1 btusb
btintel                10771  1 btusb
hid_logitech_dj        13813  0
cfg80211              758087  3 iwlmvm,iwlwifi,mac80211
compat                119814  4 iwlmvm,iwlwifi,mac80211,cfg80211
nvgpu                1569098  20
bluedroid_pm           13912  0
ip_tables              19441  1 iptable_filter
x_tables               28951  3 xt_multiport,ip_tables,iptable_filter
paul@niche-nano-1:~$ sudo lspci -vv                                                                                     00:01.0 PCI bridge: NVIDIA Corporation Device 0fae (rev a1) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 84
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: 13000000-130fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [40] Subsystem: NVIDIA Corporation Device 0000
        Capabilities: [48] 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=0 PME-
        Capabilities: [50] MSI: Enable- Count=1/2 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [60] HyperTransport: MSI Mapping Enable- Fixed-
                Mapping Address Base: 00000000fee00000
        Capabilities: [80] Express (v2) Root Port (Slot+), MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0
                        ExtTag+ RBE+
                DevCtl: Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us
                        ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp-
                LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt-
                SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
                        Slot #0, PowerLimit 0.000W; Interlock- NoCompl-
                SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
                        Control: AttnInd Off, PwrInd On, Power- Interlock-
                SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
                        Changed: MRL- PresDet+ LinkState+
                RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible-
                RootCap: CRSVisible-
                RootSta: PME ReqID 0000, PMEStatus- PMEPending-
                DevCap2: Completion Timeout: Range AB, TimeoutDis+, LTR+, OBFF Not Supported ARIFwd-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF Disabled ARIFwd-
                LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [100 v1] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-                      UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-                      UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-                      CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Capabilities: [140 v1] L1 PM Substates
                L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
                          PortCommonModeRestoreTime=30us PortTPowerOnTime=70us
                L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2+ ASPM_L1.1+
                           T_CommonMode=30us LTR1.2_Threshold=98304ns
                L1SubCtl2: T_PwrOn=70us
        Kernel driver in use: pcieport

00:02.0 PCI bridge: NVIDIA Corporation Device 0faf (rev a1) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 84
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 00001000-00001fff
        Memory behind bridge: 13100000-131fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [40] Subsystem: NVIDIA Corporation Device 0000
        Capabilities: [48] 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=0 PME-
        Capabilities: [50] MSI: Enable- Count=1/2 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [60] HyperTransport: MSI Mapping Enable- Fixed-
                Mapping Address Base: 00000000fee00000
        Capabilities: [80] Express (v2) Root Port (Slot+), MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0
                        ExtTag+ RBE+
                DevCtl: Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
                LnkCap: Port #1, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us
                        ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt-
                SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
                        Slot #0, PowerLimit 0.000W; Interlock- NoCompl-
                SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
                        Control: AttnInd Off, PwrInd On, Power- Interlock-
                SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
                        Changed: MRL- PresDet+ LinkState+
                RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible-
                RootCap: CRSVisible-
                RootSta: PME ReqID 0000, PMEStatus- PMEPending-
                DevCap2: Completion Timeout: Range AB, TimeoutDis+, LTR+, OBFF Not Supported ARIFwd-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF Disabled ARIFwd-
                LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [100 v1] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-                      UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-                      UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-                      CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Capabilities: [140 v1] L1 PM Substates
                L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
                          PortCommonModeRestoreTime=30us PortTPowerOnTime=70us
                L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
                           T_CommonMode=150us LTR1.2_Threshold=294912ns
                L1SubCtl2: T_PwrOn=150us
        Kernel driver in use: pcieport

01:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29)
        Subsystem: Intel Corporation Device 0014
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 84
        Region 0: Memory at 13000000 (64-bit, non-prefetchable) 
        Capabilities: [c8] 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=0 PME-
        Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [40] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 unlimited
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 0.000W
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr+ NoSnoop+ FLReset-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend+
                LnkCap: Port #0, Speed 5GT/s, Width x1, ASPM L1, Exit Latency L0s <4us, L1 <8us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range B, TimeoutDis+, LTR+, OBFF Via WAKE#
                DevCtl2: Completion Timeout: 16ms to 55ms, TimeoutDis-, LTR+, OBFF Disabled
                LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [80] MSI-X: Enable+ Count=16 Masked-
                Vector table: BAR=0 offset=00002000
                PBA: BAR=0 offset=00003000
        Capabilities: [100 v1] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-                      UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-                      UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-                      CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
        Capabilities: [14c v1] Latency Tolerance Reporting
                Max snoop latency: 0ns
                Max no snoop latency: 0ns
        Capabilities: [154 v1] L1 PM Substates
                L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
                          PortCommonModeRestoreTime=30us PortTPowerOnTime=18us
                L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2+ ASPM_L1.1+
                           T_CommonMode=0us LTR1.2_Threshold=98304ns
                L1SubCtl2: T_PwrOn=70us
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 404
        Region 0: I/O ports at 1000 
        Region 2: Memory at 13104000 (64-bit, non-prefetchable) 
        Region 4: Memory at 13100000 (64-bit, non-prefetchable) 
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fa802000  Data: 0000
        Capabilities: [70] Express (v2) Endpoint, MSI 01
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 4096 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR+, OBFF Via message/WAKE#
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF Disabled
                LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
                Vector table: BAR=4 offset=00000000
                PBA: BAR=4 offset=00000800
        Capabilities: [100 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-                      UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-                      UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-                      CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Capabilities: [140 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed- WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
                        Status: NegoPending- InProgress-
        Capabilities: [160 v1] Device Serial Number 01-00-00-00-68-4c-e0-00
        Capabilities: [170 v1] Latency Tolerance Reporting
                Max snoop latency: 0ns
                Max no snoop latency: 0ns
        Capabilities: [178 v1] L1 PM Substates
                L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
                          PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
                L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
                           T_CommonMode=0us LTR1.2_Threshold=294912ns
                L1SubCtl2: T_PwrOn=150us
        Kernel driver in use: r8168

Obviously it’s the part where it’s not in the rfkill list that’s most showing in terms of what seems to be “lacking.” Mostly comparing this to a tx2, which at least SEEMS to work and lists four interfaces when running rfkill.

paul@niche-tx2-1:~$ sudo rfkill list
0: bluedroid_pm: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: brcmfmac-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
3: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

Hi pault45z6,

The bluetooth audio is related to A2DP profile, and that’s disable by default due to Nano does not have bluetooth, please refer to below topic if can gain some ideas:
[url]https://devtalk.nvidia.com/default/topic/1052124/jetson-nano/nano-bluetooth/[/url]

Hi pault45z6,

I summarized the key words here.

sudo apt update
sudo apt install pulseaudio pulseaudio-utils pavucontrol pulseaudio-module-bluetooth
sudo nano /etc/systemd/system/bluetooth.target.wants/bluetooth.service

and then chage

ExecStart=/usr/lib/bluetooth/bluetoothd -d --noplugin=audio,a2dp,avrcp

into

ExecStart=/usr/lib/bluetooth/bluetoothd -d --noplugin=audio,avrcp
reboot

Then connect the headset and choose the headset as audio ouput.

External Media

I don’t have a bluetooth 5.0 device by hand. This is working for Intel 8265NGW with Bluetooth 4.2 headset. Kindly for reference.

Hi,

Bluetooth a2pd is not working in Jetson Nano JetPack 4.2.2

Hi,

Bluetooth a2pd is not working in Jetson Nano JetPack 4.2.2

I am getting following:

$ pactl list cards

Profiles:
headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 30, available: yes)
a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 40, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)

I had also a lot of issues with this.
Remove the --noplugin completely.
Pretty sure audio plugin is also required for a2dp to work but can’t find any documentation on it.
If this still doesn’t work check if pulseaudio actually can read and write the media1 or something interface on dbus with something like d-feet.

in /etc/dbus-1/system.d/bluetooth.conf
it should contain all of these

<allow own="org.bluez"/>
    <allow send_destination="org.bluez"/>
    <allow send_interface="org.bluez.Agent1"/>
    <allow send_interface="org.bluez.MediaEndpoint1"/>
    <allow send_interface="org.bluez.MediaPlayer1"/>
    <allow send_interface="org.bluez.Profile1"/>
    <allow send_interface="org.bluez.GattCharacteristic1"/>
    <allow send_interface="org.bluez.GattDescriptor1"/>
    <allow send_interface="org.bluez.LEAdvertisement1"/>
    <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
    <allow send_interface="org.freedesktop.DBus.Properties"/>
    <allow send_interface="org.mpris.MediaPlayer2.Player"/>

Bluetooth a2pd still not working in Jetson Nano JetPack 4.2.2

@yas_its can you post what error you’re getting when trying to enable a2dp with pacmd?
is it not connected? what does the system log say when you’re connecting to the headset.
“journalctl -n 200 | grep blue”
“journalctl -n 200 | grep pulse”

I also rebuilt bluez and pulseaudio to newer versions on my board so i’m not sure if that is required.
do you have the pulseaudio-module-bluetooth packet installed?

@pault45z6
I posted over in the 9260 Wifi thread a patch for the current kernel source that enables bluetooth on it.
https://devtalk.nvidia.com/default/topic/1050449/jetson-nano/intel-9260-wifi-on-jetson-nano-jetbot/7

Hi,

I’m trying to execute the following procedure to solve the audio bluetooth issue on Jetson Nano,

the following commands are OK
sudo apt update
sudo apt install pulseaudio pulseaudio-utils pavucontrol pulseaudio-module-bluetooth

but when I execute the following command

sudo nano /etc/systemd/system/bluetooth.target.wants/bluetooth.service

Unfortunately I get the following error :

“sudo: nano: command not found”

Why ?
What does it means ?

Thanks a lot for your support.
Best Regards
Vincenzo

nano is a text editor for those of us who aren’t blessed with years of vi or vim experience.
You can install it with sudo apt install nano

Hi!

this what I got after the system reboot :
vcipolla@vcipolla-desktop:~$ pactl list cards
Scheda #0
Nome: alsa_card.platform-70030000.hda
Driver: module-alsa-card.c
Modulo di appartenenza: 7
Proprietà:
alsa.card = “0”
alsa.card_name = “tegra-hda”
alsa.long_card_name = “tegra-hda at 0x70038000 irq 83”
device.bus_path = “platform-70030000.hda”
sysfs.path = “/devices/70030000.hda/sound/card0”
device.form_factor = “internal”
device.string = “0”
device.description = “Audio interno”
module-udev-detect.discovered = “1”
device.icon_name = “audio-card”
Profili:
output:hdmi-stereo: Uscita «Digital Stereo (HDMI)» (sink: 1, sorgenti: 0, priorità: 5400, disponibile: no)
output:hdmi-surround: Uscita «Digital Surround 5.1 (HDMI)» (sink: 1, sorgenti: 0, priorità: 300, disponibile: no)
output:hdmi-surround71: Uscita «Digital Surround 7.1 (HDMI)» (sink: 1, sorgenti: 0, priorità: 300, disponibile: no)
off: Spento (sink: 0, sorgenti: 0, priorità: 0, disponibile: sì)
Profilo attivo: off
Porte:
hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available)
Proprietà:
device.icon_name = “video-display”
Parte dei profili: output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71

Scheda #1
Nome: alsa_card.platform-sound
Driver: module-alsa-card.c
Modulo di appartenenza: 8
Proprietà:
alsa.card = “1”
alsa.card_name = “tegra-snd-t210ref-mobile-rt565x”
alsa.long_card_name = “tegra-snd-t210ref-mobile-rt565x”
device.bus_path = “platform-sound”
sysfs.path = “/devices/sound/sound/card1”
device.form_factor = “internal”
device.string = “1”
device.description = “Audio interno”
module-udev-detect.discovered = “1”
device.icon_name = “audio-card”
Profili:
input:analog-mono: Ingresso «Mono analogico» (sink: 0, sorgenti: 1, priorità: 2, disponibile: sì)
input:analog-stereo: Ingresso «Stereo analogico» (sink: 0, sorgenti: 1, priorità: 60, disponibile: sì)
output:analog-mono: Uscita «Mono analogico» (sink: 1, sorgenti: 0, priorità: 200, disponibile: sì)
output:analog-mono+input:analog-mono: Duplex mono analogico (sink: 1, sorgenti: 1, priorità: 202, disponibile: sì)
output:analog-mono+input:analog-stereo: Uscita «Mono analogico» + Ingresso «Stereo analogico» (sink: 1, sorgenti: 1, priorità: 260, disponibile: sì)
output:analog-stereo: Uscita «Stereo analogico» (sink: 1, sorgenti: 0, priorità: 6000, disponibile: sì)
output:analog-stereo+input:analog-mono: Uscita «Stereo analogico» + Ingresso «Mono analogico» (sink: 1, sorgenti: 1, priorità: 6002, disponibile: sì)
output:analog-stereo+input:analog-stereo: Duplex stereo analogico (sink: 1, sorgenti: 1, priorità: 6060, disponibile: sì)
off: Spento (sink: 0, sorgenti: 0, priorità: 0, disponibile: sì)
Profilo attivo: output:analog-mono+input:analog-stereo
Porte:
analog-input: Ingresso analogico (priority: 10000, latency offset: 0 usec)
Parte dei profili: input:analog-mono, input:analog-stereo, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo
analog-output: Uscita analogica (priority: 9900, latency offset: 0 usec)
Parte dei profili: output:analog-mono, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo

Scheda #4
Nome: bluez_card.6C_5C_3D_31_80_C5
Driver: module-bluez5-device.c
Modulo di appartenenza: 31
Proprietà:
device.description = “ENEBY Portable”
device.string = “6C:5C:3D:31:80:C5”
device.api = “bluez”
device.class = “sound”
device.bus = “bluetooth”
device.form_factor = “headset”
bluez.path = “/org/bluez/hci0/dev_6C_5C_3D_31_80_C5”
bluez.class = “0x240404”
bluez.alias = “ENEBY Portable”
device.icon_name = “audio-headset-bluetooth”
device.intended_roles = “phone”
Profili:
headset_head_unit: Unità headset head (HSP/HFP) (sink: 1, sorgenti: 1, priorità: 30, disponibile: sì)
a2dp_sink: Riproduzione ad alta fedeltà (sink A2DP) (sink: 1, sorgenti: 0, priorità: 40, disponibile: no)
off: Spento (sink: 0, sorgenti: 0, priorità: 0, disponibile: sì)
Profilo attivo: headset_head_unit
Porte:
headset-output: Cuffie con microfono (priority: 0, latency offset: 0 usec)
Parte dei profili: headset_head_unit, a2dp_sink
headset-input: Cuffie con microfono (priority: 0, latency offset: 0 usec)
Parte dei profili: headset_head_unit

I’ve successfull connected the bluetooth device “#scheda 4” (rif. ENEBY protable) to jetson nano, BUT the audio is still missing, completely mute!!!

In your opinion what is still wrong ? Have you some new ideas to solve the problem ?
Thanks in advance for your support.
BR,
Vincenzo