by Beelzebassie » 13 Nov 2018, 18:37
by Gabriel Syme » 13 Nov 2018, 20:07
by belgarath0815 » 13 Nov 2018, 23:35
by janui » 14 Nov 2018, 10:17
Could you log in via SSH and run the following commands:belgarath0815 wrote:I can connect to rune from the Apple device but as soon as I press play it disconnects rune . It's working without problem when I switch to analog output..
systemctl status shairport-sync
redis-cli hgatall mpdconf
redis-cli hgetall airplay
mpc outputs
by belgarath0815 » 14 Nov 2018, 19:19
shairport-sync.service - Shairport Sync - AirPlay Audio Receiver
Loaded: loaded (/usr/lib/systemd/system/shairport-sync.service; disabled; vendor preset: dis>
Active: active (running) since Wed 2018-11-14 18:53:01 CET; 3min 9s ago
Process: 24960 ExecStartPre=/usr/bin/mkdir -p /var/run/shairport (code=exited, status=0/SUCCE>
Main PID: 24961 (shairport-sync)
Tasks: 3 (limit: 2302)
CGroup: /system.slice/shairport-sync.service
└─24961 /usr/bin/shairport-sync -c /etc/shairport-sync.conf
Nov 14 18:53:01 runeaudio systemd[1]: Starting Shairport Sync - AirPlay Audio Receiver...
Nov 14 18:53:01 runeaudio systemd[1]: Started Shairport Sync - AirPlay Audio Receiver.
Nov 14 18:53:01 runeaudio shairport-sync[24961]: Successful Startup
root@runeaudio(rw):~# redis-cli hgetall mpdconf
1) "zeroconf_enabled"
2) "yes"
3) "zeroconf_name"
4) "RuneAudio"
5) "log_level"
6) "none"
7) "bind_to_address"
8) "any"
9) "port"
10) "6600"
11) "max_connections"
12) "20"
13) "user"
14) "mpd"
15) "db_file"
16) "/var/lib/mpd/mpd.db"
17) "sticker_file"
18) "/var/lib/mpd/sticker.sql"
19) "pid_file"
20) "/var/run/mpd/pid"
21) "music_directory"
22) "/mnt/MPD"
23) "playlist_directory"
24) "/var/lib/mpd/playlists"
25) "state_file"
26) "/var/lib/mpd/mpdstate"
27) "dsd_usb"
28) "DSDDOP"
29) "follow_outside_symlinks"
30) "yes"
31) "follow_inside_symlinks"
32) "yes"
33) "auto_update"
34) "no"
35) "filesystem_charset"
36) "UTF-8"
37) "id3v1_encoding"
38) "UTF-8"
39) "volume_normalization"
40) "no"
41) "audio_buffer_size"
42) "8192"
43) "buffer_before_play"
44) "10%"
45) "gapless_mp3_playback"
46) "yes"
47) "mixer_type"
48) "disabled"
49) "curl"
50) "yes"
51) "ffmpeg"
52) "yes"
53) "version"
54) "0.20.20"
55) "soxr"
56) "very high"
57) "replaygain"
58) "auto"
root@runeaudio(rw):~# redis-cli hgetall airplay
1) "name"
2) "Rune"
3) "interpolation"
4) ""
5) "output_backend"
6) "alsa"
7) "alac_decoder"
8) "apple"
9) "run_this_before_play_begins"
10) "/var/www/command/airplay_toggle on"
11) "run_this_after_play_ends"
12) "/var/www/command/airplay_toggle off"
13) "run_this_wait_for_completion"
14) "yes"
15) "alsa_output_device"
16) "hw:1"
17) "alsa_mixer_device"
18) ""
19) "alsa_mixer_control"
20) "PCM"
21) "alsa_output_format"
22) "S16"
23) "pipe_pipe_name"
24) "/tmp/shairport-sync-output-pipe"
25) "metadata_enabled"
26) ""
27) "metadata_include_cover_art"
28) ""
29) "metadata_pipe_name"
30) "/tmp/shairport-sync-metadata"
31) "extlabel"
32) ""
33) "source_ip_number"
34) "192.168.0.154"
35) "server_ip_number"
36) "192.168.0.249"
37) "user_agent"
38) "AirPlay/371.4.7"
39) "source_active_remote_token"
40) "4258498148"
41) "dacp_id"
42) "4A4F61E7F63D41C"
43) "source_remote_control_port_number"
44) "49218"
45) "ao"
46) "FOSTEX USB AUDIO HP-A8"
47) "soxronoff"
48) "0"
49) "metadataonoff"
50) "0"
51) "artworkonoff"
52) "0"
53) "enable"
54) "1"
mpc outputs
Output 1 (bcm2835 ALSA_1) is disabled
Output 2 (FOSTEX USB AUDIO HP-A8) is enabled
Output 3 (bcm2835 ALSA_2) is disabled
by janui » 14 Nov 2018, 22:43
Thanks for the output. It looks fine, but I need a bit more information. Could you post the output of these commands:belgarath0815 wrote:Thx for the fast reply!
Output as requested:
redis-cli hgetall acards
aplay -l
amixer controls -c 0
amixer controls -c 1
redis-cli hset airplay alsa_output_format S32
by belgarath0815 » 14 Nov 2018, 23:53
redis-cli hgetall acards
1) "bcm2835 ALSA_1"
2) "{\"id\":\"1\",\"sysname\":\"bcm2835 ALSA\",\"extlabel\":\"RaspberryPi Analog Out\",\"hwplatformid\":\"01\",\"mixer_numid\":\"1\",\"mixer_control\":\"PCM\",\"route_cmd\":\"amixer -c 0 cset numid=3 1 > \\/dev\\/null\",\"device\":\"hw:0,0\",\"name\":\"bcm2835 ALSA_1\",\"type\":\"alsa\",\"integrated_sub\":1,\"real_interface\":\"{\\\"device\\\":\\\"hw:0,0\\\",\\\"name\\\":\\\"bcm2835 ALSA\\\",\\\"type\\\":\\\"alsa\\\",\\\"system\\\":\\\"card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]\\\"}\"}"
3) "FOSTEX USB AUDIO HP-A8"
4) "{\"device\":\"hw:1,0\",\"name\":\"FOSTEX USB AUDIO HP-A8\",\"type\":\"alsa\",\"system\":\"card 1: HPA8 [FOSTEX USB AUDIO HP-A8], device 0: USB Audio [USB Audio]\"}"
5) "bcm2835 ALSA_2"
6) "{\"id\":\"2\",\"sysname\":\"bcm2835 ALSA\",\"extlabel\":\"RaspberryPi HDMI Out\",\"hwplatformid\":\"01\",\"mixer_numid\":\"1\",\"mixer_control\":\"PCM\",\"route_cmd\":\"amixer -c 0 cset numid=3 2 > \\/dev\\/null\",\"device\":\"hw:0,0\",\"name\":\"bcm2835 ALSA_2\",\"type\":\"alsa\",\"integrated_sub\":1,\"real_interface\":\"{\\\"device\\\":\\\"hw:0,0\\\",\\\"name\\\":\\\"bcm2835 ALSA\\\",\\\"type\\\":\\\"alsa\\\",\\\"system\\\":\\\"card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]\\\"}\"}"
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/7
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HPA8 [FOSTEX USB AUDIO HP-A8], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
amixer controls -c 0
numid=3,iface=MIXER,name='PCM Playback Route'
numid=2,iface=MIXER,name='PCM Playback Switch'
numid=1,iface=MIXER,name='PCM Playback Volume'
numid=5,iface=PCM,name='IEC958 Playback Con Mask'
numid=4,iface=PCM,name='IEC958 Playback Default'
amixer controls -c 1
numid=2,iface=MIXER,name='Clock Source 16 Validity'
numid=1,iface=PCM,name='Playback Channel Map'
by Toube » 15 Nov 2018, 09:06
resolving dependencies...
looking for conflicting packages...
Packages (1) youtube-dl-2018.07.29-1
Total Download Size: 2.07 MiB
Total Installed Size: 12.04 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
error: failed retrieving file 'youtube-dl-2018.07.29-1-any.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
by RoyB » 15 Nov 2018, 16:08
janui wrote:Hi RoyB,Thanks for reporting this and also for being so persistent. I really cannot think of anything which could cause this, even though it still sounds like a power issue. The kernel for the 2B and 3B are almost identical, so I would not expect to find an issue there. ...RoyB wrote:So, my PI 3B works with 0.4Beta janui-20171120 but not as wanted with 0.5Beta janui-20180903-0/5. What puzzles me now is this whether a hardware problem or might there still be a kernel problem?
janui
by RoyB » 15 Nov 2018, 16:38
support RuneAudio