Hello,

That's a good question.  "Audio" is not listed even when the earbuds are
connected and working.  I have no explanation for that.

It looks like TxPower is not an available string in the dbus-send output:

# dbus-send --print-reply --system --dest=org.bluez
/org/bluez/hci0/dev_9B_1F_48_B8_55_F6 org.freedesktop.DBus.Properties.Get
string:org.bluez.Device1 string:TxPower
Error org.freedesktop.DBus.Error.InvalidArgs: No such property 'TxPower'

The strings I have available are:

Address
AddressType
Name
Alias
Class
Icon
Paired
Trusted
Blocked
LegacyPairing
Connected
UUIDs
Adapter
ServicesResolved

Anything else I should check?

Thanks!

On Mon, Oct 7, 2019 at 6:07 PM deloptes <delop...@gmail.com> wrote:

> David Parker wrote:
>
> > # hciconfig -a
> > hci0: Type: Primary  Bus: USB
> > BD Address: 5C:F3:70:8C:B7:98  ACL MTU: 1021:8  SCO MTU: 64:1
> > UP RUNNING PSCAN
> > RX bytes:62062 acl:40 sco:0 events:3178 errors:0
> > TX bytes:499936 acl:776 sco:0 commands:1088 errors:38
> > Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
> > Link policy: RSWITCH SNIFF
> > Link mode: SLAVE ACCEPT
> > Name: 'debian'
> > Class: 0x100104
> > Service Classes: Object Transfer
> > Device Class: Computer, Desktop workstation
> > HCI Version: 4.0 (0x6)  Revision: 0x153a
> > LMP Version: 4.0 (0x6)  Subversion: 0x220e
> > Manufacturer: Broadcom Corporation (15)
>
> Under Service Classes you have only "Object Transfer"
>
> hci0:   Type: Primary  Bus: USB
>         BD Address: xxxxxxxxxxxx  ACL MTU: 310:10  SCO MTU: 64:8
>         UP RUNNING PSCAN
>         RX bytes:19767535 acl:62926 sco:0 events:3572 errors:0
>         TX bytes:390503 acl:2479 sco:0 commands:1081 errors:0
>         Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x59 0x83
>         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
>         Link policy: RSWITCH HOLD SNIFF PARK
>         Link mode: SLAVE ACCEPT
>         Name: 'fujitsu'
>         Class: 0x3c0104
>         Service Classes: Rendering, Capturing, Object Transfer, Audio
>         Device Class: Computer, Desktop workstation
>         HCI Version: 2.1 (0x4)  Revision: 0x12e7
>         LMP Version: 2.1 (0x4)  Subversion: 0x12e7
>         Manufacturer: Cambridge Silicon Radio (10)
>
> Why is Audio not listed?
>
> You can get the TxPower (if lucky) from the device via DBUS Device1
> Interface
>
> dbus-send --print-reply --system --dest=org.bluez
> /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX
> org.freedesktop.DBus.Properties.Get string:org.bluez.Device1 string:TxPower
>
> dbus-send --print-reply --system --dest=org.bluez
> /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX
> org.freedesktop.DBus.Properties.GetAll string:org.bluez.Device1
>
> replace dev_XX_XX_XX_XX_XX_XX with your BT MAC
>
>
>
>

-- 
Dave Parker '11
Database & Systems Administrator
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177

Reply via email to