-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
Ayaneo Air 1S needs extra firmware file for sound #1753
Comments
Fix will be in the next bazzite unstable version and come with F41. |
Still not fixed as of unstable-41.20241026 Will report back as testing versions come out... |
Thanks for catching that. New build in unstable with the firmware file. |
Firmware file is in place as of 313ffe8 but still no sound on the Aya Neo Air 1s. I have confirmed the firmware file is located at Maybe it doesn't like being in .xz format? |
Paste a dmesg here |
|
The realtek quirk for the 1S is there for sure too |
|
-> [ 9.682214] [Awinic] [i2c-AWDZ8830:00]aw87xxx_fw_load: fw_data parse failed |
paste the whole thing please as a file |
Your device reads the firmware file and finds the speakers. So first thought is it doesnt like the firmware and wants some ayaneo one. |
This is the same orangepi-xunlong firmware file that Chimera uses in their fix out of the AUR and sound works as expected on Chimera. Weird... |
This is what Chimera is using - https://aur.archlinux.org/packages/aw87559-firmware It sure looks the same at least |
It does indeed. Maybe i did the merge wrong, unsure. But it fails to bind your device to firmware. Also, the firmware file in that repo updated 3 months ago, there is a previous version there. Can you try it? |
Turns out Awinic made the fine decision to name all their firmware files the same. So the orange pi repo has 2 firmware files that have different hashes. Then, the AUR repo used to reference a google driver rar file with 1S drivers that now is gonezo and was definitely a different hash. This is when Chos 46 was built. And if you look online, there are some phone dumps with more random files with different hashes @KyleGospo this will have to be BYO for now. Drop the fw file, and symlink the fw file to |
Ok, so there are multiple firmware files depending on your device. I edited the kernel driver to automatically select the correct file depending on the device. We do not have the permission to redistribute the files for now, so you will need to install them yourself. However, they are easy enough to find. For Ayn MiniPro and Ayaneo, the driver pack for your device (for Ayaneo download the driver pack without Audio in the name), then head into Then, place the file in ❯ sha256sum awinic/*
# Ayn Loki MiniPro
d29703932b73a6588c131ea20d0f2d2cf76221018aa179984a758da2982dab15 awinic/aw87xxx_acf_minipro.bin
# Ayaneo Air 1S
d29703932b73a6588c131ea20d0f2d2cf76221018aa179984a758da2982dab15 awinic/aw87xxx_acf_air1s.bin
# Ayaneo Air Plus (AMD; all variants)
d29703932b73a6588c131ea20d0f2d2cf76221018aa179984a758da2982dab15 awinic/aw87xxx_acf_airplus.bin
# Ayaneo Flip KB/DS
916b0ea592f747a96b59426eb7ceb6419e4634ddde3dcea317bc91bec7f7ffca awinic/aw87xxx_acf_flip.bin
# Ayaneo Kun
8e6edd2623d9b90a60acbe04aded7eb038abcb2d48e17656319366db9582e21f awinic/aw87xxx_acf_kun.bin
# Orange Pi (?)
7db2c6eaca3135d732c2e635388e87cb49fc998b3f9a859c2a891ee78797eba3 awinic/aw87xxx_acf_orangepi.bin Those are the hashes and how to calculate them as well, so you can be sure you have the correct file. Other devices will expect You can verify the name with the following command: For people in this thread, this is for kernel |
I can confirm this fix is working now with the firmware file manually in place and as of e3832fe successfully links to the provided file. Thank you for the quick response to this 😄 |
Heads up, we are changing the directory to sudo mkdir -p /usr/local/firmware
sudo mv /usr/local/aw87* /usr/local/firmware |
Apologies in advance, this isn't that clear, is the file in the directory meant to be called: d29703932b73a6588c131ea20d0f2d2cf76221018aa179984a758da2982dab15 awinic/aw87xxx_acf_air1s.bin or or aw87xxx_acf_air1s.bin Ive tried all three in the directory and once i restart nothing has changed. I might be being a massive noob on this one. Once Ive got clear instructions ill make a youtube video on this as a lot of people will appreciate this change |
Just run |
Still no sound from the speakers on my end. I ran in terminal: sudo dmesg | grep "loading firmware name:" And it produces:
So I assume its working, and then I ran: ujust install-speaker-firmare and it produces:
|
did you reboot afterwards? |
yes sir, reboot and no change - i checked the audio settings and tested the speakers to no avail |
Send the full log
|
It says you are using the wrong firmware, specifically that its the wrong size.
|
The link is fine delete the other comment. Here is the log for anyone interested.
|
the wrong firmware for the audio driver? I downloaded the ayaneo firmware update file specified and unzipped the Audio file. Where am I going wrong? I ran this command:
and this is returned:
|
Can you run the command and show the result? There are multiple firmware files Maybe my hash is wrong instead |
|
The file needs to be placed in Seems like its incorrect for your device. So with the file from your driver pack:
awinic_smartk_acf.bin is the original name and to run the cp command you need to be in the directory of the file Finally (after moving the firmware), run
And show the result |
|
Try some of the other files. That's all I can say |
Good sir, this worked¬! reboot and the sound is working. Thanks for all the follow ups! I shall do a tutorial on Youtube tomorrow |
The command I sent you should have worked too, maybe there's an issue in it @HikariKnight Can you verify the hash is that one? |
@antheas
|
Well, if you look closer you'll realize your hashes are wrong |
didnt get to read much of the messages as im on my way to work :) |
Describe the bug
Ayaneo Air 1S does not have any sound in bazzite due to a really odd speaker pin out.
What did you expect to happen?
This issue have been fixed in a few other similar distro's like ChimeraOS/chimeraos@2ae2da7 and SteamFork/distribution@16b7859
Hardware
Ayaneo Air 1S
The text was updated successfully, but these errors were encountered: