vishnu sure

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • 20. Mai 2023 at 0:35 #52838

    hello i seem to be having problem again ! Blutooth service on M2P somehow failed. So tried to restart bluetooth service which started fine. Fire Tv was unable to connect. So removed and tried to repair using bluetoothctl. It pairs and immediately gets disconnected ! can someone please help ?

    [bluetooth]# discoverable on
    Changing discoverable on succeeded
    [CHG] Controller 00:1A:7D:DA:71:15 Discoverable: yes
    [bluetooth]# pairable on
    Changing pairable on succeeded
    [CHG] Controller 00:1A:7D:DA:71:15 Pairable: yes
    [bluetooth]# agent on
    Agent registered
    [bluetooth]# default-agent
    Default agent request successful
    [NEW] Device D8:BE:65:19:E5:FB SV’s Fire TV
    Request confirmation
    [agent] Confirm passkey 742133 (yes/no): yes
    [CHG] Device D8:BE:65:19:E5:FB Modalias: bluetooth:v0171p03A1d0100
    [CHG] Device D8:BE:65:19:E5:FB UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
    [CHG] Device D8:BE:65:19:E5:FB UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
    [CHG] Device D8:BE:65:19:E5:FB UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
    [CHG] Device D8:BE:65:19:E5:FB UUIDs: 00001200-0000-1000-8000-00805f9b34fb
    [CHG] Device D8:BE:65:19:E5:FB UUIDs: 00001800-0000-1000-8000-00805f9b34fb
    [CHG] Device D8:BE:65:19:E5:FB UUIDs: 00001801-0000-1000-8000-00805f9b34fb
    [CHG] Device D8:BE:65:19:E5:FB ServicesResolved: yes
    [CHG] Device D8:BE:65:19:E5:FB Paired: yes
    [CHG] Device D8:BE:65:19:E5:FB ServicesResolved: no
    [CHG] Device D8:BE:65:19:E5:FB Connected: no

    also tried to connect from UI and get the below error in debug

    If you connected Bluetooth Speakers, make sure to set the soundcard of your audioplayers to bluetooth as audio output! You need to restart your Audioplayer if the Bluetooth Device changed.
    If you connected a Smartphone to stream to Squeezebox Server, NO further setting to your soundcard is needed (do NOT set your soundcard to bluealsa)!
    Agent registered
    agent off
    Agent unregistered
    agent NoInputNoOutput
    devices
    Device D8:BE:65:19:E5:FB SV’s Fire TV
    Device C0:FB:F9:60:1D:BE osmc
    Agent registered
    paired-devices
    Device D8:BE:65:19:E5:FB SV’s Fire TV
    Device C0:FB:F9:60:1D:BE osmc
    connect D8:BE:65:19:E5:FB
    Attempting to connect to D8:BE:65:19:E5:FB
    Failed to connect: org.bluez.Error.Failed
    quit

    EDIT:
    Restarting the M2P device & repairing worked ! that seems to have did the trick

    • This reply was modified 1 year, 6 months ago by vishnu sure.
    • This reply was modified 1 year, 6 months ago by vishnu sure.
    3. Februar 2023 at 17:30 #52639

    Finally I got it working !!! I was able to connect my Fire TV Stick to M2P Bluetooth Receiver.
    I followed the original instructions from
    https://www.max2play.com/en/forums/topic/using-pi-as-bluetooth-speaker-make-pairing-easier/ but unable to setup successfully.

    As mentioned in above post, I did set the class to 0x00041C as below:

    sudo hciconfig hci0 class 0x00041C

    However whenever i try to make the bluetooth adapter in M2P discoverable it gets reverted back to 0x0c0000

    So, I added the below line to /etc/bluetooth/main.conf in Default device class section.
    Class = 0x200414

    so it looks like:
    # Default device class. Only the major and minor device class bits are
    # considered. Defaults to ‚0x000000‘.
    #Class = 0x000100
    Class = 0x200414

    and then run
    sudo systemctl status bluetooth.service

    I used 0x200414 as my device class and it worked perfectly. I included more classes below that you can test ! i generated them using
    http://bluetooth-pentest.narod.ru/software/bluetooth_class_of_device-service_generator.html

    ================================ Device Classes ====================================
    Major Service Class | Major Device Class | Minor Device Class | Bluetooth Code
    ——————– ——————– ———————– —————-
    Audio Audio,Video Loudspeaker 0x200414
    Audio, Video Portable Audio 0x41C
    Audio Audio,Video Portable Audio 0x20041C
    Audio Audio,Video HiFi Audio Device 0x200428

    ======================================================================================

    Also i ssh’ed into M2P device, and then

    sudo hciconfig -a (check whether its showing the new class)
    sudo bluetoothctl (to go into bluetooth prompt)
    discoverable on
    pairable on
    agent on
    default-agent on

    Now Start Fire TV, and scan for bluetooth devices, Your M2P should definitely show up, Pair it and also ensure you fill in the prompts you get on bluetoothctl prompt on your M2P device. Thats it Enjoy
    the Fire Tv sound on M2P connected Speaker !!

    • This reply was modified 1 year, 9 months ago by vishnu sure.
    • This reply was modified 1 year, 9 months ago by vishnu sure.
    3. Februar 2023 at 15:23 #52638

    Hi Mario,

    Any Update on this ? I have a Pi Zero 2W shipping to me in the next few days. Does M2P image work on Pi Zero 2WH as of yet ?

    2. Februar 2023 at 16:06 #52637

    Thanks Mario. Yes i have setup the bluetooth class to 0x00041C and did verify it using the hciconfig too. But my Fire TV stick was still unable to discover the M2P device connected to my Sound bar !!! Perhaps i will check the bluetooth class of devices using http://bluetooth-pentest.narod.ru/software/bluetooth_class_of_device-service_generator.html

    I could see some thing like 0x41C – for Majority Device Class – Audio/Video & Minor Device Class – Portable Audio

    I could not generate 0x00041C with any combination and perhaps that why it didnt worked. I will try to generate various blueetooth classes and update here if some class is discovered by Fire TV !

    31. Januar 2023 at 16:21 #52630

    Hello Sebastian,

    Thank you for this tip ! I was trying to do the same thing to pair my Fire TV stick with M2P speaker but not not successful yet !

    After making the M2P discoverable and pairable, I turned the agent on and also did default-agent.

    At this time, I start searching for M2P device in Fire TV Bluetooth settings but it doesn’t seem to find it / discover it at all !

    So I am not getting the below

    [CHG] Device XX:XX:XX:XX:XX:XX Connected: yes

    Do you have any suggestion for me to pair my Fire TV to M2P. I bought a new soundbar and would really love to connect it with M2P. It is connected to M2P (Pi 3 with HiFiBerry Digi+ connected to optical input of my soundbar).

    This is the fire stick I am using: Fire TV Stick 4K with Alexa Voice Remote

    31. Januar 2023 at 16:13 #52629

    Thank you MarioM,

    Well UB500 dongle lists that it is only compatible with Windows and has a windows driver to download as it’s based on a Realtek chipset !

    However UB400 dingle from same vendor to lists it’s only compatible with windows and based on Cambridge silicon radio chipset ! It worked straight out of the box though on my M2P device !!!

    31. Januar 2023 at 16:10 #52628

    Thanks MarioM, for letting me know this though little disappointing to know fire Tv is currently not supported ! Is is something that will be supported in the near future ?

    Also I have seen someone on the forum as per below link.

    Using PI as Bluetooth-Speaker – Make Pairing easier

    They seem to successfully pair the Fire TV manually ! I have tried it but it never worked for me !!!

    31. Januar 2023 at 15:43 #52625

    Hi MarioM,

    Thank you very much. It’s a Bluetooth speaker and the specifications are listed on creative website at https://uk.creative.com/p/speakers/creative-muvo-play#specs.

    The specifications on above link says:

    Power Output
    Satellites: 2 x 5W RMS, Peak Power: 20W

    Signal-to-Noise Ratio (SNR)
    ≥ 75 dB

    I do not see any mention of any amplifier in the specifications.so wondering how to deduce if it indeed is an active speaker ?

    Edit :

    This is indeed an active speaker and I need to use a DAC Card !

    Oh well I understand that not all active speakers give amplifier rating explicitly especially it it’s a portable Bluetooth speaker ! The easy way to identify is -> it’s the speaker is connected to a power supply, a battery and a AUX in (3.5 mm input or 1/8 input) it’s essentially a active speaker !

    Great video on how to identify the active vs passive speaker at

    • This reply was modified 1 year, 9 months ago by vishnu sure.
    • This reply was modified 1 year, 9 months ago by vishnu sure.
    28. Januar 2023 at 17:26 #52619

    can someone please help, i am unable to still use Fire TV Stick as source !
    I was able to conenct my phone and echo show successfully to M2P Device. No matter whaterver i try fire tv stick is unable to discover M2P !!! Could someone please help… Looking for answers all over since 3-4 days for help !!!

    I tried the following :

    1. Tried Manually discovering as sugegsted in https://www.max2play.com/en/forums/topic/using-pi-as-bluetooth-speaker-make-pairing-easier/ – Never worked for me

    2. Disabled on board Wifi, Enabled Wifi Dongle conencted to a powered usb hsb, Using onboard Bluetooth – Fire Tv is not discovered

    3. Onboard Wifi, TPLINK UB400 Bluetooth stick – Fire Tv is not discovered

    4. Onboard Wifi, TPLINK UB400 Bluetooth – installed realtek bluetooth firmware – M2P is not discoverable by any device – so ruled out this approach.

    Could someone please please help or give insights how to connect Fire TV as audio source to M2P Device ???


    @Heiner
    @flysurfer could you please help…

    26. Januar 2023 at 14:22 #52614

    Just an update to echo problem. As someone on the the forum mentioned, i did the below steps:

    1. Connect Echo. Sound Still comes from echo and not from connected M2P device.
    2. I asked Alexa to disconnect Bluetooth and Connect Bluetooth.
    3. Magically, when i ask anything to Alexa now, sound comes from M2P device !

    Its just annoying to disconnect and connect alexa everytime to ensure alexa can act as a source to m2P device ! Any fix for this ?

    Also I am still unable to connect Fire TV Stick to M2P device via Bluetooth.

    Also, to add, If i am able to connect Fire Tv Stick, can M2P automatically switch the between echo and Fire TV based on whats playing ?

Viewing 10 posts - 1 through 10 (of 10 total)