Rockbox on pandora with bluetooth

Discussion in 'Support Area' started by ljones, Sep 27, 2017.

  1. ljones

    ljones Member

    Joined:
    Aug 12, 2006
    Messages:
    195
    Hello all!

    Really just trying to revive something here (I understand some of the software is getting pretty much out of date). But what I'm trying to do is to simply use the Rockbox app for pandora to play audio over bluetooth, rather than over headphones or internal speaker.

    I can get bluetooth to pair to a bluetooth speaker successfully, but rockbox itself just closes once an audio file is selected.

    BTW, I have the following in /etc/asound.conf ;

    Code:
    pcm.!default {
     type plug
     slave.pcm "softvol"
    }
    
    pcm.softvol {
     type softvol
     slave.pcm "bluetooth"
     control.name "Master"
     control {
     card 0
     }
    }
    
    pcm.bluetooth {
     type bluetooth
    }
    
    I've tried several variants on this but I always find that rockbox closes once an audio file is selected.

    Decompressing the PND I found the real reason why:

    Code:
    ALSA lib audio/pcm_bluetooth.c:1614(audioservice_expect) BT_OPEN failed : Invalid argument (22)
    ALSA lib audio/pcm_bluetooth.c:1614(audioservice_expect) BT_OPEN failed : Invalid argument (22)
    Segmentation Fault
    
    After poking on the 'net for a little bit I've found that this is some sort of problem between sdl and alsa. Though not sure what beyond that!

    Any way of fixing the invalid argument at all?

    ljones
     
    Last edited: Sep 27, 2017
    Tags:
  2. Linux-SWAT

    Linux-SWAT Hardcore Member

    Joined:
    Feb 13, 2010
    Messages:
    8,188
  3. ljones

    ljones Member

    Joined:
    Aug 12, 2006
    Messages:
    195
    :) I did see that and tried what was there. I found that I had to modify the file in /etc/asound.conf rather than ~/.asoundrc . Prehaps it is some sort of bug in rockbox/SDL (guessing it uses SDL)?

    Update : I tried the pandora version of slackware but it does exactly the same thing. x.x

    Will have to wait for the pyra :) !

    ljones
     
    Last edited: Sep 28, 2017

Share This Page

Loading...