Coder Social home page Coder Social logo

Comments (9)

Oxalin avatar Oxalin commented on July 24, 2024 1

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.

from usbip-win.

cantops avatar cantops commented on July 24, 2024 1

@Oxalin This build commit is correct and the problem has been solved.

from usbip-win.

cantops avatar cantops commented on July 24, 2024

qq 20190302174009

from usbip-win.

cezuni avatar cezuni commented on July 24, 2024

@cantops : Currently there's no plan to support x86. 😢 Is your screenshot related to x86 environment ?

from usbip-win.

cantops avatar cantops commented on July 24, 2024

@cezuni Yes, the driver files compiled with win32 can be installed correctly, but the above error occurred when running usbip!

from usbip-win.

Oxalin avatar Oxalin commented on July 24, 2024

@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:
pdev_interface_detail->cbSize = sizeof(PSP_DEVICE_INTERFACE_DETAIL_DATA);

I think this should either be (they should be equivalent):
pdev_interface_detail->cbSize = sizeof(SP_DEVICE_INTERFACE_DETAIL_DATA);
or
pdev_interface_detail->cbSize = sizeof(*pdev_interface_detail);

What do you think of it?

from usbip-win.

cezuni avatar cezuni commented on July 24, 2024

@Oxalin : You're correct.

from usbip-win.

Oxalin avatar Oxalin commented on July 24, 2024

@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.

from usbip-win.

cantops avatar cantops commented on July 24, 2024

@Oxalin okay

from usbip-win.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.