-
Notifications
You must be signed in to change notification settings - Fork 5k
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
ax88179_178a.c need to update to solve the USB audio streaming. #2942
Comments
ax88179_178a.c is an unmodified upstream driver. Updates should be sent upstream, ideally by ASIX themselves. |
Hi pelwell The linux driver that Asix is providing upstream is tailored to x86 systems. The new driver was fine tuned for ARM CPUs. We are in touch with Asix team and we can get them to commit the driver themselves. The question is , can we ( actually asix ) have a optimized driver for ARM soc ? |
In what way is it optimised for ARM CPUs? |
I have asked Asix for details . They will provide them tomorrow . |
I am also intrigued. |
We are in continuous discussion with Asix , they have asked for some time to complete testing |
@allocom does it still happen with latest rpi-update firmware? |
@macmpi Yes still issue with latest rpi-update, tested with 4.19.40 kernel, Asix issue remain same. |
Hello , Asix is very unresponsive regarding the driver submission to Rasbian . In our testing (with with 5 different dongles ) a major improvement is found. Speeds are higher , there is no issues with USB audio. Can we submit ourselves ? |
Assuming you have distribution rights, then please do so. |
Thanks - we are aware of it. The new driver doesn't use the usbnet framework, so comparing it with the original is not going to be straightforward. |
any updates ? |
Both my previous comments still stand:
Being so different from the upstream driver makes it more likely that a future upstream change will break the downstream patch, hence our reluctance to merge it here. |
Dear all, sorry for my question. Some people i know want to buy the new allo USBSig. But because we don't want to buy hardware without any proper software support, we want to know if there is a chance for that pull request to be merged into kernel soon. Is it? Thanks for your answer |
Until Allo or Asix come up with a patch that has a chance of being accepted upstream, the answer no. |
This issue will be closed within 30 days unless further interactions are posted. If you wish this issue to remain open, please add a comment. A closed issue may be reopened if requested. |
I came across this issue in my search for a fix to improve the throughput on my USB Ethernet adapter using the ASIX chipset connected to my Pi2B. Would it be feasible to distribute this "improved" driver as an optional package instead? |
Not by us, no. |
OK, thank you for your prompt reply! I will try to make some headway to narrow down a minimal patch/fix that would have a better chance at being accepted upstream. This is really specific to operating in USB 2.0 High Speed mode. Super Speed mode works fine on other USB 3.0 (or whatever they are calling it now) hosts. |
Is this still an issue? There have been a bunch of commits 2022 upstream: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/drivers/net/usb/ax88179_178a.c |
I still have problems with my allo and sound output via usb… Most of the time I use an older raspi because it works without problems. If I remember correct, there is no new kernel from allo including those patches. Correct?Am 06.05.2023 um 15:04 schrieb MichaIng ***@***.***>:
Is this still an issue? There have been a bunch of commits 2022 upstream: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/drivers/net/usb/ax88179_178a.c
And @allocom @AlloKatana you do not provide those driver builds for recent RPi kernels anymore, but at least there was no report about broken audio quality done to us.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
No, there never was. ASIX updated the driver to better support ARM in general and Allo produced kernel module builds based on the changed sources for RPi. But they do not build them anymore, it seems. Probably rebasing the commits onto Linux 6.1 leads to larger conflicts (maybe (some of) the commits from last summer that I linked) which need to be resolved, being the reason why no updated driver builds are provided anymore. A pity that ASIX seems to not send the update upstream, so this issue will never really be solved and requires ongoing efforts. Would be good indeed if someone with knowledge would identify the minimal required change to fix the audio issue and sent this upstream. Not sure how good the changes are if not ASIX itself does it, but otherwise at least there is a smaller patch which can be easier rebased onto newer Linux versions. I could then help to setup a GitHub Actions workflow to have the kernel modules built automatically and host them as GitHub releases (instead of at some plain HTTP IP address). |
Hello I have the Usbridge Signature from Allo and the drivers cannot be updated anymore. So the cracks and distortion in the sound came back. It seems that Allo shut down and the sudo command I was using doesn't work. Have you found a way to fix that ? |
Based on the error log from here, it is simple to fix: netif_napi_add(netdev, &dev->napi, ax88179_poll, AX88179_NAPI_WEIGHT); => netif_napi_add(netdev, &dev->napi, ax88179_poll); required as of this upstream change: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b48b89f9c189d24eb5e2b4a0ac067da5a24ee86d However, this shows quite well why RPi maintainers are not keen to add 3rd party drivers, respectively changes which were not upstreamed, to their own branch. When not in upstream code, the maintenance burden would remain at RPi, who do not have a direct commercial interest in this. What do you mean by "Allo shut down"? The company does practically not exist anymore? That would explain why they never added builds for this driver since Linux 6.1 was released, even that the fix is trivial. When I find time, I'll add a workflow to our (DietPi) repo to build the driver with this change. The USBridge Sig is still much in use and a great product from what I read, so it's a waste to have it broken just because of such a tiny missing driver source update. |
Thanks Michalng, yes I had confirmation from the my local shop who sells Allo products. They stopped their activity :/ |
We done extensive test with ax88179_178a.c ASIX USB ethernet module and noticed USB Audio distortion issue, then contacted ASIX and got updated driver , Can we commit the update driver through this github, please suggest.
Is this the right place for my bug report?
This repository contains the Linux kernel used on the Raspberry Pi. If you believe that the issue you are seeing is kernel-related, this is the right place. If not, we have other repositories for the GPU firmware at github.com/raspberrypi/firmware and Raspberry Pi userland applications at github.com/raspberrypi/userland. If you have problems with the Raspbian distribution packages, report them in the github.com/RPi-Distro/repo. If you simply have a question, then the Raspberry Pi forums are the best place to ask it.
Describe the bug
Add a clear and concise description of what you think the bug is.
To reproduce
List the steps required to reproduce the issue.
Expected behaviour
Add a clear and concise description of what you expected to happen.
Actual behaviour
Add a clear and concise description of what actually happened.
System
Copy and paste the results of the raspinfo command in to this section. Alternatively, copy and paste a pastebin link, or add answers to the following questions:
cat /etc/rpi-issue
)?vcgencmd version
)?uname -a
)?Logs
If applicable, add the relevant output from
dmesg
or similar.Additional context
Add any other relevant context for the problem.
The text was updated successfully, but these errors were encountered: