We have moved to a new Sailfish OS Forum. Please start new discussions there.
![]() | 1 | initial version | posted 2016-07-12 12:39:19 +0200 |
Setup: Sailos 2.0.1.11
Test case: 1. Boot the device 2. Install tunein app for android from the aptoide apps 3. play some radio music 4. close the app 5. wait one day 6. open the app again and try to play music
Result: 1. Audio does not play 2. Progress bar does not advance in the app 3. In the terminal I check pacmd list-sinks and find driver: <module-droid-card.c >="" state:="" suspended="" suspend="" cause:="" idle<="" p="">
Expected result: I expected the app to play as it did the first time
Here is the full pacmd output: Blockquote [nemo@Jolla ~]$ pacmd list-sinks 4 sink(s) available. index: 0 name: <sink.null> driver: <module-null-sink.c> flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 1000 volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB balance 0.00 base volume: 65536 / 100% / 0.00 dB volume steps: 65537 muted: no current latency: 0.00 ms max request: 375 KiB max rewind: 375 KiB monitor source: 0 sample spec: s16le 2ch 48000Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms module: 5 properties: device.description = "Null Output" device.class = "abstract" device.icon_name = "audio-card" policy.device.typelist = "null" x-maemo.mode = "null" x-maemo.accessory_hwid = "" * index: 1 name: <sink.primary> driver: <module-droid-card.c> flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME state: SUSPENDED suspend cause: IDLE priority: 9000 volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB balance 0.00 base volume: 65536 / 100% / 0.00 dB volume steps: 65537 muted: no current latency: 0.00 ms max request: 0 KiB max rewind: 0 KiB monitor source: 1 sample spec: s16le 2ch 48000Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 fixed latency: 96.00 ms card: 0 <droid_card.primary> module: 6 properties: device.description = "Droid sink primary" device.class = "sound" droid.hw_module = "primary" device.icon_name = "audio-card" policy.device.typelist = "tvoutandbthsp ihfandbthsp ihfandheadset ihfandheadphone bthsp bthspforcall bthspforalien headset headsetforcall headsetforalien headphone headphoneforcall headphoneforalien ihfandtvout tvout earpieceandtvout earpiece earpieceforalien ihf ihfforcall ihfforalien" x-maemo.mode = "ihf" x-maemo.accessory_hwid = "" x-nemo.voicecall.status = "inactive" x-nemo.media.state = "inactive" ports: output-earpiece: Output to earpiece (priority 200, latency offset 0 usec, available: yes) properties:
output-speaker: Output to speaker (priority 300, latency offset 0 usec, available: yes)
properties:
output-wired_headset: Output to wired headset (priority 100, latency offset 0 usec, available: yes)
properties:
output-wired_headphone: Output to wired headphone (priority 100, latency offset 0 usec, available: yes)
properties:
output-bluetooth_sco: Output to bluetooth sco (priority 100, latency offset 0 usec, available: yes)
properties:
output-sco_headset: Output to sco headset (priority 100, latency offset 0 usec, available: yes)
properties:
output-sco_carkit: Output to sco carkit (priority 100, latency offset 0 usec, available: yes)
properties:
output-a2dp: Output to a2dp (priority 100, latency offset 0 usec, available: yes)
properties:
output-a2dp_headphones: Output to a2dp headphones (priority 100, latency offset 0 usec, available: yes)
properties:
output-a2dp_speaker: Output to a2dp speaker (priority 100, latency offset 0 usec, available: yes)
properties:
output-aux_digital: Output to aux digital (priority 100, latency offset 0 usec, available: yes)
properties:
output-analog_dock_headset: Output to analog dock headset (priority 100, latency offset 0 usec, available: yes)
properties:
output-usb_accessory: Output to usb accessory (priority 100, latency offset 0 usec, available: yes)
properties:
output-usb_device: Output to usb device (priority 100, latency offset 0 usec, available: yes)
properties:
output-fm: Output to fm (priority 100, latency offset 0 usec, available: yes)
properties:
output-fm_tx: Output to fm tx (priority 100, latency offset 0 usec, available: yes)
properties:
output-proxy: Output to proxy (priority 100, latency offset 0 usec, available: yes)
properties:
output-speaker+wired_headphone: Output to speaker+wired headphone (priority 100, latency offset 0 usec, available: yes)
properties:
output-parking: Parking port (priority 50, latency offset 0 usec, available: yes)
properties:
active port: <output-speaker>
index: 2
name: <sink.fake.sco>
driver: <module-null-sink.c>
flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
volume: mono: 0 / 0% / -inf dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 16
muted: no
current latency: 0.00 ms
max request: 31 KiB
max rewind: 31 KiB
monitor source: 3
sample spec: s16le 1ch 8000Hz
channel map: mono
Mono
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
module: 7
properties:
device.description = "Null Output"
device.class = "abstract"
device.icon_name = "audio-card"
policy.device.typelist = ""
bluetooth.prefer.hsp = "false"
bluetooth.hsp.prevent.suspend.transport = "true"
bluetooth.protocol = "hsp"
index: 3
name: <sink.primaryandbluez>
driver: <module-combine-sink.c>
flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 8 KiB
max rewind: 0 KiB
monitor source: 5
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 200.00 ms
module: 10
properties:
device.class = "filter"
device.description = "Simultaneous output to Droid sink primary"
device.icon_name = "audio-card"
policy.device.typelist = ""
Blockquote
![]() | 2 | No.2 Revision |
Setup:
Sailos Here is the full pacmd output:
Blockquote
output:
[nemo@Jolla ~]$ pacmd
list-sinks 4list-sinks 4 sink(s) available. index:00 name:<sink.null><sink.null> driver:<module-null-sink.c> flags:<module-null-sink.c> flags: DECIBEL_VOLUME LATENCYFLAT_VOLUME DYNAMIC_LATENCYFLAT_VOLUME DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLEpriority: 1000 volume: front-left: 65536 / 100%// 0.00 dB, front-right: 65536 / 100% / 0.00 dB balance0.000.00 base volume: 65536 / 100% / 0.00dBdB volumesteps: 65537steps: 65537 muted:nono currentlatency:latency: 0.00msms max request: 375KiBKiB max rewind: 375KiBKiB monitor source: 0 sample spec: s16le 2ch 48000Hz channel map: front-left,front-rightStereoStereo used by:00 linked by:00 configuredlatency:latency: 0.00 ms; range is 0.50 .. 2000.00msms module:55 properties: device.description = "Null Output" device.class = "abstract" device.icon_name = "audio-card" policy.device.typelist = "null" x-maemo.mode = "null" x-maemo.accessory_hwid ="" *"" * index:11 name: <sink.primary> driver:<module-droid-card.c> flags:<module-droid-card.c> flags: HARDWARE DECIBEL_VOLUMELATENCYLATENCY FLAT_VOLUMEstate: SUSPENDED suspend cause: IDLEpriority: 9000 volume: front-left: 65536 / 100%// 0.00 dB, front-right: 65536 / 100% / 0.00 dB balance0.000.00 base volume: 65536 / 100% / 0.00dBdB volumesteps: 65537steps: 65537 muted:nono currentlatency:latency: 0.00msms max request: 0KiBKiB max rewind: 0KiBKiB monitor source: 1 sample spec: s16le 2ch 48000Hz channel map: front-left,front-rightStereoStereo used by:00 linked by:00 fixed latency: 96.00 ms card: 0<droid_card.primary> module: 6 properties:<droid_card.primary> module: 6 properties: device.description== "Droid sinkprimary"primary" device.class= "sound"= "sound" droid.hw_module = "primary" device.icon_name = "audio-card" policy.device.typelist== "tvoutandbthspihfandbthspihfandbthsp ihfandheadset ihfandheadphonebthspbthsp bthspforcall bthspforalienheadsetheadset headsetforcallheadsetforalienheadsetforalien headphoneheadphoneforcallheadphoneforcall headphoneforalien ihfandtvouttvouttvout earpieceandtvoutearpieceearpiece earpieceforalien ihfihfforcall ihfforalien"ihfforcall ihfforalien" x-maemo.mode = "ihf" x-maemo.accessory_hwid = "" x-nemo.voicecall.status = "inactive" x-nemo.media.state = "inactive"ports:ports: output-earpiece: Outputtoto earpiece (priority 200, latencyoffsetoffset 0 usec, available:yes) properties:yes) properties: output-speaker: Output to speaker (priority 300, latency
offsetoffset 0 usec, available:yes)yes) properties:output-wired_headset: Output to wired headset (priority 100,latencylatency offset 0 usec, available: yes) properties:output-wired_headphone: Output to wired headphone (priority100,100, latency offset 0 usec, available: yes) properties:output-bluetooth_sco: Output to bluetooth sco (priority 100,latencylatency offset 0 usec, available: yes) properties:output-sco_headset: Output to sco headset (priority 100,latencylatency offset 0 usec, available: yes) properties:output-sco_carkit: Output to sco carkit (priority 100,latencylatency offset 0 usec, available: yes) properties:output-a2dp: Output to a2dp (priority 100, latency offset 0usec,usec, available:yes)yes) properties:output-a2dp_headphones: Output to a2dp headphones (priority100,100, latency offset 0 usec, available: yes) properties:output-a2dp_speaker: Output to a2dp speaker (priority 100,latencylatency offset 0 usec, available: yes) properties:output-aux_digital: Output to aux digital (priority 100,latencylatency offset 0 usec, available: yes) properties:output-analog_dock_headset: Output to analog dockheadsetheadset (priority 100, latency offset 0usec,usec, available:yes)yes) properties:output-usb_accessory: Output to usb accessory (priority 100,latencylatency offset 0 usec, available: yes) properties:output-usb_device: Output to usb device (priority 100,latencylatency offset 0 usec, available: yes) properties:output-fm: Output to fm (priority 100, latency offset 0usec,usec, available:yes)yes) properties:output-fm_tx: Output to fm tx (priority 100, latency offset 0usec,usec, available:yes)yes) properties:output-proxy: Output to proxy (priority 100, latency offset 0usec,usec, available:yes)yes) properties:output-speaker+wired_headphone: Output to speaker+wiredheadphoneheadphone (priority 100, latency offset 0usec,usec, available:yes)yes) properties:output-parking: Parking port (priority 50, latency offset 0usec,usec, available:yes)yes) properties:active port: <output-speaker> index:22 name:<sink.fake.sco><sink.fake.sco> driver:<module-null-sink.c> flags:<module-null-sink.c> flags: DECIBEL_VOLUME LATENCYFLAT_VOLUME DYNAMIC_LATENCYFLAT_VOLUME DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLEpriority: 1000 volume: mono: 0 / 0% / -inf dB balance0.000.00 base volume: 65536 / 100% / 0.00dBdB volumesteps: 16steps: 16 muted:nono current latency:0.00 ms0.00 ms max request: 31KiBKiB maxrewind:rewind: 31KiBKiB monitor source:3 sample3 sample spec: s16le 1ch8000Hz8000Hz channelmap:map: monoMonoMono used by:00 linked by:00 configured latency: 0.00ms;ms; range is 0.50 .. 2000.00msms module: 7properties:properties: device.description = "Null Output" device.class = "abstract" device.icon_name = "audio-card" policy.device.typelist ="Null Output" device.class = "abstract" device.icon_name = "audio-card" policy.device.typelist = """" bluetooth.prefer.hsp ="false" bluetooth.hsp.prevent.suspend.transport"false" bluetooth.hsp.prevent.suspend.transport ="true""true" bluetooth.protocol = "hsp" index:33 name:<sink.primaryandbluez> driver: <module-combine-sink.c> flags:<sink.primaryandbluez> driver: <module-combine-sink.c> flags: DECIBEL_VOLUME LATENCYFLAT_VOLUME DYNAMIC_LATENCYFLAT_VOLUME DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLEpriority: 1000 volume: front-left: 65536 / 100%// 0.00 dB, front-right: 65536 / 100% / 0.00 dB balance0.000.00 base volume: 65536 / 100% / 0.00dBdB volumesteps: 65537steps: 65537 muted:nono currentlatency:latency: 0.00msms max request: 8KiBKiB max rewind: 0KiBKiB monitor source: 5 sample spec: s16le 2ch 48000Hz channel map: front-left,front-rightStereoStereo used by:00 linked by:00 configuredlatency:latency: 0.00 ms; range is 0.50 .. 200.00msms module:1010 properties: device.class = "filter" device.description ="Simultaneous"Simultaneous output to Droid sink primary" device.icon_name = "audio-card" policy.device.typelist =""Blockquote""
![]() | 3 | No.3 Revision |
Setup:
Sailos 2.0.1.11
Test case:
1. Boot the device
2. Install tunein app for android from the aptoide apps
3. play some radio music
4. close the app
5. wait one day
6. open the app again and try to play music
Result:
1. Audio does not play
2. Progress bar does not advance in the app
3. In the terminal I check pacmd list-sinks and find driver: <module-droid-card.c > state: SUSPENDED suspend cause: IDLE
Expected result:
I expected the app to play as it did the first time
Here is the full pacmd output:
[nemo@Jolla ~]$ pacmd list-sinks 4
4
sink(s) available.
available.
index: 0 name: <sink.null> driver: <module-null-sink.c> flags:
flags:
DECIBEL_VOLUME LATENCY FLAT_VOLUME
FLAT_VOLUME
DYNAMIC_LATENCY state: SUSPENDED
SUSPENDED
suspend cause: IDLE priority: 1000
1000
volume: front-left: 65536 / 100% /
/
0.00 dB, front-right: 65536 / 100% / 0.00 dB
dB
balance 0.00 base volume: 65536 / 100% / 0.00 dB
volume steps:65537 muted: no current latency:0.00 ms max request: 375 KiB max rewind: 375 KiB monitor source: 0
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo used by: 0 linked by: 0 configured latency:0.00 ms; range is 0.50 .. 2000.00 ms module: 5 properties:
device.description = "Null Output"
device.class = "abstract"
device.icon_name = "audio-card"
policy.device.typelist = "null"
x-maemo.mode = "null"
x-maemo.accessory_hwid = "" *
index: 1 name: <sink.primary>
driver: <module-droid-card.c> flags:
HARDWARE DECIBEL_VOLUME LATENCY
FLAT_VOLUME state: SUSPENDED
suspend cause: IDLE priority: 9000
volume: front-left: 65536 / 100% /
0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00 base volume: 65536 / 100% / 0.00 dB volume steps:
steps:
65537 muted: no current latency:
latency:
0.00 ms max request: 375 0 KiB max rewind: 375 0 KiB monitor source: 0
1
sample spec: s16le 2ch 48000Hz
48000Hz
channel map: front-left,front-right
front-left,front-right
Stereo used by: 0 linked by: 0 configured latency:
0.00 ms; range is 0.50 .. 2000.00 ms module: 5 properties:
device.description = "Null Output"
device.class = "abstract"
device.icon_name = "audio-card"
policy.device.typelist = "null"
x-maemo.mode = "null"
x-maemo.accessory_hwid = "" *
index: 1 name: <sink.primary>
driver: <module-droid-card.c> flags:
HARDWARE DECIBEL_VOLUME LATENCY
FLAT_VOLUME state: SUSPENDED
suspend cause: IDLE priority: 9000
volume: front-left: 65536 / 100% /
0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00 base volume: 65536 / 100% / 0.00 dB volume steps:
65537 muted: no current latency:
0.00 ms max request: 0 KiB max rewind: 0 KiB monitor source: 1
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo used by: 0 linked by: 0 fixed latency: 96.00 ms
ms
card: 0 <droid_card.primary> module:
6 <droid_card.primary>
module:6
properties: device.description =
"Droid ="Droid sink primary" primary"
device.class =
"sound" = "sound"
droid.hw_module = "primary"
"primary"
device.icon_name = "audio-card"
"audio-card"
policy.device.typelist =
= "tvoutandbthsp ihfandbthsp
ihfandbthsp ihfandheadset ihfandheadphone bthsp
bthsp bthspforcall
bthspforalien headset
headset headsetforcall headsetforalien
headsetforalien headphone headphoneforcall
headphoneforcall headphoneforalien ihfandtvout tvout
tvout earpieceandtvout earpiece
earpiece earpieceforalien ihf ihfforcall
ihfforalien" ihfforcall ihfforalien"
x-maemo.mode = "ihf"
"ihf"
x-maemo.accessory_hwid = ""
""
x-nemo.voicecall.status = "inactive"
"inactive"
x-nemo.media.state = "inactive"
"inactive"
ports: output-earpiece: Output to
to earpiece (priority 200, latency offset
offset 0 usec, available: yes) properties:
properties: output-speaker: Output to speaker (priority 300, latency offset
offset 0 usec, available: yes) properties:
properties: output-wired_headset: Output to wired headset (priority 100, latency
latency offset 0 usec, available: yes)
properties:
properties:
output-wired_headphone: Output to wired headphone (priority 100,
latency offset 0 usec, available: yes) properties: output-bluetooth_sco: Output to bluetooth sco (priority 100, latency offset 0 usec, available: yes) properties: output-sco_headset: Output to sco headset (priority 100, latency offset 0 usec, available: yes) properties: output-sco_carkit: Output to sco carkit (priority 100, latency offset 0 usec, available: yes) properties: output-a2dp: Output to a2dp (priority 100, latency offset 0 usec, available: yes) properties: output-a2dp_headphones: Output to a2dp headphones (priority 100, latency offset 0 usec, available: yes) properties: output-a2dp_speaker: Output to a2dp speaker (priority 100, latency offset 0 usec, available: yes) properties: output-aux_digital: Output to aux digital (priority 100, latency offset 0 usec, available: yes) properties: output-analog_dock_headset: Output to analog dock headset (priority 100, latency offset 0 usec, available: yes) properties: output-usb_accessory: Output to usb accessory (priority 100, latency offset 0 usec, available: yes) properties: output-usb_device: Output to usb device (priority 100, latency offset 0 usec, available: yes) properties: output-fm: Output to fm (priority 100, latency offset 0 usec, available: yes) properties: output-fm_tx: Output to fm tx (priority 100, latency offset 0 usec, available: yes) properties: output-proxy: Output to proxy (priority 100, latency offset 0 usec, available: yes) properties: output-speaker+wired_headphone: Output to speaker+wired headphone (priority 100, latency offset 0 usec, available: yes) properties: output-parking: Parking port (priority 50, latency offset 0 usec, available: yes) properties: active port: <output-speaker> index: 2 name: <sink.fake.sco> driver: <module-null-sink.c> flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 1000 volume: mono: 0 / 0% / -inf dB balance 0.00 base volume: 65536 / 100% / 0.00 dB volume steps: 16 muted: no current latency: 0.00 ms max request: 31 KiB max rewind: 31 KiB monitor source: 3 sample spec: s16le 1ch 8000Hz channel map: mono Mono used by: 0 linked by: 0 configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms module: 7 properties: device.description = "Null Output" device.class = "abstract" device.icon_name = "audio-card" policy.device.typelist = "" bluetooth.prefer.hsp = "false" bluetooth.hsp.prevent.suspend.transport = "true" bluetooth.protocol = "hsp" index: 3 name: <sink.primaryandbluez> driver: <module-combine-sink.c> flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 1000 volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB balance 0.00 base volume: 65536 / 100% / 0.00 dB volume steps: 65537 muted: no current latency: 0.00 ms max request: 8 KiB max rewind: 0 KiB monitor source: 5 sample spec: s16le 2ch 48000Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 configured latency: 0.00 ms; range is 0.50 .. 200.00 ms module: 10 properties: device.class = "filter" device.description = "Simultaneous output to Droid sink primary" device.icon_name = "audio-card" policy.device.typelist = ""