-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LX01: shairport-sync still doesn't work #97
Comments
After testing, it works normally when airplay2 support is disabled, so the issue might be with OpenSSL. |
I tried using https://github.com/openssl/openssl/tree/OpenSSL_1_1_1-stable, but it didn't work. |
Thanks for the report, can you confirm what firmware version of LX01 are you using? |
1.32.6 from ota package.
I tried using the kernel extracted from 1.32.6 and 1.62.6, and the results were the same. The kernel currently in use is the one from 1.62.6. |
Unable to reproduce with 1.32.6 . If you did any changes in package build or similar, or if you can provide any more details, that may help.
|
Package.sh:
It starts up normally, but it crashes when you try to stream something on it. |
I notice the device completely freezes, but no error shown on UART or app.
|
I think it is related to the 🔊 volume + power rather than a build issue. I was able to play for a couple of minutes without problem, and when I increased the volume, it would freeze. |
Thanks for your work again, It seems that the problem I had isn’t the same, I can’t successfully connect to AirPlay, and the same goes for HomeKit. But why does the firmware you compiled work, have you enabled AirPlay 2 support? I will test and provide more information tomorrow. |
AirPlay 2 support is enabled by default to all builds, although it depends on the sender (PC or device) that it may not be triggered, and use AirPlay Classic instead. |
Additionally, I manually set the BUILD_MODEL in package.sh. What should I do before building the Docker image? |
You can either extract the docker run -e MODEL=LX01 -v $PWD:/xiaoai xiaoai-patch But after that, if you did not change anything else... I can't play in AirPlay2 at the moment, so unsure... 🤔 |
Unfortunately, the problem remains in your latest release.
|
Thanks for the report. Do you have any other speaker model to test as well? I suspect that the issue is not an old OpenSSL version, but instead LX01 kernel / system which is too old. |
I found that 1.32.6 with glibc 2.24(getentropy not included):
Maybe it's not just about OpenSSL, just like openssl/openssl#13002, it could be a problem with the cross-compilation toolchain, because many packages provide old methods, but they have not been enabled. libgcrypt/configure.ac:
|
I reran the entire build process to ensure that there were no additional modifications and
And the error changed from
to
|
I’ve finally fixed it, now I’m going to prepare the PR. |
Thanks for the patch! But there's still problems with lx01 using
shairport-sync
shairport-sync
starts up normally, but an error occurs when trying to connect:I think it might be caused by the OpenSSL version being too low, this is the related issue:
openssl/openssl#13002
The text was updated successfully, but these errors were encountered: