-
Notifications
You must be signed in to change notification settings - Fork 347
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
X86 architecture is not supported #17
Comments
@cantops : Currently there's no plan to support x86. 😢 Is your screenshot related to x86 environment ? |
@cezuni Yes, the driver files compiled with win32 can be installed correctly, but the above error occurred when running usbip! |
0x6f8 means ERROR_INVALID_USER_BUFFER I'm pretty sure it is caused by a bad type under 32 bit when getting/setting the buffer size. I'll have a look at it in the next few days. @cezuni sorry for being away these last few weeks, all the family got sick one after the other. |
@cezuni I may be wrong because I'm looking at it on the fly during my lunchtime, but I think the problem comes from using the wrong structure type in usbip-win/userspace/lib/usbip_setupdi.c, at line 115: I think this should either be (they should be equivalent): What do you think of it? |
@Oxalin : You're correct. |
Use the structure, not the pointer to it. We were "lucky" it was working properly. This should fix get_intf_detail() on 32 bit where SetupDiGetDeviceInterfaceDetail() would fail with error 0x6f8 ERROR_INVALID_USER_BUFFER #17 Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
@cantops Could you test the referenced build commit? Hopefully, this will fix the error. From there, we should be able to determine if this is working on 32 bit systems or if there is more work to do. I'll need sometime to install a 32 bit OS in a VM or similar, we could test it regularly from there. |
@Oxalin okay |
@Oxalin This build commit is correct and the problem has been solved. |
Use the structure, not the pointer to it. We were "lucky" it was working properly. This should fix get_intf_detail() on 32 bit where SetupDiGetDeviceInterfaceDetail() would fail with error 0x6f8 ERROR_INVALID_USER_BUFFER cezanne/usbip-win#17 Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Will there be any support plan in the future?
The text was updated successfully, but these errors were encountered: