Posts by Crackerjack79

    It’s using the systemd dynamic user. You can see this in /usr/lib/systemd/system/wsdd2.service; and visibility for review in LE13 - https://github.com/LibreELEC/LibreELEC.tv/pull/8705

    Thanks so much for responding, I really appreciate it!

    I was curious as to why the same UID would appear across different installations (and different architectures, at that) when at a glance the systemd docs seem to imply that a random UID between 61184 and 65519 would be assigned to dynamic users.

    However, I *think* I answered my own question - see the code comments at line 185 in dynamic-user.c for how the UID is arrived at:

    systemd/src/core/dynamic-user.c at main · systemd/systemd
    The systemd System and Service Manager . Contribute to systemd/systemd development by creating an account on GitHub.
    github.com

    At any rate, thank you again for the quick response, this project is so great 8)

    Hello,

    I installed LibreELEC 11.0.6 on my Raspberry Pi 5 and happened to notice that my Windows gaming PC picked it up in "Network" despite WS-Discovery and Samba all being turned off on LibreELEC. While trying to figure out why this was happening, I noticed that the /usr/sbin/wsdd2 process has a strange uid of 61623.

    So then I downloaded a fresh image and reinstalled from scratch. Nothing beyond the initial partition wizard, the initial setup wizard where I untick Samba, and the adding of the ssh password and enabling ssh is done, no add-ons, no configuration, no shares added, nothing. (FWIW, I verified the sha256sum at two different locations and burned the image to my SD card on a live boot of raspbian, turned off every other device on my network, and didn't turn ssh on until I had set a new password and checked the output of the commands listed in the code window below).

    Sure enough, after the first reboot, the wsdd2 process spawns, with the same uid.

    As you can see below, it is indeed listening on a few ports despite being turned off and has the mysterious 61623 uid which is absent in the /etc/passwd file.


    All other processes are running either as root or with an account found in /etc/passwd. The only other reference I could find to this was this thread from 2023 where I noticed that wsdd2 has the same uid in OP's pasted crash log:

    blind_oracle
    October 2, 2023 at 7:57 AM

    I was hoping others might be able to shine a light on if this is normal behavior or something of concern. If any other logs/output are required it's no problem but as stated above it's about as vanilla, out-of-the-box as you can get. :)

    Oh, this is weird, the "Playback Channel Map" should have 2 values (eg "0,0" or "3,4"), but there's only in both cases. Probably luck that it worked before.

    Try creating a /storage/.config/asound.conf file with the following content:

    Code
    pcm.myoutput {
      type hw
      card "Headset"
      chmap [ "FL,FR" ]
      channels 2
      hint.description "my output with fixed chmap"
    }

    This should give you an "ALSA: Headset ()" (or similar) device with a fixed channel map to make kodi happy.

    so long,

    Hias

    This works! Thank you so much for your assistance! I've edited the post title to be easier to find for anyone else with this issue.

    This forum and project are amazing, I'm thrilled this is resolved :)

    Thank you again! :) :) :thumbup: :thumbup:

    No problem!

    LE 9.2.8 amixer -c Headset contents:

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    LE 10.0.1 amixer -c Headset contents:

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    The only difference appears to be a carriage return before and after the final stanza.

    Thank you for responding! I'm hopeful there is a way to resolve this, as this headset has worked on prior releases (as far back as I can remember). I'm posting the debug log and dmesg output for a fresh install LE 9.2.8 as it might shine some more light on the issue.

    LE 9.2.8 debug log:

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    LE 9.2.8 dmesg output:

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    I notice that in the LE 10.0.1 log provided earlier that when the headset is initialised by ALSA that the result is:

    2021-11-08 18:53:06.185 T:1106 DEBUG <general>: Channel Layout: FL, UNKNOWN1

    while the result on the correctly working 9.2.8 is:

    2019-04-11 16:28:39.983 T:2977952576 DEBUG: Channel Layout: FL, FR

    It appears that LE 10 is trying to use the mysterious "UNKNOWN1" channel whereas prior versions are correctly using the left and right channels. My post title is a bit erroneous - it's really an issue of only using the left channel rather than "mono" sound.

    Again - I'm grateful for any assistance. I really want to be able to watch TV in bed without disturbing others and a replacement headset is not financially viable right now :S

    No problem!

    kodi.log:

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    I also thought the output of dmesg might be useful:

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    I hope this helps, and again, I really appreciate your input!

    Thanks for replying, Da Flex, my apologies for not keeping a closer eye on the thread.

    I ran LibreELEC-RPi4.arm-11.0-nightly-20211106-5cfc876 on the same device/hardware, unfortunately the problem persists, i.e. audio out the left headphone only. I tried various combinations of options in the Audio settings just to see if it might make a difference, no luck.

    If there’s any further info I can provide, please let me know, thank you! :)

    Hello, thanks so much for the amazing LibreELEC release. Unfortunately, I’m having one problem keeping me on 9.2.8 for the time being.

    I’m using a Raspberry Pi 4 with 4gb ram, with a Sony Gold Wireless Headset (Gold Wireless Headset Canada). It connects with a USB dongle rather than Bluetooth, and has worked perfectly perfectly with LibreELEC for as long as I can remember (certainly back to version 6 or 7).

    However, on LE 10.0 the sound only comes from the left side and is of very poor quality (I think it’s just a mono signal). There’s no other issues, i.e. it appears in the Audio Output options as “ALSA: Wireless Stereo Headset, Analog” and “ALSA:Wireless Headset, S/PDIF. It’s just mono sound in one channel. (I always used “Analog” but S/PDIF is the same result).

    I tested the headset on another RPi4 to be sure, and the issue is the same.

    Any assistance is appreciated. If this a known issue I apologize, I searched for similar threads but may have missed it! Thanks for all your incredible work! :)