Bluetooth 5 Unsupported for MOD Dwarf

Just received my MOD Dwarf, and I’m exploring all the features.
I’m using the USB B port to connect my RaspberryPi MIDI host. So I do need the wireless feature for editing.
When I plug in a Bluetooth 5.0 dongle, it says unsupported on the Enable Bluetooth page.
The dongle that I’m using is the following one:
https://www.amazon.com/gp/product/B08Z74KJMW/
I saw there are some related discussions in the forum, but no obvious solution.
Please help.
Thanks!
Bridge

Hi there!

This must be another small incompatibility in our bluetooth info parser.
When we made it bluetooth 5 was not really a thing yet…

So I have a small request, and then can make this device work.
Connect the unit over USB, SSH into it and run a single command, post the output.

ssh root@192.168.51.1 hciconfig -a

(password is “mod”)

Thanks.

PS: For wireless setup, you might want to experiment with WiFi - MOD Wiki

1 Like

Hello @falkTX. I’m using a dongle and the Mod Dwarf shows me UNSUPPORTED

Running the command, shows me:

hci0:   Type: BR/EDR  Bus: USB
        BD Address: 33:03:30:0B:78:D6  ACL MTU: 360:4  SCO MTU: 0:0
        UP RUNNING 
        RX bytes:847 acl:0 sco:0 events:32 errors:0
        TX bytes:360 acl:0 sco:0 commands:32 errors:0
        Features: 0xff 0xff 0xcd 0xfa 0xdb 0xbf 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: RSWITCH HOLD SNIFF PARK 
        Link mode: SLAVE ACCEPT 
        Name: ''
        Class: 0x000000
        Service Classes: Unspecified
        Device Class: Miscellaneous, 
        HCI Version:  (0x9)  Revision: 0x810
        LMP Version:  (0x9)  Subversion: 0x2512
        Manufacturer: Cambridge Silicon Radio (10)

I can’t confirm now if it’s Bluetooth 5.0 too. But I will check!

EDIT: How can I check this? I borrowed it and the owner doesn’t remember which version it is.

Sorry being late on this.
Let’s just try to force it, we need to edit a few files and test.

ssh into the unit, and just do

mount / -o remount,rw
nano /sbin/net.bnep # or vi if you prefer

Change the workaround section to this:

# Workaround for new bluetooth devices for which `hciconfig` is unable to report version from
if [ -n "${BT_CURRENT}" ] && /usr/bin/echo ${BT_CURRENT} | /usr/bin/grep -q "^(0x.*)"; then
    # convert hexadecimal to decimal, while removing surrounding parenthesis
    BT_RAWVERSION=$(/usr/bin/printf "%d" $(echo "${BT_CURRENT}" | /usr/bin/sed -e "s/^(\(.*\)).*/\1/"))
    # if raw version is 6 or higher, it is supported
    if [ "${BT_RAWVERSION}" -ge 6 ]; then
        BT_CURRENT=${BT_REQUIRED}
    fi
fi

then (re)plug the bluetooth usb stick and check if it works via

# activate discovery for 2 minutes
mod-bluetooth discovery

# check if all went ok
mod-bluetooth status

Let me know how it works. If this ends up working for you I will put it in the next 1.11-RC3

1 Like

Hello, @falkTX. After apply the change, I can connect with it.


But, when I try to access http://192.168.50.1/ (I get this link by the docs), it doesn’t works. Appears:
“ERR_CONNECTION_TIMED_OUT” on Chrome and something similar on Firefox.

2 Likes

You disabled mobile data and WiFi, correct?
As far as I know, bluetooth network is unreachable in Android until we disable those 2.

If you can verify on a non-android device would be great, just to see if this bluetooth connection really works or not.
The Android situation is something unrelated to the version reported by the usb stick, and has been reported a few other times as well.

Yes. Actually, timeout occurs when WiFi is on. When Is down, chrome informs me “No internet” and firefox “Isn’t possible to connect”

I tried with a laptop (Kubuntu 21.04 and Windows 10 boot). The connection doesn’t works. Also,

Also, I noted that, if I turn down the Bluetooth of my mobile after connected with dwarf, the Dwarf continues appearing connected until I reboot it. I don’t know if is a expected (?issue?) or it’s a indication that this Bluetooth dongle doesn’t works.
If I remove the dongle after, the mod enables to try to connect again. But I only successfully connected other device (other android 8) after I reboot the dwarf. And, also, the mobile is connected, but I can’t access 192.168.0.1 on it :frowning:

I tried again (rebooted dwarf, tried to connect android 8), and now can’t connect.

After reboot it again, I tried with Iphone 7 and a connection was established, but without access to mod-ui by Safari. In this case, after I turn down the mobile Bluetooth, appeared disconnected :man_shrugging:t4:

Unfortunately, there are some randomly, then I couldn’t describe what exactly occurred, because I couldn’t retest and obtain the exactly result.

By the way, the iPhone 7 Bluetooth is 4.2, not 5. I don’t know what is the dongle version :expressionless:

I also cant connect cause the Adapter cant be scanned by other Bluetooth devices.
The same adapter runs properly on Windows.
https://www.amazon.de/gp/product/B098K3H92Z/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&th=1

here is the hciconfig:
hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: E8:48:B8:C8:20:00 ACL MTU: 1021:6 SCO MTU: 255:12
UP RUNNING
RX bytes:1680 acl:0 sco:0 events:95 errors:0
TX bytes:1678 acl:0 sco:0 commands:95 errors:0
Features: 0xff 0xff 0xff 0xfe 0xdb 0xfd 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: ‘MOD Dwarf’
Class: 0x822310
Service Classes: Networking, Information
Device Class: LAN Access, Fully available
HCI Version: (0xa) Revision: 0xb
LMP Version: (0xa) Subversion: 0x8761
Manufacturer: Realtek Semiconductor Corporation (93)

1 Like

Are you having problems connecting to which OS? MacOS?

1 Like

Android

1 Like

Android sometimes can be a little bit tricky with this.
I would say that if you can connect the same device and the same dongle on Windows the problem is actually on the Android device. Either it is on the settings or on the device itself.
Are you following the steps described here? Especially have you set the MOD as the “Internet access” device on the Android?

1 Like

yes i did. WLAN is off. I tried it with and without Bluetooth tethering.
The Problem is that the Dwarf tells me that Bluetooth discovery is set to on, but the device can not be scanned by the Andorid devices, (Samsung TAB A & Motorola Handy). The same Bluetooth dongle connected to my Windows-PC can be scanned by Android and then i am also able to pair it with the PC.

1 Like

and the same Bluetooth dongle on the Dwarf can pair with the Windows PC just fine?

1 Like