shairport-sync ISSUE

Hi,
i have no clue why, when i installed shairport-sync via aptitude the version 3.2.2 was installed;

then I opened dietpi-software marked shairport-sync and version 3.3.7rc3 was installed; huh???

root@DietPi:~# shairport-sync -V
3.3.7rc3-OpenSSL-Avahi-ALSA-soxr-metadata-mqtt-dbus-mpris-sysconfdir:/usr/local/etc
root@DietPi:~#

Even the issue with version; there is other critical issue; ie its not working … as

   0.000034917 "loudness.c:47" Volume: -52.3 dB - Loudness gain @10Hz: 16.1 dB
   0.000061875 "player.c:3051" player_volume_without_notification: volume mode is 0, airplay volume is -23.100000, software_attenuation: -5229.090110, hardware_attenuation: 0.000000, muting is disabled.
   0.000032166 "rtsp.c:2696" Connection 3: RTSP Response:
   0.000017542 "rtsp.c:507"   Type: "CSeq", content: "5"
   0.000019125 "rtsp.c:507"   Type: "Server", content: "AirTunes/105.1"
   0.015963917 "player.c:247" Hammerton Decoder used on encrypted audio.
   0.000101583 "player.c:1005" flush request: flush frame 1999863 expired -- buffer contains 352 frames, from 1999863 to 2000214
   0.000024708 "player.c:1029" flush request: request dropped.
   0.000021584 "player.c:1068" pffr
   0.000085208 "player.c:1110" first_packet_time set for frame 1999863.
   0.000195208 "dbus-service.c:195" Build metadata
   0.000430000 "audio_alsa.c:442" *warning: alsa: error -16 ("Device or resource busy") opening alsa device "hw:WT04".
   0.000370084 "mpris-service.c:167" Build metadata
   0.004279166 "player.c:1252" Unexpected response to getting dac delay: 19.
   0.005408334 "player.c:1252" Unexpected response to getting dac delay: 19.
   0.005401208 "player.c:1252" Unexpected response to getting dac delay: 19.

So some issue with ALSA? Or something related to alsa has to be installed?


thanks!

Hi,

just for your information, DietPi is using an own Debian package to install Shairport. Therefore version number is correct. Package is located at https://dietpi.com/downloads/binaries/buster/

MichaIng
can you have a look regarding the sound issue pls.

hi,
so many ppl have simillar issue https://github.com/mikebrady/shairport-sync/issues/970

i also reported more here https://github.com/mikebrady/shairport-sync/issues/1185

is that you how opened similar post on GitHub as well? https://github.com/MichaIng/DietPi/issues/4384

Joulinar yes

there is one more issue apart the chopping sound … ie card is constantly reseting … from usb?

[13830.305220] usb 3-1.2: USB disconnect, device number 14
[13830.653609] usb 3-1.2: new full-speed USB device number 15 using xhci-hcd
[13830.774800] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[13830.785611] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[13830.796714] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[13830.806161] usb 3-1.2: SerialNumber: ABCDEF0123456789
[13831.026977] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.0019/input/input13
[13831.106094] hid-generic 0003:0A12:1004.0019: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[13831.128771] hid-generic 0003:0A12:1004.001A: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[14432.161073] usb 3-1.2: USB disconnect, device number 15
[14432.541605] usb 3-1.2: new full-speed USB device number 16 using xhci-hcd
[14432.662787] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[14432.673803] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14432.685085] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[14432.694575] usb 3-1.2: SerialNumber: ABCDEF0123456789
[14432.914699] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.001B/input/input14
[14432.994123] hid-generic 0003:0A12:1004.001B: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[14433.016798] hid-generic 0003:0A12:1004.001C: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[15034.017217] usb 3-1.2: USB disconnect, device number 16
[15034.397602] usb 3-1.2: new full-speed USB device number 17 using xhci-hcd
[15034.519750] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[15034.530931] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[15034.542501] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[15034.552327] usb 3-1.2: SerialNumber: ABCDEF0123456789
[15034.770204] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.001D/input/input15
[15034.850142] hid-generic 0003:0A12:1004.001D: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[15034.873099] hid-generic 0003:0A12:1004.001E: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[15635.872956] usb 3-1.2: USB disconnect, device number 17
[15636.253601] usb 3-1.2: new full-speed USB device number 18 using xhci-hcd
[15636.375843] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[15636.388148] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[15636.401028] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[15636.411958] usb 3-1.2: SerialNumber: ABCDEF0123456789
[15636.626611] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.001F/input/input16
[15636.706236] hid-generic 0003:0A12:1004.001F: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[15636.730518] hid-generic 0003:0A12:1004.0020: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[16237.728919] usb 3-1.2: USB disconnect, device number 18
[16238.109610] usb 3-1.2: new full-speed USB device number 19 using xhci-hcd
[16238.231795] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[16238.244312] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[16238.257226] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[16238.268379] usb 3-1.2: SerialNumber: ABCDEF0123456789
[16238.484626] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.0021/input/input17
[16238.566546] hid-generic 0003:0A12:1004.0021: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[16238.591876] hid-generic 0003:0A12:1004.0022: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[16839.585205] usb 3-1.2: USB disconnect, device number 19
[16839.965595] usb 3-1.2: new full-speed USB device number 20 using xhci-hcd
[16840.087839] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[16840.100771] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[16840.114099] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[16840.125664] usb 3-1.2: SerialNumber: ABCDEF0123456789
[16840.338322] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.0023/input/input18
[16840.418109] hid-generic 0003:0A12:1004.0023: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[16840.442946] hid-generic 0003:0A12:1004.0024: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[17441.440971] usb 3-1.2: USB disconnect, device number 20
[17441.821595] usb 3-1.2: new full-speed USB device number 21 using xhci-hcd
[17441.943776] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[17441.957143] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[17441.970897] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[17441.982928] usb 3-1.2: SerialNumber: ABCDEF0123456789
[17442.194370] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.0025/input/input19
[17442.274124] hid-generic 0003:0A12:1004.0025: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[17442.299194] hid-generic 0003:0A12:1004.0026: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[18043.041020] usb 3-1.2: USB disconnect, device number 21
[18043.453591] usb 3-1.2: new full-speed USB device number 22 using xhci-hcd
[18043.574788] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[18043.588579] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18043.602837] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[18043.615299] usb 3-1.2: SerialNumber: ABCDEF0123456789
[18043.826875] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.0027/input/input20
[18043.910114] hid-generic 0003:0A12:1004.0027: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[18043.935941] hid-generic 0003:0A12:1004.0028: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[18644.897008] usb 3-1.2: USB disconnect, device number 22
[18645.309585] usb 3-1.2: new full-speed USB device number 23 using xhci-hcd
[18645.430772] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[18645.444681] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18645.458949] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[18645.471416] usb 3-1.2: SerialNumber: ABCDEF0123456789
[18645.682143] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.0029/input/input21
[18645.762112] hid-generic 0003:0A12:1004.0029: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[18645.787831] hid-generic 0003:0A12:1004.002A: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[19246.753109] usb 3-1.2: USB disconnect, device number 23
[19247.133591] usb 3-1.2: new full-speed USB device number 24 using xhci-hcd
[19247.254786] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[19247.268758] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[19247.283015] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[19247.295471] usb 3-1.2: SerialNumber: ABCDEF0123456789
[19247.506769] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.002B/input/input22
[19247.586133] hid-generic 0003:0A12:1004.002B: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[19247.612037] hid-generic 0003:0A12:1004.002C: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[19848.608974] usb 3-1.2: USB disconnect, device number 24
[19848.989588] usb 3-1.2: new full-speed USB device number 25 using xhci-hcd
[19849.110768] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[19849.124685] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[19849.138904] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[19849.151372] usb 3-1.2: SerialNumber: ABCDEF0123456789
[19849.362353] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.002D/input/input23
[19849.442149] hid-generic 0003:0A12:1004.002D: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[19849.467841] hid-generic 0003:0A12:1004.002E: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[20450.465110] usb 3-1.2: USB disconnect, device number 25
[20450.845587] usb 3-1.2: new full-speed USB device number 26 using xhci-hcd
[20450.970903] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[20450.985270] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[20451.000107] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[20451.012808] usb 3-1.2: SerialNumber: ABCDEF0123456789
[20451.219093] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.002F/input/input24
[20451.302113] hid-generic 0003:0A12:1004.002F: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[20451.328091] hid-generic 0003:0A12:1004.0030: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[21052.321158] usb 3-1.2: USB disconnect, device number 26
[21052.701582] usb 3-1.2: new full-speed USB device number 27 using xhci-hcd
[21052.822842] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[21052.836783] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[21052.851000] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[21052.863467] usb 3-1.2: SerialNumber: ABCDEF0123456789
[21053.074900] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.0031/input/input25
[21053.158061] hid-generic 0003:0A12:1004.0031: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[21053.183830] hid-generic 0003:0A12:1004.0032: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[21654.176892] usb 3-1.2: USB disconnect, device number 27
[21654.557581] usb 3-1.2: new full-speed USB device number 28 using xhci-hcd
[21654.678781] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[21654.692707] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[21654.706968] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[21654.719430] usb 3-1.2: SerialNumber: ABCDEF0123456789
[21654.930632] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.0033/input/input26
[21655.010139] hid-generic 0003:0A12:1004.0033: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[21655.035966] hid-generic 0003:0A12:1004.0034: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[22256.033047] usb 3-1.2: USB disconnect, device number 28
[22256.413583] usb 3-1.2: new full-speed USB device number 29 using xhci-hcd
[22256.534777] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[22256.548719] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[22256.562936] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[22256.575388] usb 3-1.2: SerialNumber: ABCDEF0123456789
[22256.787138] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.0035/input/input27
[22256.870082] hid-generic 0003:0A12:1004.0035: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[22256.895870] hid-generic 0003:0A12:1004.0036: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[22857.888981] usb 3-1.2: USB disconnect, device number 29
[22858.301575] usb 3-1.2: new full-speed USB device number 30 using xhci-hcd
[22858.423775] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[22858.437714] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[22858.451967] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[22858.464449] usb 3-1.2: SerialNumber: ABCDEF0123456789
[22858.674171] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.0037/input/input28
[22858.754141] hid-generic 0003:0A12:1004.0037: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[22858.780196] hid-generic 0003:0A12:1004.0038: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4
[23459.745004] usb 3-1.2: USB disconnect, device number 30
[23460.093577] usb 3-1.2: new full-speed USB device number 31 using xhci-hcd
[23460.214771] usb 3-1.2: New USB device found, idVendor=0a12, idProduct=1004
[23460.228725] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[23460.242991] usb 3-1.2: Product: REIYIN Bluetooth Audio WT04
[23460.255490] usb 3-1.2: SerialNumber: ABCDEF0123456789
[23460.466514] input: REIYIN Bluetooth Audio WT04 as /devices/platform/soc/soc:usb3-0/12000000.dwc3/xhci-hcd.3.auto/usb3/3-1/3-1.2/3-1.2:1.3/0003:0A12:1004.0039/input/input29
[23460.546097] hid-generic 0003:0A12:1004.0039: input,hiddev96,hidraw0: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input3
[23460.571786] hid-generic 0003:0A12:1004.003A: hiddev97,hidraw1: USB HID v1.11 Device [REIYIN Bluetooth Audio WT04] on usb-xhci-hcd.3.auto-1.2/input4

Pls stick to one platform. It doesn’t make sense to report the issue twice. Or to post a part on our forum and other thinks on GitHub. This simply double our efforts and should be avoided. Thx for understanding.

Quite often you have usb 3-1.2: USB disconnect. Seems you loosing your USB device. Can you check if it is connected correctly.

yes thats the thing … so even its kernel issue; stick is properly in port and pc doesnt do any movement …

or might be the issue of the bluetooth transmitter?

also someone mentioned that the issue might be that bluetooth transmitter doesnt support sample rate 44100 which is min. for arplay, the thing is i cant find spec of that device … can i found it somehow via linux… ?

thanks

its this device
https://www.amazon.com/Reiyin-WT-04-Bluetooth-Transmitter-Technology/dp/B077D4RKFD ;

it has https://www.qualcomm.com/products/csr8670 so it shows up to 192khz … maybe kernel/drivers issue then, or bug in shairplay?

as indicated. pls stick to a single platform and follow your GitHub issue you opened.