-
Notifications
You must be signed in to change notification settings - Fork 438
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
Add a new plugin to update Algoltek DisplayPort devices #7179
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review completed.
@YiJaneWu did the update still work? Did I break anything? |
Hi Richard, But there is only one problem that needs to be solved. Our original payload size: When payload size is 0x20000 ,it will update success. But it both update Success by using : This situation has been discovered before, so I didn't use chk in this function. I am not sure if it is caused by the payload being too large. |
Hi Jane, I've pushed a few more commits to the branch -- can you try again please? |
Hi, actually FU_ALGOLTEK_AUX_FIRMWARE_PAYLOAD_SIZE needs to be set to 0x40000. |
@YiJaneWu ahh, apologies -- I've reverted that patch -- can you grab me the logs with this branch please? There should be an actual error rather than a critical warning this time. |
@hughsie Problem appear: failed to get at 0x20008 for 0x8: no data could be read. |
Can you email me the cab file please? |
7668590
to
9b1b922
Compare
@YiJaneWu can you get the new error message with this rebased upstream branch? Thanks. |
@hughsie The Email has been sent. |
I've pushed a fix, can you try again please. |
Message: Base stream was 0x2104c bytes in size, and tried to create partial stream @0x104b of 0x40000 bytes. |
Okay, that's actually a good error message now -- and what I was expecting. If we take a step back, the firmware.bin you sent me is 135244 bytes in size -- which is 0x2104C in hex. We're laying out the firmware like this:
So the |
Apologies, I found my problem here. I use another firmware and it can be update. But I need correct the payload size and use original bin file. |
Signed-off-by: Richard Hughes <richard@hughsie.com>
@YiJaneWu do you need this plugin in 1.9.x releases too? e.g. what goes into ChromeOS? |
Yes! I need this plugin in 1.9.x releases please. |
@YiJaneWu on my system (with a Synaptics MST device!) I'm getting a console warning -- we probably ought to restrict getting the RDV down to just your devices :) Using something like:
can you tell me what you get? e.g. on my system I get:
I'm hoping we can filter your devices by |
I got this: 01:48:50.851 FuMain ADDED: and I also got the red warning : |
Did you get any others? I was expecting to see some Dpcd properties there too. The whole log would be useful. |
Hi, the log is too long and the email has been sent. |
Type of pull request: